JP5082525B2 - Electronic keyboard instrument and program for realizing the control method - Google Patents

Electronic keyboard instrument and program for realizing the control method Download PDF

Info

Publication number
JP5082525B2
JP5082525B2 JP2007070706A JP2007070706A JP5082525B2 JP 5082525 B2 JP5082525 B2 JP 5082525B2 JP 2007070706 A JP2007070706 A JP 2007070706A JP 2007070706 A JP2007070706 A JP 2007070706A JP 5082525 B2 JP5082525 B2 JP 5082525B2
Authority
JP
Japan
Prior art keywords
key
instruction data
driving
drive
supplied
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
JP2007070706A
Other languages
Japanese (ja)
Other versions
JP2008233365A (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 JP2007070706A priority Critical patent/JP5082525B2/en
Publication of JP2008233365A publication Critical patent/JP2008233365A/en
Application granted granted Critical
Publication of JP5082525B2 publication Critical patent/JP5082525B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

本発明は、鍵盤を備え、該鍵盤の各鍵を自動演奏に合わせて駆動制御する電子鍵盤楽器およびその制御方法を実現するためのプログラムに関する。   The present invention relates to an electronic keyboard instrument that includes a keyboard and drives and controls each key of the keyboard in accordance with automatic performance, and a program for realizing the control method thereof.

鍵盤を備え、該鍵盤の各鍵を自動的に駆動制御する鍵盤楽器は、従来から知られている。   A keyboard instrument that includes a keyboard and automatically drives and controls each key of the keyboard is conventionally known.

このような鍵盤楽器として、アコースティックピアノに自動演奏を行わせるようにした、いわゆる自動ピアノと呼ばれるものがある。自動ピアノは、各鍵をソレノイド等のアクチュエータで駆動可能に構成し、予め記録された演奏情報(ピアノロールまたはMIDI(Musical Instrument Digital Interface)データ)に基づいて、対応するアクチュエータを制御することで、対応する鍵を駆動する。その結果、当該鍵に連動するハンマが駆動されて打弦され、自動演奏が実現される。   As such a keyboard instrument, there is a so-called automatic piano in which an acoustic piano performs automatic performance. The automatic piano is configured such that each key can be driven by an actuator such as a solenoid, and by controlling the corresponding actuator based on pre-recorded performance information (piano roll or MIDI (Musical Instrument Digital Interface) data), Drive the corresponding key. As a result, the hammer linked to the key is driven and struck to achieve automatic performance.

一方、電子ピアノは、電子音源を備え、予め記憶された演奏データ(MIDIデータ)を再生して生成した楽音パラメータを電子音源に供給し、電子音源から楽音を発音させることで、自動演奏を行うようにしている。つまり、電子ピアノは、自動ピアノに対して、鍵を駆動しなくても自動演奏できる点が異なっている。しかし昨今、電子ピアノでも、楽器らしさをより表現したいという観点から、電子音源から楽音を発音させると同時に、鍵を自動的に駆動させるようにしたものが商品化されている。   On the other hand, an electronic piano is equipped with an electronic sound source, and automatically performs performance by supplying musical sound parameters generated by reproducing pre-stored performance data (MIDI data) to the electronic sound source and generating sound from the electronic sound source. I am doing so. That is, the electronic piano is different from the automatic piano in that it can be automatically played without driving a key. Recently, however, electronic pianos have been commercialized in which musical sounds are generated from an electronic sound source and keys are automatically driven from the viewpoint of expressing a musical instrument.

ところで、自動鍵駆動タイプの電子ピアノは通常、アクチュエータである、ソレノイドを駆動するために、ソレノイドコイルに電力を供給する電力供給回路を備えている。この電力供給回路が故障して、過剰電圧が電力供給回路から出力された場合でも、装置の破損や出火などの事故が発生しないように、何らかの予防対策が採られている。この予防対策として、電力供給回路とソレノイドコイルとの間にリレーを設け、ソレノイドコイルへ、所定電圧を超える過剰電圧が印加されたときに、リレーを遮断するという予防対策を採るようにしたものがある(たとえば、特許文献1参照)。
特開2004−29549号公報
By the way, an automatic key drive type electronic piano is usually provided with a power supply circuit that supplies electric power to a solenoid coil in order to drive a solenoid, which is an actuator. Even if this power supply circuit fails and an excessive voltage is output from the power supply circuit, some preventive measures are taken so as not to cause an accident such as damage to the device or fire. As a preventive measure, a relay is provided between the power supply circuit and the solenoid coil, and when an excessive voltage exceeding a predetermined voltage is applied to the solenoid coil, a preventive measure is taken that shuts off the relay. Yes (see, for example, Patent Document 1).
JP 2004-29549 A

しかし、上記従来の自動鍵駆動タイプの電子ピアノでは、鍵駆動に関する故障として、ソレノイドコイルへの過剰電圧通電は検出されるものの、それ以外の故障の原因や状態は検出されなかった。つまり、鍵駆動に関する故障に限っても、たとえば、ソレノイドの推力低下や、押離鍵時の鍵のスティック、鍵スイッチの接点不良など、数多くの故障の原因や状態が考えられる。そして、これらの故障の原因や状態を検出してユーザに通知したいという要求も、少なからずあるが、上記従来の電子ピアノでは、この要求に応えることができなかった。   However, in the above-described conventional automatic key drive type electronic piano, although the overvoltage energization to the solenoid coil is detected as a failure related to the key drive, no other cause or state of the failure is detected. That is, even if it is limited to the failure related to the key drive, for example, there are many causes and states of failure such as a decrease in the thrust of the solenoid, a key stick at the time of pressing and releasing keys, and a contact failure of the key switch. In addition, there are many requests for detecting the cause and state of these failures and notifying the user, but the above-described conventional electronic piano cannot meet this requirement.

本発明は、この点に着目してなされたものであり、より広い範囲で故障の原因や状態を検出してユーザに通知することが可能となる電子鍵盤楽器およびその制御方法を実現するためのプログラムを提供することを目的とする。   The present invention has been made paying attention to this point, and is intended to realize an electronic keyboard instrument and its control method capable of detecting the cause and state of a failure in a wider range and notifying the user. The purpose is to provide a program.

上記目的を達成するため、請求項に記載の電子鍵盤楽器は、複数の鍵を備えた鍵盤と、供給された発音指示データに基づいて楽音を生成する電子音源と、前記複数の鍵のそれぞれに対して、非押鍵状態から最深押鍵状態までの間で、少なくとも2箇所の押下位置に達したことを検出する検出手段と、前記複数の鍵のそれぞれを押鍵方向または離鍵方向に駆動する駆動手段であって、供給された駆動指示データによって指示される鍵を、当該駆動指示データによって指示される方向に駆動させるものと、演奏データに基づいて前記発音指示データおよび前記駆動指示データを生成する生成手段と、該生成手段によって生成された発音指示データを前記音源に供給するとともに、該生成手段によって生成された駆動指示データを前記駆動手段に供給する供給手段と、前記生成手段によって所定の鍵を押鍵方向に駆動指示する駆動指示データが生成され、前記供給手段によって該生成された駆動指示データが前記駆動手段に供給されたときに計時を開始し、前記検出手段によって前記少なくとも2箇所の押下位置のうちの浅い方の押下位置が検出されたときに計時を停止する計時手段、前記計時手段による計時時間が所定のタイムアウト時間を超えたときには、「ダンパリリース・ノーリアクション」を通知する通知手段とを有することを特徴とする。 In order to achieve the above object, an electronic keyboard instrument according to claim 1 includes a keyboard having a plurality of keys, an electronic sound source that generates a musical sound based on supplied pronunciation instruction data, and each of the plurality of keys. On the other hand, the detecting means for detecting that at least two pressed positions are reached from the non-key pressed state to the deepest key pressed state, and each of the plurality of keys is moved in the key pressing direction or the key releasing direction. Driving means for driving, wherein a key indicated by the supplied drive instruction data is driven in a direction indicated by the drive instruction data; and the sound generation instruction data and the drive instruction data based on performance data Generating means for generating sound, and the sound generation instruction data generated by the generating means are supplied to the sound source, and the drive instruction data generated by the generating means is supplied to the driving means. Supply means for feeding, driving instruction data for driving instruction key depression direction a predetermined key is generated by the generating means, timing when the driving instruction data said generated is supplied to the driving means by said feeding means And when the detecting means detects a shallower one of the at least two pressed positions, the time measuring means stops timing, and the time measured by the time measuring means exceeds a predetermined timeout time. And a notification means for notifying of damper release no reaction”.

上記目的を達成するため、請求項に記載の電子鍵盤楽器は、複数の鍵を備えた鍵盤と、供給された発音指示データに基づいて楽音を生成する電子音源と、前記複数の鍵のそれぞれに対して、非押鍵状態から最深押鍵状態までの間で、少なくとも2箇所の押下位置に達したことを検出する検出手段と、前記複数の鍵のそれぞれを押鍵方向または離鍵方向に駆動する駆動手段であって、供給された駆動指示データによって指示される鍵を、当該駆動指示データによって指示される方向に駆動させるものと、演奏データに基づいて前記発音指示データおよび前記駆動指示データを生成する生成手段と、該生成手段によって生成された発音指示データを前記音源に供給するとともに、該生成手段によって生成された駆動指示データを前記駆動手段に供給する供給手段と、前記生成手段によって所定の鍵を離鍵方向に駆動指示する駆動指示データが生成され、前記供給手段によって該生成された駆動指示データが前記駆動手段に供給されたときに計時を開始し、前記検出手段によって前記少なくとも2箇所の押下位置のうちの深い方の押下位置が検出されなくなったときに計時を停止する計時手段、前記計時手段による計時時間が所定のタイムアウト時間を超えたときには、「キーオフ・ノーリアクション」を通知する通知手段とを有することを特徴とする。 In order to achieve the above object, an electronic keyboard instrument according to claim 2 includes a keyboard having a plurality of keys, an electronic sound source that generates a musical sound based on supplied pronunciation instruction data, and each of the plurality of keys. On the other hand, the detecting means for detecting that at least two pressed positions are reached from the non-key pressed state to the deepest key pressed state, and each of the plurality of keys is moved in the key pressing direction or the key releasing direction. Driving means for driving, wherein a key indicated by the supplied drive instruction data is driven in a direction indicated by the drive instruction data; and the sound generation instruction data and the drive instruction data based on performance data Generating means for generating sound, and the sound generation instruction data generated by the generating means are supplied to the sound source, and the drive instruction data generated by the generating means is supplied to the driving means. Supply means for feeding, driving instruction data for driving instructing predetermined key in the key release direction is generated by the generating means, timing when the driving instruction data said generated is supplied to the driving means by said feeding means And when the detection means stops detecting the deeper one of the two pressed positions, the time measuring means stops timing, and the time measured by the time measuring means has a predetermined time-out time. And a notification means for notifying key-off / no-reaction”.

上記目的を達成するため、請求項3よび4に記載のプログラムはそれぞれ、請求項1および2と同様の技術的思想によって実現できる。 In order to achieve the above object, the program according to claims 3 and 4 can be realized by the same technical idea as that of claims 1 and 2 , respectively .

発明によれば、駆動手段に供給した駆動指示データと、該駆動指示データの供給に応じて検出手段から検出された押下位置とに基づいて、異常動作内容が検出され、該検出された異常動作内容に応じた通知がなされるので、より広い範囲で故障の原因や状態を検出してユーザに通知することが可能となる。 According to the present invention, the abnormal operation content is detected based on the drive instruction data supplied to the drive means and the pressed position detected from the detection means in response to the supply of the drive instruction data, and the detected abnormality Since the notification according to the operation content is made, it is possible to detect the cause and state of the failure in a wider range and notify the user.

以下、本発明の実施の形態を図面に基づいて詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明の一実施の形態に係る電子鍵盤楽器の概略構成を示すブロック図である。   FIG. 1 is a block diagram showing a schematic configuration of an electronic keyboard instrument according to an embodiment of the present invention.

同図に示すように、本実施の形態の電子鍵盤楽器は、各種情報を入力するための複数のスイッチやホイール、ジョイスティックを含む設定操作子1と、設定操作子1の操作状態を検出する検出回路2と、演奏情報を入力するための鍵盤装置3と、装置全体の制御を司るCPU4と、該CPU4が実行する制御プログラムや、各種テーブルデータ等を記憶するROM5と、楽曲データ、各種入力情報および演算結果等を一時的に記憶するRAM6と、タイマ割込み処理における割込み時間や各種時間を計時するタイマ7と、各種情報等を表示する、たとえば液晶ディスプレイ(LCD)および発光ダイオード(LED)等を備えた表示器8と、前記制御プログラムを含む各種アプリケーションプログラムや各種楽曲データ、各種データ等を記憶する外部記憶装置9と、楽曲データを自動再生するシーケンサ10と、外部MIDI機器等の外部機器100を接続し、この外部機器100とデータの送受信を行う通信インターフェース(I/F)11と、鍵盤装置3から入力された演奏情報や、シーケンサ10によって自動再生された楽曲データ等をオーディオ信号に変換し、これに適宜効果を付与する音源12と、該音源12からのオーディオ信号を音響に変換する、たとえば、DAC(Digital-to-Analog Converter)やアンプ、スピーカ等のサウンドシステム13とにより構成されている。   As shown in the figure, the electronic keyboard instrument according to the present embodiment includes a setting operator 1 including a plurality of switches, wheels, and joysticks for inputting various types of information, and detection for detecting the operation state of the setting operator 1. A circuit 2, a keyboard device 3 for inputting performance information, a CPU 4 for controlling the entire device, a control program executed by the CPU 4, a ROM 5 for storing various table data, music data, and various input information RAM 6 for temporarily storing calculation results, timer 7 for measuring interrupt time and various times in timer interrupt processing, and various information, for example, a liquid crystal display (LCD) and a light emitting diode (LED) Stores the display 8 provided, various application programs including the control program, various music data, various data, etc. An external storage device 9, a sequencer 10 for automatically reproducing music data, an external device 100 such as an external MIDI device, and a communication interface (I / F) 11 for transmitting / receiving data to / from the external device 100, and a keyboard The performance information input from the apparatus 3 and the music data automatically reproduced by the sequencer 10 are converted into audio signals, and a sound source 12 that gives effects to the audio signals, and the audio signals from the sound sources 12 are converted into sound. For example, it is configured by a sound system 13 such as a DAC (Digital-to-Analog Converter), an amplifier, and a speaker.

上記構成要素2〜12は、バス14を介して相互に接続され、CPU4にはタイマ7が接続され、通信I/F11には外部機器100が接続され、音源12にはサウンドシステム13が接続されている。ここで、通信I/F11は、有線方式のものに限らず、無線方式のものであってもよい。また、両方式のものを備えていてもよい。   The above components 2 to 12 are connected to each other via a bus 14, a timer 7 is connected to the CPU 4, an external device 100 is connected to the communication I / F 11, and a sound system 13 is connected to the sound source 12. ing. Here, the communication I / F 11 is not limited to a wired system but may be a wireless system. In addition, both types may be provided.

外部記憶装置9としては、たとえば、フレキシブルディスクドライブ(FDD)、ハードディスクドライブ(HDD)、CD−ROMドライブおよび光磁気ディスク(MO)ドライブ等を挙げることができる。そして、外部記憶装置9には、前述のように、CPU4が実行する制御プログラムも記憶でき、ROM5に制御プログラムが記憶されていない場合には、この外部記憶装置9に制御プログラムを記憶させておき、それをRAM6に読み込むことにより、ROM5に制御プログラムを記憶している場合と同様の動作をCPU4にさせることができる。このようにすると、制御プログラムの追加やバージョンアップ等が容易に行える。   Examples of the external storage device 9 include a flexible disk drive (FDD), a hard disk drive (HDD), a CD-ROM drive, and a magneto-optical disk (MO) drive. As described above, the external storage device 9 can also store a control program to be executed by the CPU 4. If the control program is not stored in the ROM 5, the control program is stored in the external storage device 9. By reading it into the RAM 6, it is possible to cause the CPU 4 to perform the same operation as when the control program is stored in the ROM 5. In this way, control programs can be easily added and upgraded.

通信I/F11には、図示例では、外部機器100が接続されているが、これに限られず、たとえばLAN(Local Area Network)やインターネット、電話回線等の通信ネットワークを介して、サーバコンピュータが接続されるようにしてもよい。この場合、外部記憶装置9に上記各プログラムや各種パラメータが記憶されていなければ、通信I/F11は、サーバコンピュータからプログラムやパラメータをダウンロードするために用いられる。クライアントとなる電子鍵盤楽器は、通信I/F11および通信ネットワークを介してサーバコンピュータへとプログラムやパラメータのダウンロードを要求するコマンドを送信する。サーバコンピュータは、このコマンドを受け、要求されたプログラムやパラメータを、通信ネットワークを介して電子鍵盤楽器へと配信し、電子鍵盤楽器が通信I/F11を介して、これらプログラムやパラメータを受信して外部記憶装置9に蓄積することにより、ダウンロードが完了する。   In the illustrated example, the external device 100 is connected to the communication I / F 11. However, the present invention is not limited to this. For example, a server computer is connected via a communication network such as a LAN (Local Area Network), the Internet, or a telephone line. You may be made to do. In this case, if the above programs and various parameters are not stored in the external storage device 9, the communication I / F 11 is used for downloading the programs and parameters from the server computer. The electronic keyboard instrument as a client transmits a command for requesting downloading of a program and parameters to the server computer via the communication I / F 11 and the communication network. Upon receiving this command, the server computer distributes the requested program or parameter to the electronic keyboard instrument via the communication network, and the electronic keyboard instrument receives the program or parameter via the communication I / F 11. Downloading is completed by accumulating in the external storage device 9.

図2は、鍵盤装置3の各鍵の駆動を制御する制御構成を示すブロック図である。ただし、図2には、説明の都合上、CPU4も記載されている。   FIG. 2 is a block diagram showing a control configuration for controlling the driving of each key of the keyboard device 3. However, FIG. 2 also shows the CPU 4 for convenience of explanation.

同図に示すように、鍵盤装置3は、複数の鍵(たとえば、88鍵)を備えた鍵盤3aと、鍵毎に設けられたソレノイド3b1に電力を供給する電力供給部3bと、各ソレノイド3b1の駆動を制御する駆動制御部3cと、各鍵にそれぞれ設けられた鍵スイッチ(図示せず)のオン/オフ状態を検出するスキャン部3dと、駆動制御部3c、スキャン部3dおよびCPU4間を接続するバス3eとによって、主として構成されている。   As shown in the figure, the keyboard device 3 includes a keyboard 3a having a plurality of keys (for example, 88 keys), a power supply unit 3b for supplying power to a solenoid 3b1 provided for each key, and each solenoid 3b1. A drive control unit 3c that controls the driving of the key, a scan unit 3d that detects an on / off state of a key switch (not shown) provided for each key, and the drive control unit 3c, the scan unit 3d, and the CPU 4 It is mainly configured by the bus 3e to be connected.

鍵盤3aは、「低域」、「中低域」、「中高域」および「高域」の4つの鍵域(各鍵域にはそれぞれ、22鍵が属している)に分割され、各鍵域に属する22個のソレノイド3b1のそれぞれへの電力供給は、鍵域毎に1つの電力供給部3bによって制御されている。さらに1つの電力供給部3bは、1つの駆動制御部3cによって制御されている。なお、鍵域の分割態様や分割数は、これに限らないことは言うまでもない。   The keyboard 3a is divided into four key ranges of “low range”, “middle low range”, “middle high range” and “high range” (22 keys belong to each key range). Power supply to each of the 22 solenoids 3b1 belonging to the range is controlled by one power supply unit 3b for each key range. Furthermore, one power supply unit 3b is controlled by one drive control unit 3c. Needless to say, the key area division mode and the number of divisions are not limited thereto.

駆動制御部3cは、駆動制御処理部4aとして機能するCPU4によって制御される。具体的には、ある1つの鍵を押鍵方向に駆動させたい場合、駆動制御処理部4aは、その鍵(のソレノイド3b1)の駆動制御を担当する1つの駆動制御部3c(4つの駆動制御部3cのうちの1つ)をサーチし、サーチした駆動制御部3cを指定し、その鍵のキーナンバ(各鍵に付与された番号)および駆動オンをバス3e上に送信する(以下、「駆動オン要求」という)と、その駆動オン要求は、指定された駆動制御部3cによって受信される。駆動オン要求を受信した駆動制御部3cは、その駆動オン要求内に記載された鍵のソレノイド3b1に電力が供給されるように、電力供給部3bに対して、所定のタイミングで所定のPWM(pulse width modulation)波形信号を供給する。これに応じて、ソレノイド3b1には、電力供給部3bから所定量の電力が供給され、ソレノイド3b1は、対応する鍵を押下方向に引き下げる。これとは逆に、ある1つの鍵を離鍵方向に駆動させたい場合、駆動制御処理部4aは、その鍵(のソレノイド3b1)の駆動制御を担当する1つの駆動制御部3cをサーチし、サーチした駆動制御部3cを指定し、その鍵のキーナンバおよび駆動オフをバス3e上に送信する(以下、「駆動オフ要求」という)と、その駆動オフ要求は、指定された駆動制御部3cによって受信される。駆動オフ要求を受信した駆動制御部3cは、その駆動オン要求内に記載された鍵のソレノイド3b1に電力が供給されなくなるように、電力供給部3bに対して、PWM(pulse width modulation)波形信号の供給を停止する。これに応じて、ソレノイド3b1には、電力供給部3bから電力が供給されなくなるので、ソレノイド3b1に対する引き下げ動作も停止して、鍵は離鍵方向に引き上げられる。   The drive control unit 3c is controlled by the CPU 4 that functions as the drive control processing unit 4a. Specifically, when it is desired to drive a certain key in the key pressing direction, the drive control processing unit 4a has one drive control unit 3c (four drive controls) in charge of driving control of the key (solenoid 3b1). Search for one of the units 3c, specify the searched drive control unit 3c, and transmit the key number (number given to each key) of the key and drive-on on the bus 3e (hereinafter referred to as “drive”). The request to turn on ”is received by the designated drive control unit 3c. Upon receiving the drive-on request, the drive control unit 3c gives a predetermined PWM (at a predetermined timing) to the power supply unit 3b so that power is supplied to the key solenoid 3b1 described in the drive-on request. pulse width modulation) to supply waveform signals. In response, a predetermined amount of power is supplied to the solenoid 3b1 from the power supply unit 3b, and the solenoid 3b1 pulls down the corresponding key in the pressing direction. On the contrary, when it is desired to drive a certain key in the key release direction, the drive control processing unit 4a searches for one drive control unit 3c responsible for drive control of the key (solenoid 3b1), When the searched drive control unit 3c is designated and the key number and the drive off of the key are transmitted on the bus 3e (hereinafter referred to as “drive off request”), the drive off request is transmitted by the designated drive control unit 3c. Received. The drive control unit 3c that has received the drive-off request sends a PWM (pulse width modulation) waveform signal to the power supply unit 3b so that power is not supplied to the key solenoid 3b1 described in the drive-on request. Stop supplying. Accordingly, no power is supplied to the solenoid 3b1 from the power supply unit 3b, so that the pulling-down operation for the solenoid 3b1 is stopped and the key is pulled up in the key release direction.

なお、電力供給部3bは、ソレノイド3b1の故障(異常発熱など)をハードウェア的に検出し、それを駆動制御部3cに通知するエラー通知機能も備えている。駆動制御部3cは、電力供給部3bからエラー通知が送信されてくると、そのエラー通知を駆動制御処理部4aに転送する。ただし、上記ハードウェア的に検出された故障は、本実施の形態では、故障として検出していない。   The power supply unit 3b also has an error notification function that detects a failure (such as abnormal heat generation) of the solenoid 3b1 in hardware and notifies the drive control unit 3c of the failure. When an error notification is transmitted from the power supply unit 3b, the drive control unit 3c transfers the error notification to the drive control processing unit 4a. However, the failure detected in terms of hardware is not detected as a failure in the present embodiment.

各鍵には、前述のように、1つの鍵スイッチが設けられている。本実施の形態では、鍵スイッチとして、接点時間差タイプの3メイク式タッチレスポンススイッチを採用している。スキャン部3dは、この各鍵スイッチにそれぞれ設けられた3つの接点を所定の時間毎にスキャンし、鍵毎に各接点のオン/オフ状態を検出する。検出した鍵毎の各接点のオン/オフ状態は、バス3eを介して、駆動制御処理部4aに送信される。なお、鍵スイッチのメイク数は、上記3つに限らず、2つでもよいし、4つ以上でもよい。ただし、1つでは、キーオン時のベロシティを検出することができないので、現実的でない。また、本実施の形態では、各鍵の押離鍵状態の検出は、3メイク式タッチレスポンススイッチを用いて離散的に行うようにしたが、これに限らず、たとえば光学的なセンサを用いて、各鍵の非押鍵状態から最深押鍵状態までの全工程を略連続的に行うようにしてもよい。   Each key is provided with one key switch as described above. In this embodiment, a contact time difference type three-make touch response switch is employed as the key switch. The scanning unit 3d scans the three contacts provided in each key switch every predetermined time, and detects the on / off state of each contact for each key. The detected ON / OFF state of each contact for each key is transmitted to the drive control processing unit 4a via the bus 3e. The makeup number of the key switch is not limited to the above three, but may be two, or four or more. However, one cannot be detected because the velocity at the time of key-on cannot be detected. Further, in the present embodiment, detection of the pressed / released state of each key is discretely performed using a 3-make touch response switch. However, the present invention is not limited to this. For example, an optical sensor is used. The entire process from the non-pressed state of each key to the deepest pressed state may be performed substantially continuously.

なお、ソレノイド3b1が鍵を直接的あるいは間接的に駆動する構造には、様々なものが考えられるが、本発明の特徴はその鍵駆動の構造にある訳ではないので、どのような構造のものを採用してもよい。したがって、鍵駆動の構造についての説明は省略する。   Various structures can be conceived for the solenoid 3b1 to drive the key directly or indirectly. However, since the feature of the present invention is not in the structure of the key drive, any structure is possible. May be adopted. Therefore, a description of the key driving structure is omitted.

以上のように構成された電子鍵盤楽器が実行する制御処理を、まずその概要を図3を参照して説明し、次に図4〜図9を参照して詳細に説明する。   The control process executed by the electronic keyboard instrument configured as described above will be described first with reference to FIG. 3 and then in detail with reference to FIGS.

図3は、本実施の形態の電子鍵盤楽器が実行する制御処理を説明するための図である。   FIG. 3 is a diagram for explaining control processing executed by the electronic keyboard instrument of the present embodiment.

本実施の形態の電子鍵盤楽器は、演奏モードとして、自動演奏&自動押鍵モード、自動演奏&非自動押鍵モードおよび手動演奏モードの3種類のモードを備えている。自動演奏&自動押鍵モードは、前記シーケンサ10で楽曲データを自動再生し、この自動再生に合わせて鍵盤3aを自動押鍵するモードであり、自動演奏&非自動押鍵モードは、シーケンサ10で楽曲データを自動再生するが、自動押鍵しないモードであり、手動演奏モードは、楽曲データの自動再生も自動押鍵もしないで、ユーザの押鍵操作のみに応じて楽音を発音するモードである。なお、本実施の形態の電子鍵盤楽器は、自動演奏&非自動押鍵モードが選択されたときは言うに及ばず、自動演奏&自動押鍵モードが選択されたときでも、ユーザの押鍵操作に応じて楽音を発音することができるように構成されている。   The electronic keyboard instrument of the present embodiment has three types of performance modes: automatic performance & automatic key pressing mode, automatic performance & non-automatic key pressing mode, and manual performance mode. The automatic performance & automatic key pressing mode is a mode in which music data is automatically reproduced by the sequencer 10 and the keyboard 3a is automatically depressed in accordance with the automatic reproduction, and the automatic performance & non-automatic key pressing mode is performed by the sequencer 10. The music data is automatically played but not automatically depressed. The manual performance mode is a mode in which a musical sound is generated only in response to a user's key depression operation without automatically reproducing or automatically pressing music data. . The electronic keyboard instrument of the present embodiment is not limited to the case where the automatic performance & non-automatic key pressing mode is selected, but even when the automatic performance & automatic key pressing mode is selected, the user's key pressing operation is performed. It is configured so that a musical tone can be generated according to the sound.

また、本実施の形態の電子鍵盤楽器は、故障検出機能を常時起動し、常に故障を検出している。故障検出機能で検出可能な故障は、実際には多岐に亘るが、本発明の特徴は自動押鍵時の故障検出にあるので、以下、故障検出機能での故障検出として、自動押鍵時の故障検出を中心に説明する。   Further, the electronic keyboard instrument of the present embodiment always activates the failure detection function and always detects failures. Although there are actually a wide variety of failures that can be detected by the failure detection function, the feature of the present invention is the failure detection at the time of automatic key depression. The description will focus on failure detection.

故障検出機能が起動されると、故障検出処理を行うためのアプリケーションソフトウェア(以下、「アプリケーション」と略して言う)4bが起動される。アプリケーション4bは、まず、演奏モードとして、前記自動演奏&自動押鍵モードを選択し、次に、シーケンサ10に対して、所定の楽曲データの再生を指示する。これに応じてシーケンサ10は、指示された楽曲データの再生を開始し、楽曲データの再生に従って、キーオン(このキーオンは、シーケンサ(SEQ)10から出力されたキーオンであるので、以下、「SEQキーオン」という)またはキーオフ(このキーオフは、シーケンサ(SEQ)10から出力されたキーオフであるので、以下、「SEQキーオフ」という)を駆動制御処理部4aに供給する。なお、SEQキーオンおよびSEQキーオフには、少なくとも、音高情報が含まれている。   When the failure detection function is activated, application software (hereinafter abbreviated as “application”) 4b for performing failure detection processing is activated. The application 4b first selects the automatic performance & automatic key pressing mode as the performance mode, and then instructs the sequencer 10 to reproduce predetermined music data. In response to this, the sequencer 10 starts reproduction of the instructed music data, and according to the reproduction of the music data, the key-on (this key-on is the key-on output from the sequencer (SEQ) 10; ) Or key-off (this key-off is a key-off output from the sequencer (SEQ) 10, and hence is referred to as “SEQ key-off” hereinafter) to the drive control processing unit 4 a. Note that the SEQ key-on and SEQ key-off include at least pitch information.

SEQキーオンが供給されると、駆動制御処理部4aは、そのSEQキーオンによって駆動が指示される鍵の駆動オン要求を駆動制御部3cに供給するとともに、そのSEQキーオンによって発音が指示される楽音の発音要求を音源12に供給する。なお、1つのSEQキーオンによって複数のキーオンが同時に指示されることは、通常の自動演奏ではあり得るが、本制御処理は、故障検出機能が起動されたときの自動演奏を問題にしているので、1つのSEQキーオンによって1つのキーオンのみが指示されるものとする。   When the SEQ key-on is supplied, the drive control processing unit 4a supplies a drive-on request for a key instructed to be driven by the SEQ key-on to the drive control unit 3c. The sound generation request is supplied to the sound source 12. In addition, although it is normal normal performance that multiple key-ons are instructed simultaneously by one SEQ key-on, this control processing has a problem with automatic performance when the failure detection function is activated. Only one key-on is instructed by one SEQ key-on.

駆動制御部3cは、前述のように4つ存在するので、駆動制御処理部4aから出力された駆動オン要求を受信するのは、そのうちの1つである。駆動制御処理部4aからは、当該鍵の駆動制御を担当する駆動制御部3cのアドレスを付けた駆動オン要求がバス3e上に供給されるので、駆動制御部3cは、バス3e上のデータを常時チェックし、自分宛のデータがバス3e上に供給されているときには、そのデータを取り込む。これにより、駆動オン要求は、供給対象となる1つ駆動制御部3cに供給される。なお、このようなバス3e上のデータの送受信方法は、駆動制御処理部4aと駆動制御部3cとの間だけでなく、バス3eに接続されているすべてのデバイスに共通するものである。   Since there are four drive control units 3c as described above, one of them receives the drive-on request output from the drive control processing unit 4a. From the drive control processing unit 4a, a drive-on request with the address of the drive control unit 3c in charge of driving control of the key is supplied on the bus 3e, so that the drive control unit 3c receives the data on the bus 3e. The data is always checked, and when data addressed to itself is supplied on the bus 3e, the data is fetched. As a result, the drive-on request is supplied to one drive control unit 3c to be supplied. Note that such a data transmission / reception method on the bus 3e is common not only between the drive control processing unit 4a and the drive control unit 3c but also to all devices connected to the bus 3e.

駆動オン要求を受信した駆動制御部3cは、その駆動制御部3cに接続された電力供給部3bの当該鍵に対応する回路にPWM波形信号を供給する。これに応じて、電力供給部3bからは、当該鍵に対応するソレノイドに電力が供給され、当該鍵は押下される。当該鍵が押下されると、当該鍵に設けられた鍵スイッチの3つの接点が、時間差を持って順にオンされて行く。この3つの接点を、オンされる順に、第1接点、第2接点および第3接点という。スキャン部3dは、鍵スイッチの3つの接点をスキャンし、各接点のオン/オフ状態を検出して、接点毎にそのオン/オフ状態を駆動制御処理部4aに供給する。駆動制御処理部4aは、スキャン部3dから供給された接点毎のオン/オフ状態を受信し、接点毎のオン/オフ状態を格納するために前記RAM6の所定位置に確保された接点状態格納領域(図示せず)に格納する。以下、説明の都合上、第1接点がオン状態であることを「ダンパリリース」と言い、第2接点または第3接点がオン状態であることを「鍵盤キーオン」と言う。   The drive control unit 3c that has received the drive-on request supplies a PWM waveform signal to the circuit corresponding to the key of the power supply unit 3b connected to the drive control unit 3c. In response to this, power is supplied from the power supply unit 3b to the solenoid corresponding to the key, and the key is pressed. When the key is pressed, the three contacts of the key switch provided on the key are sequentially turned on with a time difference. These three contacts are referred to as a first contact, a second contact, and a third contact in the order in which they are turned on. The scanning unit 3d scans the three contacts of the key switch, detects the on / off state of each contact, and supplies the on / off state to the drive control processing unit 4a for each contact. The drive control processing unit 4a receives the ON / OFF state for each contact supplied from the scanning unit 3d, and stores the contact state storage area secured at a predetermined position in the RAM 6 to store the ON / OFF state for each contact. (Not shown). Hereinafter, for convenience of explanation, the first contact is in the on state is referred to as “damper release”, and the second contact or the third contact is in the on state is referred to as “keyboard key on”.

音源12は、発音要求を受信すると、その発音要求に応じた楽音信号(オーディオ信号)を生成して、サウンドシステム13に出力する。その結果、サウンドシステム13からは、SEQキーオンによって要求された楽音が発音される。   When receiving the sound generation request, the sound source 12 generates a musical sound signal (audio signal) corresponding to the sound generation request and outputs it to the sound system 13. As a result, the sound requested by the SEQ key-on is generated from the sound system 13.

一方、SEQキーオフが供給されると、駆動制御処理部4aは、そのSEQキーオフによって駆動停止が指示される鍵の駆動オフ要求を駆動制御部3cに供給するとともに、そのSEQキーオフによって消音が指示される楽音の消音要求を音源12に供給する。   On the other hand, when the SEQ key-off is supplied, the drive control processing unit 4a supplies the drive control unit 3c with a key drive-off request instructed to stop driving by the SEQ key-off, and the mute is instructed by the SEQ key-off. A request to mute the musical sound is supplied to the sound source 12.

駆動オフ要求を受信した駆動制御部3cは、その駆動制御部3cに接続された電力供給部3bの当該鍵に対応する回路に供給されているPWM波形信号の供給を徐々に停止する。これに応じて、電力供給部3bからは、当該鍵に対応するソレノイドへの電力の供給は徐々に停止され、当該鍵は離鍵方向に引き戻される。当該鍵が離鍵方向に引き戻されると、当該鍵に設けられたスイッチの3つの接点が、時間差を持って、オンされた順序と逆の順序で、つまり、第3接点、第2接点および第1接点の順序でオフされて行く。スキャン部3dは、鍵スイッチの3つの接点をスキャンし、各接点のオン/オフ状態を検出して、接点毎にそのオン/オフ状態を駆動制御処理部4aに供給する。駆動制御処理部4aは、スキャン部3dから供給された接点毎のオン/オフ状態を受信し、前記接点状態格納領域に格納する。以下、説明の都合上、第1接点がオフ状態であることを「ダンパホールド」と言い、第2接点または第3接点がオフ状態であることを「鍵盤キーオフ」と言う。   The drive control unit 3c that has received the drive-off request gradually stops the supply of the PWM waveform signal supplied to the circuit corresponding to the key of the power supply unit 3b connected to the drive control unit 3c. In response to this, the supply of power to the solenoid corresponding to the key is gradually stopped from the power supply unit 3b, and the key is pulled back in the key release direction. When the key is pulled back in the key release direction, the three contacts of the switch provided on the key have a time difference and are in the reverse order of turn-on, that is, the third contact, the second contact, and the second contact. It is turned off in the order of one contact. The scanning unit 3d scans the three contacts of the key switch, detects the on / off state of each contact, and supplies the on / off state to the drive control processing unit 4a for each contact. The drive control processing unit 4a receives the ON / OFF state for each contact supplied from the scanning unit 3d and stores it in the contact state storage area. Hereinafter, for convenience of explanation, the first contact is in the off state is referred to as “damper hold”, and the second contact or the third contact is in the off state is referred to as “keyboard key off”.

音源12は、消音要求を受信すると、その消音要求に応じた楽音信号を生成して、サウンドシステム13に出力する。その結果、サウンドシステム13からは、SEQキーオンによって要求されて発音中の楽音が消音される。   When the sound source 12 receives the mute request, the sound source 12 generates a musical sound signal corresponding to the mute request and outputs it to the sound system 13. As a result, the sound that is being generated as requested by the SEQ key-on is muted from the sound system 13.

駆動制御処理部4aは、タイマ7を用いて、駆動オン要求を出力してから、この駆動オン要求に応じたダンパリリースを受信するまでの時間を計時し、この計時時間が所定のタイムアウト時間(以下、「第1のタイムアウト時間」という)を超えたときには、何らかの故障が発生したと判断し、エラー通知を前記アプリケーション4bに行う。同様にして、駆動制御処理部4aは、タイマ7を用いて、駆動オフ要求を出力してから、この駆動オフ要求に応じた鍵盤キーオフを受信するまでの時間を計時し、この計時時間が所定のタイムアウト時間(以下、「第2のタイムアウト時間」という)を超えたときには、何らかの故障が発生したと判断し、エラー通知をアプリケーション4bに行う。   The drive control processing unit 4a uses the timer 7 to measure the time from the output of the drive-on request to the reception of the damper release corresponding to the drive-on request, and the time measured is a predetermined timeout period ( Hereinafter, it is determined that some failure has occurred, and an error notification is sent to the application 4b. Similarly, the drive control processing unit 4a uses the timer 7 to count the time from when the drive-off request is output until the keyboard key-off corresponding to the drive-off request is received. When a time-out time (hereinafter referred to as “second time-out time”) is exceeded, it is determined that some failure has occurred, and an error notification is sent to the application 4b.

駆動制御処理部4aはさらに、駆動オン要求を出力した後、スキャン部3dから得られた、当該駆動オン要求に対応する鍵スイッチの各接点のオン/オフ状態に応じて、あるいは、駆動オフ要求を出力した後、スキャン部3dから得られた、当該駆動オフ要求に対応する鍵スイッチの各接点のオン/オフ状態に応じて、何らかの故障が発生したかどうかを判別し、何らかの故障が発生したと判別されたときには、エラー通知をアプリケーション4bに行う。   The drive control processing unit 4a further outputs a drive-on request and then obtains a drive-off request according to the on / off state of each contact of the key switch corresponding to the drive-on request obtained from the scan unit 3d. Is output, and it is determined whether or not any failure has occurred according to the on / off state of each contact of the key switch corresponding to the drive-off request obtained from the scanning unit 3d. Is determined, error notification is sent to the application 4b.

なお、演奏モードとして、前記自動演奏&非自動押鍵モードが選択されたときには、シーケンサ10は、楽曲データを再生して、SEQキーオン/SEQキーオフを生成する代わりに、発音要求/消音要求を生成し、これを直接音源12に出力するようにしている。もちろん、これに限らず、自動演奏&非自動押鍵モードが選択されたときでも、シーケンサ10は、SEQキーオン/SEQキーオフを生成して、駆動制御処理部4aに出力し、駆動制御処理部4aを介して、発音要求/消音要求が音源12に供給されるようにしてもよい。   When the automatic performance & non-automatic key pressing mode is selected as the performance mode, the sequencer 10 reproduces the music data and generates a sound generation request / mute request instead of generating a SEQ key on / SEQ key off. This is output directly to the sound source 12. Of course, the present invention is not limited to this. Even when the automatic performance & non-automatic key pressing mode is selected, the sequencer 10 generates SEQ key-on / SEQ key-off and outputs it to the drive control processing unit 4a. The sound generation request / mute request may be supplied to the sound source 12 via

次に、この制御処理を詳細に説明する。   Next, this control process will be described in detail.

図4は、本実施の形態の電子鍵盤楽器、特にCPU4が実行する鍵状態監視処理の手順を示すフローチャートであり、本鍵状態監視処理は、本実施の形態では、前記アプリケーション4bには含まれないものとする。また、本鍵状態監視処理は、故障検出機能が起動されたときに実行される故障検出処理のうちの一部処理である。   FIG. 4 is a flowchart showing the procedure of the key state monitoring process executed by the electronic keyboard instrument of the present embodiment, particularly the CPU 4. The key state monitoring process is included in the application 4b in the present embodiment. Make it not exist. The key state monitoring process is a part of the failure detection process that is executed when the failure detection function is activated.

本鍵状態監視処理は、主として、
(1)初期化処理(ステップS1)
(2)状態スキャン処理(ステップS2)
(3)移行すべき制御処理の決定処理(ステップS3)
(4)駆動オン中制御処理(ステップS4)
(5)保持中制御処理(ステップS5)
(6)駆動オフ中制御処理(ステップS6)
(7)デフォルト制御処理(ステップS7)
を行う。なお、上記(2)〜(7)の処理(ただし、(4)〜(7)の処理については、いずれか1つのみ)は、鍵毎にすべての鍵に亘って行われる。
This key status monitoring process is mainly
(1) Initialization process (step S1)
(2) Status scan process (step S2)
(3) Control process determination process to be transferred (step S3)
(4) Control process during drive on (step S4)
(5) Holding control process (step S5)
(6) Control processing during drive off (step S6)
(7) Default control process (step S7)
I do. Note that the processes (2) to (7) described above (however, only one of the processes (4) to (7)) is performed for every key.

以下、本鍵状態監視処理を上記(1)〜(7)の処理毎に詳細に説明するが、その前に、該各処理(2)〜(7)で使用するレジスタおよびフラグについて説明する。   Hereinafter, the key state monitoring process will be described in detail for each of the processes (1) to (7). Before that, the registers and flags used in the processes (2) to (7) will be described.

i:鍵盤3aのいずれかの鍵を示すインデックスである。鍵盤3aの全鍵数は、前述のように88鍵としており、各鍵には、鍵盤3aに向かって左端の鍵から順に1から88までの整数値が付与されているので、インデックスiも、1から88までのいずれかの整数値を採り得る。   i: An index indicating any key of the keyboard 3a. The total number of keys of the keyboard 3a is 88 keys as described above, and each key is given an integer value from 1 to 88 in order from the leftmost key toward the keyboard 3a. Any integer value from 1 to 88 can be taken.

WKON(i):i番目の鍵が駆動オン中であるときにセット(“1”)され、駆動オン中でないときにリセット(“0”)されるフラグである。ここで、「駆動オン中」とは、駆動オン要求が出力されてから、当該鍵スイッチの第3接点のオンイベントが発生するまでを言う。なお、オンイベントとは、当該接点がオフ状態からオン状態に切り替わったときに、スキャン部3dが発生するイベントである。   WKON (i): A flag that is set (“1”) when the i-th key is driving on and is reset (“0”) when the driving is not on. Here, “driving on” means from the output of the driving on request to the occurrence of an on event of the third contact of the key switch. The on event is an event generated by the scanning unit 3d when the contact is switched from the off state to the on state.

KEEP(i):i番目の鍵に対応するソレノイドが駆動力を保持中であるときにセットされ、駆動力を保持中でないときにリセットされるフラグである。ここで、「駆動力を保持中」とは、当該鍵スイッチの第3接点のオンイベントが発生してから、駆動オフ要求が出力されるまでを言う。   KEEP (i): A flag that is set when the solenoid corresponding to the i-th key is holding the driving force and is reset when the driving force is not being held. Here, “holding the driving force” refers to the period from when the ON event of the third contact of the key switch occurs until the drive OFF request is output.

WKOF(i):i番目の鍵が駆動オフ中であるときにセットされ、駆動オフ中でないときにリセットされるフラグである。ここで、「駆動オフ中」とは、駆動オフ要求が出力されてから、当該鍵スイッチの第1接点のオフイベントが発生するまでを言う。なお、オフイベントとは、当該接点がオン状態からオフ状態に切り替わったときに、スキャン部3dが発生するイベントである。   WKOF (i): a flag that is set when the i-th key is being driven off and reset when the driving is not being turned off. Here, “being driven off” refers to a period from when a drive-off request is output until an off event of the first contact of the key switch occurs. The off event is an event generated by the scanning unit 3d when the contact is switched from the on state to the off state.

DFT(i):デフォルト状態のときにセットされ、デフォルト状態でないときにリセットされるフラグである。ここで、「デフォルト状態」とは、駆動オン要求も駆動オフ要求も出力されておらず、当該鍵スイッチのいずれの接点のオンイベントもオフイベントも発生しない状態を言う。   DFT (i): A flag that is set when in the default state and reset when not in the default state. Here, the “default state” refers to a state in which neither a drive-on request nor a drive-off request is output and an on event or an off event of any contact of the key switch does not occur.

MVK(i):駆動すべきi番目の鍵に付与されたキーナンバ(KN)を格納するレジスタである。なお、本実施の形態では、インデックスiとキーナンバは同一であるので、このレジスタを設けなくても、本鍵状態監視処理を行うことはできるが、この処理を簡単化するために、このレジスタを設けている。   MVK (i): A register for storing a key number (KN) assigned to the i-th key to be driven. In this embodiment, since the index i and the key number are the same, this key state monitoring process can be performed without providing this register, but in order to simplify this process, this register is Provided.

FON(i):i番目の鍵の鍵スイッチの第1接点のオン状態を示すフラグであり、駆動オン要求が出力されてから、当該鍵スイッチの第1接点のオンイベントが発生したときにセットされ、当該鍵スイッチの第3接点のオンイベントが発生したときにリセットされる。   FON (i): a flag indicating the ON state of the first contact of the key switch of the i-th key, and is set when an ON event of the first contact of the key switch occurs after the drive ON request is output And reset when an on event of the third contact of the key switch occurs.

SOF(i):i番目の鍵の鍵スイッチの第2接点のオフ状態を示すフラグであり、駆動オフ要求が出力されてから、当該鍵スイッチの第2接点のオフイベントが発生したときにセットされ、当該鍵スイッチの第1接点のオフイベントが発生したときにリセットされる。   SOF (i): a flag indicating the off state of the second contact of the key switch of the i-th key, and is set when an off event of the second contact of the key switch occurs after the drive-off request is output And reset when an off event of the first contact of the key switch occurs.

TOON(i):i番目の鍵に対する駆動オン要求が出力されたときに、前記第1のタイムアウト時間T0に対応するカウント値がセットされるレジスタであり、セットされたカウント値は、その後、当該鍵スイッチの第3接点のオンイベントが発生するまで、所定時間毎に減算される。   TOON (i): a register in which a count value corresponding to the first timeout time T0 is set when a drive-on request for the i-th key is output, and the set count value is The value is subtracted every predetermined time until an ON event of the third contact of the key switch occurs.

TOOF(i):i番目の鍵に対する駆動オフ要求が出力されたときに、前記第2のタイムアウト時間T1に対応するカウント値がセットされるレジスタであり、セットされたカウント値は、その後、当該鍵スイッチの第1接点のオフイベントが発生するまで、所定時間毎に減算される。   TOOF (i): a register in which a count value corresponding to the second timeout time T1 is set when a drive-off request for the i-th key is output, and the set count value is It is subtracted every predetermined time until an off event of the first contact of the key switch occurs.

ER(i):i番目の鍵に対応する何らかのデバイスに何らかの故障が検出されたときにセットされ、それ以外のときにリセットされるフラグである。   ER (i): A flag that is set when any failure is detected in any device corresponding to the i-th key, and reset at other times.

US(i):i番目の鍵に想定外動作が検出されたときにセットされ、それ以外のときにリセットされるフラグである。   US (i): A flag that is set when an unexpected operation is detected for the i-th key and reset at other times.

図4に戻り、処理が本鍵状態監視処理に移行すると、駆動制御処理部4aは、前記(1)の初期化処理を行う。この(1)初期化処理では、駆動制御処理部4aは、RAM6をクリアしたり、各種パラメータの値をデフォルト値に設定したりする等の初期設定を行う。   Returning to FIG. 4, when the process shifts to the real key state monitoring process, the drive control processing unit 4a performs the initialization process (1). In this (1) initialization process, the drive control processing unit 4a performs initial settings such as clearing the RAM 6 and setting various parameter values to default values.

次に駆動制御処理部4aは、処理を前記(2)の状態スキャン処理に進める。この(2)状態スキャン処理では、スキャン部3dに対して、現在のインデックスiによって示される鍵スイッチの前記各接点のオン/オフ状態のスキャンを依頼し、これに応じてスキャン部3dから出力されてきた各接点のオン/オフ状態を前記接点状態格納領域に格納する。   Next, the drive control processing unit 4a advances the process to the state scan process (2). In this (2) state scanning process, the scanning unit 3d is requested to scan the on / off state of each contact point of the key switch indicated by the current index i, and is output from the scanning unit 3d accordingly. The ON / OFF state of each contact is stored in the contact state storage area.

次に駆動制御処理部4aは、処理を前記(3)の移行すべき制御処理の決定処理に進める。この(3)移行すべき制御処理の決定処理では、まず駆動制御処理部4aは、現在のインデックスiによって示される、4つのフラグWKON(i),KEEP(i),WKOF(i)およびDFT(i)のうち、セット状態(“1”)のフラグを検出する。この4つのフラグWKON(i),KEEP(i),WKOF(i)およびDFT(i)は、いずれか1つのみセット状態であり、残りの3つはリセット状態になっている。つまり、複数のフラグが同時にセット状態になることのないように、各フラグのセット/リセット状態が制御されている。なお、この4つのフラグWKON(i),KEEP(i),WKOF(i)およびDFT(i)のセット/リセットは、前記(4)〜(7)の処理中で行われる。次に駆動制御処理部4aは、検出されたセット状態のフラグが示す制御処理へ処理を進める。具体的には、フラグWKON(i)がセット状態であれば、処理を前記(4)の駆動オン中制御処理へ進め、フラグKEEP(i)がセット状態であれば、処理を前記(5)の保持中制御処理へ進め、フラグWKOF(i)がセット状態であれば、処理を前記(6)の駆動オフ中制御処理へ進め、フラグDFT(i)がセット状態であれば、処理を前記(7)のデフォルト制御処理へ進める。   Next, the drive control processing unit 4a advances the process to the determination process of the control process to be transferred in (3). In the determination process of the control process to be transferred (3), first, the drive control processing unit 4a first determines the four flags WKON (i), KEEP (i), WKOF (i) and DFT ( The flag in the set state (“1”) is detected in i). Only one of the four flags WKON (i), KEEP (i), WKOF (i), and DFT (i) is in a set state, and the remaining three are in a reset state. That is, the set / reset state of each flag is controlled so that a plurality of flags are not set at the same time. The four flags WKON (i), KEEP (i), WKOF (i) and DFT (i) are set / reset during the processes (4) to (7). Next, the drive control processing unit 4a advances the processing to the control processing indicated by the detected set state flag. Specifically, if the flag WKON (i) is in the set state, the process proceeds to the drive-on control process in (4), and if the flag KEEP (i) is in the set state, the process is performed in the above (5). If the flag WKOF (i) is in the set state, the process proceeds to the drive-off control process in (6). If the flag DFT (i) is in the set state, the process is The process proceeds to the default control process (7).

そして、前記(2)〜(7)の処理が終了すると、インデックスiを“1”進め、インデックスiが鍵盤3aの全鍵数を超えるまで、このインデックスiに対して前記(2)〜(7)の処理を行い、インデックスiが鍵盤3aの全鍵数を超えると、インデックスiを初期値(“1”)に戻した後、このインデックスiに対して前記(2)〜(7)の処理を行う。   When the processing of (2) to (7) is completed, the index i is advanced by “1”, and the index i is increased to (2) to (7) until the index i exceeds the total number of keys of the keyboard 3a. When the index i exceeds the total number of keys of the keyboard 3a, the index i is returned to the initial value ("1"), and then the processes (2) to (7) are performed on the index i. I do.

なお、鍵毎、つまりインデックスi毎に、前記(2)の処理から前記(3)の処理を通って前記(4)〜(7)のいずれかの処理を終了するまでの時間を一定(たとえば、0.1msec)にするために、前記(2)状態スキャン処理で時間調整を行うようにしている。つまり、前記ステップS2を開始する前に前記タイマ7の値を取得し、次にステップS10からステップS2に戻ってきたときに、再度タイマ7の値を取得する。この取得したタイマ7の値の差分は通常、0.1msecより短いので、この差分が0.1msecになるまで待ってから、駆動制御処理部4aは、ステップS2,つまり(2)状態スキャン処理を開始する。このように、鍵状態監視処理の1回のループに費やす時間を鍵毎に一定にするようにしたのは、後述するように、前記レジスタTOON(i)およびTOOF(i)のデクリメントをそれぞれ前記(4)駆動オン中制御処理内および(6)駆動オフ中制御処理内で行っているからである。もちろん、レジスタTOON(i)およびTOOF(i)のデクリメントを、タイマ7が0.1msec毎に発生するタイマ割り込みに応じて起動されるタイマ割り込み処理内で行うようにすれば、(2)状態スキャン処理での時間調整は必要ない。また、時間調整は、(2)状態スキャン処理で行う必然性はなく、前記(3)移行すべき制御処理の決定処理中で行いようにしても、前記ステップS8の直前または直後の適当な位置で行うようにすればよい。   For each key, that is, for each index i, the time from the process (2) through the process (3) to the end of any one of the processes (4) to (7) is constant (for example, , 0.1 msec), the time adjustment is performed in the (2) state scanning process. That is, the value of the timer 7 is acquired before starting the step S2, and the value of the timer 7 is acquired again when the process returns from step S10 to step S2. Since the difference between the acquired values of the timer 7 is usually shorter than 0.1 msec, the drive control processing unit 4a waits until the difference becomes 0.1 msec, and the drive control processing unit 4a performs step S2, that is, (2) the state scanning process. Start. In this way, the time spent for one loop of the key status monitoring process is made constant for each key because the decrement of the registers TOON (i) and TOOF (i) is performed as described later. This is because it is performed in (4) control processing during drive on and (6) control processing during drive off. Of course, if the registers TOON (i) and TOOF (i) are decremented in the timer interrupt process that is started in response to the timer interrupt generated every 0.1 msec, (2) status scan No time adjustment is required for processing. Further, the time adjustment is not necessarily performed in (2) the state scanning process, and even if it is performed in the process of determining the control process to be shifted to (3), the time adjustment is performed at an appropriate position immediately before or immediately after step S8. You just have to do it.

図5は、前記(4)の駆動オン中制御処理の詳細な手順を示すフローチャートである。   FIG. 5 is a flowchart showing a detailed procedure of the control process during drive on (4).

この(4)駆動オン中制御処理は、主として、
(11)通常処理
(12)ダンパリリース・ノーリアクションの検出および通知処理(図9(a)参照)
(13)キーオン・ノーリアクションの検出および通知処理(図9(b)参照)
(14)ソレノイド駆動停止の検出および通知処理(図9(c)参照)
を行う。
This (4) control process during driving on is mainly performed.
(11) Normal processing (12) Damper release / no-reaction detection and notification processing (see FIG. 9A)
(13) Key-on / no-reaction detection and notification processing (see FIG. 9B)
(14) Solenoid drive stop detection and notification processing (see FIG. 9C)
I do.

上記(11)の通常処理は、図9(a)の駆動ON(=駆動オン要求)からKeyON(=鍵盤キーオン)までの破線で示されるように、駆動オン要求が出力されてから前記第1のタイムアウト時間T0が経過するまでに、第1接点から第3接点まで順次オン状態に切り替わって行くときの処理である。この(11)通常処理では、駆動制御処理部4aは、第1接点のオンイベントが検出されるまでは、レジスタTOON(i)のデクリメントのみを行い(ステップS11→S12→S24→S17→リターン)、第1接点のオンイベントが検出されると、フラグFON(i)をセットした(ステップS11→S23)後、レジスタTOON(i)のデクリメントを行う(ステップS24→S17→リターン)。次に駆動制御処理部4aは、第3接点のオンイベントがあるまで、レジスタTOON(i)のデクリメントのみを行い(ステップS11→S12→S13→S15→S16→S17→リターン)、第3接点のオンイベントが検出されると、フラグKEEP(i)をセットし、WKON(i)およびフラグFON(i)をリセットし、レジスタTOON(i)をリセットする(ステップS11→S12→S13→S14)。   In the normal processing of (11), as indicated by a broken line from drive ON (= drive on request) to Key ON (= key on) in FIG. This is processing when the on-state is sequentially switched from the first contact point to the third contact point until the time-out time T0 elapses. In this (11) normal process, the drive control processing unit 4a only decrements the register TOON (i) until the first contact ON event is detected (step S11 → S12 → S24 → S17 → return). When the ON event of the first contact is detected, the flag FON (i) is set (step S11 → S23), and then the register TOON (i) is decremented (step S24 → S17 → return). Next, the drive control processing unit 4a only decrements the register TOON (i) until there is an ON event of the third contact (steps S11 → S12 → S13 → S15 → S16 → S17 → return), and the third contact When an on event is detected, flag KEEP (i) is set, WKON (i) and flag FON (i) are reset, and register TOON (i) is reset (steps S11 → S12 → S13 → S14).

前記(12)のダンパリリース・ノーリアクションの検出および通知処理は、図9(a)に示すように、駆動オン要求が出力されてから、第1接点のオンイベント(=ダンパリリース)が検出されずに、第1のタイムアウト時間T0が経過したときの処理である。この(12)ダンパリリース・ノーリアクションの検出および通知処理では、駆動制御処理部4aは、第1接点のオンイベントが検出されるまで、レジスタTOON(i)のデクリメントのみを行う(ステップS11→S12→S24→S17→リターン)が、レジスタTOON(i)の値が負値になっても、第1接点のオンイベントは検出されないので、つまり第1のタイムアウト時間T0が経過しても、第1接点のオンイベントは検出されないので、レジスタMVK(i)に格納されているキーナンバ(KN)に対応するソレノイドの駆動を停止させるように、駆動制御部3cに駆動オフ要求を出力し(ステップS25)、アプリケーション4bに「ダンパリリース・ノーリアクション」を通知する(ステップS26)。さらに、フラグER(i)およびDFT(i)をセットし、フラグWKON(i)をリセットする(ステップS20)。このとき考えられる故障の原因としては、「ソレノイド3b1が全く作動しない」あるいは「第1接点の接点不良」を挙げることができる。   In the damper release / no-reaction detection and notification process of (12), as shown in FIG. 9A, after the drive-on request is output, the on-event (= damper release) of the first contact is detected. In other words, this is processing when the first timeout time T0 has elapsed. In this (12) damper release / no-reaction detection and notification process, the drive control processing unit 4a only decrements the register TOON (i) until an ON event of the first contact is detected (steps S11 → S12). → S24 → S17 → Return), even if the value of the register TOON (i) becomes negative, the first contact ON event is not detected. That is, even if the first timeout time T0 has elapsed, the first Since the contact ON event is not detected, a drive OFF request is output to the drive control unit 3c so as to stop the drive of the solenoid corresponding to the key number (KN) stored in the register MVK (i) (step S25). Then, “damper release no reaction” is notified to the application 4b (step S26). Further, the flags ER (i) and DFT (i) are set, and the flag WKON (i) is reset (step S20). Possible causes of the failure at this time include “the solenoid 3b1 does not operate at all” or “the contact failure of the first contact”.

前記(13)のキーオン・ノーリアクションの検出および通知処理は、図9(b)に示すように、駆動オン要求が出力されてから、第1接点のオンイベントは検出されるものの、第3接点のオンイベント(=鍵盤キーオン)が検出されずに、第1のタイムアウト時間T0が経過したときの処理である。この(13)キーオン・ノーリアクションの検出および通知処理では、ソレノイド3b1は、第1接点のオンイベントが検出されるまで、レジスタTOON(i)のデクリメントのみを行い(ステップS11→S12→S24→S17→リターン)、第1接点のオンイベントが検出されると、フラグFON(i)をセットした(ステップS11→S23)後、レジスタTOON(i)のデクリメントを行う(ステップS24→S17→リターン)。そして、レジスタTOON(i)の値が負値になっても、第3接点のオンイベントは検出されないので、つまり第1のタイムアウト時間T0が経過しても、第3接点のオンイベントは検出されないので、駆動制御処理部4aは、レジスタMVK(i)に格納されているキーナンバ(KN)に対応するソレノイドの駆動を停止させるように、駆動制御部3cに駆動オフ要求を出力し(ステップS18)、アプリケーション4bに「キーオン・ノーリアクション」を通知する(ステップS19)。さらに、前記ステップS20の処理を行う。このとき考えられる故障の原因としては、「ソレノイド3b1の推力が低下し、鍵盤キーオンに至るまでの押鍵ができない」あるいは「第2接点または第3接点の接点不良」を挙げることができる。   As shown in FIG. 9B, the key-on / no-reaction detection and notification process of (13) is performed with the third contact although the on-event of the first contact is detected after the drive-on request is output. This is a process when the first time-out time T0 has elapsed without detecting an on event (= key on). In this (13) key-on / no-reaction detection and notification process, the solenoid 3b1 only decrements the register TOON (i) until an on-event of the first contact is detected (steps S11 → S12 → S24 → S17). When the ON event of the first contact is detected, the flag FON (i) is set (step S11 → S23), and then the register TOON (i) is decremented (step S24 → S17 → return). Even if the value of the register TOON (i) becomes a negative value, the third contact ON event is not detected. That is, even if the first timeout time T0 has elapsed, the third contact ON event is not detected. Therefore, the drive control processing unit 4a outputs a drive off request to the drive control unit 3c so as to stop the drive of the solenoid corresponding to the key number (KN) stored in the register MVK (i) (step S18). The application 4b is notified of “key-on no-reaction” (step S19). Further, the process of step S20 is performed. Possible causes of the failure at this time include “cannot press the key until the solenoid 3b1 thrust decreases and the key is turned on” or “the second contact or the third contact is defective”.

前記(14)のソレノイド駆動停止の検出および通知処理は、図9(c)に示すように、駆動オン要求が出力されてから、第1接点のオンイベントは検出されるものの、第3接点のオンイベントが検出されずに、第1接点のオフイベント(=ダンパホールド)が検出されたときの処理である。この(14)ソレノイド駆動停止の検出および通知処理では、駆動制御処理部4aは、第1接点のオンイベントが検出されるまで、レジスタTOON(i)のデクリメントのみを行い(ステップS11→S12→S24→S17→リターン)、第1接点のオンイベントが検出されると、フラグFON(i)をセットした(ステップS11→S23)後、レジスタTOON(i)のデクリメントを行う(ステップS24→S17→リターン)。そして、第1接点のオフイベントが検出されるので、駆動制御処理部4aは、レジスタMVK(i)に格納されているキーナンバ(KN)に対応するソレノイドの駆動を停止させるように、駆動制御部3cに駆動オフ要求を出力し(ステップS21)、アプリケーション4bに「ソレノイド駆動停止」を通知する(ステップS22)。さらに、前記ステップS20の処理を行う。このとき考えられる故障の原因としては、「ソレノイド3b1の駆動が突然中断した」あるいは「ユーザが強制的に当該鍵を離鍵方向に戻した」を挙げることができる。   As shown in FIG. 9C, the solenoid drive stop detection and notification process (14) is performed after the first contact ON event is detected after the drive ON request is output. This is processing when an off event (= damper hold) of the first contact is detected without detecting an on event. In this (14) solenoid drive stop detection and notification process, the drive control processing unit 4a only decrements the register TOON (i) until an ON event of the first contact is detected (steps S11 → S12 → S24). → S17 → Return) When the ON event of the first contact is detected, the flag FON (i) is set (Step S11 → S23), and then the register TOON (i) is decremented (Step S24 → S17 → Return) ). Then, since the off event of the first contact is detected, the drive control processing unit 4a causes the drive control unit to stop driving the solenoid corresponding to the key number (KN) stored in the register MVK (i). A drive-off request is output to 3c (step S21), and the application 4b is notified of “solenoid drive stop” (step S22). Further, the process of step S20 is performed. Possible causes of the failure at this time include “the drive of the solenoid 3b1 has been suddenly interrupted” or “the user has forcibly returned the key to the key release direction”.

図6は、前記(5)の保持中制御処理の詳細な手順を示すフローチャートである。   FIG. 6 is a flowchart showing a detailed procedure of the holding control process (5).

この(5)保持中制御処理は、主として、
(21)通常処理
(22)ソレノイド駆動停止の検出および通知処理(図9(d)参照)
を行う。
This (5) holding control process mainly includes
(21) Normal process (22) Solenoid drive stop detection and notification process (see FIG. 9D)
I do.

上記(21)の通常処理は、図9(a)のKeyON(=鍵盤キーオン)から駆動OFF(=駆動オフ要求)までの破線で示されるように、その間、第3接点のオン状態が継続するときの処理である。この(21)通常処理では、駆動制御処理部4aは、SEQキーオフが出力されるまで、第2接点のオフイベントの発生を監視する(ステップS31→S34→リターン)。しかし第2接点のオフイベントは検出されずに、SEQキーオフが出力されるので、駆動制御処理部4aは、レジスタMVK(i)に格納されているキーナンバ(KN)に対応するソレノイドの駆動を停止させるように、駆動制御部3cに駆動オフ要求を出力し(ステップS31→S32)、フラグWKOF(i)をセットし、フラグKEEP(i)をリセットし、レジスタTOOF(i)に第2のタイムアウト時間T1に対応するカウント値をセットする(ステップS33)。   In the normal process of (21), the third contact is kept on during that time as shown by the broken line from KeyON (= key on) to drive OFF (= drive-off request) in FIG. 9 (a). Process. In this (21) normal process, the drive control processing unit 4a monitors the occurrence of the off event of the second contact until the SEQ key-off is output (step S31 → S34 → return). However, since the OFF event of the second contact is not detected and SEQ key-off is output, the drive control processing unit 4a stops driving the solenoid corresponding to the key number (KN) stored in the register MVK (i). So as to output a drive-off request to the drive control unit 3c (step S31 → S32), set the flag WKOF (i), reset the flag KEEP (i), and set the second timeout in the register TOOF (i). A count value corresponding to the time T1 is set (step S33).

前記(22)のソレノイド駆動停止の検出および通知処理は、図9(d)に示すように、KeyON(=鍵盤キーオン)から駆動OFF(=駆動オフ要求)までは、第3接点のオン状態が継続していなければならないのに、その間に、第2接点のオフイベントが検出されたときの処理である。この(22)ソレノイド駆動停止の検出および通知処理では、駆動制御処理部4aは、SEQキーオフが出力されるまで、第2接点のオフイベントの発生を監視する(ステップS31→S34→リターン)。しかしSEQキーオフが出力される前に、第2接点のオフイベントが検出されるので、駆動制御処理部4aは、レジスタMVK(i)に格納されているキーナンバ(KN)に対応するソレノイドの駆動を停止させるように、駆動制御部3cに駆動オフ要求を出力し(ステップS35)、アプリケーション4bに「ソレノイド駆動停止」を通知し(ステップS36)、フラグER(i)およびDFT(i)をセットし、フラグKEEP(i)をリセットする(ステップS37)。このとき考えられる故障の原因としては、「ソレノイド3b1の駆動が突然中断した」あるいは「ユーザが強制的に当該鍵を離鍵方向に戻した」を挙げることができる。   In the solenoid drive stop detection and notification process (22), the third contact is in the ON state from KeyON (= key on) to drive OFF (= drive-off request) as shown in FIG. 9 (d). This is a process when an off event of the second contact is detected during the period that must be continued. In this (22) solenoid drive stop detection and notification process, the drive control processing unit 4a monitors the occurrence of the off event of the second contact until the SEQ key-off is output (step S31 → S34 → return). However, since the OFF event of the second contact is detected before the SEQ key-off is output, the drive control processing unit 4a drives the solenoid corresponding to the key number (KN) stored in the register MVK (i). A drive-off request is output to the drive controller 3c so as to stop (step S35), the application 4b is notified of “solenoid drive stop” (step S36), and the flags ER (i) and DFT (i) are set. The flag KEEP (i) is reset (step S37). Possible causes of the failure at this time include “the drive of the solenoid 3b1 has been suddenly interrupted” or “the user has forcibly returned the key to the key release direction”.

図7は、前記(6)の駆動オフ中制御処理の詳細な手順を示すフローチャートである。   FIG. 7 is a flowchart showing a detailed procedure of the control process during the drive-off state (6).

この(6)駆動オフ中制御処理は、主として、
(31)通常処理
(32)キーオフ・ノーリアクションの検出および通知処理(図9(e)参照)
(33)想定外の検出および通知処理(図9(f)参照)
を行う。
This (6) control process during driving off is mainly performed.
(31) Normal processing (32) Key-off / no-reaction detection and notification processing (see FIG. 9E)
(33) Unexpected detection and notification processing (see FIG. 9F)
I do.

上記(31)の通常処理は、図9(a)の駆動OFF(=駆動オフ要求)からダンパホールド(=鍵盤キーオフ)までの破線で示されるように、駆動オフ要求が出力されてから前記第2のタイムアウト時間T1が経過するまでに、第3接点から第1接点まで順次オフ状態に切り替わって行くときの処理である。この(31)通常処理では、駆動制御処理部4aは、第2接点のオフイベントが検出されるまでは、レジスタTOOF(i)のデクリメントのみを行い(ステップS41→S42→S46→S47→リターン)、第2接点のオフイベントが検出されると、フラグSOF(i)をセットした(ステップS41→S52)後、レジスタTOON(i)のデクリメントを行う(ステップS46→S47→リターン)。次に駆動制御処理部4aは、第1接点のオフイベントが検出されるまで、レジスタTOOF(i)のデクリメントのみを行い(ステップS41→S42→S43→S45→S46→S47→リターン)、第1接点のオフイベントが検出されると、フラグDFT(i)をセットし、フラグWKOF(i)をリセットし、レジスタTOOF(i)をリセットする(ステップS41→S42→S43→S44)。   The normal processing of (31) described above is performed after the drive-off request is output, as indicated by the broken line from drive-off (= drive-off request) to damper hold (= key key-off) in FIG. This is a process for sequentially switching from the third contact point to the first contact point until the time-out time T1 of 2 elapses. In this (31) normal process, the drive control processing unit 4a only decrements the register TOOF (i) until the second contact OFF event is detected (step S41 → S42 → S46 → S47 → return). When the off event of the second contact is detected, the flag SOF (i) is set (step S41 → S52), and then the register TOON (i) is decremented (step S46 → S47 → return). Next, the drive control processing unit 4a only decrements the register TOOF (i) until the first contact OFF event is detected (step S41 → S42 → S43 → S45 → S46 → S47 → return), and the first When the contact off event is detected, the flag DFT (i) is set, the flag WKOF (i) is reset, and the register TOOF (i) is reset (steps S41 → S42 → S43 → S44).

前記(32)のキーオフ・ノーリアクションの検出および通知処理は、図9(e)に示すように、駆動オフ要求が出力されてから、第2接点のオフイベントが検出されずに、第2のタイムアウト時間T1が経過したときの処理である。この(32)キーオフ・ノーリアクションの検出および通知処理では、駆動制御処理部4aは、第2接点のオフイベントが検出されるまで、レジスタTOOF(i)のデクリメントのみを行う(ステップS41→S42→S46→S47→リターン)。しかしレジスタTOOF(i)の値が負値になっても、第2接点のオフイベントは検出されないので、つまり第2のタイムアウト時間T1が経過しても、第2接点のオフイベントは検出されないので、駆動制御処理部4aは、アプリケーション4bに「キーオフ・ノーリアクション」を通知する(ステップS41→S42→S43→S45→S46→S48)。さらに、フラグER(i)およびDFT(i)をセットし、フラグWKOF(i)をリセットする(ステップS49)。このとき考えられる故障の原因としては、「当該鍵が離鍵の途中でスティック」、「離鍵の途中で、ユーザが当該鍵を押さえている」あるいは「第1接点の接点不良」を挙げることができる。   As shown in FIG. 9 (e), the detection and notification processing of the key-off / no-reaction (32) described above is performed after the drive-off request is output and the second contact off event is not detected. This is processing when the timeout time T1 has elapsed. In this (32) key-off / no-reaction detection and notification process, the drive control processing unit 4a only decrements the register TOOF (i) until an off-event of the second contact is detected (steps S41 → S42 → S46 → S47 → Return). However, even if the value of the register TOOF (i) becomes a negative value, the off event of the second contact is not detected. That is, the off event of the second contact is not detected even when the second timeout time T1 elapses. The drive control processing unit 4a notifies the application 4b of “key-off / no-reaction” (steps S41 → S42 → S43 → S45 → S46 → S48). Further, the flags ER (i) and DFT (i) are set, and the flag WKOF (i) is reset (step S49). Possible causes of failure at this time include “the key is sticking in the middle of key release”, “the user is pressing the key in the middle of key release” or “contact failure of the first contact” Can do.

前記(33)の想定外の検出および通知処理は、図9(f)に示すように、駆動オフ要求が出力されてから、第2接点のオフイベントは検出されるものの、第1接点のオフイベントが検出されずに、第3接点のオンイベントが検出されたときの処理である。この(33)想定外の検出および通知処理では、駆動制御処理部4aは、第2接点のオフイベントが検出されるまで、レジスタTOOF(i)のデクリメントのみを行い(ステップS41→S42→S46→S47→リターン)、第2接点のオフイベントが検出されると、フラグSOF(i)をセットした(ステップS41→S52)後、レジスタTOOF(i)のデクリメントを行う(ステップS46→S47→リターン)。そして、第3接点のキーオンイベントが検出されるので、駆動制御処理部4aは、アプリケーション4bに「想定外」を通知し(ステップS41→S42→S43→S45→S50)、フラグUS(i)をセットする(ステップS51)。さらに、前記ステップS49の処理を行う。このとき考えられる故障の原因としては、「離鍵の途中で、ユーザが当該鍵を押鍵した」を挙げることができる。   In the unexpected detection and notification process of (33), as shown in FIG. 9F, the first contact OFF is detected although the OFF event of the second contact is detected after the drive OFF request is output. This is processing when an on event of the third contact is detected without detecting an event. In this (33) unexpected detection and notification process, the drive control processing unit 4a only decrements the register TOOF (i) until an off event of the second contact is detected (steps S41 → S42 → S46 → When the second contact off event is detected (S47 → Return), the flag SOF (i) is set (Step S41 → S52), and then the register TOOF (i) is decremented (Step S46 → S47 → Return). . Then, since the key-on event of the third contact is detected, the drive control processing unit 4a notifies the application 4b of “unexpected” (steps S41 → S42 → S43 → S45 → S50) and sets the flag US (i). Set (step S51). Further, the process of step S49 is performed. As a possible cause of the failure at this time, “the user pressed the key during the key release” can be cited.

図8は、前記(7)のデフォルト制御処理の詳細な手順を示すフローチャートである。   FIG. 8 is a flowchart showing a detailed procedure of the default control process (7).

この(7)デフォルト制御処理は、主として、
(41)駆動オン要求処理(ステップS64〜S66)
(42)発音要求処理(ステップS68,S69)
を行う。
This (7) default control processing is mainly
(41) Drive-on request processing (steps S64 to S66)
(42) Sound generation request processing (steps S68 and S69)
I do.

上記(41)の駆動オン要求処理では、SEQキーオンが出力されたときに、駆動制御処理部4aは、そのSEQキーオンによって駆動オン要求された鍵の駆動制御部3cをサーチし(ステップS64)、サーチされた駆動制御部3cに、レジスタMVK(i)に格納されているキーナンバ(KN)と駆動オン要求を送信し(ステップS65)、フラグWKON(i)をセットし、フラグDFT(i)をリセットし、レジスタTOON(i)に第1のタイムアウト時間T0に対応するカウント値をセットする(ステップS66)。なお、フラグER(i)がセットされているときには、駆動制御処理部4aは、この(41)駆動オン要求処理を行わない(ステップS62→リターン)。   In the drive-on request process of (41), when the SEQ key-on is output, the drive control processing unit 4a searches the drive control unit 3c for the key requested to be turned on by the SEQ key-on (step S64). A key number (KN) stored in the register MVK (i) and a drive-on request are transmitted to the searched drive control unit 3c (step S65), the flag WKON (i) is set, and the flag DFT (i) is set. The count value corresponding to the first timeout time T0 is set in the register TOON (i) (step S66). When the flag ER (i) is set, the drive control processing unit 4a does not perform the (41) drive-on request process (step S62 → return).

上記(42)の発音要求処理では、いずれかの鍵がマニュアルでキーオンされたときに、駆動制御処理部4aは、音源の空きチャンネルにタッチデータとキーナンバ(KN)を送信して発音要求し(ステップS68)、KNに関する鍵駆動関連データとフラグをクリアする(ステップS69)。なお、フラグUS(i)がセットされているときにも、駆動制御処理部4aは、この(42)発音要求処理を行う(ステップS61→S68)。   In the sound generation request process of (42), when any key is manually turned on, the drive control processing unit 4a transmits touch data and a key number (KN) to an empty channel of the sound source to request a sound generation ( In step S68, the key drive related data and flag relating to KN are cleared (step S69). Even when the flag US (i) is set, the drive control processing unit 4a performs the (42) sound generation request process (steps S61 → S68).

前記アプリケーション4bは、駆動制御処理部4aから「ダンパリリース・ノーリアクション」、「キーオン・ノーリアクション」、「ソレノイド駆動停止」、「キーオフ・ノーリアクション」または「想定外」のいずれかのエラー通知を受信すると、前記表示器8のLCD上に、受信した故障通知の内容を故障の検出された鍵のキーナンバとともに表示する。このとき、考えられる故障原因も併せて表示した方が好ましいが、たとえば、LCDの表示画面に余裕がないときなどには、表示を省略したり、画面を別画面に切り替えて表示したりするようにしてもよい。また、エラー通知は、LCD上への表示に限らず、LEDが複数設けられている場合に、故障内容に応じた位置や色のLEDを点灯させるようにしたり、あるいは、音源12が音声合成できるようなものである場合には、故障内容、故障の検出された鍵および故障原因などを適宜組み合わせて、音声で通知するようにしたりしてもよい。要するに、ユーザに故障内容を通知可能な通知態様であれば、どのようなものを採用してもよい。   The application 4b notifies the drive control processing unit 4a of an error notification of “damper release no reaction”, “key on no reaction”, “solenoid drive stop”, “key off no reaction”, or “unexpected”. When received, the content of the received failure notification is displayed on the LCD of the display 8 together with the key number of the key where the failure is detected. At this time, it is preferable to display possible causes of failure. For example, when there is not enough room on the LCD display screen, the display may be omitted or the screen may be switched to another screen. It may be. The error notification is not limited to display on the LCD, and when a plurality of LEDs are provided, the LED of a position or color corresponding to the content of the failure can be turned on, or the sound source 12 can perform voice synthesis. In such a case, the content of the failure, the key where the failure is detected, the cause of the failure, and the like may be appropriately combined and notified by voice. In short, any notification mode that can notify the user of the contents of the failure may be adopted.

このように、本実施の形態では、より広い範囲で故障の原因や状態を検出してユーザに通知することができる。   Thus, in the present embodiment, the cause and state of the failure can be detected and notified to the user in a wider range.

なお、本実施の形態では、エラー通知は、所定の現象が1回発生したときに直ちに行うようにしたが、これに限らず、所定回数発生したときに行うようにしてもよい。図10は、保持中制御処理の前記(22)ソレノイド駆動停止の検出および通知処理において、図9(d)で示した現象がN回発生したときに、エラー通知を行うようにした手順を示すフローチャートである。もちろん、他の制御処理でのエラー通知についても、所定の現象が所定回数発生したときに行うようにしてもよい。   In the present embodiment, error notification is performed immediately when a predetermined phenomenon occurs once, but is not limited to this, and may be performed when a predetermined number of times occurs. FIG. 10 shows a procedure in which error notification is performed when the phenomenon shown in FIG. 9D occurs N times in the detection and notification processing of (22) solenoid drive stop in the holding control processing. It is a flowchart. Of course, error notification in other control processes may also be performed when a predetermined phenomenon occurs a predetermined number of times.

また、本実施の形態では、電力供給部3bからハードウェア的なエラー通知があったとしても、このハードウェア的なエラー通知に対して何の考慮もしなかったが、これに限らず、本実施の形態のエラー通知に、このハードウェア的なエラー通知を併用するようにしてもよい。このように構成することで、エラー通知の質をさらに向上させることができる。   In the present embodiment, even if there is a hardware error notification from the power supply unit 3b, no consideration is given to the hardware error notification. This form of error notification may be used in combination with this form of error notification. With this configuration, the quality of error notification can be further improved.

なお、上述した実施の形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムまたは装置に供給し、そのシステムまたは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。   A program in which a storage medium storing software program codes for realizing the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (or CPU or MPU) of the system or apparatus is stored in the storage medium. It goes without saying that the object of the present invention can also be achieved by reading and executing the code.

この場合、記憶媒体から読出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードおよび該プログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the program code and the storage medium storing the program code constitute the present invention.

プログラムコードを供給するための記憶媒体としては、たとえば、フレキシブルディスク、ハードディスク、光磁気ディスク、CD−ROM、CD−R、CD−RW、DVD−ROM、DVD−RAM、DVD−RW、DVD+RW、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。また、通信ネットワークを介してサーバコンピュータからプログラムコードが供給されるようにしてもよい。   As a storage medium for supplying the program code, for example, a flexible disk, hard disk, magneto-optical disk, CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW, magnetic A tape, a non-volatile memory card, a ROM, or the like can be used. Further, the program code may be supplied from a server computer via a communication network.

また、コンピュータが読出したプログラムコードを実行することにより、上述した実施の形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOSなどが実際の処理の一部または全部を行い、その処理によって上述した実施の形態の機能が実現される場合も含まれることは言うまでもない。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also the OS running on the computer based on the instruction of the program code performs the actual processing. It goes without saying that a case where the functions of the above-described embodiment are realized by performing part or all of the above and the processing thereof is included.

さらに、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって上述した実施の形態の機能が実現される場合も含まれることは言うまでもない。   Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.

本発明の一実施の形態に係る電子鍵盤楽器の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the electronic keyboard musical instrument which concerns on one embodiment of this invention. 図1中の鍵盤装置の各鍵の駆動を制御する制御構成を示すブロック図である。It is a block diagram which shows the control structure which controls the drive of each key of the keyboard apparatus in FIG. 図1の電子鍵盤楽器が実行する制御処理を説明するための図である。It is a figure for demonstrating the control processing which the electronic keyboard instrument of FIG. 1 performs. 図1の電子鍵盤楽器、特にCPUが実行する鍵状態監視処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the key state monitoring process which the electronic keyboard instrument of FIG. 1, especially CPU performs. 図4中の駆動オン中制御処理の詳細な手順を示すフローチャートである。5 is a flowchart showing a detailed procedure of a drive-on control process in FIG. 4. 図4中の保持中制御処理の詳細な手順を示すフローチャートである。It is a flowchart which shows the detailed procedure of the control process in holding | maintenance in FIG. 図4中の駆動オフ中制御処理の詳細な手順を示すフローチャートである。5 is a flowchart showing a detailed procedure of a control process during drive off in FIG. 4. 図4中のデフォルト制御処理の詳細な手順を示すフローチャートである。It is a flowchart which shows the detailed procedure of the default control process in FIG. 故障として検出される現象の一例を示す図である。It is a figure which shows an example of the phenomenon detected as a failure. 他の保持中制御処理の詳細な手順を示すフローチャートである。It is a flowchart which shows the detailed procedure of other control processing during holding.

符号の説明Explanation of symbols

3a…鍵盤,3b…電力供給部(駆動手段),3c…駆動制御部(駆動手段),3d…スキャン部(検出手段),4…CPU(駆動手段、生成手段、供給手段、通知手段),8…表示器(通知手段),12…音源(電子音源) 3a ... Keyboard, 3b ... Power supply unit (drive unit), 3c ... Drive control unit (drive unit), 3d ... Scan unit (detection unit), 4 ... CPU (drive unit, generation unit, supply unit, notification unit), 8 ... Display (notification means), 12 ... Sound source (electronic sound source)

Claims (4)

複数の鍵を備えた鍵盤と、
供給された発音指示データに基づいて楽音を生成する電子音源と、
前記複数の鍵のそれぞれに対して、非押鍵状態から最深押鍵状態までの間で、少なくとも2箇所の押下位置に達したことを検出する検出手段と、
前記複数の鍵のそれぞれを押鍵方向または離鍵方向に駆動する駆動手段であって、供給された駆動指示データによって指示される鍵を、当該駆動指示データによって指示される方向に駆動させるものと、
演奏データに基づいて前記発音指示データおよび前記駆動指示データを生成する生成手段と、
該生成手段によって生成された発音指示データを前記音源に供給するとともに、該生成手段によって生成された駆動指示データを前記駆動手段に供給する供給手段と、
前記生成手段によって所定の鍵を押鍵方向に駆動指示する駆動指示データが生成され、前記供給手段によって該生成された駆動指示データが前記駆動手段に供給されたときに計時を開始し、前記検出手段によって前記少なくとも2箇所の押下位置のうちの浅い方の押下位置が検出されたときに計時を停止する計時手段
前記計時手段による計時時間が所定のタイムアウト時間を超えたときには、「ダンパリリース・ノーリアクション」を通知する通知手段と
を有することを特徴とする電子鍵盤楽器。
A keyboard with multiple keys,
An electronic sound source that generates musical sounds based on the supplied pronunciation instruction data;
Detecting means for detecting that at least two pressed positions have been reached between the non-pressed state and the deepest pressed state for each of the plurality of keys;
Driving means for driving each of the plurality of keys in a key pressing direction or a key releasing direction, and driving a key instructed by the supplied driving instruction data in a direction instructed by the driving instruction data; ,
Generating means for generating the sound generation instruction data and the drive instruction data based on performance data;
Supply means for supplying the sound generation instruction data generated by the generation means to the sound source and supplying the drive instruction data generated by the generation means to the drive means;
Drive instruction data for instructing driving of a predetermined key in the key pressing direction is generated by the generation means, and when the generated drive instruction data is supplied to the drive means by the supply means, timing is started, and the detection timing means for stopping the time measurement when the pressing position of the shallower ones depressed position of said at least two positions are detected by means,
A notification means for notifying a damper release no reaction” when the time measured by the time measuring means exceeds a predetermined time-out time ;
It shall be the feature electronic keyboard musical instrument in that it has.
複数の鍵を備えた鍵盤と、
供給された発音指示データに基づいて楽音を生成する電子音源と、
前記複数の鍵のそれぞれに対して、非押鍵状態から最深押鍵状態までの間で、少なくとも2箇所の押下位置に達したことを検出する検出手段と、
前記複数の鍵のそれぞれを押鍵方向または離鍵方向に駆動する駆動手段であって、供給された駆動指示データによって指示される鍵を、当該駆動指示データによって指示される方向に駆動させるものと、
演奏データに基づいて前記発音指示データおよび前記駆動指示データを生成する生成手段と、
該生成手段によって生成された発音指示データを前記音源に供給するとともに、該生成手段によって生成された駆動指示データを前記駆動手段に供給する供給手段と、
前記生成手段によって所定の鍵を離鍵方向に駆動指示する駆動指示データが生成され、前記供給手段によって該生成された駆動指示データが前記駆動手段に供給されたときに計時を開始し、前記検出手段によって前記少なくとも2箇所の押下位置のうちの深い方の押下位置が検出されなくなったときに計時を停止する計時手段
前記計時手段による計時時間が所定のタイムアウト時間を超えたときには、「キーオフ・ノーリアクション」を通知する通知手段と
を有することを特徴とする電子鍵盤楽器。
A keyboard with multiple keys,
An electronic sound source that generates musical sounds based on the supplied pronunciation instruction data;
Detecting means for detecting that at least two pressed positions have been reached between the non-pressed state and the deepest pressed state for each of the plurality of keys;
Driving means for driving each of the plurality of keys in a key pressing direction or a key releasing direction, and driving a key instructed by the supplied driving instruction data in a direction instructed by the driving instruction data; ,
Generating means for generating the sound generation instruction data and the drive instruction data based on performance data;
Supply means for supplying the sound generation instruction data generated by the generation means to the sound source and supplying the drive instruction data generated by the generation means to the drive means;
Driving instruction data for instructing driving of a predetermined key in the key release direction is generated by the generating means, and when the generated driving instruction data is supplied to the driving means by the supplying means, timing is started, and the detection timing means for stopping the time measurement when the pressing position of the deeper ones depressed position of said at least two locations is no longer detected by the means,
A notification means for notifying " key-off / no-reaction" when the time measured by the time measuring means exceeds a predetermined time-out period ;
It shall be the feature electronic keyboard musical instrument in that it has.
複数の鍵を備えた鍵盤と、供給された発音指示データに基づいて楽音を生成する電子音源と、前記複数の鍵のそれぞれに対して、非押鍵状態から最深押鍵状態までの間で、少なくとも2箇所の押下位置に達したことを検出する検出手段と、前記複数の鍵のそれぞれを押鍵方向または離鍵方向に駆動する駆動手段であって、供給された駆動指示データによって指示される鍵を、当該駆動指示データによって指示される方向に駆動させるものとを備えた電子鍵盤楽器を制御する制御方法をコンピュータに実行させるプログラムであって、
前記制御方法は、
演奏データに基づいて前記発音指示データおよび前記駆動指示データを生成する生成ステップと、
該生成ステップによって生成された発音指示データを前記音源に供給するとともに、該生成ステップによって生成された駆動指示データを前記駆動手段に供給する供給ステップ
と、
前記生成ステップによって所定の鍵を押鍵方向に駆動指示する駆動指示データが生成され、前記供給ステップによって該生成された駆動指示データが前記駆動手段に供給されたときに計時を開始し、前記検出手段によって前記少なくとも2箇所の押下位置のうちの浅い方の押下位置が検出されたときに計時を停止する計時ステップと、
前記計時ステップによる計時時間が所定のタイムアウト時間を超えたときには、「ダンパリリース・ノーリアクション」を通知する通知ステップと
を有することを特徴とするプログラム。
A keyboard with a plurality of keys, an electronic sound source that generates musical sounds based on the supplied pronunciation instruction data, and between each of the plurality of keys, from a non-pressed state to a deepest pressed state, Detection means for detecting that at least two pressing positions have been reached, and driving means for driving each of the plurality of keys in the key pressing direction or the key releasing direction, which are instructed by the supplied drive instruction data A program for causing a computer to execute a control method for controlling an electronic keyboard instrument comprising a key driven in a direction indicated by the drive instruction data,
The control method is:
Generating step for generating the sound generation instruction data and the drive instruction data based on performance data;
Supplying the sound generation instruction data generated by the generation step to the sound source and supplying the drive instruction data generated by the generation step to the driving means;
Driving instruction data for instructing driving of a predetermined key in the key pressing direction is generated by the generating step, and when the generated driving instruction data is supplied to the driving means by the supplying step, timing is started, and the detection A timing step for stopping timing when a shallower one of the at least two pressed positions is detected by the means;
And a notifying step of notifying of “damper release / no reaction” when the time measured by the time counting step exceeds a predetermined time-out time .
複数の鍵を備えた鍵盤と、供給された発音指示データに基づいて楽音を生成する電子音源と、前記複数の鍵のそれぞれに対して、非押鍵状態から最深押鍵状態までの間で、少なくとも2箇所の押下位置に達したことを検出する検出手段と、前記複数の鍵のそれぞれを押鍵方向または離鍵方向に駆動する駆動手段であって、供給された駆動指示データによって指示される鍵を、当該駆動指示データによって指示される方向に駆動させるものとを備えた電子鍵盤楽器を制御する制御方法をコンピュータに実行させるプログラムであって、  A keyboard with a plurality of keys, an electronic sound source that generates musical sounds based on the supplied pronunciation instruction data, and between each of the plurality of keys, from a non-pressed state to a deepest pressed state, Detection means for detecting that at least two pressing positions have been reached, and driving means for driving each of the plurality of keys in the key pressing direction or the key releasing direction, which are instructed by the supplied drive instruction data A program for causing a computer to execute a control method for controlling an electronic keyboard instrument comprising a key driven in a direction indicated by the drive instruction data,
前記制御方法は、  The control method is:
演奏データに基づいて前記発音指示データおよび前記駆動指示データを生成する生成ステップと、  Generating step for generating the sound generation instruction data and the drive instruction data based on performance data;
該生成ステップによって生成された発音指示データを前記音源に供給するとともに、該生成ステップによって生成された駆動指示データを前記駆動手段に供給する供給ステップ  Supply step of supplying the sound generation instruction data generated by the generation step to the sound source and supplying the drive instruction data generated by the generation step to the driving means
と、When,
前記生成ステップによって所定の鍵を離鍵方向に駆動指示する駆動指示データが生成され、前記供給ステップによって該生成された駆動指示データが前記駆動手段に供給されたときに計時を開始し、前記検出手段によって前記少なくとも2箇所の押下位置のうちの深い方の押下位置が検出されなくなったときに計時を停止する計時ステップと、  Driving instruction data for instructing driving of a predetermined key in the key release direction is generated by the generating step, and when the generated driving instruction data is supplied to the driving means by the supplying step, timing is started, and the detection A timing step for stopping timing when a deeper one of the at least two pressed positions is no longer detected by the means;
前記計時ステップによる計時時間が所定のタイムアウト時間を超えたときには、「キーオフ・ノーリアクション」を通知する通知ステップと  A notification step of notifying “key-off / no-reaction” when the time measured by the time counting step exceeds a predetermined time-out period;
を有することを特徴とするプログラム。The program characterized by having.
JP2007070706A 2007-03-19 2007-03-19 Electronic keyboard instrument and program for realizing the control method Expired - Fee Related JP5082525B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007070706A JP5082525B2 (en) 2007-03-19 2007-03-19 Electronic keyboard instrument and program for realizing the control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007070706A JP5082525B2 (en) 2007-03-19 2007-03-19 Electronic keyboard instrument and program for realizing the control method

Publications (2)

Publication Number Publication Date
JP2008233365A JP2008233365A (en) 2008-10-02
JP5082525B2 true JP5082525B2 (en) 2012-11-28

Family

ID=39906248

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007070706A Expired - Fee Related JP5082525B2 (en) 2007-03-19 2007-03-19 Electronic keyboard instrument and program for realizing the control method

Country Status (1)

Country Link
JP (1) JP5082525B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5428344B2 (en) * 2009-01-13 2014-02-26 ヤマハ株式会社 Automatic performance electronic piano control device
JP5589336B2 (en) * 2009-10-07 2014-09-17 ヤマハ株式会社 Keyboard device
WO2018168952A1 (en) * 2017-03-15 2018-09-20 ヤマハ株式会社 Signal supply device, keyboard device, and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004029549A (en) * 2002-06-27 2004-01-29 Roland Corp Keyboard device of electronic musical instrument
JP4186817B2 (en) * 2003-12-17 2008-11-26 ヤマハ株式会社 Controller for performance operator
JP4214966B2 (en) * 2004-08-06 2009-01-28 ヤマハ株式会社 Musical instrument self-diagnosis program
JP4770539B2 (en) * 2006-03-24 2011-09-14 ヤマハ株式会社 Electronic musical instruments

Also Published As

Publication number Publication date
JP2008233365A (en) 2008-10-02

Similar Documents

Publication Publication Date Title
JP4747847B2 (en) Performance information generating apparatus and program
JP2006065283A (en) Method and apparatus for specifying half point of pedal in keyboard instrument
JP5717601B2 (en) Operation control device and operation control method for external device connected to in-vehicle device
EP2071560B1 (en) Musical sound generating device and storage medium storing musical sound generation processing program
JP5082525B2 (en) Electronic keyboard instrument and program for realizing the control method
JP5228315B2 (en) Program for realizing automatic accompaniment generation apparatus and automatic accompaniment generation method
JP2007140067A (en) Musical sound generator, and program
JP2006145855A (en) Automatic accompaniment apparatus and program for realizing control method thereof
JP2001142388A (en) Musical performance exercising device and recording medium
JP6589854B2 (en) Electronic musical instrument and electronic musical instrument system
JP4946281B2 (en) Electronic musical instruments and programs
JP5200368B2 (en) Arpeggio generating apparatus and program for realizing arpeggio generating method
JP4240145B2 (en) Program for realizing automatic performance apparatus and automatic performance method
JP6455270B2 (en) Electronic music equipment
JP3690279B2 (en) Performance tempo control device and storage medium
JP4075808B2 (en) Program for realizing automatic performance apparatus and automatic performance method
JP3603587B2 (en) Automatic accompaniment device and storage medium
JP2000221967A (en) Setting control device for electronic musical instrument or the like
JP2007155806A (en) Controller and computer program for electronic musical instrument
JP4648177B2 (en) Electronic musical instruments and computer programs
JP4302898B2 (en) Automatic performance device, automatic performance method and storage medium
JP6681240B2 (en) Electronic musical instrument system, music reproduction control device, and electronic musical instrument
JP5162887B2 (en) Program for realizing electronic music apparatus and control method thereof
JP3929608B2 (en) Performance information input device
JP4835433B2 (en) Performance pattern playback device and computer program therefor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100120

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120221

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120405

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

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

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150914

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees