JP4218620B2 - Keyboard instrument - Google Patents

Keyboard instrument Download PDF

Info

Publication number
JP4218620B2
JP4218620B2 JP2004274021A JP2004274021A JP4218620B2 JP 4218620 B2 JP4218620 B2 JP 4218620B2 JP 2004274021 A JP2004274021 A JP 2004274021A JP 2004274021 A JP2004274021 A JP 2004274021A JP 4218620 B2 JP4218620 B2 JP 4218620B2
Authority
JP
Japan
Prior art keywords
hammer
value
information
estimation
string
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
JP2004274021A
Other languages
Japanese (ja)
Other versions
JP2005208570A (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 JP2004274021A priority Critical patent/JP4218620B2/en
Priority to US11/019,985 priority patent/US7285718B2/en
Priority to EP04030531A priority patent/EP1555651A1/en
Publication of JP2005208570A publication Critical patent/JP2005208570A/en
Application granted granted Critical
Publication of JP4218620B2 publication Critical patent/JP4218620B2/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 a keyboard instrument such as a piano, and more particularly to a technique for sensing some motion related to a performance operation and determining a stringing timing based on the detection result.

従来より、自動演奏ピアノ等の鍵盤楽器においては、鍵やハンマ等の動きをセンサで検知し、検出結果を演奏データとして記録したり、電子音源に供給して楽音を電子的に発生することが行われている。こうした自動演奏ピアノにおいて、打弦タイミングや打弦速度を用いて演奏データ等を作成する場合、より正確な打弦タイミングおよび打弦速度を取得する必要があるため、ハンマの動作を検出するためのハンマセンサを設けたものが知られている。下記特許文献1には、ハンマセンサを有する鍵盤楽器の一例として、ハンマシャンクの変位を連続的に検出する連続量センサを設け、鍵操作時に該連続量センサからハンマ運動に関する物理量(位置、速度或いは加速度)を連続的に検出し、その検出結果を用いて(1)ハンマの動作開始タイミング、(2)打弦タイミング、(3)打弦直前のハンマ速度、(4)押鍵タイミング、(5)バックチェックタイミング、(6)バックチェックが外れたタイミング、(7)バックチェックが外れた後のハンマ速度、(8)ダンパ復帰タイミング、(9)ハンマ動作終了タイミング、(10)離鍵タイミングといった演奏に関る種々の情報を取得するようにした装置が開示されている。これは、ハンマの運動に関する物理量を連続的に検出し、該検出したセンサ出力を適宜換算して、上記のような種々の情報を求め、該種々の情報に基づく演奏データを作成することで、より精度の高い演奏の再現が可能な演奏データの作成を可能としたものであった。
特開2001−175262号公報
Conventionally, in a keyboard instrument such as an auto-playing piano, movements of keys and hammers are detected by a sensor, and the detection results are recorded as performance data or supplied to an electronic sound source to generate musical sounds electronically. Has been done. In such an automatic performance piano, when creating performance data etc. using the stringing timing and stringing speed, it is necessary to obtain a more accurate stringing timing and stringing speed. A device provided with a hammer sensor is known. In Patent Document 1 below, as an example of a keyboard instrument having a hammer sensor, a continuous quantity sensor that continuously detects the displacement of the hammer shank is provided, and a physical quantity (position, speed, or (Acceleration) is continuously detected, and using the detection result, (1) hammer operation start timing, (2) string-striking timing, (3) hammer speed immediately before string-striking, (4) key-pressing timing, (5 ) Back check timing, (6) Back check release timing, (7) Hammer speed after back check release, (8) Damper return timing, (9) Hammer operation end timing, (10) Key release timing, etc. An apparatus is disclosed that acquires various information related to performance. This is by continuously detecting physical quantities related to the movement of the hammer, appropriately converting the detected sensor output, obtaining various information as described above, and creating performance data based on the various information, It was possible to create performance data capable of reproducing performance with higher accuracy.
JP 2001-175262 A

上記特許文献1に代表される従来の装置構成によると、例えば打弦タイミングの情報や、打弦直前のハンマ速度情報等を生成するのに際して、連続量センサからの出力と所定の基準値とを比較することに基づき打弦有無の判定を行い、この判定結果を打弦タイミングの情報や、打弦直前のハンマ速度情報等の生成に利用していた。このように、連続量センサからのセンサ出力と所定の基準値とを基に上述の各種情報を生成していたので、温度変化や経時劣化等によって該センサの入出力特性に変化が生じると、生成する該各種情報が実際の演奏状態(ハンマの動作状態)に的確に対応しないものとなってしまい、出力する該情報が不正確になってしまうという不都合があった。   According to the conventional apparatus configuration represented by the above-mentioned Patent Document 1, for example, when generating information on stringing timing, hammer speed information immediately before stringing, etc., the output from the continuous quantity sensor and a predetermined reference value are used. Based on the comparison, the presence / absence of string striking is determined, and the determination result is used to generate information on the timing of striking, hammer speed information immediately before striking, and the like. As described above, since the above-described various information is generated based on the sensor output from the continuous quantity sensor and the predetermined reference value, when the input / output characteristics of the sensor change due to temperature change, deterioration with time, etc., The various information to be generated does not accurately correspond to the actual performance state (hammer operation state), and the output information is inaccurate.

この発明は上述の点に鑑みてなされたもので、LEDの温度変化や、アクションメカニズムの経時的変化等によってセンサ出力特性が変わってしまったとしても、正確な打弦判定が行えるようにした鍵盤楽器を提供することを目的とする。   The present invention has been made in view of the above points, and is a keyboard capable of performing an accurate string determination even if the sensor output characteristics have changed due to changes in the temperature of the LEDs or changes in the action mechanism over time. The purpose is to provide a musical instrument.

この発明に係る鍵盤楽器は、操作子と、前記操作子の操作に応じて駆動され、該駆動に応じて他の部材と当接する被駆動部材と、前記被駆動部材の動きを検出する検出手段と、前記検出手段の検出出力と所定の推定用の基準値に基づき、前記被駆動部材が前記他の部材と当接したことを推定し、当該当接に係る推定情報を発生する推定手段と、前記被駆動部材が他の部材との当接位置に至ったことを判定する判定手段と、前記推定手段の判断を前記判定手段の判定結果に応じて修正する修正手段とを備える。   The keyboard instrument according to the present invention includes an operating element, a driven member that is driven in accordance with the operation of the operating element and that contacts another member in accordance with the driving, and a detecting unit that detects the movement of the driven member. And an estimation means for estimating that the driven member is in contact with the other member based on a detection output of the detection means and a predetermined reference value for estimation, and generating estimation information related to the contact. Determining means for determining that the driven member has reached a contact position with another member, and correcting means for correcting the determination of the estimating means according to the determination result of the determining means.

これによれば、推定手段では、検出手段の検出出力と推定用の基準値に基づき、被駆動部材が他の部材と当接したことををもとに推定し、当該当接に係る推定情報を発生することで、略リアルタイムで被駆動部材が他の部材と当接したことを推定する。判定手段では、実際に前記被駆動部材が他の部材との当接位置に至ったことを判定する。そして、修正手段が前記推定手段の判断を前記判定手段の判定結果に応じて修正する、より具体的には、前記修正手段は前記検出手段の出力及び前記推定手段における推定用の基準値の少なくとも一方を較正することで前記推定手段の判断を修正し、前記推定手段で発生する推定情報をより信頼性の高いものとする。これにより、アクションメカニズムの経時的変化等による検出出力の変化に関らず、正確な打弦判定が行えるようになるという優れた効果を奏する。   According to this, the estimation means estimates based on the detection output of the detection means and the reference value for estimation based on the fact that the driven member is in contact with another member, and the estimation information relating to the contact It is estimated that the driven member has come into contact with another member in substantially real time. The determination means determines that the driven member has actually reached a contact position with another member. Then, the correcting means corrects the judgment of the estimating means according to the judgment result of the judging means. More specifically, the correcting means includes at least the output of the detecting means and the reference value for estimation in the estimating means. By calibrating one of them, the judgment of the estimation means is corrected, and the estimation information generated by the estimation means is made more reliable. As a result, there is an excellent effect that it is possible to perform accurate string striking determination regardless of a change in detection output due to a change in action mechanism over time.

以下添付図面を参照して、この発明の一実施例について説明する。
図1は、この発明の一実施例に係る自動演奏ピアノの構成例を説明するための図であって、機械的な発音機構の要部を抽出して示すと共に、電気的制御系の機能ブロックを示す。図1に示すように、自動演奏ピアノは、機械的な発音機構として、鍵1と、該鍵1に連動して回動ストロークするハンマ2と、該鍵1の運動をハンマ2に伝達するためのアクション機構3と、該ハンマ2によって打撃される弦4と、鍵1を電気的制御に基づき駆動する電磁ソレノイド5と、弦4の振動を止めるためのダンパ6とを含む。これらの構成は、一般的な自動演奏ピアノと同様である。なお、後述するように、この実施例においては、電磁ソレノイド5の駆動をサーボ制御する構成が適用されており、ソレノイド5にはプランジャの動作を検出するフィードバックセンサ(図示せず)が具備されるものとする。
また、この自動演奏ピアノには、通常のアコースティックピアノと同様にバックチェック7が設けられており、このバックチェック7は打弦時の反動によるハンマ2の暴れを防止するための部材である。この自動演奏ピアノは、上記のほかにも、通常のアコースティックピアノと同様な各種構成要素を具備するが、それらの説明及び図示は省略する。ハンマ2は、アクション機構3に対して、ハンマシャンク2aを介して動作支点2bを中心にして回動自在に連結されており、対応する鍵1が非押鍵(外力を加えない状態)の時には、図1に示すようなレスト位置(ストローク量0mmの位置)にある。そして、ハンマ2は、対応する鍵1の演奏操作(上下揺動)に連動して、基本的には該レスト位置から所定のエンド位置の間で回動ストロークする。この実施例において、ハンマ2のエンド位置は、ハンマ2が該レスト位置から48mmストローク変位した位置とする。図1において、該エンド位置に位置するハンマ2を点線で示す。
An embodiment of the present invention will be described below with reference to the accompanying drawings.
FIG. 1 is a diagram for explaining a configuration example of an automatic performance piano according to one embodiment of the present invention, in which a main part of a mechanical sounding mechanism is extracted and shown, and a functional block of an electric control system Indicates. As shown in FIG. 1, the automatic performance piano has a mechanical sound generation mechanism for transmitting a key 1, a hammer 2 that rotates in conjunction with the key 1, and a movement of the key 1 to the hammer 2. An action mechanism 3, a string 4 struck by the hammer 2, an electromagnetic solenoid 5 that drives the key 1 based on electrical control, and a damper 6 that stops vibration of the string 4. These configurations are the same as those of a general automatic performance piano. As will be described later, in this embodiment, a configuration for servo-controlling the drive of the electromagnetic solenoid 5 is applied, and the solenoid 5 is provided with a feedback sensor (not shown) for detecting the operation of the plunger. Shall.
Further, the automatic performance piano is provided with a back check 7 as in the case of a normal acoustic piano. The back check 7 is a member for preventing the hammer 2 from being ramped up due to a reaction during stringing. In addition to the above, the automatic performance piano includes various components similar to those of a normal acoustic piano, but description and illustration thereof are omitted. The hammer 2 is connected to the action mechanism 3 through the hammer shank 2a so as to be rotatable about the operation fulcrum 2b. When the corresponding key 1 is non-pressed (a state in which no external force is applied), In the rest position (position of stroke amount 0 mm) as shown in FIG. The hammer 2 basically makes a rotation stroke between the rest position and a predetermined end position in conjunction with the performance operation (vertical swing) of the corresponding key 1. In this embodiment, the end position of the hammer 2 is a position where the hammer 2 is displaced by 48 mm from the rest position. In FIG. 1, the hammer 2 positioned at the end position is indicated by a dotted line.

また、図1において、符号26は、ハンマ2の変位を連続量で検出するセンサであり、信号処理部27は該センサ26からの出力信号を取り込み該出力信号に対して各種処理を施すモジュールである。
センサ26は、例えば、ハンマ2の連続的な位置情報を出力可能な光学式の位置センサを適用してよい。ハンマ2の連続位置を検出するのにに好適な光学式センサの構成例について簡単に説明すると、光学式センサは、例えば、LEDと光ファイバで繋がる発光側センサヘッドとフォトダイオードと光ファイバで繋がる受光側センサヘッドとを有し、該LEDの光が発光側センサヘッドから照射されて、フォトダイオードと光ファイバで繋がる受光側センサヘッドにおいて受光され、フォトダイオードによって受光量に応じた出力電圧を取り出すことができる。該受光側センサヘッドにおいて受光する光量が、可動部材(この例ではハンマ2)の変位に対応して変化するよう構成することで、ハンマ2のストローク位置に応じた出力電圧を当該センサの出力として得ることができる。ハンマ2の変位に応じて、受光側センサヘッドにおいて受光する光量を変化させるための構成は、従来から種々の構成が知られている。一例として、LEDから発光される光をグレースケールが形成されている反射板に対して照射し、該反射板からの反射光を受光側センサヘッド(フォトダイオード)で受光するものを適用しうる。これによれば、受光側センサヘッドにおける受光量の変位は、グレースケールの濃淡パターンに応じた増減特性を発揮するため、センサ出力として該パターンに応じた任意の出力特性をえることが可能となり、センサの出力信号としてハンマ2の変位に対してリニアな特性を示す(比例する)アナログデータを得ることができるという利点がある。
当該センサ26から出力される電圧値(アナログ信号)は、図示を省略したOPアンプ、AD変換器を介して信号処理部27にディジタル信号として出力される。以下、この明細書中では、ディジタル信号に変換されたセンサ出力信号を「AD値(アナログ/ディジタル変換値)」と略称する。AD値は、センサ26の出力(すなわちハンマ2の位置の測定値)を、例えば「0〜1023」の範囲の数値によって表現するデータである。なお、当該自動演奏ピアノに備わる全てのハンマ(88個)に対して、夫々独立したセンサ26(LEDとフォトダイオード)を配設するとコストが高くなってしまう。この点について、12個のLEDと8個のフォトダイオードとを用いて、88個のハンマの夫々の動きを個別にセンシング可能なセンサマトリクスを構成する技術が本出願人により提案されており(特開平9−54584号公報を参照)、この実施例に係るセンサ26は該センサマトリックスにより構成されるものとする。なお、センサの配設構成は、前記センサマトリックスによる構成に限らず、LEDとフォトダイオードからなるセンサ26を当該自動演奏ピアノに備わる全てのハンマに個別に配設する構成であってもよい。また、以下の説明においては、センサとしてハンマの位置を検出するハンマセンサについてのみ述べるが、鍵やその他適宜の可動部材に対して、その動きを検出するセンサを備えるよう構成して差し支えない。
In FIG. 1, reference numeral 26 denotes a sensor that detects the displacement of the hammer 2 in a continuous amount, and the signal processing unit 27 is a module that takes in an output signal from the sensor 26 and performs various processes on the output signal. is there.
As the sensor 26, for example, an optical position sensor capable of outputting continuous position information of the hammer 2 may be applied. A configuration example of an optical sensor suitable for detecting the continuous position of the hammer 2 will be briefly described. The optical sensor is connected by, for example, a light emitting side sensor head connected by an LED and an optical fiber, a photodiode and an optical fiber. A light-receiving side sensor head, and the light from the LED is emitted from the light-emitting side sensor head, received by the light-receiving side sensor head connected to the photodiode by an optical fiber, and an output voltage corresponding to the amount of light received is extracted by the photodiode. be able to. By configuring so that the amount of light received by the light receiving side sensor head changes corresponding to the displacement of the movable member (in this example, the hammer 2), the output voltage corresponding to the stroke position of the hammer 2 is used as the output of the sensor. Obtainable. Various configurations for changing the amount of light received by the light receiving side sensor head in accordance with the displacement of the hammer 2 have been conventionally known. As an example, it is possible to apply light emitted from an LED to a reflecting plate on which a gray scale is formed, and the reflected light from the reflecting plate is received by a light receiving side sensor head (photodiode). According to this, since the displacement of the received light amount in the light receiving side sensor head exhibits an increase / decrease characteristic according to the grayscale shading pattern, it is possible to obtain an arbitrary output characteristic according to the pattern as the sensor output, There is an advantage that analog data showing (proportional) linear characteristics with respect to the displacement of the hammer 2 can be obtained as an output signal of the sensor.
The voltage value (analog signal) output from the sensor 26 is output as a digital signal to the signal processing unit 27 via an OP amplifier and an AD converter (not shown). Hereinafter, in this specification, a sensor output signal converted into a digital signal is abbreviated as “AD value (analog / digital conversion value)”. The AD value is data representing the output of the sensor 26 (that is, the measured value of the position of the hammer 2) by a numerical value in the range of “0 to 1023”, for example. In addition, if the independent sensors 26 (LED and photodiode) are provided for all the hammers (88) provided in the automatic performance piano, the cost becomes high. In this regard, the present applicant has proposed a technique for constructing a sensor matrix that can individually sense the movements of 88 hammers using 12 LEDs and 8 photodiodes. (See Kaihei 9-54584), the sensor 26 according to this embodiment is constituted by the sensor matrix. In addition, the arrangement | positioning structure of a sensor is not restricted to the structure by the said sensor matrix, The structure which arrange | positions the sensor 26 which consists of LED and a photodiode separately to all the hammers with which the said automatic performance piano is equipped may be sufficient. In the following description, only a hammer sensor that detects the position of the hammer is described as a sensor. However, a key or other appropriate movable member may be provided with a sensor that detects its movement.

信号処理部27は、CPU、ROM、RAM、タイマ等を含み、センサ26から供給された出力信号(AD値)に基づき自動演奏ピアノの演奏動作に関する種々の情報を算出する処理や、該情報に基づく演奏情報の生成・記録処理等といった各種信号処理の実行、制御を担う。図1において、信号処理部27内に示す算出部28は、供給されたAD値によって表現された当該ハンマ2の運動に基づく自動演奏ピアノの演奏動作に関する種々の情報を生成する処理を表す機能ブロックであり、より具体的には、センサ26から出力されるAD値(ハンマの動作位置を表すデータ)から、速度情報や加速度情報等の物理情報を求め、それら該ハンマ2の物理情報(位置、速度、加速度など)に基づき、打弦タイミング、打弦速度等、上記特許文献1に記載された類の、演奏に関る種々の情報の生成処理等を行う。また、処理部30は、前記算出部28で生成した情報に応じた演奏情報を生成する処理を表す機能ブロックである。生成された演奏情報は処理部30から出力され、適宜の記録媒体上に記録されたり、あるいは、図示しない入出力インターフェースを介して図示しない外部機器に供給されるよう構成しうる。或いは、図示しない通信ネットワークを介して該ネットワーク上の他の装置にリアルタイムで供給されるよう構成することも可能である。この実施例によれば、詳しくは後述するように、当該信号処理部27において、連続量センサ26から供給されるAD値を用いて打弦の有無の判定を行うと共に、適切な判定エラーの補正処理を施すことで、アクションメカニズムの経時的な変化に左右されることなく正確な打弦判定が行うことが可能となる。   The signal processing unit 27 includes a CPU, a ROM, a RAM, a timer, and the like. The signal processing unit 27 calculates various information related to the performance performance of the automatic performance piano based on the output signal (AD value) supplied from the sensor 26, It is responsible for the execution and control of various signal processes such as performance information generation / recording process based on it. In FIG. 1, a calculation unit 28 shown in the signal processing unit 27 is a functional block representing a process for generating various information related to the performance performance of the automatic piano based on the movement of the hammer 2 expressed by the supplied AD value. More specifically, physical information such as speed information and acceleration information is obtained from the AD value (data representing the operation position of the hammer) output from the sensor 26, and the physical information (position, Based on the speed, acceleration, etc.), various kinds of information related to performance, such as a stringing timing, a stringing speed, and the like described in Patent Document 1, are performed. The processing unit 30 is a functional block representing processing for generating performance information according to the information generated by the calculation unit 28. The generated performance information may be output from the processing unit 30 and recorded on an appropriate recording medium or supplied to an external device (not shown) via an input / output interface (not shown). Alternatively, it may be configured to be supplied in real time to other devices on the network via a communication network (not shown). According to this embodiment, as will be described in detail later, the signal processing unit 27 determines the presence / absence of string striking using the AD value supplied from the continuous quantity sensor 26 and corrects the appropriate determination error. By performing the processing, it is possible to perform accurate string striking determination without being influenced by the change of the action mechanism over time.

ここで、図1を参照して、この自動演奏ピアノにおいて演奏情報に基づく無人演奏(自動演奏ピアノ機能)を行うための再生制御系について簡単に説明する。再生前処理部10は、図示しない適宜の記録メディアや、リアルタイム通信装置等から供給される演奏情報に基づいて、該演奏情報に含まれる各演奏イベントを再現するための鍵の軌道データを生成するとともに、該軌道データを用いて鍵の原速度指示値(t,Vr)を生成する。モーションコントローラ11は該原速度指示値(t,Vr)に基づいて、時刻tにおける鍵1の位置に対応した速度指示値Vrを生成して出力するものである。サーボコントローラ12は、前記速度指示値Vrに応じた励磁電流をソレノイド5に対して供給するとともに、該ソレノイド5から供給されるフィードバック信号たる出力速度Vyと速度指示値Vrとを比較して両者が一致するようにサーボ制御を行う。また、再生前処理部10は、上述したようにソレノイド5を駆動することによる機械的な楽音発生制御に加え、記録メディアや、リアルタイム通信装置等から供給される演奏データに基づいて、音源やスピーカ等から構成される電子楽音発生部13に制御信号を供給する処理も担う。電子楽音発生部13では、供給された制御信号に基づき電子的に楽音を発生し、演奏情報に応じた演奏音を発音させる。なお、電子楽音発生部13によって電子的に自動演奏を行う際の演奏情報のデータ形式や、音源方式等は従来から知られるどのようなものを適用してもよい。   Here, with reference to FIG. 1, the reproduction | regeneration control system for performing the unmanned performance (automatic performance piano function) based on performance information in this automatic performance piano is demonstrated easily. The pre-reproduction processing unit 10 generates key trajectory data for reproducing each performance event included in the performance information based on performance information supplied from an appropriate recording medium (not shown), a real-time communication device, or the like. At the same time, a key original velocity instruction value (t, Vr) is generated using the trajectory data. The motion controller 11 generates and outputs a speed instruction value Vr corresponding to the position of the key 1 at time t based on the original speed instruction value (t, Vr). The servo controller 12 supplies an excitation current corresponding to the speed instruction value Vr to the solenoid 5, and compares the output speed Vy which is a feedback signal supplied from the solenoid 5 with the speed instruction value Vr. Servo control to match. In addition to the mechanical tone generation control by driving the solenoid 5 as described above, the pre-reproduction processing unit 10 also generates a sound source or a speaker based on performance data supplied from a recording medium, a real-time communication device, or the like. It also handles processing for supplying a control signal to the electronic musical tone generator 13 composed of the above. The electronic musical sound generator 13 generates musical sounds electronically based on the supplied control signal, and generates performance sounds according to performance information. It should be noted that any conventionally known data format, sound source method, etc. may be applied to the performance information when the electronic musical sound generator 13 performs electronic performance automatically.

上記構成からなる自動演奏ピアノにおける演奏情報記録・再生動作の概要について簡単に説明すると、演奏者によってピアノ演奏が行われると、信号処理部27では、センサ26からの検出結果に基づいて、演奏に関する各種情報を生成し、生成した各種情報に基づき該演奏者によるピアノ演奏の演奏内容を表す演奏情報を生成する。ここで生成される演奏情報は、MIDI形式等、適宜のデータフォーマットで作成されてよい。作成した演奏情報は、ハードディスク、フレキシブルディスク又はフロッピー(登録商標)ディスク、コンパクトディスク(CD‐ROM)、光磁気ディスク(MO)、ZIPディスク、DVD(Digital Versatile Disk)、半導体メモリ等、適宜の記憶媒体に記録しうる。
当該自動演奏ピアノにおいて、演奏情報の再生動作を行う場合には、電磁ソレノイド5により鍵1を駆動することでハンマ2に打弦を行わせる機械的楽音発生と、電子楽音発生部13を利用した電子的楽音発生とのいずれかを選択可能である。機械的楽音発生の場合は、再生前処理部10、モーションコントローラ11及びサーボコントローラ12を介して、再生すべき演奏情報に応じた駆動信号(励磁電流)により電磁ソレノイド5を駆動制御することで、該演奏情報に応じた鍵の軌道(ストローク動作)を再現し、もって、ハンマ2による打弦動作を制御することで、演奏情報に応じたピアノ演奏を行わせる。電子的楽音発生の場合は、再生前処理部10が再生すべき演奏情報に応じて電子楽音発生部13を制御することで、電子楽音発生部13により供給された演奏情報に応じた楽音が電子的に発生される。
The outline of the performance information recording / reproducing operation in the automatic performance piano having the above configuration will be briefly described. When the performer performs a piano performance, the signal processing unit 27 relates to the performance based on the detection result from the sensor 26. Various information is generated, and performance information representing the performance content of the piano performance by the performer is generated based on the generated various information. The performance information generated here may be created in an appropriate data format such as MIDI format. The created performance information is stored in an appropriate storage such as a hard disk, flexible disk or floppy (registered trademark) disk, compact disk (CD-ROM), magneto-optical disk (MO), ZIP disk, DVD (Digital Versatile Disk), semiconductor memory, etc. Can be recorded on a medium.
In the automatic performance piano, when the performance information is reproduced, the mechanical sound generation that causes the hammer 2 to strike the string by driving the key 1 by the electromagnetic solenoid 5 and the electronic musical sound generation unit 13 are used. Either electronic musical tone generation can be selected. In the case of mechanical musical sound generation, the electromagnetic solenoid 5 is driven and controlled by a drive signal (excitation current) according to the performance information to be reproduced, via the reproduction preprocessing unit 10, the motion controller 11 and the servo controller 12. By reproducing the key trajectory (stroke operation) according to the performance information, and controlling the stringing operation by the hammer 2, the piano performance according to the performance information is performed. In the case of electronic musical sound generation, the musical sound corresponding to the performance information supplied by the electronic musical sound generating unit 13 is electronically controlled by controlling the electronic musical sound generating unit 13 according to the musical performance information to be reproduced by the pre-reproduction processing unit 10. Generated.

この実施例に係る自動演奏ピアノでは、演奏者によって行われた演奏を記録する演奏記録時等において、連続量センサ26で検出したハンマ2の動きを表す物理量からハンマによる打弦が行われたことを判定するのに際して、次の点に特徴を有する。すなわち、予め設定した打弦推定用の基準値とセンサ26から出力されるAD値(つまりハンマ2の位置情報)とに基づき、該ハンマ2が所定の打弦位置に至ったことを推定し、打弦推定情報を発生する(打弦/非打弦を標識する)と共に、センサ26からのAD値に基づき、ハンマ2の動きを表す位置情報とは異なる物理情報(速度情報及び加速度情報)を生成して、打弦前における弦に接近するハンマの該物理情報と、打弦後の弦から離間するハンマの物理情報とから打弦/非打弦の判定を行い、上記推定結果と判定の結果が一致しない場合、該判定不一致の原因を適切に補正することで、より正確な打弦判定が行えるようにしている。以下、この打弦判定に関わる信号処理部27での処理について詳細に説明する。   In the automatic performance piano according to this embodiment, the string was hit by the hammer from the physical quantity representing the movement of the hammer 2 detected by the continuous quantity sensor 26 when recording the performance performed by the performer. The following points are characteristic. That is, based on a preset reference value for string striking estimation and an AD value (that is, position information of the hammer 2) output from the sensor 26, it is estimated that the hammer 2 has reached a predetermined string striking position, In addition to generating string striking estimation information (labeling string striking / non-stringing), physical information (speed information and acceleration information) different from the position information representing the movement of the hammer 2 based on the AD value from the sensor 26. Generating / non-striking determination from the physical information of the hammer approaching the string before striking and the physical information of the hammer separating from the string after striking, and the estimation result and the determination If the results do not match, more accurate string determination can be performed by appropriately correcting the cause of the determination mismatch. Hereinafter, the processing in the signal processing unit 27 related to the string striking determination will be described in detail.

先ず、電源投入時において、信号処理部27では、ハンマセンサ26から供給されるAD値をハンマ2の実際の動作位置と対応付けるための「参照位置のパラメータ(参照値)」を設定する処理を行う。すなわち、所定の複数地点のハンマ動作位置が参照位置として予め設定されており、該参照位置を表すAD値の値(数値)を参照値として記憶する。信号処理部27では、各参照値を参照することで、センサ26からリアルタイムで供給されるAD値を各参照位置に対応付け、該対応付けられた参照位置に応じてハンマ2の動作状態を判断することができる。この実施例において、前記参照位置としては、例えば、ハンマ2のレスト位置(ストローク量0mmの位置)、エンド位置(レスト位置からのストローク量48mm)、第1参照位置M1(前記エンド位置から8mm下がった位置)及び第2参照位置M2(前記エンド位置から0.5mm下がった位置)の4点が設定されるものとする。なお、第1参照位置M1と第2参照位置M2は、エンド位置に対する相対的な位置として規定されるものである。   First, when the power is turned on, the signal processing unit 27 performs a process of setting a “reference position parameter (reference value)” for associating the AD value supplied from the hammer sensor 26 with the actual operation position of the hammer 2. . That is, the hammer operation positions at a plurality of predetermined points are set in advance as reference positions, and AD value values (numerical values) representing the reference positions are stored as reference values. The signal processing unit 27 refers to each reference value to associate the AD value supplied in real time from the sensor 26 with each reference position, and determines the operation state of the hammer 2 according to the associated reference position. can do. In this embodiment, as the reference position, for example, the rest position of the hammer 2 (position of stroke amount 0 mm), the end position (stroke amount 48 mm from the rest position), the first reference position M1 (down 8 mm from the end position). 4 points) and a second reference position M2 (a position 0.5 mm lower than the end position) are set. The first reference position M1 and the second reference position M2 are defined as positions relative to the end position.

図2は、当該自動演奏ピアノにおいて、上記4点の参照位置に対応する各参照値を設定する処理の一例を示す。図2において、先ず、当該自動演奏ピアノにおいて電源が投入された際、センサ26によってハンマ2の現在位置をセンシングして、該センサ26から出力されるAD値を信号処理部27に取り込む(ステップS1)。電源投入直後には、鍵1は非押鍵状態にある、つまりハンマ2はレスト位置に位置しているものと想定できるので、ここで取り込んだAD値は、当該ハンマ2のレスト位置に相当するデータとして参照される参照値「レスト値R」として、RAM内に記憶される。このAD値取り込み処理は、全てのハンマについて行われ、各ハンマ毎に夫々のレスト値Rのデータを得る。次に、ステップS2では、当該ハンマのエンド位置に相当するデータとして参照される参照値「エンド値E」を、前記ステップS1で取り込んだレスト値Rに基づいて、次に述べる「キャリブレーション比」を用いて算出して、該算出したエンド値EをRAMに記憶する。これも全てのハンマについて行い、各ハンマ毎に「エンド値E」のデータを得る。   FIG. 2 shows an example of processing for setting each reference value corresponding to the four reference positions in the automatic performance piano. In FIG. 2, when the automatic performance piano is turned on, the current position of the hammer 2 is sensed by the sensor 26, and the AD value output from the sensor 26 is taken into the signal processing unit 27 (step S1). ). Immediately after the power is turned on, it can be assumed that the key 1 is in a non-key-pressed state, that is, the hammer 2 is located at the rest position, so the AD value taken here corresponds to the rest position of the hammer 2. The reference value “rest value R” referred to as data is stored in the RAM. This AD value capturing process is performed for all the hammers, and the data of the respective rest values R is obtained for each hammer. Next, in step S2, a reference value “end value E” referred to as data corresponding to the end position of the hammer is used as a “calibration ratio” described below based on the rest value R acquired in step S1. And the calculated end value E is stored in the RAM. This is also performed for all the hammers, and “end value E” data is obtained for each hammer.

前記「キャリブレーション比」は、エンド位置のAD値をレスト位置のAD値に対する比率を表現したもの(例えば特開2000−155579号公報等を参照)である。ここで「キャリブレーション比」の設定処理について簡単に説明する。キャリブレーション比の設定処理は、例えば工場出荷時等に実行される処理である。図示しないコントローラからの指示等に応じて、キャリブレーション比の設定処理が開始し、ハンマのレスト位置のAD値とエンド位置のAD値を実測し、該実測したレスト位置のAD値及びエンド位置のAD値に基づき、キャリブレーション比を算出する。キャリブレーション比の設定処理は、88個の各ハンマ毎に個別に実施される。前記算出された各ハンマ毎のキャリブレーション比は、例えばフラッシュメモリ等の不揮発性メモリ内に記録される。このキャリブレーション比を用いることで、ハンマのレスト位置のAD値を実測するだけで、該実測したAD値とキャリブレーション比から、エンド位置など他の任意の動作位置のAD値を算出できる。
センサから出力されるAD値の具体的な数値自体は、経年劣化、温度変化など種々の要因によって変動しうるものだが、レスト位置に相当するAD値に対するエンド位置(或いは任意の地点)でのAD値の比は一定とみなすことができるので、このキャリブレーション比を用いれば、レスト位置に相当すべきAD値さえ特定できれば、経年劣化、温度変化等の影響に関らず、該特定したAD値に応じたエンド位置(或いは任意の地点)でのAD値を推定できる、すなわち、上記4点の参照位置(レスト位置、エンド位置、第1参照位置M1及び第2参照位置M2)のうち、レスト位置に相当する参照値(レスト値R)のみをセンサによって実測し、他の参照位置での各参照値は、該実測したレスト値Rを基準にしてキャリブレーション比を用いて算出できるという利点がある。
The “calibration ratio” represents the ratio of the AD value at the end position to the AD value at the rest position (see, for example, Japanese Patent Laid-Open No. 2000-155579). Here, the “calibration ratio” setting process will be briefly described. The calibration ratio setting process is a process executed at the time of factory shipment, for example. In response to an instruction from a controller (not shown), the calibration ratio setting process is started, the AD value of the hammer rest position and the AD value of the end position are measured, and the measured AD value of the rest position and the end position are measured. A calibration ratio is calculated based on the AD value. The calibration ratio setting process is performed individually for each of the 88 hammers. The calculated calibration ratio for each hammer is recorded in a nonvolatile memory such as a flash memory. By using this calibration ratio, it is possible to calculate the AD value at any other operation position such as the end position from the measured AD value and the calibration ratio only by actually measuring the AD value at the rest position of the hammer.
Although the specific numerical value itself of the AD value output from the sensor may fluctuate due to various factors such as aging and temperature change, the AD at the end position (or any point) with respect to the AD value corresponding to the rest position Since the ratio of the values can be regarded as constant, if the AD value that should correspond to the rest position can be specified using this calibration ratio, the specified AD value can be used regardless of the influence of aging, temperature change, etc. The AD value at the end position (or any point) according to can be estimated, that is, the rest of the four reference positions (rest position, end position, first reference position M1 and second reference position M2) Only the reference value (rest value R) corresponding to the position is measured by a sensor, and each reference value at other reference positions uses a calibration ratio based on the measured rest value R. There is an advantage that can be calculated Te.

さて、図2に戻ると、ステップS3では、キャリブレーション比を用いて、前記RAMに記憶したレスト値Rから各ハンマの第1参照位置M1及び第2参照位置M2に相当するAD値として参照される「第1参照値m1」及び「第2参照値m2」を算出して、これらをRAMに記憶する。第1参照値m1、第2参照値m2は、後述する当該ハンマの動作速度算出や、打弦有無判定処理等に際して参照される。   Now, referring back to FIG. 2, in step S3, using the calibration ratio, the rest value R stored in the RAM is referred to as AD values corresponding to the first reference position M1 and the second reference position M2 of each hammer. “First reference value m1” and “second reference value m2” are calculated and stored in the RAM. The first reference value m <b> 1 and the second reference value m <b> 2 are referred to when calculating the operation speed of the hammer to be described later, a string striking presence / absence determination process, and the like.

なお、鍵1をはじめとしてその他の可動部材についても同様に、電源投入時に、センサ出力から参照位置パラメータを設定しうる(ステップS4)。   Similarly, for the other movable members including the key 1, the reference position parameter can be set from the sensor output when the power is turned on (step S4).

図3は、信号処理部27において実行されるハンマ速度を求めるルーチンの一例を示すフローチャートである。これは、例えば演奏者による演奏操作時にその演奏内容を演奏情報として記録する際や、或いは、演奏情報の再生時等、通常の動作中において、当該自動演奏ピアノに置ける主要な処理の1つとして実行されるものであって、ここで求めるハンマ2の速度情報は、当該ハンマ2による打弦有無の判別をはじめとして、打弦タイミングの算出、打弦直前速度の算出等の演奏に関する各種情報を出力する際の基本的な要素のひとつとして利用される。図示の通りこのルーチンはステップS10〜S16の処理を各鍵毎に所定の起動周期に従ってループする。
ステップS10において、信号処理部27では、センサ26から出力されるAD値を当該ルーチンの1回の起動機会毎に取り込み、取り込んだAD値をその時刻情報TIMEと共にRAM内に格納する。ここで、信号処理部27は、ある時点から過去20回分の起動機会(サンプリング時点)で取り込んだAD値及びその時刻情報TIMEからなるデータセットを格納しておき、これら20個のデータセットから、図4に示すようなデータテーブルTABLE1を作成する。テーブルTABLE1には、図示の通り、過去20回分のサンプリング点で取り込んだAD値とその時刻情報のデータセットが順次記述されており、これにより信号処理部27では、所定時間内における時間的推移に応じたハンマの連続的な動作位置の情報を把握することが可能となる。
FIG. 3 is a flowchart showing an example of a routine for obtaining the hammer speed executed in the signal processing unit 27. This is one of the main processes that can be placed on the automatic performance piano during normal operations such as recording performance information as performance information during a performance operation by a performer or during reproduction of performance information. The speed information of the hammer 2 to be obtained here includes various information relating to performance such as the calculation of the timing of striking and the calculation of the speed immediately before striking, including the determination of the presence or absence of the striking by the hammer 2. It is used as one of the basic elements when outputting. As shown in the figure, this routine loops the processes of steps S10 to S16 according to a predetermined activation cycle for each key.
In step S10, the signal processing unit 27 captures the AD value output from the sensor 26 for each activation opportunity of the routine, and stores the captured AD value in the RAM together with the time information TIME. Here, the signal processing unit 27 stores a data set composed of AD values and time information TIME acquired at the start opportunity (sampling time) for the past 20 times from a certain time, and from these 20 data sets, A data table TABLE1 as shown in FIG. 4 is created. In the table TABLE1, as shown in the figure, a set of AD values taken at the last 20 sampling points and a set of time information thereof are sequentially described. With this, the signal processing unit 27 shows temporal transition within a predetermined time. It is possible to grasp information on the continuous operation position of the corresponding hammer.

ステップS11では、取り込んだAD値からハンマ動作(つまり鍵操作)の有無の判定を行う。ハンマ動作の有無判定は、例えば、レスト値Rを参照して取り込まれたAD値が非押鍵状態(レスト位置)から変動したか否かを判定することで行いうる。ハンマ動作(鍵操作)がなければ(ステップS11のNO)、処理は当該ルーチンの先頭に戻る。   In step S11, the presence / absence of a hammer operation (that is, key operation) is determined from the acquired AD value. The presence / absence determination of the hammer operation can be performed, for example, by determining whether or not the AD value taken in with reference to the rest value R has changed from the non-key-pressed state (rest position). If there is no hammer operation (key operation) (NO in step S11), the process returns to the top of the routine.

ステップS12において、前記RAM内に記憶された第2参照値m2を参照して、現時点で取り込まれたAD値が該第2参照値m2を越えたかどうか、つまり、ハンマ2のストローク位置が第2の参照位置M2よりも上方に変位したかどうかを判定する。第2参照位置M2は、予め打弦位置として規定された任意の動作位置(推定打弦位置)であって、ハンマ2が該推定打弦位置を越えた時点で「当該ハンマ2による打弦有り」と推定することができる。この推定打弦位置とセンサ26から出力されるAD値に基づき打弦推定を行うことは、実際のハンマ動作に対するリアルタイム性、迅速な動作判断といった点で有利である。しかし、ここで閾値として利用する第2の参照値m2は、上述の電源投入時において、実測したレスト値Rとキャリブレーション比とから計算した値であるから、レスト値Rやキャリブレーション比といった各種パラメータと、センサ26からの実際の出力値との対応付けが的確である限りにおいて、その信頼性が確保される。そのため、センサ26の入出力特性がアクションメカニズムの経時的変化等によって変わってしまうと、センサ26からの出力値と前記パラメータとの対応付けがずれてしまい、正確な推定が行えなくなる恐れがある。この点について、この実施例においては、詳しくは後述するような判断構成によって、キャリブレーション比の補正を行うことで、連続量センサ26からのAD値と推定打弦位置(閾値)とに基づくハンマの打弦有無推定をより正確に行うことができるようになることが後段から明らかになる。   In step S12, referring to the second reference value m2 stored in the RAM, whether or not the AD value fetched at the present time exceeds the second reference value m2, that is, the stroke position of the hammer 2 is the second. It is determined whether the reference position M2 has been displaced upward. The second reference position M2 is an arbitrary operation position (estimated stringing position) previously defined as a stringing position. When the hammer 2 exceeds the estimated stringing position, “the string is hit by the hammer 2”. Can be estimated. Performing string striking estimation based on the estimated string striking position and the AD value output from the sensor 26 is advantageous in terms of real-time performance with respect to actual hammer operation and quick operation determination. However, since the second reference value m2 used as the threshold value here is a value calculated from the actually measured rest value R and the calibration ratio at the time of power-on, there are various values such as the rest value R and the calibration ratio. As long as the correspondence between the parameter and the actual output value from the sensor 26 is accurate, its reliability is ensured. For this reason, if the input / output characteristics of the sensor 26 change due to changes in the action mechanism over time, the correspondence between the output value from the sensor 26 and the parameter may be shifted, and accurate estimation may not be performed. In this embodiment, in this embodiment, a hammer based on the AD value from the continuous amount sensor 26 and the estimated string-striking position (threshold value) is obtained by correcting the calibration ratio by a determination configuration as will be described in detail later. It will become clear from the latter stage that the string presence / absence estimation can be performed more accurately.

ステップS12において、現時点で取り込んだAD値が参照値m2(閾値)を越えていれば、ステップS13において、当該ハンマ2の動作状態(打弦有無)を表す第1の打弦ステートst1を、推定打弦有りの状態に設定する。現時点でのAD値が参照値m2に至っていなければ、第1の打弦ステートst1は推定打弦無しの状態に設定しておく。   In step S12, if the AD value captured at the present time exceeds the reference value m2 (threshold value), in step S13, the first stringing state st1 representing the operation state (whether stringing is present) of the hammer 2 is estimated. Set to state with string strike. If the current AD value does not reach the reference value m2, the first string-striking state st1 is set to a state where there is no estimated string-striking.

ステップS14において、テーブルTABLE1を参照して、20点のサンプリング時点のうちから、或る時点からみて過去5点前のサンプリング時点においてハンマ2の動作向きが反転したかどうかを調べる。ハンマ2の動作が反転した時点は、例えば、テーブルTABLE1に基づきAD値の増減変化の状態から、ハンマ2の動作位置の変位を判別することで特定しうる。ここで、説明の便宜上一例として、当該ハンマ2がレスト値にあるときのAD値の数値を最大値AD(MAX)で表し、エンド位置にあるときのAD値を最小値AD(MIN)で表すとすると、ハンマ2の一回のストローク変位(つまりレスト位置からエンド位置に達して、そこから再びレスト位置に戻る変位)においては、基本的には、センサ26から出力されるAD値は、最大値AD(MAX)から漸減変化して、ハンマ軌道の頂点(エンド位置相当)にて、最小値AD(MIN)になり、そこから漸増変化する。すなわち、AD値変動が減少から増加に転じた時点はハンマ移動のピーク(打弦点)に相当するものと考えられ、その時点にてハンマ2の動作方向は反転する。従って、テーブルTABLE1から、AD値変動が減少から増加に変わる時点を調べれば、ハンマ2の動作は反転した時点を特定できる。
信号処理部27は、当該ルーチンの起動機会毎に、テーブルTABLE1から、最新のサンプリング時点からみて過去5点前のサンプリング時点前後でのAD値変動を調べて、AD値変動が減少から増加に変わる時点を特定する。そして、そのハンマ2の動作向きが反転した時点を、ハンマ移動のピーク(打弦点)に相当する基準時点とみなし、該基準時点から前後5点のサンプリング時点でのデータセットを抽出して図5に示すようなデータテーブルTABLE2を作成する。ここで、前記基準時点は、テーブルTABLE1内の或るサンプリング時点(例えば最新のサンプリング時点)からみて過去5点前のサンプリング時点に相当するものであるから、テーブルTABLE2は、該或るサンプリング時点から過去11点のサンプリング時点におけるデータセットから構成されるものである。
In step S14, the table TABLE1 is referred to, and it is checked whether or not the operation direction of the hammer 2 has been reversed from the sampling time points of 20 points at the sampling time point 5 points before the certain time point. The point in time when the operation of the hammer 2 is reversed can be specified by, for example, determining the displacement of the operation position of the hammer 2 from the state of increase / decrease in the AD value based on the table TABLE1. Here, as an example for convenience of explanation, the numerical value of the AD value when the hammer 2 is at the rest value is represented by the maximum value AD (MAX), and the AD value when the hammer 2 is at the end position is represented by the minimum value AD (MIN). Then, in one stroke displacement of the hammer 2 (that is, a displacement that reaches the end position from the rest position and then returns to the rest position), the AD value output from the sensor 26 is basically the maximum. It gradually decreases from the value AD (MAX), reaches the minimum value AD (MIN) at the apex (corresponding to the end position) of the hammer trajectory, and gradually increases from there. That is, it is considered that the point in time when the fluctuation of the AD value starts to increase from the decrease corresponds to the peak of hammer movement (striking point), and the operation direction of the hammer 2 is reversed at that point. Therefore, when the time point at which the AD value variation changes from decreasing to increasing is checked from the table TABLE1, the time point at which the operation of the hammer 2 is reversed can be specified.
The signal processing unit 27 examines the AD value fluctuation before and after the last five sampling points from the table TABLE1 from the table TABLE1 every time the routine is activated, and the AD value fluctuation changes from decreasing to increasing. Identify the time. Then, the point in time when the movement direction of the hammer 2 is reversed is regarded as a reference point corresponding to the peak of hammer movement (striking point), and a data set is extracted at five sampling points before and after the reference point. A data table TABLE2 as shown in FIG. Here, the reference time point corresponds to a sampling time point five previous points from a certain sampling time point (for example, the latest sampling time point) in the table TABLE1, and therefore the table TABLE2 is determined from the certain sampling time point. It consists of data sets at the last 11 sampling points.

図5に示すように、テーブルTABLE2には、前記11点のサンプリング時点でのデータセット(「AD(−5)、t(−5)」〜「AD(5)、t(5)」)と、各時点での速度情報(「v(−4)」〜「v(5)」)及び加速度情報(「a(−4)」〜「a(4)」)が記述される。すなわち、ハンマ2の移動のピーク(打弦点)に相当する基準時点(AD(0),t(0))と、この基準時点に対して時間的に前後5回分のサンプリング時点でにおける各データセットについて、夫々速度情報と加速度情報を求める。各時点での速度情報は、例えば直線近似により、任意の2点間のデータ(例えば、あるサンプリング時点でのデータセットとその1つ前のサンプリング時点でのデータセット)の差分に基づき算出することができる。また、算出した速度情報を微分演算することで、加速度情報を求めることができる。なお、速度情報及び加速度情報の算出の具体的な方法については、上述の例に限らず、従来から知られるいかなる方法を適用しても差し支えない。なお、速度情報の算出は、任意の2点間のデータの差分に基づき比較的簡単に求まるので、テーブルTABLE2の作成に先立って、例えば前述のステップS10において当該テーブルTABLE1を作成する際に、算出しておいてもよい。ここで各時点での速度情報を算出しておけば、ステップS14でのハンマ2の動作反転の判別に、速度情報を利用できる。   As shown in FIG. 5, the table TABLE2 includes data sets (“AD (−5), t (−5)” to “AD (5), t (5)”) at the 11 sampling points. In addition, speed information (“v (−4)” to “v (5)”) and acceleration information (“a (−4)” to “a (4)”) at each time point are described. That is, the reference time (AD (0), t (0)) corresponding to the movement peak (stringing point) of the hammer 2 and the respective data at the sampling time for five times before and after this reference time. Speed information and acceleration information are obtained for each set. The speed information at each time point is calculated based on the difference between data between any two points (for example, a data set at a certain sampling time point and a data set at the previous sampling time point) by linear approximation, for example. Can do. Further, acceleration information can be obtained by performing a differential operation on the calculated speed information. The specific method for calculating the speed information and the acceleration information is not limited to the above example, and any conventionally known method may be applied. Note that the speed information can be calculated relatively easily based on the difference in data between any two points. Therefore, prior to the creation of the table TABLE2, for example, when the table TABLE1 is created in step S10 described above, the speed information is calculated. You may keep it. If the speed information at each time point is calculated here, the speed information can be used to determine the reversal of the operation of the hammer 2 in step S14.

ステップS14において、ハンマ2の動作向きの反転があれば(ステップS14のyes)、処理をステップS15に進めて、図6を参照して次に説明するサブルーチン「打弦判定処理」に移行する。一方、ハンマ2の動作向きの反転がなければ、ステップS14をnoに分岐して、サブルーチン「打弦判定処理」に入ることなく、当該ハンマ速度処理のルーチンを続ける。   If the operation direction of the hammer 2 is reversed in step S14 (yes in step S14), the process proceeds to step S15, and the process proceeds to a subroutine “string striking determination process” described next with reference to FIG. On the other hand, if there is no reversal of the operation direction of the hammer 2, step S14 is branched to no, and the routine of the hammer speed process is continued without entering the subroutine “string striking determination process”.

図6に示すフローチャートを参照して「打弦判定処理」の処理例について説明する。先ず、ステップS20において、前記テーブルTABLE2を参照して、ハンマ2による打弦があった否かの判定を行う。ここの打弦判定においては、該テーブルTABLE2における基準時点(AD(0),t(0))からみて、ハンマ2が弦に近接動作する際(打弦前)の速度情報及び加速度情報と、ハンマ2が弦から離間動作する際(打弦後)の速度情報及び加速度情報とを、次に詳細に述べる条件と照合することで、ハンマ2によって実際に打弦がなされたことを判定する。   A processing example of the “string striking determination process” will be described with reference to the flowchart shown in FIG. First, in step S20, with reference to the table TABLE2, it is determined whether or not the hammer 2 has hit a string. In the string striking determination here, speed information and acceleration information when the hammer 2 moves close to the string (before string striking), as viewed from the reference time points (AD (0), t (0)) in the table TABLE2, By comparing the speed information and the acceleration information when the hammer 2 moves away from the string (after stringing) with the conditions described in detail below, it is determined that the hammer 2 has actually hit the string.

(1)確実に打弦したと判定する条件:基準時点(AD(0),t(0))での速度情報v(0)、及び、基準時点の直前の時点(AD(−1),t(−1))での速度情報v(−1)、及び、基準時点よりも2サンプリング時点前先行した時点(AD(−2),t(−2))での速度情報v(−2)を調べて、速度情報v(0)、v(−1)及びv(−2)の中に、所定速度(例えば0.3m/s)以上のものがあるかどうか判定する。前記v(0)、v(−1)及びv(−2)は、打弦直前でのハンマ速度を表す情報である。これにより、打弦前に弦4に対して近接するハンマ2の運動状態の時間的推移を調べ、これらの中に所定速度(例えば0.3m/s)以上のものがあれば、ハンマ2が打弦を行うのに十分な速度で運動していたことがわかる。従って、この条件に適う場合は、確実に打弦有りと判断することができる。   (1) Conditions for determining that a string has been struck reliably: velocity information v (0) at a reference time point (AD (0), t (0)) and a time point immediately before the reference time point (AD (−1), Speed information v (−1) at t (−1)) and speed information v (−2) at a time (AD (−2), t (−2)) that precedes the sampling time by two sampling times before the reference time ) To determine whether the speed information v (0), v (-1), and v (-2) has a predetermined speed (for example, 0.3 m / s) or more. The v (0), v (-1), and v (-2) are information representing the hammer speed immediately before the string is hit. As a result, the temporal transition of the movement state of the hammer 2 that is close to the string 4 is checked before stringing. If any of these has a predetermined speed (for example, 0.3 m / s) or more, the hammer 2 is It can be seen that he was exercising at a speed sufficient to strike the string. Therefore, if this condition is met, it can be reliably determined that the string is struck.

(2)打弦した可能性が高いと判定する条件:基準時点(AD(0),t(0))での加速度情報の絶対値a(0)、並びに、該基準時点の前後3回分のサンプリング時点(「AD(−3),t(−3)」〜「AD(3),t(3)」)での各加速度情報の絶対値a(−3)〜絶対値a(3)を調べることで、打弦直前に弦4に対して接近するハンマ2の運動状態と、打弦後に弦4に対して離間するハンマ2の運動状態とを調べる。ここで、基準時点での加速度情報の絶対値a(0)が各加速度情報の絶対値a(−3)〜絶対値a(3)の中で最大であれば、当該ハンマ2の運動によって打弦が行われた可能性が高いと判断できる。   (2) Conditions for determining that there is a high possibility that a string has been struck: absolute value a (0) of acceleration information at the reference time point (AD (0), t (0)), and three times before and after the reference time point The absolute value a (-3) to absolute value a (3) of each acceleration information at the sampling time ("AD (-3), t (-3)" to "AD (3), t (3)") By examining, the movement state of the hammer 2 approaching the string 4 immediately before striking and the movement state of the hammer 2 separating from the string 4 after striking are examined. Here, if the absolute value a (0) of the acceleration information at the reference time is the maximum among the absolute values a (−3) to the absolute value a (3) of each acceleration information, the hammer 2 is hit by the movement of the hammer 2. It can be determined that there is a high possibility that a string was performed.

(3)非打弦の可能性が高いと判定する条件:前記(2)の判定条件に適合しないこと、つまり、各加速度情報の絶対値a(−3)〜絶対値a(3)の中に基準時点での加速度情報の絶対値a(0)よりも大きい値があること、及び、複数の速度情報から得られる2次曲線に適合させる2次曲線適合法によって求めた基準時点における速度情報v(0)が「0」に近い値である場合は、当該ハンマ2の運動によっては、打弦が行われなかった可能性が高いと判断できる。   (3) Conditions for determining that the possibility of non-stringing is high: not meeting the determination condition of (2), that is, among absolute values a (−3) to absolute values a (3) of each acceleration information Has a value larger than the absolute value a (0) of acceleration information at the reference time point, and speed information at the reference time point obtained by a quadratic curve fitting method adapted to a quadratic curve obtained from a plurality of speed information items When v (0) is a value close to “0”, it can be determined that there is a high possibility that the string was not hit depending on the movement of the hammer 2.

このように、当該ステップS20でのテーブルTABLE2を参照して行う打弦判定では、打弦位置(基準時点)を含むハンマ2の移動範囲におけるハンマ2の動きを示す物理情報(速度、加速度)について、打弦前にハンマ2が弦4に対して接近するときの変動状態と、打弦後に弦4から離間するときの変動状態とに基づき、打弦/非打弦の照合を行うので、ハンマ2によって打弦が実際に行われたことを極めて正確に判定できる。   As described above, in the string striking determination performed with reference to the table TABLE2 in step S20, physical information (speed, acceleration) indicating the movement of the hammer 2 in the movement range of the hammer 2 including the string striking position (reference time). Based on the fluctuation state when the hammer 2 approaches the string 4 before stringing and the fluctuation state when the hammer 2 moves away from the string 4 after stringing, the hammering / non-stringing is collated. 2 makes it possible to determine with high accuracy that the string has actually been struck.

ステップS21では、前記ステップS20での判定結果に応じて、当該ハンマ2の動作状態(打弦有無)を表す第2の打弦ステートst2を設定する。第2の打弦ステートst2は、単純に打弦有り(前記条件(1)又は(2)に適う場合)か、打弦無し(前期条件(3)の場合)を表現するものであってよい。勿論前記条件(1)〜(3)の夫々に応じて、(1)確実に打弦、(2)打弦の可能性大及び(3)非打弦の可能性大、の3状態を表現してもよい。   In step S21, a second string-striking state st2 representing the operation state of the hammer 2 (string presence / absence) is set according to the determination result in step S20. The second string striking state st2 may simply represent the presence of string striking (when the condition (1) or (2) is satisfied) or no string striking (when the previous condition (3) is satisfied). . Of course, according to each of the above conditions (1) to (3), the three states of (1) surely stringing, (2) high possibility of stringing, and (3) high possibility of non-stringing are expressed. May be.

ステップS22では、前記第1の打弦ステートst1と前記第2の打弦ステートst2とを比較して、双方が示す状態(打弦有り又は無し)が一致するかどうかを調べ、不一致であった場合(yesの場合)、処理をステップS23に進めて、次に述べるサブルーチン「補正処理」に入る。一方、第1のステートst1と第2のステートst2が一致していれば(noの場合)、打弦判定ルーチンを抜けて、前記図3の「ハンマ速度処理」に戻る。   In step S22, the first string-striking state st1 and the second string-striking state st2 are compared, and it is determined whether or not the states (both with or without string-striking) are the same. If yes (YES), the process proceeds to step S23 to enter a subroutine "correction process" described below. On the other hand, if the first state st1 and the second state st2 match (in the case of no), the process returns to the “hammer speed process” of FIG.

図7を参照して補正処理の処理例について説明する。
先ず、ステップS30において、両打弦ステートst1、st2の不一致が次のいずれの場合に相当するかを判別し、各ケースに応じて適切に打弦推定用の基準値を修正(較正)する。
(ケース1)打弦ステートst1では非打弦と推定しながらも、打弦ステートst2では打弦有りの判定がなされた場合:打弦ステートst1では非打弦と推定しながらも、実際には打弦動作が行われているので、打弦ステートst1の根拠となる参照位置パラメータとして設定された参照エンド値Eが実際のエンド位置よりも高く想定されてしまっていると考えられる。このケース1の場合は、処理をステップS31に進め、ステップS31において、テーブルTABLE2にて基準時点として設定された時点でのAD値「AD(0)」を新規エンド値Eとして設定して、この新規エンド値Eと現在のレスト値Rとの比を求めることで、当該ハンマ2のキャリブレーション比を更新する。キャリブレーション比を更新したら、新規キャリブレーション比から各種パラメータ(参照位置パラメータなど)を再算出する。
(ケース2)打弦ステートst1では打弦と推定しながらも、打弦ステートst2では打弦無しの判定がなされた場合:打弦ステートst1では打弦と推定しているものの、実際には打弦動作は行われていないので、参照位置パラメータとして設定された参照エンド値Eが実際のエンド位置よりも低く想定されてしまっていると考えられる。このケース2の場合は、処理をステップS32に進め、ステップS32において、テーブルTABLE2にて基準時点として設定された時点でのAD値「AD(0)」に対して所定数値加算した値を新規エンド値Eとして設定して、この新規エンド値Eと現在のレスト値Rとの比を求め、当該ハンマ2のキャリブレーション比を更新する。キャリブレーション比を更新したら、新規キャリブレーション比から推定打弦位置に相当する閾値(第2の参照位置M2の参照値m2)等の各種パラメータを再算出する。そして、当該補正処理のルーチンを抜けて、前記図3に示すルーチンに戻る。
A processing example of the correction process will be described with reference to FIG.
First, in step S30, it is determined which of the following cases the mismatch of the two stringing states st1 and st2 corresponds to, and the reference value for stringing estimation is appropriately corrected (calibrated) according to each case.
(Case 1) When it is determined that there is no string striking in the string striking state st1, but it is determined that there is a string striking in the string striking state st2: Since the string-striking operation is performed, it is considered that the reference end value E set as the reference position parameter that is the basis of the string-striking state st1 is assumed to be higher than the actual end position. In this case 1, the process proceeds to step S31. In step S31, the AD value “AD (0)” at the time set as the reference time in the table TABLE2 is set as the new end value E. By calculating the ratio between the new end value E and the current rest value R, the calibration ratio of the hammer 2 is updated. When the calibration ratio is updated, various parameters (such as reference position parameters) are recalculated from the new calibration ratio.
(Case 2) When it is estimated that there is no stringing in the stringing state st2 while the stringing state st1 is estimated to be a stringed sound: Although it is estimated that the stringing state is in the stringing state st1, it is actually hitting Since the string operation is not performed, it is considered that the reference end value E set as the reference position parameter is assumed to be lower than the actual end position. In case 2, the process proceeds to step S32. In step S32, a value obtained by adding a predetermined numerical value to the AD value “AD (0)” at the time set as the reference time in the table TABLE2 is a new end. As a value E, the ratio between the new end value E and the current rest value R is obtained, and the calibration ratio of the hammer 2 is updated. When the calibration ratio is updated, various parameters such as a threshold value (reference value m2 of the second reference position M2) corresponding to the estimated stringing position are recalculated from the new calibration ratio. Then, the process exits the correction process routine and returns to the routine shown in FIG.

上述の補正処理において、自動演奏ピアノでの演奏動作中にリアルタイムでセンサ26から出力されたAD値を基にキャリブレーション比を適切な値に補正することで、新規キャリブレーション比に基づき、打弦推定位置に相当する閾値(第2の参照値M2)をより適切な値に設定しなおすことができる。従って、例えば経時変化によりアクションメカニズムの相対位置が変動し、キャリブレーション比が変わってしまった場合にも、キャリブレーション比をリアルタイムで補正することができ、連続量センサ26からの出力値(位置情報)と推定打弦位置とに基づく打弦有無推定をより正確に行えるようになる。   In the correction process described above, the string is struck based on the new calibration ratio by correcting the calibration ratio to an appropriate value based on the AD value output from the sensor 26 in real time during the performance operation on the automatic piano. The threshold (second reference value M2) corresponding to the estimated position can be reset to a more appropriate value. Therefore, for example, even when the relative position of the action mechanism fluctuates due to changes over time and the calibration ratio changes, the calibration ratio can be corrected in real time, and the output value (position information) from the continuous quantity sensor 26 can be corrected. ) And the estimated string-striking position.

図3に戻ると、上記打弦判定処理及びその中の補正処理を行った後、ステップS16では、前記第1の打弦ステートst1及び後述する「打弦判定処理」において設定する第1の打弦ステートst2に基づき、ノート・オン/オフ(発音指示)信号の生成処理等、その他処理を行う。ノート・オン/オフ信号は、キーナンバ及びベロシティデータ(打弦速度)を含む演奏データであって、例えばMIDI形式等のデータフォーマットで構成されてよい。この発明に従えば、上述した打弦判定構成及びキャリブレーション比の補正により、より信頼性の高い打弦判定が行えるようになるので、発音指示信号の発生等をより正確に行えるようになり、所謂「音抜け(発音すべきにも拘らず発音なし)」や「音鳴り(非発音にも拘らず発音)」等のエラーを効果的に防止できるようになる。   Returning to FIG. 3, after performing the above-described string striking determination process and the correction process therein, in step S16, a first striking state set in the first string striking state st1 and “string striking determination process” to be described later is performed. Based on the string state st2, other processing such as generation of a note on / off (sound generation instruction) signal is performed. The note on / off signal is performance data including key number and velocity data (stringing speed), and may be configured in a data format such as MIDI format. According to the present invention, since the stringing determination configuration and the calibration ratio correction described above can perform stringing determination with higher reliability, the generation of a sound generation instruction signal and the like can be performed more accurately. It is possible to effectively prevent errors such as so-called “sound missing (no sound even though it should be pronounced)” or “sound (no sound despite non-sound)”.

次に、キャリブレーション比の補正処理の別の実施例について、図8を参照して説明する。ステップS40において、打弦ステートst1と打弦ステートst2の不一致が3回以上続いたかどうかを判定する。これは、図6の打弦判定処理のステップS22において、打弦ステートst1と打弦ステートst2の不一致が三回続くことを条件の1つとして、キャリブレーション算出用のエンド値の更新が行われることとなる。打弦ステートst1と打弦ステートst2の不一致が3回以上続けば(ステップS40のyes)、ステップS41において、打弦ステートst1、st2の不一致が、図7を参照して前述したケース1又はケース2のいずれの場合に相当するかを判定する。これによって、誤動作に対して補正がなされてしまうことを防止している。   Next, another embodiment of the calibration ratio correction process will be described with reference to FIG. In step S40, it is determined whether or not the mismatch between the string-striking state st1 and the string-striking state st2 has continued three or more times. This is because, in step S22 of the string striking determination process of FIG. 6, the end value for calibration calculation is updated on condition that the mismatch between the string striking state st1 and the string striking state st2 continues three times. It will be. If the mismatch between the string-striking state st1 and the string-striking state st2 continues three or more times (yes in step S40), in step S41, the mismatch between the string-striking states st1 and st2 is the case 1 or case described above with reference to FIG. It is determined which case corresponds to 2. As a result, it is possible to prevent the malfunction from being corrected.

ケース1の場合エンド値Eが実際のエンド位置よりも高く想定されてしまっている。従って、以下のような処理を行う:ステップS42において、ハンマ2の移動軌跡のピーク位置を探す。例えば、図5のテーブルTABLE2を参照して、ハンマ2の移動のピーク(打弦点)に相当する基準時点AD(0),t(0)を、当該ハンマ2の軌道ピーク(最奥)位置のAD値として出力することができる。ステップS43において、ハンマ2の実動作から打弦速度を推測する。打弦速度の推測は、例えば、図5のテーブルTABLE2を参照し、ハンマ2の動作測定値から任意の複数点(例えば5点)のAD値を抽出して、該抽出した複数のAD値から直線近似法により速度情報を算出することができる。
ステップS44において、「たわみ量出力テーブル」を参照し打弦速度に応じた「たわみ量」xを出力する。たわみ量出力テーブルの一例を図9に示す。たわみ量出力テーブルは、打弦速度と、或る打弦速度で駆動されたハンマ2が弦4を打弦する際の、弦4に対する押し込み量(弦4のたわみ量)の対応関係により構成されている。たわみ量出力テーブルは、所定の実験機を用いてエンド位置が既知の状態で作成されるものであり、該実験機で作成されたテーブルを個々の機器(自動演奏ピアノ)に記憶させておくものとする。図9に示すたわみ量出力テーブルから、打弦速度に応じた「たわみ量」xを出力することで、当該打弦動作による弦4のたわみ量を取得する。弦4がたわむ(ハンマ2が弦4を押し込む)ということは、ハンマ2が弦4との当接位置(エンド位置)を該たわみ量だけ超えてストロークしていることとなる。してみれば、ステップS42で求めたピーク位置のAD値を、ステップS44で求めた「たわみ量x」で補正した値は、エンド位置に対応する値とみなすことができる。ステップS45では、前記ピーク位置のAD値と前記「たわみ量x」に基づき算出した新規のエンド値Eを出力する。
In case 1, the end value E is assumed to be higher than the actual end position. Accordingly, the following processing is performed: In step S42, the peak position of the movement locus of the hammer 2 is searched. For example, referring to the table TABLE2 in FIG. 5, the reference time points AD (0) and t (0) corresponding to the movement peak (stringing point) of the hammer 2 are set to the trajectory peak (deepest) position of the hammer 2. Can be output as the AD value. In step S43, the string striking speed is estimated from the actual operation of the hammer 2. For example, the striking speed is estimated by referring to the table TABLE2 in FIG. 5, extracting AD values of arbitrary plural points (for example, five points) from the operation measurement values of the hammer 2, and using the extracted AD values. Speed information can be calculated by a linear approximation method.
In step S44, referring to the “deflection amount output table”, the “deflection amount” x corresponding to the stringing speed is output. An example of the deflection amount output table is shown in FIG. The deflection amount output table is constituted by the correspondence relationship between the string striking speed and the pushing amount (string flexure amount of the string 4) when the hammer 2 driven at a certain string striking speed strikes the string 4. ing. The deflection amount output table is created using a predetermined experimental machine with a known end position, and the table created by the experimental machine is stored in each device (automatic piano). And By outputting the “bending amount” x corresponding to the string striking speed from the deflection amount output table shown in FIG. 9, the deflection amount of the string 4 by the string striking operation is acquired. That the string 4 bends (the hammer 2 pushes in the string 4) means that the hammer 2 has stroked beyond the contact position (end position) with the string 4 by the amount of deflection. In this case, the value obtained by correcting the AD value at the peak position obtained in step S42 with the “deflection amount x” obtained in step S44 can be regarded as a value corresponding to the end position. In step S45, a new end value E calculated based on the AD value of the peak position and the “deflection amount x” is output.

ケース2の場合は、エンド値Eが実際のエンド位置よりも低く想定されてしまっている:従って、ステップS46において、ハンマ2の移動のピーク位置を探す。図5のデータテーブルTABLE2を参照して、ハンマ2の移動のピーク(打弦点)に相当する基準時点AD(0),t(0)を、当該ハンマ2の軌道ピーク(最奥)位置のAD値として出力することができる。この場合は、エンド値Eが実際のエンド位置よりも低く想定されているのだから、ここで出力するハンマ2の移動のピーク位置のAD値を直ちにた新規のエンド値Eを出力してよい。   In case 2, it is assumed that the end value E is lower than the actual end position: Therefore, in step S46, the peak position of the movement of the hammer 2 is searched. Referring to the data table TABLE2 in FIG. 5, the reference time points AD (0) and t (0) corresponding to the movement peak (striking point) of the hammer 2 are set as the trajectory peak (deepest) position of the hammer 2. It can be output as an AD value. In this case, since the end value E is assumed to be lower than the actual end position, a new end value E may be output immediately after the AD value of the peak position of the movement of the hammer 2 output here.

ステップS47では、現在のレスト値Rと上述の処理によって出力した新規のエンド値Eを、キャリブレーション算出用のレスト値とキャリブレーション算出用のエンド値として設定する。ステップS48では、前記新規に設定されたキャリブレーション算出用のレスト値とエンド値に基づきキャリブレーション比を再計算する。   In step S47, the current rest value R and the new end value E output by the above-described process are set as the rest value for calibration calculation and the end value for calibration calculation. In step S48, the calibration ratio is recalculated based on the newly set rest value and end value for calibration calculation.

以上説明した通り、図8に示す補正処理の別の例によれば、ハンマ2の実際の動作に基づきキャリブレーション比を更新するので、例えばハンマ2の経時変化等にフレキシブルに対応することができる、また、キャリブレーション比の更新を演奏の記録や再生時等、通常の動作中にハンマ2の実際の動作に基づきリアルタイムに行うことができるようになるので、より正確な打弦判定や、演奏データの生成が行えるようになる。   As described above, according to another example of the correction process shown in FIG. 8, the calibration ratio is updated based on the actual operation of the hammer 2, so that it is possible to flexibly cope with, for example, a change with time of the hammer 2. In addition, the calibration ratio can be updated in real time based on the actual operation of the hammer 2 during normal operation, such as during recording and playback of performances. Data can be generated.

なお、上記実施例では、補正処理においてキャリブレーション比を補正する処理例について説明したが、これに限らず、参照位置パラメータとして設定されたレスト値Rやエンド値Eを補正するように処理してもよい。さらに、センサからの出力値に修正をかけるようにしてもよい。また、上記実施例においては連続量センサ26から出力される位置情報に基づき、速度情報及び加速度情報を算出する例について説明したが、これに限らず、連続量センサ26を速度センサとして構成して、出力された速度情報から位置情報や加速度情報を算出してもよい。また、位置情報、速度情報及び加速度情報の各情報を夫々独立したセンサによって別々に検出するように構成してもよい。位置センサ、速度センサ及び加速度センサを、夫々独立したセンサで構成する場合、各センサにおける次元は夫々異なっていてもよいし、また共通のものであってもよい。また、上記図6に示す打弦判定処理において打弦有無の判定要素として用いる情報は、上述したハンマ2の速度情報と加速度情報に限定されず、ハンマによる打弦運動に関する物理情報であればどのような情報であっても利用しうる。例えば、適宜のセンサによって打弦時の弦4の振動を検出するよう構成して、その振動情報を利用してもよいし、或いは、打弦時の弦4の振動を直接検出するのではなく、該振動によって発生する振動音を適宜のピックアップで検知できるよう構成してもよい。   In the above embodiment, the processing example for correcting the calibration ratio in the correction processing has been described. However, the present invention is not limited to this, and processing is performed so as to correct the rest value R and end value E set as the reference position parameters. Also good. Further, the output value from the sensor may be modified. In the above embodiment, the example in which the speed information and the acceleration information are calculated based on the position information output from the continuous quantity sensor 26 has been described. However, the present invention is not limited to this, and the continuous quantity sensor 26 is configured as a speed sensor. Alternatively, position information and acceleration information may be calculated from the output speed information. Further, the position information, the speed information, and the acceleration information may be separately detected by independent sensors. When the position sensor, the speed sensor, and the acceleration sensor are configured by independent sensors, the dimensions of the sensors may be different from each other or may be common. Further, the information used as the determination element for the presence / absence of string striking in the string striking determination process shown in FIG. 6 is not limited to the speed information and acceleration information of the hammer 2 described above. Even such information can be used. For example, the vibration of the string 4 at the time of stringing may be detected by an appropriate sensor and the vibration information may be used. Alternatively, the vibration of the string 4 at the time of stringing may not be directly detected. The vibration sound generated by the vibration may be detected by an appropriate pickup.

なお、上述した実施例の形態では、鍵とハンマの動作検出の例を示したが、このような形態に限らず、操作子と、該操作子の操作に応じて駆動されて他の部材と当接する被駆動部材との関係において、その当接動作を判断するものであれば、どのような形態にも適用しうる。例えばダンパペダルとダンパの関係において、ダンパの弦に対する当接動作を連続的に検出し、それを判断するような形態に適用してもよい。
また、上記実施例では、自動演奏ピアノとして、自動演奏機能及び演奏操作記録機能を有するアコースティックピアノについて説明したが、ここでアコースティックピアノは、グランドピアノ或いはアップライトピアノの何れであっても差し支えない。また、この発明は、自動演奏ピアノに限らず、消音ピアノに適用することもできる。また、アコースティックピアノに限らず、電子ピアノ等のその他各種鍵盤楽器にも適用可能である。
In the embodiment described above, an example of detecting the operation of the key and the hammer has been shown. However, the present invention is not limited to such an embodiment, and the operation element and other members driven by the operation of the operation element The present invention can be applied to any form as long as it determines the abutting operation in relation to the driven member that abuts. For example, in a relationship between a damper pedal and a damper, the present invention may be applied to a form in which a contact operation of a damper against a string is continuously detected and determined.
In the above embodiment, an acoustic piano having an automatic performance function and a performance operation recording function has been described as the automatic performance piano. However, the acoustic piano may be either a grand piano or an upright piano. Moreover, this invention can be applied not only to an automatic performance piano but also to a mute piano . Further, the present invention is not limited to an acoustic piano, and can be applied to other various keyboard instruments such as an electronic piano.

この発明の一実施例に係る自動演奏ピアノの全体構成を示す図。The figure which shows the whole structure of the automatic performance piano which concerns on one Example of this invention. 同実施例に係る自動演奏ピアノにおいて電源投入時に実行される処理例を示すフロー。The flow which shows the process example performed at the time of power activation in the automatic performance piano which concerns on the same Example. 同実施例に係る自動演奏ピアノにおける主な動作として実行されるハンマ速度を求めるルーチンの一例を示すフロー。The flow which shows an example of the routine which calculates | requires the hammer speed performed as main operation | movement in the automatic performance piano which concerns on the Example. ハンマ動作の時間的推移を表すデータテーブルTABLE1の一例を示す図。The figure which shows an example of the data table TABLE1 showing the time transition of hammer operation | movement. 図4のテーブルTABLE1に基づき作成されるハンマの運動状態の時間的推移を表すデータテーブルTABLE2の一例を示す図。The figure which shows an example of the data table TABLE2 showing the time transition of the exercise | movement state of the hammer produced based on the table TABLE1 of FIG. 同実施例に係る打弦判定処理の一例を示すフローチャート。The flowchart which shows an example of the string striking determination process which concerns on the same Example. 同実施例に係る補正処理の一例を示すフローチャート。The flowchart which shows an example of the correction process which concerns on the same Example. 同実施例に係る補正処理の別例を示すフローチャート。The flowchart which shows another example of the correction process which concerns on the same Example. 同実施例に係るたわみ量出力テーブルの一例を示す図。The figure which shows an example of the deflection amount output table which concerns on the Example.

符号の説明Explanation of symbols

1 鍵、2 ハンマ、3 アクションメカニズム、4 弦、5 電磁ソレノイド、6 ダンパ、7 バックチェック、10 再生前処理部、11 モーションコントローラ、12 サーボコントローラ、13 電子楽音発生部、26 センサ、27 信号処理部、28 算出部、30 処理部 1 key, 2 hammer, 3 action mechanism, 4 strings, 5 electromagnetic solenoid, 6 damper, 7 back check, 10 playback pre-processing unit, 11 motion controller, 12 servo controller, 13 electronic musical sound generating unit, 26 sensor, 27 signal processing Part, 28 calculation part, 30 processing part

Claims (5)

操作子と、
前記操作子の操作に応じて駆動され、該駆動に応じて他の部材と当接する被駆動部材と、
前記被駆動部材の動きを検出する検出手段と、
前記検出手段の検出出力と所定の推定用の基準値に基づき、前記被駆動部材が前記他の部材と当接したことを推定し、当該当接に係る推定情報を発生する推定手段と、
前記被駆動部材が他の部材との当接位置に至ったことを判定する判定手段と、
前記推定手段の判断を前記判定手段の判定結果に応じて修正する修正手段と
を備える鍵盤楽器。
An operator,
A driven member that is driven in accordance with the operation of the operating element and that abuts against other members in accordance with the driving;
Detecting means for detecting movement of the driven member;
Based on the detection output of the detection means and a predetermined reference value for estimation, an estimation means for estimating that the driven member is in contact with the other member and generating estimation information related to the contact;
Determination means for determining that the driven member has reached a contact position with another member;
A keyboard instrument comprising correction means for correcting the judgment of the estimation means according to the judgment result of the judgment means.
前記修正手段は前記検出手段の出力及び前記推定手段における推定用の基準値の少なくとも一方を較正する手段を含み、該修正手段による前記推定手段の判断の修正は、前記検出手段の出力及び前記推定手段における推定用の基準値の少なくとも一方を較正することで行われることを特徴とする請求項1に記載の鍵盤楽器。   The correction means includes means for calibrating at least one of the output of the detection means and the reference value for estimation in the estimation means, and the correction of the judgment of the estimation means by the correction means includes the output of the detection means and the estimation The keyboard instrument according to claim 1, wherein the keyboard instrument is performed by calibrating at least one of estimation reference values in the means. 前記検出手段の検出出力は、前記被駆動部材の動きを示す第1種の物理量を示す第1物理情報であり、
前記判定手段は、前記当接位置を含む前記被駆動部材の移動範囲における該被駆動部材の動きを示す第2種の物理量を示す第2物理情報に基づき、該被駆動部材の当接を判定するものである請求項1又は2に記載の鍵盤楽器。
The detection output of the detection means is first physical information indicating a first type of physical quantity indicating the movement of the driven member,
The determination unit determines contact of the driven member based on second physical information indicating a second type physical quantity indicating movement of the driven member in a movement range of the driven member including the contact position. The keyboard instrument according to claim 1 or 2, wherein:
前記検出手段は前記被駆動部材の位置情報を連続的に検出する連続量センサであって、
前記第1物理情報は該センサから出力される位置情報であり、
前記第2物理情報は、該センサから出力される位置情報に基づき算出された前記被駆動部材の動作の速度情報及び加速度情報の少なくとも一方であり、
前記判定手段は、前記算出された速度情報及び加速度情報の少なくとも一方の時間的推移に応じた状態から、前記被駆動部材が他の部材に当接したか否かを判定するものであることを特徴とする請求項1乃至3の何れかに記載の鍵盤楽器。
The detection means is a continuous quantity sensor that continuously detects position information of the driven member,
The first physical information is position information output from the sensor,
The second physical information is at least one of speed information and acceleration information of the operation of the driven member calculated based on position information output from the sensor,
The determination means determines whether or not the driven member is in contact with another member from a state corresponding to a temporal transition of at least one of the calculated speed information and acceleration information. The keyboard instrument according to any one of claims 1 to 3, wherein
前記推定手段の推定結果と前記判定手段の判定結果が所定回数異なっていたときに、前記推定用の基準値を修正する基準値修正手段を更に有することを特徴とする請求項1乃至4の何れかに記載の鍵盤楽器。
The reference value correcting means for correcting the estimation reference value when the estimation result of the estimation means and the determination result of the determination means differ by a predetermined number of times. The keyboard instrument described in crab.
JP2004274021A 2003-12-22 2004-09-21 Keyboard instrument Expired - Fee Related JP4218620B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2004274021A JP4218620B2 (en) 2003-12-22 2004-09-21 Keyboard instrument
US11/019,985 US7285718B2 (en) 2003-12-22 2004-12-21 Keyboard musical instrument and other-type musical instrument, and method for generating tone-generation instructing information
EP04030531A EP1555651A1 (en) 2003-12-22 2004-12-22 Musical instrument and method for generating tone-generation instructing information

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2003425650 2003-12-22
JP2004274021A JP4218620B2 (en) 2003-12-22 2004-09-21 Keyboard instrument

Publications (2)

Publication Number Publication Date
JP2005208570A JP2005208570A (en) 2005-08-04
JP4218620B2 true JP4218620B2 (en) 2009-02-04

Family

ID=34913949

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004274021A Expired - Fee Related JP4218620B2 (en) 2003-12-22 2004-09-21 Keyboard instrument

Country Status (1)

Country Link
JP (1) JP4218620B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019092775A1 (en) 2017-11-07 2019-05-16 ヤマハ株式会社 Sound source, keyboard instrument, and program

Also Published As

Publication number Publication date
JP2005208570A (en) 2005-08-04

Similar Documents

Publication Publication Date Title
JP4222280B2 (en) A performance information output device, a musical instrument, a method for outputting performance information, and a program for executing the method on a computer.
JP4483636B2 (en) Keyboard instrument
JP3900712B2 (en) Keyboard instrument sensor calibration apparatus and sensor calibration method
JP4524798B2 (en) Method and apparatus for identifying half point of pedal of keyboard instrument, and program
JP4479554B2 (en) Keyboard instrument
JP5028849B2 (en) Method and apparatus for identifying half point of pedal of keyboard instrument
KR100716099B1 (en) Transducer free from aged deterioration, musical instrument using the same and method used therein
US7285718B2 (en) Keyboard musical instrument and other-type musical instrument, and method for generating tone-generation instructing information
JP4193752B2 (en) Automatic piano
US6271447B1 (en) Velocity calculating system for moving object widely varied in velocity method for correcting velocity and keyboard musical instrument equipped with the velocity calculating system for accurately determining loudness of sounds
JP4214966B2 (en) Musical instrument self-diagnosis program
US8859878B2 (en) Method and device for identifying half point of pedal on keyboard musical instrument
JP4134952B2 (en) Automatic piano
JP4218620B2 (en) Keyboard instrument
JP3596015B2 (en) Automatic piano
JP4626241B2 (en) A method for generating a musical instrument and pronunciation instruction information and a program for executing the method on a computer.
JP4228913B2 (en) Musical instrument
JP4110691B2 (en) Keyboard instrument sensor data conversion apparatus and sensor data conversion method
JP3821116B2 (en) Automatic piano
JP2000276134A (en) Speed detecting device and speed detecting method
JP2004029143A (en) Reproduction performance evaluation device, musical instrument and keyboard instrument

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070720

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081001

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: 20081021

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081103

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

Free format text: PAYMENT UNTIL: 20111121

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4218620

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20111121

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20121121

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121121

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20131121

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees