Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0810398B2 - piano - Google Patents
[go: Go Back, main page]

JPH0810398B2 - piano - Google Patents

piano

Info

Publication number
JPH0810398B2
JPH0810398B2 JP8380589A JP8380589A JPH0810398B2 JP H0810398 B2 JPH0810398 B2 JP H0810398B2 JP 8380589 A JP8380589 A JP 8380589A JP 8380589 A JP8380589 A JP 8380589A JP H0810398 B2 JPH0810398 B2 JP H0810398B2
Authority
JP
Japan
Prior art keywords
key
speed
timing
time
estimated
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
JP8380589A
Other languages
Japanese (ja)
Other versions
JPH02262195A (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.)
Yamaha Corp
Original Assignee
Yamaha Corp
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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP8380589A priority Critical patent/JPH0810398B2/en
Priority to US07/502,535 priority patent/US5254804A/en
Publication of JPH02262195A publication Critical patent/JPH02262195A/en
Publication of JPH0810398B2 publication Critical patent/JPH0810398B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】 「産業上の利用分野」 この発明は、鍵の戻り速度を検出することができるピ
アノに関する。
TECHNICAL FIELD The present invention relates to a piano capable of detecting the return speed of a key.

「従来の技術」 自動演奏ピアノの動作には、演奏者による演奏を記録
する記録モードと、記録した演奏情報(あるいは外部か
ら供給される演奏情報)によって自動演奏を行う自動演
奏モードとがある。そして、記録モードにおいては、演
奏者による演奏を記録する際に、打弦用のハンマーが弦
を打つ速度を測定し、これを電気信号に変換する必要が
ある。この測定ため、従来の自動ピアノにおいては、鍵
の押下位置を一点において検出する鍵位置センサと、ハ
ンマーの通過位置を2点において検出するハンマー位置
センサとを設けていた。そして、鍵位置センサの出力信
号によって押鍵、離鍵を検出し、また、ハンマーがハン
マー位置センサを通過する時間によって打弦速度を検出
していた。また、簡単な構成のものとしては、鍵の位置
を2点において検出する鍵位置センサを設け、この2点
を通過する時間に基づいて打弦速度を推定するものがあ
る。
2. Description of the Related Art The operation of an automatic performance piano includes a recording mode for recording a performance by a player and an automatic performance mode for performing an automatic performance based on recorded performance information (or performance information supplied from the outside). Then, in the recording mode, when recording the performance by the player, it is necessary to measure the speed at which the hammer for striking the string strikes the string and convert this to an electric signal. For this measurement, the conventional automatic piano is provided with a key position sensor that detects a key pressing position at one point and a hammer position sensor that detects a hammer passing position at two points. Then, key pressing and key releasing are detected by the output signal of the key position sensor, and the string striking speed is detected by the time when the hammer passes the hammer position sensor. In addition, as a simple structure, there is one in which a key position sensor for detecting the position of the key at two points is provided, and the string striking speed is estimated based on the time when the key passes through these two points.

そして、上述の自動演奏ピアノにおいては、押鍵が検
出されたときの打弦速度をMIDI信号のベロシティとして
出力していた。
In the above-described automatic playing piano, the string striking speed when a key depression is detected is output as the velocity of the MIDI signal.

「発明が解決しようとする課題」 ところで、演奏者が鍵を戻すときのタッチは、レガー
ト、スタッカート等の演奏態様や曲調によって微妙に変
化する。このタッチの違いにより鍵の戻り速度が変化
し、この変化が弦を止音するダンパの掛かり具合に影響
を与える。すなわち、演奏者のタッチの違いにより、弦
が急激に止音されたり(スタッカート時、第24図に示
す)、あるいは緩やかに止音されたり、(レガート時、
第25図に示す)する。したがって、忠実に演奏を再現し
ようとすれば、手動演奏時における鍵の戻り速度を検出
し、この検出結果に応じて自動演奏時における鍵の戻り
速度を制御する必要がある。
[Problems to be Solved by the Invention] By the way, the touch when the player returns the key slightly changes depending on the playing mode such as legato or staccato and the musical tone. The difference in the touches changes the speed at which the keys return, and this change affects how the damper stops the strings. That is, depending on the touch of the performer, the strings may be stopped suddenly (at staccato, as shown in FIG. 24) or gently stopped (at legato,
(See Figure 25). Therefore, in order to reproduce the performance faithfully, it is necessary to detect the key return speed during the manual performance and control the key return speed during the automatic performance according to the detection result.

しかしながら、鍵の位置を一点において検出するタイ
プの自動演奏ピアノにおいては、鍵の戻り速度を検出す
ることはできない。
However, in an automatic playing piano of the type in which the position of the key is detected at one point, the return speed of the key cannot be detected.

また、鍵の位置を2点において検出する従来装置にあ
っては、鍵の戻り速度を一応は検出することができる
が、2点間を通過する際の平均速度しか検出することが
できず、その間のタッチの変動に対応し得ないという欠
点があった。しかも、2点間の距離が押鍵/離鍵を検出
するための位置に設定されているので、その間隔が速度
検出を行うには大き過ぎ、十分な分解能が得られないと
いう問題があった。この場合、鍵戻り速度は、ダンパが
弦の止音を開始するタイミングにおける値が最も重要で
あり、平均速度や他のタイミングにおける速度の検出で
は演奏の忠実な再現は期待できない。したがって、最も
重要なタイミングにおいて高い分解能で速度測定を行う
ことが必要である。
Further, in the conventional device that detects the position of the key at two points, the return speed of the key can be detected for the time being, but only the average speed when passing between the two points can be detected. There was a drawback in that it was not possible to cope with changes in touch during that time. Moreover, since the distance between the two points is set to the position for detecting the key depression / key release, there is a problem that the interval is too large for speed detection and sufficient resolution cannot be obtained. . In this case, the key return speed is most important at the timing when the damper starts to stop the strings, and faithful reproduction of the performance cannot be expected by detecting the average speed and the speed at other timings. Therefore, it is necessary to perform velocity measurement with high resolution at the most important timing.

さらに、従来の自動演奏ピアノにおいては、検出位置
も固定されていたために、適切な位置を選択するという
ことができなかった。
Further, in the conventional automatic playing piano, the detection position is fixed, so that it is not possible to select an appropriate position.

この発明は、上述した事情に鑑みてなされたもので、
鍵の戻り速度を最も重要なタイミングにおいて高精度に
検出することができ、また、測定位置を適宜変更するこ
とができるピアノを提供することを目的としている。
The present invention has been made in view of the above circumstances,
An object of the present invention is to provide a piano that can detect the return speed of a key with high accuracy at the most important timing and that can change the measurement position appropriately.

「課題を解決するための手段」 上記課題を解決するために、請求項1に記載の発明に
あっては、第1図に例示するように、自動演奏ピアノ1
の鍵の位置を、前記ダンパーが該鍵を止音する特定位
置、を含む少なくとも3以上の異なった位置で検出する
位置検出手段2と、前記位置検出手段2の検出結果に応
じて計時を行う計時手段5と、前記位置検出手段2の検
出結果及び前記計時手段5の計時結果に応じて、3以上
の異なった位置を検出して、押鍵過程において、該検出
のタイミングに基づき発音タイミングあるいは打弦速度
を推定する推定手段6と、離鍵過程において、前記位置
検出手段2によって検出された前記鍵の位置が、前記特
定位置に該当するか否かを判定する判定手段3と、この
判定手段によって特定位置に該当すると判定されたとき
は、前記計時手段5の計時結果に応じて、当該特定位置
とその前に通過した所定位置との間の通過時間に基づい
て鍵の戻り速度を算出する算出手段4とを具備すること
を特徴としている。
"Means for Solving the Problems" In order to solve the above problems, in the invention described in claim 1, as shown in FIG.
Position detection means 2 for detecting the position of the key at at least three different positions including a specific position where the damper stops the key, and timing is performed according to the detection result of the position detection means 2. Three or more different positions are detected according to the detection result of the time measuring means 5 and the position detecting means 2 and the time measuring result of the time measuring means 5, and in the key pressing process, the sound generation timing or the sound generation timing is detected based on the detection timing. Estimating means 6 for estimating the string striking speed, determining means 3 for determining whether or not the position of the key detected by the position detecting means 2 in the key releasing process corresponds to the specific position, and this determination. When the means determines that the key corresponds to the specific position, the return speed of the key is calculated based on the passage time between the specific position and the predetermined position that has passed before, according to the timing result of the timing means 5. It is characterized by comprising a calculating unit 4 for.

また、請求項2に記載の発明においては、前記算出手
段4は、鍵が前記特定位置を通過する瞬間の速度と前記
通過時間との関係を予め記憶したテーブルを有し、この
テーブルを用いて前記通過時間に対応する鍵戻り速度を
算出することを特徴としている。
Further, in the invention according to claim 2, the calculating means 4 has a table in which the relationship between the speed at the moment when the key passes the specific position and the passing time is stored in advance, and this table is used. The key return speed corresponding to the passage time is calculated.

「作用」 位置検出手段2が、鍵の位置を、ダンパーが鍵を止音
する特定位置を含む少なくとも3以上の異なった位置で
検出し、計時手段5が、位置検出手段2の検出結果に応
じて計時を行う。一方、推定手段6が、位置検出手段2
の検出結果及び計時手段5の計時結果に応じて、3以上
の異なった位置を検出して、押鍵過程において、その検
出のタイミングに基づき発音タイミングあるいは打弦速
度を推定し、他方、判定手段3が、離鍵過程において、
位置検出手段2によって検出された鍵の位置が、上記特
定位置に該当するか否かを判定し、さらに、算出手段4
が、判定手段3によって特定位置に該当すると判定され
たときは、計時手段5の計時結果に応じて、当該特定位
置とその前に通過した所定位置との間の通過時間に基づ
いて鍵の戻り速度を算出する。すなわち、判定手段3に
よって特定位置を任意に選択することができるととも
に、特定位置の近傍の通過時間に基づいて鍵戻り速度が
算出される。
"Operation" The position detecting means 2 detects the position of the key at at least three different positions including the specific position where the damper stops the key, and the timing means 5 responds to the detection result of the position detecting means 2. Time. On the other hand, the estimating means 6 uses the position detecting means 2
3 or more different positions are detected in accordance with the detection result of 1) and the timing result of the timing means 5, and in the key pressing process, the sounding timing or the string striking speed is estimated based on the timing of the detection, while the determination means is determined. 3 is the key release process,
It is determined whether or not the position of the key detected by the position detecting means 2 corresponds to the above-mentioned specific position, and further the calculating means 4
However, when the determination unit 3 determines that the key corresponds to the specific position, the return of the key is performed based on the passage time between the specific position and the predetermined position that has passed before, according to the timing result of the timing unit 5. Calculate speed. That is, the determination unit 3 can arbitrarily select the specific position, and the key return speed is calculated based on the passage time in the vicinity of the specific position.

また、請求項2に記載の発明においては、前記算出手段
4内に鍵が前記特定位置を通過する瞬間の速度と前記通
過時間との関係を予め記憶したテーブルが設けられてい
るので、このテーブルを用いて鍵戻り速度を高精度に算
出することができる。
Further, in the invention according to claim 2, since a table in which the relationship between the speed at the moment when the key passes through the specific position and the passage time is stored in advance in the calculating means 4, is provided. Can be used to calculate the key return speed with high accuracy.

「実施例」 以下、図面を参照してこの発明の実施例について説明
する。
[Examples] Examples of the present invention will be described below with reference to the drawings.

(1)実施例の構成 第2図はこの発明の一実施例の概略構成を示す側面図
である。この図において、自動ピアノ71は複数の鍵73で
構成される鍵盤と、各鍵73の動きをハンマー75に伝達す
る打弦機構77と、ハンマー75に打弦される弦79と、弦79
の振動を抑制するためのダンパー78と、ペダル機構(図
示略)と、このペダル機構を駆動するソレノイド(第7
図の符号80参照)とを有している。
(1) Configuration of Embodiment FIG. 2 is a side view showing a schematic configuration of an embodiment of the present invention. In this figure, the automatic piano 71 is a keyboard composed of a plurality of keys 73, a string striking mechanism 77 for transmitting the movement of each key 73 to a hammer 75, a string 79 strung by the hammer 75, and a string 79.
Damper 78 for suppressing vibration of the pedal, a pedal mechanism (not shown), and a solenoid (seventh
(See reference numeral 80 in the figure).

鍵73はバランスピン81を中心に揺動自在になってお
り、鍵73が押鍵されるか、あるいは、ソレノイド83から
プランジャが突出して鍵73を回動させると、この動きが
打弦機構77を介してハンマー75およびダンパー78に伝達
される。これにより、ダンパー78が弦から離れるととも
に、ハンマー75が図面左方向に回動し打弦が行われる。
The key 73 is swingable around the balance pin 81, and when the key 73 is pressed or the plunger is projected from the solenoid 83 to rotate the key 73, this movement causes the string striking mechanism 77. Is transmitted to the hammer 75 and the damper 78 via. As a result, the damper 78 separates from the string, and the hammer 75 rotates to the left in the drawing to strike the string.

鍵73にはシャッタ87が取り付けられており、シャッタ
87の移動範囲内に位置センサ89が設けられている。この
位置センサ89は、第5図に示すように水平方向に所定距
離隔てて設けられているフォトインタラプタFC1,FC2に
よって構成されており、各フォトインタラプタFC1,FC2
の検出信号の組合せから鍵73の位置が検出されるように
なっている。
A shutter 87 is attached to the key 73.
A position sensor 89 is provided within the movement range of 87. As shown in FIG. 5, the position sensor 89 includes photointerrupters FC1 and FC2 provided at a predetermined distance in the horizontal direction.
The position of the key 73 is detected from the combination of the detection signals of.

ここで、位置検出原理について説明する。第5図はシ
ャッタ87とフォトインタラプタFC1,FC2の相対的位置関
係を示したもので、シャッタ87を固定して図示してあ
る。なお、実際にはフォトインタラプタFC1,FC2の位置
が固定で、これに対してシャッタ87が上下動する。
Here, the principle of position detection will be described. FIG. 5 shows a relative positional relationship between the shutter 87 and the photointerrupters FC1 and FC2, in which the shutter 87 is fixed. Note that the positions of the photointerrupters FC1 and FC2 are actually fixed, and the shutter 87 moves up and down with respect to this.

まず、シャッタ87に対してフォトインタラプタFC1,FC
2の位置が第1測定点L1にある場合は、シャッタ87の形
状が段階状になっているため、フォトインタラプタFC1
は光が遮断されてオフ、フォトインタラプタFC2が光が
透光状態となり、検出信号はオンとなる。この第1測定
点L1は、鍵73を動作させて最初にシャッタ87に遮光され
る位置である。次に、鍵73が押下され始めて、シャッタ
87に対するフォトインタラプタFC1,FC2の位置が第2測
定点L2になるとフォトインタラプタFC1,FC2の双方の検
出信号がオフになる。さらに、フォトインタラプタFC1,
FC2の位置が相対的に第3測定点L3の位置になると、フ
ォトインタラプタFC1の検出信号がオン、フォトインタ
ラプタFC2の検出信号がオフになる。そして、鍵73が打
鍵直前まで押下されると、フォトインタラプタFC1,FC2
の位置は第4測定点L4の位置になり、双方の検出信号が
共にオン状態になる。ここで、各フォトインタラプタFC
1,FC2の出力状態(検出信号)と検出位置との関係を第
6図に示す。
First, the photo interrupters FC1 and FC1
When the position of 2 is at the first measurement point L1, the photo interrupter FC1
Light is cut off and the photo interrupter FC2 is in a light transmitting state, and the detection signal is on. The first measurement point L1 is a position where the shutter 87 is first shielded from light by operating the key 73. Next, the key 73 starts to be pressed and the shutter
When the positions of the photo interrupters FC1 and FC2 with respect to 87 reach the second measurement point L2, both detection signals of the photo interrupters FC1 and FC2 are turned off. In addition, the photo interrupter FC1,
When the position of FC2 becomes relatively the position of the third measurement point L3, the detection signal of the photo interrupter FC1 turns on and the detection signal of the photo interrupter FC2 turns off. Then, when the key 73 is pressed until just before the key is pressed, the photo interrupters FC1, FC2
Is the position of the fourth measurement point L4, and both detection signals are in the ON state. Where each photo interrupter FC
FIG. 6 shows the relationship between the output state (detection signal) of 1, FC2 and the detection position.

また、鍵73の位置の変化(軌跡)は、例えば、第3図
に示すようになっている。この図の左側の部分は鍵の押
鍵離鍵が極めて速く行われた場合であり、右側の部分は
押鍵離鍵が比較的ゆっくり行われた場合である。図示の
ように、押鍵過程における鍵速度は一定でなく、例え
ば、部分a1と部分a2においては押鍵速度が異なってい
る。また、部分bについても押し初めの速度とは異な
り、速くなっている。
The change (locus) of the position of the key 73 is, for example, as shown in FIG. The left part of this figure shows the case where the key release is performed extremely quickly, and the right part shows the case where the key release is performed relatively slowly. As illustrated, the key speed in the key pressing process is not constant. For example, the key pressing speed is different between the portion a1 and the portion a2. Further, the speed of the portion b is also different from the speed at the beginning of pushing.

一方、第4図は鍵73の動きに対応するハンマー75の移
動を示すタイミングチャートであり、第4図の左側が第
3図の左側の鍵の動きに対応し、第4図の右側が第3図
の右側の鍵の動きに対応する。この図面から解るよう
に、最終的な打弦強度は、鍵の速度変化の影響を受け
る。
4 is a timing chart showing the movement of the hammer 75 corresponding to the movement of the key 73. The left side of FIG. 4 corresponds to the movement of the key on the left side of FIG. 3, and the right side of FIG. This corresponds to the key movement on the right side of FIG. As can be seen from this drawing, the final striking strength is affected by the change in the velocity of the key.

次に、第2図に示す位置センサ89の出力信号は、コン
トローラ85に供給され、ここにおいて位置判定がなされ
るようになっている。コントローラ85は、第7図に示す
構成になっている。図において、メインマイクロコンピ
ュータ91は、回路各部を制御するものであり、このメイ
ンマイクロコンピュータ91の制御の下にフロッピーディ
スク制御用のローカルマイクロコンピュータ93と鍵走査
用マイクロコンピュータ95とが動作するようになってい
る。また、メインマイクロコンピュータ91は、CPU、RO
M、RAM、EEPROMおよびバックアップRAM等を具備して論
理演算機能を有しており、コモンバスを介して入出力部
に接続された外部回路との間でデータの入出力を行うよ
うになっている。
Next, the output signal of the position sensor 89 shown in FIG. 2 is supplied to the controller 85, where the position is determined. The controller 85 has the configuration shown in FIG. In the figure, a main microcomputer 91 controls each section of the circuit. Under the control of the main microcomputer 91, a local microcomputer 93 for controlling a floppy disk and a microcomputer 95 for key scanning operate. Has become. Also, the main microcomputer 91 has a CPU, an RO
It has M, RAM, EEPROM, backup RAM, etc. and has a logical operation function, so that it can input / output data to / from an external circuit connected to the input / output unit via the common bus. .

操作パネル97は、操作者によって操作される各種のス
イッチを有しており、また、遠隔操作用スイッチから出
力されるスイッチ情報が入力されるようになっている。
ローカルマイクロコンピュータ93は、操作パネル97の各
スイッチのスキャンにより得られるスイッチ情報および
遠隔操作用スイッチから供給されるスイッチ情報をメイ
ンマイクロコンピュータ91へ供給する。また、ローカル
マイクロコンピュータ93はフロッピーディスクドライバ
99を制御し、フロッピーディスク101から読出された演
奏情報をメインマイクロコンピュータ91へ供給するとと
もに、メインマイクロコンピュータ91から出力された演
奏情報をフロッピーディスク101に書き込む。さらに、
ローカルマイクロコンピュータ93は、MIDI入出力部103
を介して外部の電子楽器とMIDI情報の授受を行うように
なっている。したがって、メインマイクロコンピュータ
91は、ローカルマイクロコンピュータ93を介して外部電
子楽器との間でMIDI情報の授受を行うことができる。な
お、MIDI情報には周知のように打弦強度情報であるベロ
シティが含まれている。
The operation panel 97 has various switches operated by an operator, and receives switch information output from a remote control switch.
The local microcomputer 93 supplies to the main microcomputer 91 the switch information obtained by scanning each switch on the operation panel 97 and the switch information supplied from the remote operation switch. Also, the local microcomputer 93 is a floppy disk driver.
By controlling 99, the performance information read from the floppy disk 101 is supplied to the main microcomputer 91, and the performance information output from the main microcomputer 91 is written to the floppy disk 101. further,
The local microcomputer 93 has a MIDI input / output unit 103
It sends and receives MIDI information to and from an external electronic musical instrument via the. Therefore, the main microcomputer
The 91 can exchange MIDI information with an external electronic musical instrument via the local microcomputer 93. As is well known, the MIDI information includes velocity, which is string striking strength information.

一方、鍵走査用マイクロコンピュータ95は、各鍵につ
いての位置センサ89の出力信号を順次スキャンし、この
出力信号に基づき鍵73の位置を示すコード、すなわち第
1測定点L1〜第4測定点L4のいずれかを示す位置コード
をメインマイクロコンピュータ91に供給する。また、押
された鍵を特定するキーコードもメインマイクロコンピ
ュータ91に同時に供給する。
On the other hand, the key scanning microcomputer 95 sequentially scans the output signal of the position sensor 89 for each key and, based on the output signals, a code indicating the position of the key 73, that is, a first measurement point L1 to a fourth measurement point L4. Is supplied to the main microcomputer 91. Further, a key code specifying the pressed key is also supplied to the main microcomputer 91 at the same time.

メインマイクロコンピュータ91は、供給された位置コ
ードに基づき各測定点の通過時刻を測定する。この場
合、各測定点L1〜L4の間の距離は既知であり、かつ、不
変であるから、測定した時間差はそのまま鍵速度に対応
するデータとなる。すなわち、メインマイクロコンピュ
ータ91は、実質的に鍵速度を測定する。そして、メイン
マイクロコンピュータ91は、測定した時間差から打鍵強
度を推定するようになっている(詳細は後述)。また、
メインマイクロコンピュータ91は、ペダル機構に付加さ
れたセンサ90から供給されるペダルの踏込/解放を示す
情報と上述の推定結果等から演奏情報を作成する。ま
た、メインマイクロコンピュータ91は、フロッピーディ
スク101から読出された演奏情報がローカルマイクロコ
ンピュータ93を介して供給されると、この情報に従って
ソレノイドドライバを制御し、これによりソレノイドド
ライバは鍵用のソレノイド83およびペダル用のソレノイ
ド80を駆動し、自動演奏を行う。
The main microcomputer 91 measures the passing time at each measurement point based on the supplied position code. In this case, since the distance between the measurement points L1 to L4 is known and does not change, the measured time difference becomes data corresponding to the key speed as it is. That is, the main microcomputer 91 substantially measures the key speed. Then, the main microcomputer 91 estimates the keystroke strength from the measured time difference (details will be described later). Also,
The main microcomputer 91 creates performance information from the information indicating the depression / release of the pedal, which is supplied from the sensor 90 added to the pedal mechanism, the above-mentioned estimation result and the like. Further, when the performance information read from the floppy disk 101 is supplied via the local microcomputer 93, the main microcomputer 91 controls the solenoid driver according to the information, whereby the solenoid driver can operate the solenoid 83 for the key and the solenoid 83 for the key. The solenoid 80 for the pedal is driven to perform an automatic performance.

なお、図中107は装置各部に電源を供給する電源ユニ
ットである。
In the figure, reference numeral 107 denotes a power supply unit for supplying power to each unit of the apparatus.

(2)実施例の動作 次に、上記構成によるこの実施例の動作について説明
する。
(2) Operation of Embodiment Next, the operation of this embodiment having the above-described configuration will be described.

第8図は、メインマイクロコンピュータ91が実行する
メインルーチンであり、記録モード時に起動され、所定
時間毎に繰り返し実行される。
FIG. 8 shows a main routine executed by the main microcomputer 91, which is started in the recording mode and is repeatedly executed at predetermined time intervals.

まず、ステップSP1においては、キーレジスタの初期
化が行われる。キーレジスタは、メインマイクロコンピ
ュータ91内のRAMに設定されているレジスタであり、第
9図に示すようにキー番号NO1〜NO88に対応する記憶エ
リアを有している。各記憶エリアには、各測定点L1〜L4
のいずれかを示す測定点データLnが書き込まれるように
なっている。なお、nは各測定点の位置を示す。
First, in step SP1, the key register is initialized. The key register is a register set in the RAM in the main microcomputer 91 and has storage areas corresponding to the key numbers NO1 to NO88 as shown in FIG. Each storage area has each measurement point L1 to L4
The measurement point data Ln indicating either of the above is written. In addition, n shows the position of each measurement point.

次に、ステップSP2に進むと、鍵走査用マイクロコン
ピュータ95から測定点の位置を示す位置コードおよびキ
ーコードが供給されたか否かが判断される。この判定が
「NO」の場合は、「YES」となるまでステップSP2の判定
を繰り返す。ステップSP2の判定が「YES」になると、ス
テップSP3に進み、鍵走査用マイクロコンピュータ95か
ら供給された位置コードとキーコードとを復号し、これ
らをキー番号データKnと測定点データLnに変換する。そ
して、ステップSP4に移ると、キーレジスタ(第9図参
照)内のキー番号データKnに一致する番号の記憶エリア
から前回記憶された位置データLn-1を読出す。ただし、
今回の位置データLnが最初のデータの場合は前回データ
はない。
Next, proceeding to step SP2, it is judged whether or not the position scanning indicating the position of the measuring point and the key code are supplied from the key scanning microcomputer 95. If the determination is "NO", the determination in step SP2 is repeated until the determination becomes "YES". When the determination in step SP2 is "YES", the process proceeds to step SP3, the position code and the key code supplied from the key scanning microcomputer 95 are decoded, and these are converted into key number data Kn and measurement point data Ln. . Then, when the flow proceeds to step SP4, the position data Ln- 1 previously stored is read from the storage area of the number corresponding to the key number data Kn in the key register (see FIG. 9). However,
If the current position data Ln is the first data, there is no previous data.

次に、ステップSP5に移り、前回の位置データLnをキ
ーレジスタ内の対応する記憶エリアに書き込む。そし
て、ステップSP6に進み、前回の位置データLn-1と今回
の位置データLnとを比較し、その連続性の有無に基づい
て鍵走査にエラーがあったか否かが判定される。すなわ
ち、位置センサ89による位置検出が正常に行われた場合
は、押鍵時における位置データは測定点L1→L2→L3→L4
を示すものに順次更新されるはずであり、鍵戻り時にお
ける位置データは、上記とは逆に測定点L4→L3→L2→L1
を示すものに順次更新されるはずである。これがエラー
の場合、すなわち、いずれかの測定点において位置デー
タが得られなかった場合は、位置データの更新が上述の
順序にならない。ステップSP6の判定は、この原理によ
り行われ、位置データLnとLn-1とが正規の関係になって
いない場合にエラーと判定する。次にステップSP7に移
り、エラー判定がされたか否かが判断され「YES」の場
合は再びステップSP2に戻る。そして、エラー判定がな
されなかった場合は、位置データLnがどの測定点を示す
か、および、鍵の動きが押鍵過程と鍵戻り過程のいずれ
にあるかによってステップSP8〜SP15のサブルーチンの
処理を行う。以下に押鍵過程と鍵戻り過程に分けて各サ
ブルーチンの処理を説明する。
Next, in step SP5, the previous position data Ln is written in the corresponding storage area in the key register. Then, the process proceeds to step SP6, where the previous position data Ln- 1 is compared with the current position data Ln, and it is determined whether there is an error in the key scanning based on the continuity. That is, if the position detection by the position sensor 89 is normally performed, the position data at the time of key depression is the measurement point L1 → L2 → L3 → L4
The position data at the time of key return is opposite to the above, and the measurement point L4 → L3 → L2 → L1
Should be updated sequentially to indicate. If this is an error, that is, if position data is not obtained at any of the measurement points, the position data is not updated in the order described above. The determination in step SP6 is performed based on this principle, and if the position data Ln and Ln- 1 are not in a regular relationship, it is determined that an error has occurred. Next, the process proceeds to step SP7, and it is determined whether or not an error determination is made, and if "YES", the process returns to step SP2 again. If no error determination is made, the subroutine processing of steps SP8 to SP15 is performed depending on which measurement point the position data Ln indicates and whether the key movement is in the key pressing process or the key returning process. Do. The processing of each subroutine will be described below separately for the key pressing process and the key returning process.

A:押鍵過程 ステップSP8(L1押鍵時処理ルーチン) この処理ルーチンのフローチャートを第11図に示す。
第11図に示すステップSPa1においては、キーイベントレ
ジスタの当該キーの部分、すなわち、押下されている鍵
のキー番号に対応する部分が初期化される。ここで、キ
ーイベントレジスタは、第7図に示すメインマイクロコ
ンピュータ91のRAM内に設定されているレジスタであ
り、そのメモリマップを第10図に示す。キーイベントレ
ジスタは、キー番号NO1〜NO88に対応した記憶ブロック
を有しており、各記憶ブロックは第10図に示すように9
個の記憶エリアar1〜ar9から成っている。記憶エリアar
1〜ar4には、押鍵時における測定点L1〜L4の通過時刻が
記憶され、記憶エリアar5、ar6には鍵戻り時における測
定点L2、L3の通過時刻が記憶されるようになっている。
また、記憶エリアar7には推定打鍵速度Vが記憶され、
記憶エリアar8には発音タイミングTが記憶されるよう
になっており、記憶エリアar9には、キーオン(ノート
オン)またはキーオフ(ノートオフ)を示すオン/オフ
フラグが設けられている。
A: Key pressing process Step SP8 (L1 key pressing processing routine) FIG. 11 shows a flowchart of this processing routine.
In step SPa1 shown in FIG. 11, the key portion of the key event register, that is, the portion corresponding to the key number of the pressed key is initialized. Here, the key event register is a register set in the RAM of the main microcomputer 91 shown in FIG. 7, and its memory map is shown in FIG. The key event register has storage blocks corresponding to the key numbers NO1 to NO88.
It consists of memory areas ar1 to ar9. Storage area ar
1 to ar4 store the passing times of the measurement points L1 to L4 when the key is pressed, and the storage areas ar5 and ar6 store the passing times of the measurement points L2 and L3 when the key returns. .
In addition, the estimated keystroke speed V is stored in the storage area ar7,
The sound generation timing T is stored in the storage area ar8, and an on / off flag indicating key-on (note-on) or key-off (note-off) is provided in the storage area ar9.

次に、ステップSPa2においては、押下されている鍵の
番号に対応する記憶ブロックの記憶エリアar1に現在時
刻をデータTL1として書き込む。この処理の後は、メイ
ンルーチン(第8図参照)にリターンする。
Next, in step SPa2, the current time is written as data TL1 in the storage area ar1 of the storage block corresponding to the number of the pressed key. After this processing, the process returns to the main routine (see FIG. 8).

ステップSP9(L2押鍵時処理ルーチン) この処理ルーチンのフローチャートを第12図に示す。
まず、ステップSPb1においては、押下されている鍵の番
号に対応する記憶ブロックの記憶エリアar2に現在時刻
をデータTL2として書き込む。そして、ステップSPb2に
進み、データTL2からデータTL1を減算し、この時間差
(鍵速度に対応)からテーブルに基づいて推定打鍵速度
Vを算出する。このテーブルは、第7図に示すメインマ
イクロコンピュータ91内のROM内に設定されている。テ
ーブルの内容は第21図に示すようになっている。すなわ
ち、横軸を時間差の対数目盛りln(TLn−TLn-1)とし、
縦軸を推定打弦速度Vとして、時間差の対数値から推定
打弦速度V2を算出する。
Step SP9 (L2 key-depressing process routine) A flowchart of this process routine is shown in FIG.
First, in step SPb1, the current time is written as data TL2 in the storage area ar2 of the storage block corresponding to the number of the key being pressed. Then, in step SPb2, the data TL1 is subtracted from the data TL2, and the estimated keystroke speed V is calculated from this time difference (corresponding to the key speed) based on the table. This table is set in the ROM in the main microcomputer 91 shown in FIG. The contents of the table are as shown in FIG. That is, the horizontal axis is a logarithmic scale ln (TLn−TLn −1 ) of the time difference,
With the vertical axis representing the estimated stringing velocity V, the estimated stringing velocity V2 is calculated from the logarithmic value of the time difference.

次に、ステップSPb3に進み、ステップSPb2において算
出した推定速度V2が予め定めた基準限界速度v1Lとv1Hと
の範囲内にあるか否かが判定される。この範囲から外れ
る場合は、鍵走査が異常な場合である。例えば、下限の
基準限界速度v1Lを下回る場合は、極めてゆっくりと鍵
が押下された場合であり、通常の鍵操作にはあり得ない
場合である。また、上限の基準限界速度v1Hを上回る場
合は、例えば、第20図のe1に示すような場合であり、鍵
とハンマーとが連動しないで鍵が無負荷で高速に動いた
場合である。
Next, in step SPb3, it is determined whether or not the estimated speed V2 calculated in step SPb2 is within a range between predetermined reference limit speeds v1L and v1H. If it deviates from this range, it means that the key scanning is abnormal. For example, when the speed is lower than the lower limit speed limit v1L, the key is depressed very slowly, and this is a case where normal key operation is impossible. In addition, the case where the speed exceeds the upper limit reference speed v1H is, for example, a case as shown in e1 of FIG. 20, that is, a case where the key and the hammer move at high speed with no load without interlocking with the hammer.

推定打弦速度V2が正常の範囲にあれば、ステップSPb3
の判定が「YES」となり、ステップSPb4に進む。ステッ
プSPb4では推定打弦速度V2からテーブルに基づいて発音
タイミングT2を求める。このテーブルは第7図に示すメ
インマイクロコンピュータ91内のROMに設定されてお
り、その内容は第22図に示すようになっている。すなわ
ち、推定打弦速度を縦軸、発音タイミングの対数lnTを
横軸とした場合に、図示の直線l1〜l3に基づいて発音タ
イミングTを算出する。ただし、直線l1は第1測定点L1
から第2測定点L2までの区間の通過時間に基づいて推定
打弦速度V2を算出する場合に用いる線であり、同様に直
線l2、l3は各々第2測定点L2から第3測定点L3の区間お
よび第3測定点L3から第4測定点L4の区間の通過時間に
基づいて推定打弦速度V3、V4を算出する場合に用いる線
である。したがって、ステップSPb4においては、直線l1
に基づいて発音タイミングT2が算出される。
If the estimated stringing speed V2 is within the normal range, step SPb3
Is "YES", and the routine proceeds to step SPb4. In step SPb4, the sounding timing T2 is obtained from the estimated string striking speed V2 based on a table. This table is set in the ROM in the main microcomputer 91 shown in FIG. 7, and its contents are as shown in FIG. That is, when the estimated string striking speed is on the vertical axis and the logarithm lnT of the sounding timing is on the horizontal axis, the sounding timing T is calculated based on the illustrated straight lines l1 to l3. However, the straight line l1 is the first measurement point L1
Is a line used when calculating the estimated stringing speed V2 based on the passage time of the section from the second measurement point L2 to the second measurement point L2. Similarly, the straight lines l2 and l3 are the lines of the second measurement point L2 to the third measurement point L3, respectively. This is a line used when calculating the estimated string striking speeds V3 and V4 based on the section and the passing time of the section from the third measurement point L3 to the fourth measurement point L4. Therefore, in step SPb4, the straight line l1
Is calculated based on the sound generation timing T2.

ステップSPb4の処理の後は、ステップSPb5に移り、推
定打弦速度V2および発音タイミングT2をキーイベントレ
ジスタ内の記憶エリアar7,ar8にそれぞれ推定打弦速度
Vおよび発音タイミングTとして書き込んでリターンす
る。
After the process of step SPb4, the process proceeds to step SPb5, where the estimated string striking speed V2 and the sounding timing T2 are written as the estimated string striking speed V and the sounding timing T in the storage areas ar7 and ar8 in the key event register, respectively, and the process returns.

一方、ステップSPb3において「NO」と判定された場合
は、縦操作が異常なためキーイベントレジスタの書込は
行わず、直ちにリターンする。
On the other hand, if "NO" is determined in step SPb3, the vertical operation is abnormal, so the key event register is not written and the process immediately returns.

ステップSP10(L3押鍵処理ルーチン) この処理ルーチンのフローチャートを第13図に示す。
図に示すステップSPc1においては、押下されている鍵の
番号に対応する記憶ブロックの記憶エリアar3(第10図
参照)に現在時刻をデータTL3として書き込む。そし
て、ステップSPc2に進み、データTL3からデータTL2を減
算し、この時間差からテーブル(第21図参照)に基づい
て推定打弦速度V3を算出する。次にステップSPc3に進む
と、推定打弦速度vが、v2L≦V3≦v2Hの範囲に入ってい
るか否かが判定される。この判定におけるv2Lおよびv2H
の値は、鍵操作が異常であるか否かを判定するための下
限値および上限値であり、前述したv1L、v1Hと同様にし
て予め実験等に基づいて設定される。このように、異常
操作判定のための下限値および上限値をステップSPb3
(第12図参照)の場合と異ならせているのは、押鍵の位
置によって異常操作となる場合の鍵速度が異なるからで
ある。
Step SP10 (L3 key depression processing routine) FIG. 13 shows a flowchart of this processing routine.
In step SPc1 shown in the figure, the current time is written as data TL3 in the storage area ar3 (see FIG. 10) of the storage block corresponding to the number of the pressed key. Then, the process proceeds to step SPc2, in which the data TL2 is subtracted from the data TL3, and the estimated string striking speed V3 is calculated from the time difference based on a table (see FIG. 21). Next, proceeding to step SPc3, it is determined whether or not the estimated stringing speed v is in the range of v2L ≦ V3 ≦ v2H. V2L and v2H in this decision
Are the lower limit value and the upper limit value for determining whether the key operation is abnormal, and are set in advance based on experiments and the like in the same manner as v1L and v1H described above. In this way, the lower limit value and the upper limit value for abnormal operation determination are set in step SPb3.
The difference from the case of (see FIG. 12) is that the key speed in the case of an abnormal operation differs depending on the position of the key depression.

鍵の異常操作がなくステップSPc3の判定の結果が「YE
S」になるとステップSPc4を進み、推定打弦速度V3から
発音タイミングT3を算出する。この算出は、第22図に示
す直線l2に基づいて行われる。そして、ステップSPc5に
進み、推定打弦速度V3と発音タイミングTが既にキーイ
ベントレジスタ(第10図参照)のエリアar7またはエリ
アar8に記憶されているか否かが判断される。この判断
結果が「YES」の場合、すなわち、L2押鍵時処理サブル
ーチン(第12図参照)においてステップSPb4,SPb5の処
理がなされている場合は、ステップSPc6に移り、T3<T
か否かが判定される。この判定が「YES」の場合は、ス
テップSPc7に移りキーイベントレジスタのエリアar7、a
r8の内容を、各々推定打弦速度V3および発音タイミング
T3に書き換える。この書き換え後は、メインルーチンに
リターンする。
There is no abnormal key operation, and the result of the determination in step SPc3 is “YE
When "S" is reached, step SPc4 is proceeded to, and tone generation timing T3 is calculated from estimated string striking speed V3. This calculation is performed based on the straight line l2 shown in FIG. Then, the process proceeds to step SPc5, and it is determined whether or not the estimated striking speed V3 and the sounding timing T are already stored in the area ar7 or the area ar8 of the key event register (see FIG. 10). If the result of this determination is "YES", that is, if the processing of steps SPb4 and SPb5 has been performed in the L2 key depression processing subroutine (see FIG. 12), the processing moves to step SPc6, where T3 <T
Is determined. If this determination is "YES", the processing moves to step SPc7 and the key event register areas ar7, a
The content of r8 is calculated based on the estimated striking speed V3 and the sounding timing.
Rewrite to T3. After this rewriting, the process returns to the main routine.

一方、L2押鍵時処理サブルーチン(第12図参照)のス
テップSPc3において鍵が異常操作であると判定された場
合は、キーイベントレジスタのエリアar7,ar8はクリア
された状態にあるから、ステップSPc5の判定が「NO」と
なる。したがって、直ちにステップSPc7に移り、推定打
弦速度V3と発音タイミングT3をエリアar7,ar8に書き込
む。また、鍵に異常操作があり、ステップSPc3において
「NO」と判定された場合においては、打弦推定速度V3お
よび発音タイミングT3の算出は行わずにリターンする。
On the other hand, if it is determined in step SPc3 of the L2 key depression processing subroutine (see FIG. 12) that the key is an abnormal operation, the areas ar7 and ar8 of the key event register are in the cleared state, and therefore step SPc5 The judgment is “NO”. Therefore, the process immediately proceeds to step SPc7, where the estimated string striking speed V3 and the sound generation timing T3 are written in the areas ar7 and ar8. If the key is abnormally operated and it is determined to be "NO" in step SPc3, the estimated string striking speed V3 and the sounding timing T3 are not calculated, and the process returns.

ステップSP11(L4押鍵時処理ルーチン) 第14図は、L4押鍵時処理ルーチンを示すフローチャー
トである。このフローチャートにおける各ステップSPd1
〜SPd7は、各々第13図に示すステップSPc1〜SPc7に対応
しており、同様の処理内容となっている。ただし、ステ
ップSPd3における判定の下限値v3Lおよび上限値v3Hは、
第4測定点L4に対応する値が設定されている。また、算
出されるのは測定点L4に対応した推定打弦速度V4および
発音タイミングT4である(ステップSd2、Sd4参照)。
Step SP11 (L4 key depression time processing routine) FIG. 14 is a flowchart showing the L4 key depression time processing routine. Each step SPd1 in this flowchart
To SPd7 correspond to steps SPc1 to SPc7 shown in FIG. 13, respectively, and have the same processing contents. However, the lower limit value v3L and the upper limit value v3H of the determination in step SPd3 are
A value corresponding to the fourth measurement point L4 is set. Further, the estimated string striking speed V4 and sounding timing T4 corresponding to the measurement point L4 are calculated (see steps Sd2 and Sd4).

以上のようにして、鍵操作に異常がなければ、鍵73
(第2図参照)が各測定点L2,L3,L4を通過する毎に推定
打弦速度および発音タイミングが算出される。そして、
算出された発音タイミングT3またはT4が、それ以前に算
出された発音タイミングより早いタイミングを示す場合
は、キーイベントレジスタ内のデータを、新たに算出さ
れ発音タイミングおよび打弦推定速度に更新する。した
がって、L4押鍵時処理が終了した際にキーイベントレジ
スタの記憶エリアar7,ar8に記憶される最終的な推定打
弦速度Vと発音タイミングTとは、押鍵速度の変化を反
映し、実際の打弦速度に対応したものとなる。また、い
ずれの測定点においても鍵操作に異常ありと判定された
場合は、記憶エリアar7,ar8の内容はクリアされたまま
である。
As described above, if there is no abnormality in the key operation, the key 73
The estimated string striking speed and sounding timing are calculated each time (see FIG. 2) passes through each of the measurement points L2, L3, L4. And
When the calculated sounding timing T3 or T4 indicates a timing earlier than the sounding timing calculated before that, the data in the key event register is updated to the newly calculated sounding timing and the estimated string striking speed. Therefore, the final estimated stringing speed V and the sounding timing T stored in the storage areas ar7 and ar8 of the key event register when the L4 key-pressing process is completed reflect the change in the key-pressing speed. This corresponds to the string striking speed. If it is determined that the key operation is abnormal at any measurement point, the contents of the storage areas ar7 and ar8 remain cleared.

キーイベントタイマー割込処理ルーチン この処理ルーチンは、キーイベントレジスタの記憶エ
リアar8に格納された発音タイミングTに基づいて、MID
I信号のNOTO ON信号をリアルタイムで発生する処理ルー
チンである。この処理ルーチンは、第8図に示す処理と
は別個にタイマ割込によって1ms毎に起動されるように
なっており、第19図にそのフローチャートを示す。
Key Event Timer Interrupt Processing Routine This processing routine is based on the tone generation timing T stored in the storage area ar8 of the key event register.
This is a processing routine that generates the NOTO ON signal of the I signal in real time. This processing routine is started every 1 ms by a timer interrupt separately from the processing shown in FIG. 8, and FIG. 19 shows a flowchart thereof.

第19図に示すステップSPi1においては、キー番号レジ
スタKeyNOに「1」がセットされる。なお、キー番号レ
ジスタKeyNOは、第2図に示すメインマイクロコンピュ
ータ91内のRAM内に設けられている。次に、ステップSPi
2に進むと、メインマイクロコンピュータ91内のCPUのア
キュームレータAに、記憶エリアar8(第10図参照)に
記憶されている発音タイミングTを読み込む。そして、
ステップSPi3においてアキュームレータの値が「0」か
否かが判定される。ここで、前述したステップSP8〜SP1
1の各サブルーチンによってキー番号1について発音タ
イミングTが算出されている場合は、この判定は「NO」
となるから、処理はステップSPi4に進みアキュームレー
タAの内容が値1だけデクリメントされる。そして、ス
テップSPi5に進んで減算後のアキュームレータAの値を
同記憶エリアar8にストアする。そして、ステップSPi6
においてアキュームレータAの内容が「0」か否かが判
定される。この判定が「YES」の場合は、ステップSPi7
に進み、キー番号1の記憶エリアar7に記憶されている
推定速度データVを読み込む。そして、ステップSPi8に
進むと、ローカルマイクロコンピュータ93に制御信号を
供給し、MIDI端子からMIDI信号を出力させる。この際に
出力されるMIDI信号は、NOTE ON信号である。NOTE ON信
号のステータスバイトは、MIDI規格によれば16進表示で
9X(XはチャンネルNO)である。また、MIDI信号の第2
バイトのデータはノートナンバーであるから、キー番号
1に対応するノートナンバーがセットされる。そして、
第3バイトはベロシティ(打弦速度)のデータであるか
ら、ステータスSPi7において読み出された推定打弦速度
Vがセットされる。また、ステータスSPi8においては、
上述のようにしてセットされたMIDI信号がフロッピディ
スクドライバ99を介してフロッピーディスク101に書き
込まれる。次に、ステップSPi9に移ると、キーイベント
レジスタの記憶エリアar9にあるオン/オフフラグをセ
ットし、ステップSPi10に移ってキー番号レジスタKeyNO
の値を値1だけインクリメントする。上述のように、ア
キュームレータAの内容が「0」となった時点におい
て、NOTE ON信号を出力するのは、アキュームレータA
の内容は1ms毎に起動されるこのサブルーチンによって
1ずつデクリメントされていくから、アキュームレータ
Aに読み込まれた発音タイミングTの値が「0」となる
時点が当該キー番号に対応する弦の発音時刻に対応する
からである。
In step SPi1 shown in FIG. 19, “1” is set in the key number register KeyNO. The key number register KeyNO is provided in the RAM in the main microcomputer 91 shown in FIG. Next, step SPi
When the program proceeds to 2, the tone generation timing T stored in the storage area ar8 (see FIG. 10) is read into the accumulator A of the CPU in the main microcomputer 91. And
In step SPi3, it is determined whether the value of the accumulator is “0”. Here, the aforementioned steps SP8 to SP1
If the sounding timing T is calculated for the key number 1 by each subroutine 1, this determination is “NO”.
Therefore, the process proceeds to step SPi4, and the content of the accumulator A is decremented by the value 1. Then, the process proceeds to step SPi5 to store the value of the accumulator A after the subtraction in the same storage area ar8. And step SPi6
It is determined whether or not the content of the accumulator A is "0". If this determination is "YES", the process proceeds to step SPi7
To read the estimated speed data V stored in the storage area ar7 of the key number 1. Then, in step SPi8, a control signal is supplied to the local microcomputer 93 to output a MIDI signal from the MIDI terminal. The MIDI signal output at this time is a NOTE ON signal. NOTE The status byte of the ON signal is displayed in hexadecimal according to the MIDI standard.
9X (X is channel NO). Also, the second MIDI signal
Since the byte data is the note number, the note number corresponding to key number 1 is set. And
Since the third byte is velocity (string striking speed) data, the estimated string striking speed V read in the status SPi7 is set. Also, in status SPi8,
The MIDI signal set as described above is written to the floppy disk 101 via the floppy disk driver 99. Next, in step SPi9, the on / off flag in the storage area ar9 of the key event register is set, and in step SPi10, the key number register KeyNO
The value of is incremented by the value 1. As described above, when the content of the accumulator A becomes “0”, the NOTE ON signal is output by the accumulator A.
The contents of is decremented by 1 by this subroutine activated every 1 ms, so the time when the value of the sounding timing T read into the accumulator A becomes "0" is the sounding time of the string corresponding to the key number. Because it corresponds.

一方、ステップSPi6における判定結果が「NO」の場合
は、直ちにステップSPi10に進んでキー番号レジスタKey
NOの値を値1だけインクリメントする。このステップSP
i10の処理の後は、ステップSPi11に進む。ステップSPi1
1においては、キー番号レジスタKeyNOの内容が「89」か
否かが判定され、「NO」であれば再びステップSPi2から
処理が行われる。また、ステップSPi3において「YES」
と判定される場合は、押鍵がされなかった場合か、ある
いはステップSP8〜SP11の処理において押鍵が異常操作
と判定されてた場合であり、この場合においても当該キ
ー番号については、NOTE ON信号の作成は行わず、直ち
にステップSPi10に移る。
On the other hand, if the decision result in the step SPi6 is "NO", the process immediately proceeds to the step SPi10 and the key number register Key
Increment the value of NO by the value one. This step SP
After the process of i10, the process proceeds to step SPi11. Step SPi1
In 1, it is determined whether or not the content of the key number register KeyNO is "89", and if "NO", the process is performed again from step SPi2. Also, in step SPi3, "YES"
Is determined, the key is not pressed, or the key is determined to be an abnormal operation in the processing of steps SP8 to SP11. In this case, the key number is also set to NOTE ON. No signal is created, and the process immediately proceeds to step SPi10.

以後同様にして上記処理が繰り返えされる。すなわ
ち、キー番号1からキー番号88について順次NOTE ON信
号作成の有無が判断され、作成と判断された場合には記
憶エリアar7内の推定打弦速度VをベロシティとするMID
I信号を作成する。
Thereafter, the above processing is repeated in a similar manner. That is, the presence or absence of the creation of the NOTE ON signal is sequentially determined for the key numbers 1 to 88, and when the creation is determined, the MID having the estimated stringing speed V in the storage area ar7 as the velocity.
Create an I signal.

そして、すべての鍵についての走査が終了すると、ス
テップSPi11の判定が「YES」となり、割込前の処理ルー
チンへリターンする。
When the scanning for all keys is completed, the determination in step SPi11 becomes “YES”, and the process returns to the processing routine before the interruption.

B:鍵戻り過程 次に、鍵戻り過程における各処理を説明する。B: Key Return Process Next, each process in the key return process will be described.

鍵が最終位置まで押された場合は、測定点L4の位置を
通過した後に鍵戻り過程に入る。この鍵戻り過程におい
ては、当然に各測定点をL4→L3→L2→L1なる順で通過す
る。そして、各通過点においては、第8図に示すステッ
プSP12〜SP15のサブルーチンの処理が行われる。以下各
処理について説明する。
When the key is pressed to the final position, the key return process is performed after passing through the position of the measurement point L4. In this key return process, naturally, each measurement point is passed in the order of L4 → L3 → L2 → L1. At each passing point, a subroutine process of steps SP12 to SP15 shown in FIG. 8 is performed. Each process will be described below.

ステップSP12(L4鍵戻り時処理ルーチン) 鍵戻り過程において第4測定点L4を通過したときは、
何も処理せず次の第3測定点L3の通過を待機する(第15
図参照)。
Step SP12 (L4 key return processing routine) When passing the fourth measurement point L4 in the key return process,
Waits for the next third measurement point L3 to pass without processing anything (15th
See figure).

ステップSP13(L3鍵戻り時処理ルーチン) 鍵戻り過程において鍵73が第3測定点L3を通過する
と、第8図に示す処理によりこれが検出され、L3鍵戻り
時処理ルーチンの処理に移る。この処理は、現在の時刻
をデータTL3Rとしてキーイベントレジスタ(第10図参
照)の記憶エリアar6に記憶させる処理であり(第16図
のステップSPf1参照)、記憶させた後はメインルーチン
にリターンする。
Step SP13 (L3 key return processing routine) When the key 73 passes through the third measurement point L3 in the key return process, this is detected by the processing shown in FIG. 8, and the processing shifts to the processing of the L3 key return processing routine. This processing is processing for storing the current time as data TL3R in the storage area ar6 of the key event register (see FIG. 10) (see step SPf1 in FIG. 16), and after storing, returns to the main routine. .

ステップSP14(L2鍵戻り時処理ルーチン) まず、第17図に示すステップSPg1にいおいて、現在の
時刻をデータTL2Rとしてキーイベントレジスタの記憶エ
リアar5に格納する。そして、ステップSPg2に至り、記
憶エリアar5、ar6内のデータTL3R、TL2Rを読出し、時間
差(TL3R−TL2R)から推定鍵戻り速度VRを算出する。こ
の算出は、メインマイクロコンピュータ91(第7図参
照)内のROMに予め記憶されているテーブルに従って行
われる。テーブルの内容は、第23図に示すように、時間
差(TL3R−TL2R)の対数を横軸、推定鍵戻り速度VRを縦
軸にした場合に、右下がりの直線l5に従って推定鍵戻り
速度VRが求められるようになっている。
Step SP14 (L2 key return processing routine) First, in step SPg1 shown in FIG. 17, the current time is stored as the data TL2R in the storage area ar5 of the key event register. Then, the process proceeds to step SPg2, where the data TL3R and TL2R in the storage areas ar5 and ar6 are read, and the estimated key return speed VR is calculated from the time difference (TL3R−TL2R). This calculation is performed according to a table stored in advance in the ROM in the main microcomputer 91 (see FIG. 7). As shown in FIG. 23, when the logarithm of the time difference (TL3R−TL2R) is plotted on the horizontal axis and the estimated key return rate VR is plotted on the vertical axis, the table shows that the estimated key return rate VR is It has become required.

このように、鍵の戻り位置が第2測定点L2の時に推定
鍵戻り速度VRを算出するのは以下の理由による。すなわ
ち、ダンパ78が弦79(第2図参照)の止音を開始するの
は、鍵の戻り位置が第2測定点L2を通過するときであ
り、この時点における鍵の戻り速度が止音効果(レガー
ト、ノンレガート等)に大きな影響を与える。したがっ
て、止音制御における最も重要な鍵の戻り速度は、第2
測定点L2における速度となる。そして、ここにおいて算
出された推定鍵戻り速度VRは、演奏者のタッチに対応
し、ダンパ78のかかり具合を示す。また、ステップSPg2
において測定している第3測定点L3と第2測定点L2との
間の通過時間(TL3R−TL2R)は、鍵が第2測定点L2を通
過する瞬間の速度との相関が極めて強い。しかも、この
通過時間(TL3R−TL2R)と鍵が測定点L2を通過する際の
速度との関係を記憶したテーブル(第23図参照)を用い
て、鍵戻り速度VRの算出を行っているので、ステップSP
g2における算出結果は、鍵が第2測定点L2を実際に通過
する際の速度に正確に一致することになる。
The reason why the estimated key return speed VR is calculated when the key return position is at the second measurement point L2 is as follows. That is, the damper 78 starts to stop the sound of the string 79 (see FIG. 2) when the return position of the key passes the second measurement point L2, and the return speed of the key at this time is the stop effect. It has a great effect on (legato, non-legato, etc.). Therefore, the most important key return speed in the sound stop control is the second
The speed at the measurement point L2. Then, the estimated key return speed VR calculated here corresponds to the player's touch and indicates the degree to which the damper 78 is applied. Step SPg2
The transit time (TL3R-TL2R) between the third measurement point L3 and the second measurement point L2, which is being measured in, has a very strong correlation with the speed at the moment when the key passes through the second measurement point L2. Moreover, the key return speed VR is calculated using the table (see FIG. 23) that stores the relationship between this transit time (TL3R-TL2R) and the speed at which the key passes the measurement point L2. , Step SP
The calculation result in g2 will exactly match the speed at which the key actually passes the second measurement point L2.

次に、ステップSPg3に移ると、キーイベントレジスタ
内の記憶エリアar9にあるオン/オフフラグが“0"にな
っているかどうか、すなわち、NOTE OFFになっているか
どうかが判定される。本来、鍵操作が正常に行われれ
ば、押鍵過程において各測定点L2、L3、L4を通過した時
点において、ステップSP9〜SP11のサブルーチン(第12
図〜第14図参照)の処理によって発音タイミングTが算
出されているはずであるから、ステップSPg3においてNO
TE OFFと判定されることはない。しかし、鍵操作が異常
の場合は、前述のように発音タイミングTが算出されな
いから、押鍵過程において各測定点L2、L3、L4のいずれ
かを通過した後に鍵戻り過程に入ったとしてもNOTE OFF
となっている場合がある。ステップSPg3は、このような
誤操作の場合を排除するための判断処理であり、「YE
S」(誤操作)と判定されたときは以後の処理を行わ
ず、直ちにメインルーチンへリターンする。このステッ
プSPg3において「NO」と判定されると、ステップSPg4に
移り記憶エリアar9内のオン/オフフラグが“1"になっ
ているか否か、すなわち、NOTE ONになっているか否か
が判定される。本来ステップSPg3において「NO」と判定
されれば必然的にステップSPg4の判定は「YES」と判定
されるはずであるが、ここでは、確実性を得るために再
度NOTE ONか否かを判断する。
Next, at step SPg3, it is determined whether or not the on / off flag in the storage area ar9 in the key event register is "0", that is, whether or not the note is off. Originally, if the key operation is normally performed, at the time when the measurement points L2, L3, and L4 are passed in the key pressing process, the subroutines of the steps SP9 to SP11 (12th
Since the sound generation timing T should have been calculated by the processing of FIG. 14 to FIG.
TE OFF is not determined. However, when the key operation is abnormal, the sound generation timing T is not calculated as described above, so even if the key return process is entered after passing through any one of the measurement points L2, L3, and L4 in the key pressing process, NOTE OFF
May be. Step SPg3 is a determination process for eliminating the case of such an erroneous operation.
When it is determined to be "S" (erroneous operation), the subsequent processing is not performed and the process immediately returns to the main routine. If "NO" is determined in this step SPg3, it is moved to step SPg4 and it is determined whether or not the ON / OFF flag in the storage area ar9 is "1", that is, NOTE ON. . Originally, if "NO" is determined in step SPg3, the determination in step SPg4 should be necessarily "YES", but here, in order to obtain certainty, it is determined whether or not it is NOTE ON again. .

ステップSPg4の判定が「YES」の場合は、ステップSPg
5に移り、ローカルマイクロコンピュータ93(第2図参
照)に制御信号を供給し、MIDI端子からMIDI信号を出力
させる。この際に出力されるMIDI信号は、NOTE OFF信号
である。NOTE OFF信号のステータスバイトは、MIDI規格
によれば16進表示で8X(Xはドントケア)である。ま
た、MIDI信号の第2バイトのデータはノートナンバーで
あるから、該等するキー番号に対応するノートナンバー
がセットされる。そして、第3バイトはベロシティ(打
弦速度)のデータであるから、ステップSPg2において算
出された推定鍵戻り速度VRがセットされる。また、ステ
ップSPg5においては、上述のようにしてセットされたMI
DI信号がフロッピディスクドライバ99を介してフロッピ
ーディスク101に書き込まれる。次に、ステップSPg6に
移ると、キーイベントレジスタの記憶エリアar9にある
オン/オフフラグをリセットしメインルーチンにリター
ンする。
If the determination in step SPg4 is "YES", step SPg
In step 5, a control signal is supplied to the local microcomputer 93 (see FIG. 2) to output a MIDI signal from the MIDI terminal. The MIDI signal output at this time is a NOTE OFF signal. NOTE The status byte of the OFF signal is 8X (X is don't care) in hexadecimal notation according to the MIDI standard. Since the data of the second byte of the MIDI signal is a note number, a note number corresponding to the corresponding key number is set. Since the third byte is velocity (string striking speed) data, the estimated key return speed VR calculated in step SPg2 is set. In step SPg5, the MI set as described above is set.
The DI signal is written to the floppy disk 101 via the floppy disk driver 99. Next, in step SPg6, the on / off flag in the storage area ar9 of the key event register is reset and the process returns to the main routine.

一方、ステップSPg3において「YES」またはSPg4にお
いて「NO」と判定された場合は、NOTE OFF信号の作成を
行わずにリターンする。
On the other hand, if “YES” is determined in step SPg3 or “NO” is determined in SPg4, the NOTE OFF signal is not generated and the process returns.

ステップSP15(L1鍵戻り時処理ルーチン) この処理ルーチンのフローチャートを第18図に示す。
図に示すステップSPh1、SPh2、およびSPh3は各々第17図
に示すステップSPg3、SPg4およびSPg5と同様の処理であ
る。ただし、ステップSPh3において作成されるNOTE OFF
信号に含まれるベロシティは、ステップSPg5において算
出された推定鍵戻り速度VRである。このように、鍵が第
1測定点L1に達したときに、改めて推定鍵戻り速度VRの
算出を行わないのは、前述したように鍵が第2測定点L2
を通過した時点の速度がダンパの止音制御に最も重要だ
からである。したがって、第18図に示す処理ルーチンで
は、NOTE OFF信号を発生するか否かのみを制御する。
Step SP15 (L1 key return processing routine) FIG. 18 shows a flowchart of this processing routine.
Steps SPh1, SPh2, and SPh3 shown in the figure are the same processes as steps SPg3, SPg4, and SPg5 shown in FIG. 17, respectively. However, NOTE OFF created in step SPh3
The velocity included in the signal is the estimated key return speed VR calculated in step SPg5. Thus, when the key reaches the first measurement point L1, the estimated key return speed VR is not calculated again because the key is the second measurement point L2 as described above.
This is because the speed at the time of passing through is the most important for the noise control of the damper. Therefore, in the processing routine shown in FIG. 18, only whether or not the NOTE OFF signal is generated is controlled.

次に、ステップSPh4においては、当該するキー番号に
対応するキーイベントレジスタ内の記憶ブロック(ar1
〜ar9)をクリアする。この様に記憶ブロック内を全て
クリアするのは、鍵戻り過程において第1測定点L1に至
り、一連の押鍵/鍵戻り過程が全て終了した後は、新た
な押鍵に備えて記憶ブロックの内容をクリアする必要が
あるからである。
Next, in step SPh4, the storage block (ar1 in the key event register corresponding to the relevant key number is
Clear ~ ar9). Clearing the entire storage block in this way reaches the first measurement point L1 in the key return process, and after a series of key press / key return processes is completed, the storage block is cleared in preparation for a new key press. This is because the contents need to be cleared.

C:全体動作 以上の説明から判るように、操作者が鍵73を第2測定
点L2より下に押下すれば、各測定点の通過時刻に応じて
推定打弦速度データVおよび発音タイミングTが算出さ
れ、発音タイミングTに対応する時刻において推定打弦
速度データVをベロシティとするMIDI信号(NOTE ON)
が作成される。MIDI信号の作成前においては、押鍵速度
に変化があった場合は、推定打弦速度データVが適宜更
新されるからMIDI信号中のベロシティは押鍵速度の変化
を反映したものとなる。また、鍵の誤操作の場合は、推
定打弦速度データVは採用されず、また、発音タイミン
グTは算出されない。したがって、MIDI信号も発生され
ない。
C: Overall Operation As can be seen from the above description, when the operator presses the key 73 below the second measurement point L2, the estimated stringing speed data V and the sounding timing T are changed according to the passing time at each measurement point. A MIDI signal (NOTE ON) that is calculated and has the estimated string velocity data V as the velocity at the time corresponding to the sounding timing T
Is created. Before the generation of the MIDI signal, if there is a change in the key pressing speed, the estimated string striking speed data V is appropriately updated, so the velocity in the MIDI signal reflects the change in the key pressing speed. In the case of an erroneous key operation, the estimated string striking speed data V is not adopted, and the sounding timing T is not calculated. Therefore, no MIDI signal is generated.

一方、鍵戻り行程においては、各測定点の通過時刻に
応じて推定鍵戻り速度VRが算出され、このVRをベロシテ
ィとするMIDI信号(NOTE OFF)が作成される。このよう
に、NOTE OFF信号中に鍵戻し速度に対応したベロシティ
が含まれると、NOTE OFF信号を受ける自動演奏ピアノに
おいては、消音過程おけるダンパのかかり具合を制御す
ることができる。
On the other hand, in the key return process, an estimated key return speed VR is calculated according to the passing time of each measurement point, and a MIDI signal (NOTE OFF) having this VR as a velocity is created. As described above, when the NOTE OFF signal includes the velocity corresponding to the key return speed, in the automatic playing piano that receives the NOTE OFF signal, it is possible to control the degree of the damper during the mute process.

(3)変形例 上述した実施例においては、推定打弦速度、発音タイ
ミング、推定鍵戻り速度の算出を各々テーブルを用いて
行ったが、テーブルに代えて所定の演算を示す数式を記
憶するように構成してもよい。
(3) Modification In the above-described embodiment, the calculation of the estimated striking speed, the sounding timing, and the estimated key return speed are each performed using the table. Instead of the table, a mathematical expression indicating a predetermined operation is stored. May be configured.

また、鍵の操作異常の判定を、各測定点の通過時間
差、すなわち、鍵速度自体に基づいて行うように構成し
てもよい。
Further, the determination of the key operation abnormality may be performed based on the difference in passage time between the measurement points, that is, the key speed itself.

「発明の効果」 以上説明したように、請求項1および2に記載の発明
によれば、ピアノの鍵の位置を、ダンパーが該鍵を止音
する特定位置、を含む少なくとも3以上の異なった位置
で検出する位置検出手段と、位置検出手段の検出結果に
応じて計時を行う計時手段と、位置検出手段の検出結果
及び計時手段の計時結果に応じて、3以上の異なった位
置を検出して、押鍵過程において、該検出のタイミング
に基づき発音タイミングあるいは打弦速度を推定する推
定手段と、離鍵過程において、位置検出手段によって検
出された鍵の位置が、上記特定手段に該当するか否かを
判定する判定手段と、この判定手段によって特定位置に
該当すると判定されたときは、計時手段の計時結果に応
じて、当該特定位置とその前に通過した所定位置との間
の通過時間に基づいて鍵の戻り速度を算出する算出手段
とを具備したので、鍵の戻り速度を最も重要なタイミン
グにおいて高精度に検出することができる。
"Effects of the Invention" As described above, according to the inventions of claims 1 and 2, at least three or more different positions of the keys of the piano are included, including a specific position where the damper stops the keys. The position detecting means for detecting the position, the time measuring means for measuring the time according to the detection result of the position detecting means, and the three or more different positions are detected according to the detection result of the position detecting means and the time measuring result of the time measuring means. Then, in the key-pressing process, the estimating means for estimating the sounding timing or the string striking speed based on the detection timing, and whether the key position detected by the position detecting means in the key-releasing process corresponds to the specifying means. When the determination means determines whether or not the particular position corresponds, the communication between the specific position and the predetermined position that has passed before is determined according to the timing result of the timing means. Since the calculating means for calculating the return speed of the key is provided based on the excess time, the return speed of the key can be detected with high accuracy at the most important timing.

さらに、請求項2に記載の発明においては、前記算出
手段は、鍵が前記特定位置を通過する瞬間の速度と前記
通過時間との関係を予め記憶したテーブルを有し、この
テーブルを用いて前記通過時間に対応する鍵戻り速度を
算出するようにしたので、鍵の戻り速度を極めて高精度
に検出することができる。
Further, in the invention according to claim 2, the calculating means has a table in which a relationship between the speed at the moment when the key passes through the specific position and the passage time is stored in advance, and using this table, the table is stored. Since the key return speed corresponding to the passage time is calculated, the key return speed can be detected with extremely high accuracy.

したがって、請求項1および2にかかる発明において
は、記録時に検出した戻り速度に従って再生時に鍵の戻
り状態を制御することができる。この場合、速度検出結
果に基づいてオープンループによる制御を行うことがで
き、しかも、フィードバック制御に匹敵する精度を得る
ことができる。
Therefore, in the invention according to claims 1 and 2, the return state of the key can be controlled at the time of reproduction in accordance with the return speed detected at the time of recording. In this case, open-loop control can be performed based on the speed detection result, and accuracy comparable to feedback control can be obtained.

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

第1図はこの発明の概略構成を示す基本的構成図、第2
図はこの発明の一実施例の機械的構成を示す側断面図、
第3図は鍵の操作状況を示すタイミングチャート、第4
図は第3図に示す鍵操作に対応したハンマーの動きを示
すタイミングチャート、第5図は同実施例におけるシャ
ッター87と位置センサ89の検出位置との関係を示す説明
図、第6図は位置センサの出力信号と検出位置との対応
を示す説明図、第7図は同実施例の電気的構成を示すブ
ロック図、第8図は同実施例におけるメインルーチンを
示すフローチャート、第9図は同実施例において用いる
キーレジスタのメモリマップを示す説明図、第10図は同
実施例において用いるキーイベントレジスタのメモリマ
ップを示す説明図、第11図〜第19図は各々同実施例にお
けるサブルーチンを示すフローチャート、第20図は鍵の
移動状況を示すタイミングチャート、第21図は推定打弦
速度Vを算出するためのテーブルの内容を示すグラフ、
第22図は発音タイミングTを算出するためのテーブルの
内容を示すグラフ、第23図は推定鍵戻り速度VRを算出す
るためのテーブルの内容を示すグラフ、第24図および第
25図は鍵の位置と弦の振幅との関係を示すタイミングチ
ャートである。 1……自動演奏ピアノ、2……位置検出手段、3……判
定手段、4……算出手段、89……位置センサ(位置検出
手段)、91……メインマイクロコンピュータ(計時手
段、推定手段、判定手段、算出手段)、ROM……記憶手
段。
FIG. 1 is a basic configuration diagram showing a schematic configuration of the present invention, and FIG.
FIG. 1 is a side sectional view showing a mechanical structure of an embodiment of the present invention,
FIG. 3 is a timing chart showing a key operation situation, and FIG.
FIG. 5 is a timing chart showing the movement of the hammer corresponding to the key operation shown in FIG. 3, FIG. 5 is an explanatory diagram showing the relationship between the shutter 87 and the detection position of the position sensor 89 in the same embodiment, and FIG. FIG. 7 is an explanatory diagram showing the correspondence between the output signal of the sensor and the detection position, FIG. 7 is a block diagram showing the electrical configuration of the same embodiment, FIG. 8 is a flow chart showing the main routine in the same embodiment, and FIG. 9 is the same. FIG. 10 is an explanatory view showing a memory map of a key register used in the embodiment, FIG. 10 is an explanatory view showing a memory map of a key event register used in the embodiment, and FIGS. 11 to 19 are subroutines in the embodiment. A flow chart, FIG. 20 is a timing chart showing the movement of keys, and FIG. 21 is a graph showing the contents of a table for calculating the estimated striking speed V.
22 is a graph showing the contents of the table for calculating the sounding timing T, FIG. 23 is a graph showing the contents of the table for calculating the estimated key return speed VR, FIG. 24 and FIG.
FIG. 25 is a timing chart showing the relationship between the position of a key and the amplitude of a string. 1 ... Automatic playing piano, 2 ... position detecting means, 3 ... determining means, 4 ... calculating means, 89 ... position sensor (position detecting means), 91 ... main microcomputer (time measuring means, estimating means, Determination means, calculation means), ROM ... storage means.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】鍵と、ハンマーと、前記ハンマーにより打
撃される弦と、前記鍵の動作を前記ハンマーに伝達して
前記ハンマーを打弦させる打弦機構と、前記鍵の動作に
応じて該鍵を止音するダンパーとを有するピアノにおい
て、 前記鍵の位置を、前記ダンパーが該鍵を止音する特定位
置、を含む少なくとも3以上の異なった位置で検出する
位置検出手段と、 前記位置検出手段の検出結果に応じて計時を行う計時手
段と、 前記位置検出手段の検出結果及び前記計時手段の計時結
果に応じて、3以上の異なった位置を検出して、押鍵過
程において、該検出のタイミングに基づき発音タイミン
グあるいは打弦速度を推定する推定手段と、 離鍵過程において、前記位置検出手段によって検出され
た前記鍵の位置が、前記特定位置に該当するか否かを判
定する判定手段と、 この判定手段によって特定位置に該当すると判定された
ときは、前記計時手段の計時結果に応じて、当該特定位
置とその前に通過した所定位置との間の通過時間に基づ
いて鍵の戻り速度を算出する算出手段と を具備することを特徴とするピアノ。
1. A key, a hammer, a string that is struck by the hammer, a string striking mechanism that transmits the motion of the key to the hammer and strikes the hammer, and the string striking mechanism according to the motion of the key. In a piano having a damper for stopping a key, position detecting means for detecting a position of the key at at least three different positions including a specific position where the damper stops the key, and the position detecting means. A time measuring means for measuring time according to the detection result of the means, and three or more different positions are detected according to the detection result of the position detecting means and the time measuring result of the time measuring means, and in the key pressing process, the detection is performed. Estimating means for estimating the sounding timing or the string striking speed based on the timing, and whether or not the key position detected by the position detecting means in the key releasing process corresponds to the specific position. When it is determined by the determining means and the specific position that the determination means is applicable, based on the passage time between the specific position and the predetermined position that has passed before, according to the timing result of the timing means. And a calculating means for calculating the return speed of the key.
【請求項2】前記算出手段は、鍵が前記特定位置を通過
する瞬間の速度と前記通過時間との関係を予め記憶した
テーブルを有し、このテーブルを用いて前記通過時間に
対応する鍵戻り速度を算出することを特徴とする請求項
1記載のピアノ。
2. The calculation means has a table in which the relationship between the speed at the moment when the key passes through the specific position and the passage time is stored in advance, and using this table, the key return corresponding to the passage time is performed. The piano according to claim 1, wherein speed is calculated.
JP8380589A 1989-03-31 1989-03-31 piano Expired - Fee Related JPH0810398B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP8380589A JPH0810398B2 (en) 1989-03-31 1989-03-31 piano
US07/502,535 US5254804A (en) 1989-03-31 1990-03-30 Electronic piano system accompanied with automatic performance function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8380589A JPH0810398B2 (en) 1989-03-31 1989-03-31 piano

Publications (2)

Publication Number Publication Date
JPH02262195A JPH02262195A (en) 1990-10-24
JPH0810398B2 true JPH0810398B2 (en) 1996-01-31

Family

ID=13812880

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8380589A Expired - Fee Related JPH0810398B2 (en) 1989-03-31 1989-03-31 piano

Country Status (1)

Country Link
JP (1) JPH0810398B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0535263A (en) * 1991-08-02 1993-02-12 Kawai Musical Instr Mfg Co Ltd Self-playing piano
JP2747150B2 (en) * 1991-12-18 1998-05-06 株式会社河合楽器製作所 Musical instrument pedal operation information output device
JP6536115B2 (en) * 2015-03-25 2019-07-03 ヤマハ株式会社 Pronunciation device and keyboard instrument

Also Published As

Publication number Publication date
JPH02262195A (en) 1990-10-24

Similar Documents

Publication Publication Date Title
US5278348A (en) Musical-factor data and processing a chord for use in an electronical musical instrument
US5254804A (en) Electronic piano system accompanied with automatic performance function
JPH07113826B2 (en) Keystroke control device for automatic playing piano
JP2623809B2 (en) Automatic key press indicating device
JP2576619B2 (en) Tone generator
US5569870A (en) Keyboard electronic musical instrument having partial pedal effect circuitry
EP0980061B1 (en) Arrangement apparatus by modification of music data with arrangement data
US20070039452A1 (en) Electronic keyboard instrument
JPH0810398B2 (en) piano
JP2699966B2 (en) Key press information output device
JP2605395B2 (en) piano
JPH0713569A (en) Keying operation window determining method for left and right hands on keyboard musical instrument, chord decision window determining method utilizing the same, and keyboard musical instrument with automatic accompaniment function using those method
JP2900753B2 (en) Automatic accompaniment device
JP2768233B2 (en) Electronic musical instrument
US5403971A (en) Electronic musical instrument with portamento function
JP3114283B2 (en) Music signal generator
JP2660462B2 (en) Automatic performance device
JP4561664B2 (en) Electronic musical instrument system
JP3334781B2 (en) Automatic accompaniment device
JP3120487B2 (en) Electronic musical instrument with automatic accompaniment function
JP2552002B2 (en) Electronic instrument tone color setting method
JPH0352762U (en)
JPH0954580A (en) Automatic performance device and automatic performance method
JP2518340B2 (en) Automatic playing device
JP2002032083A (en) Electronic musical instrument

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 13

Free format text: PAYMENT UNTIL: 20090131

LAPS Cancellation because of no payment of annual fees