JP4770539B2 - Electronic musical instruments - Google Patents

Electronic musical instruments Download PDF

Info

Publication number
JP4770539B2
JP4770539B2 JP2006082578A JP2006082578A JP4770539B2 JP 4770539 B2 JP4770539 B2 JP 4770539B2 JP 2006082578 A JP2006082578 A JP 2006082578A JP 2006082578 A JP2006082578 A JP 2006082578A JP 4770539 B2 JP4770539 B2 JP 4770539B2
Authority
JP
Japan
Prior art keywords
key
switch
performance
electronic musical
musical instrument
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
JP2006082578A
Other languages
Japanese (ja)
Other versions
JP2007256753A (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 JP2006082578A priority Critical patent/JP4770539B2/en
Publication of JP2007256753A publication Critical patent/JP2007256753A/en
Application granted granted Critical
Publication of JP4770539B2 publication Critical patent/JP4770539B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、操作子の連続した操作の操作程度に応じて反応する少なくとも複数段階のスイッチを備え、該スイッチの各段階の動作状況に応じて発音の処理内容に応じた演奏信号を生成する電子楽器に関する。   The present invention provides an electronic device that includes at least a plurality of stages of switches that react according to the degree of continuous operation of the operator, and generates a performance signal corresponding to the processing content of the sound generation according to the operation status of each stage of the switches. Related to musical instruments.

従来、電子鍵盤楽器において鍵の操作を検出する鍵スイッチ部に複数段階で反応する接点を設けたものが、例えば特開2005−43553号公報(特許文献1)に開示されている。この特許文献1の電子鍵盤楽器は、鍵下に例えば3メイク式タッチレスポンススイッチ(鍵スイッチ部)を配設し、この3メイク式タッチレスポンススイッチの上中下の各センサ(複数段階のスイッチ)からの信号に基づいて、押鍵の速さを検出して発音時のベロシティを制御したり、鍵盤の各鍵がどのように操作変化したかを検出し、その操作変化を発生する楽音の制御に反映させるものである。
特開2005−43553号公報
2. Description of the Related Art Conventionally, an electronic keyboard instrument in which a key switch unit that detects a key operation is provided with a contact that reacts in a plurality of stages is disclosed in, for example, Japanese Patent Laid-Open No. 2005-43553 (Patent Document 1). In the electronic keyboard instrument disclosed in Patent Document 1, for example, a 3-make touch response switch (key switch unit) is provided under the key, and each of the sensors above, below, and below the 3-make touch response switch (switches of a plurality of stages). Based on the signal from the keyboard, it detects the speed of the key press and controls the velocity during sound generation, detects how each key on the keyboard has changed, and controls the musical sound that generates that change in operation. It is reflected in.
JP 2005-43553 A

前記のように電子楽器においては鍵等の操作子の操作を鍵スイッチ等の操作子用スイッチで検出するものが多いが、楽器という性質上、操作子は頻繁に操作されるので操作子用スイッチのメカ的な機構の経年変化でスイッチの応答性能が変化したり、スイッチ動作が不安定になることがある。特に、鍵盤楽器のように多数の鍵にそれぞれ鍵スイッチ部を備えたものは、鍵スイッチ部の数が多い分だけ楽器全体としてのスイッチ異常も発生し易くなる。さらに、複数段階のスイッチ(接点)を有するものは特にこのような問題が生じやすい。   As described above, in many electronic musical instruments, the operation of an operator such as a key is detected by an operator switch such as a key switch. However, because of the nature of an instrument, the operator is frequently operated. The response performance of the switch may change or the switch operation may become unstable due to aging of the mechanical mechanism. In particular, when a key switch unit is provided for a large number of keys, such as a keyboard instrument, switch abnormality as a whole instrument is likely to occur as much as the number of key switch units is large. Further, those having a plurality of stages of switches (contacts) are particularly susceptible to such problems.

また、鍵盤のどの鍵を多く押鍵(打鍵)するかは、演奏者が演奏する曲の好みなどによっても異なるため、全鍵のうちの特定の鍵に異常が発生し易いこともある。しかしながら、鍵スイッチ部の一つでも異常が発生すると、最悪の場合、対応するその鍵だけ発音されず、他の鍵での発音ができても楽器としての機能を果たさなくなり、その時点から演奏できなくなってしまう。練習中ならともかく、特に実演中などに生じると非常に困ることになる。このような事情は鍵盤楽器に限らず他の電子楽器においても同様である。   In addition, since the number of keys to be pressed (keystroke) depends on the preference of the music performed by the performer and the like, an abnormality may easily occur in a specific key among all keys. However, if an abnormality occurs in one of the key switch sections, in the worst case, only the corresponding key will not be sounded, and even if it can be sounded with another key, it will not function as a musical instrument, and it will be possible to play from that point. It will disappear. Anyway during practice, especially if it occurs during a demonstration, it will be very troublesome. Such a situation is not limited to the keyboard musical instrument, but also applies to other electronic musical instruments.

本発明は、上記の問題点に鑑みてなされたものであり、操作子の連続した操作の操作程度に応じて反応する複数段階のスイッチを備えた電子楽器において、スイッチ異常による電子楽器の動作不良を未然に防止することを課題とする。   The present invention has been made in view of the above problems, and in an electronic musical instrument having a multi-stage switch that reacts according to the degree of continuous operation of the operation element, the electronic musical instrument malfunctions due to an abnormal switch. It is an issue to prevent the problem beforehand.

請求項1の電子楽器は、演奏操作子の連続した演奏操作の操作程度に応じて反応する複数段階のスイッチ(例えば複数段階の接点)の各段階の動作状況(例えばオン状態/オフ状態)を検出し、この動作状況の検出結果に応じて演奏操作手段の不良兆候を判断し、この判断結果に応じて不良兆候を報知し、また、動作状況に対応する履歴データをサーバに送信するようにした。 The electronic musical instrument according to the first aspect of the present invention indicates the operation status (for example, ON state / OFF state) of each step of a multi-step switch (for example, a multi-step contact) that reacts according to the degree of continuous performance operation of the performance operator. And detecting a failure sign of the performance operating means according to the detection result of the operation state, notifying the failure sign according to the determination result, and transmitting history data corresponding to the operation state to the server. did.

請求項2の電子楽器は、請求項1に記載の電子楽器において、前記複数段階のスイッチの動作間隔(例えばベロシティや接点時間差)を動作状況として検出し、この動作間隔に基づいて不良兆候を検出するようにした。   According to a second aspect of the present invention, in the electronic musical instrument according to the first aspect, the operation intervals (for example, velocity and contact time difference) of the switches in the plurality of stages are detected as an operation state, and a failure sign is detected based on the operation intervals. I tried to do it.

請求項3の電子楽器は、請求項1または2に記載の電子楽器において、不良兆候を示すメッセージを表示手段に表示するようにした。   According to a third aspect of the present invention, in the electronic musical instrument according to the first or second aspect, a message indicating a failure sign is displayed on the display means.

請求項4の電子楽器は、請求項1及び請求項3の構成を備えた電子楽器において、消耗部品の交換を促すメッセージを表示するようにした。 According to a fourth aspect of the present invention, in the electronic musical instrument having the configuration of the first and third aspects, a message prompting replacement of the consumable parts is displayed.

請求項5の電子楽器は、請求項1の構成を備えた電子楽器において、演奏操作の操作回数に対応するスイッチの動作回数(例えば押鍵回数)を動作状況として検出し、この動作回数にに基づいて不良兆候を検出するようにした。 According to a fifth aspect of the present invention, in the electronic musical instrument having the configuration of the first aspect, the number of switch operations (for example, the number of key presses) corresponding to the number of performance operations is detected as an operation state. Based on the above, signs of failure were detected.

請求項6の電子楽器は、請求項1乃至5のいずれか一項に記載の電子楽器において、演奏操作手段として、演奏操作を行う鍵を複数備えるとともに、複数段階のスイッチからなる鍵スイッチ部を各鍵にそれぞれ備えた鍵盤を用い、電子鍵盤楽器を構成した。   An electronic musical instrument according to a sixth aspect of the present invention is the electronic musical instrument according to any one of the first to fifth aspects, wherein a plurality of keys for performing a performance operation are provided as performance operation means, and a key switch unit including a plurality of switches is provided. An electronic keyboard instrument was constructed using a keyboard provided for each key.

請求項7の電子楽器は、請求項6に記載の電子楽器において、前記報知手段は、前記複数の鍵のうちの不良兆候が判断された鍵についての情報を報知するようにした。   According to a seventh aspect of the present invention, in the electronic musical instrument according to the sixth aspect, the informing means informs information about a key for which a sign of failure is determined among the plurality of keys.

請求項8の電子楽器は、請求項1乃至7のいずれか一項に記載の電子楽器において、演奏操作子の連続した演奏操作の操作程度に応じて反応する複数段階のスイッチの各段階の動作状況(例えばオン状態/オフ状態)を検出し、この動作状況が特定の動作パターンであった際に、発音の処理内容(例えばベロシティやキーオフ)を変更(決定)して演奏信号を生成する。そして、発音の処理内容の決定条件(例えば「SW−cのオフイベント」または「SW−bのオフイベント」または「SW−cのオフイベント」等)を、スイッチの動作状況に応じて変更可能にした。   An electronic musical instrument according to an eighth aspect of the invention is the electronic musical instrument according to any one of the first to seventh aspects, wherein each step of the multi-stage switch reacts according to the degree of continuous performance operation of the performance operator. A situation (for example, an on state / off state) is detected, and when the operation state is a specific operation pattern, a performance signal is generated by changing (determining) the processing content of the sound generation (for example, velocity or key off). Then, the conditions for determining the sound processing content (for example, “SW-c off event” or “SW-b off event” or “SW-c off event”) can be changed according to the operating state of the switch. I made it.

請求項1の電子楽器によれば、
演奏操作子の操作程度に応じて反応するスイッチの動作状況に応じて不良兆候が報知されるので、スイッチ異常による電子楽器の動作不良を未然に防止することができる。
According to the electronic musical instrument of claim 1,
Since a failure sign is notified according to the operating state of the switch that reacts according to the degree of operation of the performance operator, it is possible to prevent an electronic musical instrument from malfunctioning due to an abnormal switch.

請求項2の電子楽器によれば、請求項1の効果に加えて、複数段階のスイッチのベロシティや接点時間差等の動作間隔に基づいて不良兆候を検出するので、鍵スイッチ部などの既存のハードウエアを利用できるので、特別な構成を不要としない。   According to the electronic musical instrument of the second aspect, in addition to the effect of the first aspect, the failure sign is detected based on the operation intervals such as the velocity of the switches and the contact time difference in a plurality of stages. Since no wear is required, no special configuration is required.

請求項3の電子楽器によれば、請求項1または2の効果に加えて、不良兆候を示すメッセージを表示手段に表示するので、電子楽器を演奏しているユーザにリアルタイムで報知することができる。   According to the electronic musical instrument of the third aspect, in addition to the effect of the first or second aspect, since the message indicating the failure sign is displayed on the display means, it is possible to notify the user who is playing the electronic musical instrument in real time. .

請求項4の電子楽器によれば、請求項3の効果に加えて、消耗部品の交換を促すメッセージを表示するので、ユーザは容易に対処の仕方を把握できる。   According to the electronic musical instrument of the fourth aspect, in addition to the effect of the third aspect, the message prompting the replacement of the consumable parts is displayed, so that the user can easily grasp how to cope.

請求項5の電子楽器によれば、請求項1の効果に加えて、演奏操作の操作回数に対応するスイッチの動作回数(例えば押鍵回数)に基づいて不良兆候を検出するので、鍵スイッチ部等の接点(スイッチ)を老朽化させる支配的な要素に対して対処することができる。   According to the electronic musical instrument of the fifth aspect, in addition to the effect of the first aspect, the failure sign is detected based on the number of times of operation of the switch (for example, the number of key presses) corresponding to the number of performance operations. It is possible to deal with a dominant factor that makes contacts such as aging.

請求項6の電子楽器によれば、請求項1乃至5の効果に加えて、鍵スイッチ部の数が多い分だけ楽器全体としてのスイッチ異常も発生し易くなる電子鍵盤楽器において、鍵スイッチ部の不良兆候を未残に検出できる。   According to the electronic musical instrument of the sixth aspect, in addition to the effects of the first to fifth aspects, in the electronic keyboard musical instrument in which the switch abnormality of the entire musical instrument is likely to occur as much as the number of the key switch units is large. The remaining signs of failure can be detected.

請求項7の電子楽器によれば、請求項6の効果に加えて、複数の鍵のうちの不良兆候が判断された鍵についての情報を報知するので、詳細な不良箇所を把握することができる。   According to the electronic musical instrument of the seventh aspect, in addition to the effect of the sixth aspect, the information about the key for which the failure sign is determined among the plurality of keys is notified, so that the detailed defective portion can be grasped. .

請求項8の電子楽器によれば、請求項1乃至7の効果に加えて、演奏操作子の複数段階のスイッチにに異常があった場合、演奏中の故障でも、スイッチの動作状況に応じて変更された決定条件により決定される発音の処理内容に応じた演奏信号を生成するので、電子楽器として機能させることができる。   According to the electronic musical instrument of the eighth aspect, in addition to the effects of the first to seventh aspects, if there is an abnormality in a switch at a plurality of stages of the performance operator, even if a malfunction occurs during the performance, the switch depends on the operating condition of the switch. Since a performance signal corresponding to the sound processing content determined by the changed determination condition is generated, it can function as an electronic musical instrument.

以下、図面を参照して本発明の一実施の形態について説明する。図6は本発明を適用した電子鍵盤楽器のハード構成を示すブロック図であり、CPU1はROM2に格納されている制御プログラムに基づいてRAM3のワーキングエリアを使用して楽器全体の制御を行う。例えばROM2には鍵盤装置4の後述する鍵スイッチ部に応じた発音制御に関する各種処理プログラムが記憶されている。そして、CPU1は通常の電子鍵盤楽器の基本的な機能として、鍵盤装置4の鍵の操作イベントを検出してマニュアル演奏の制御を行う。さらに、パネル操作子5のスイッチ等の操作イベントを検出し各種スイッチの操作に応じた処理を行う。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 6 is a block diagram showing a hardware configuration of an electronic keyboard instrument to which the present invention is applied. The CPU 1 controls the entire instrument using a working area of the RAM 3 based on a control program stored in the ROM 2. For example, the ROM 2 stores various processing programs related to sound generation control according to a key switch section (to be described later) of the keyboard device 4. The CPU 1 controls manual performance by detecting a key operation event of the keyboard device 4 as a basic function of an ordinary electronic keyboard instrument. Furthermore, an operation event such as a switch of the panel operator 5 is detected, and processing corresponding to the operation of various switches is performed.

また、CPU1は液晶パネル等の表示装置6の表示の制御を行い、鍵盤装置4の鍵スイッチ部の状態等に応じた報知内容の表示等を行う。なお、RAM3は、CPU1の処理に際して必要な、各種レジスタやフラグ、処理中の各種データ等を一時記憶するためのワーク領域として用いられる。例えば、RAM3内には、鍵盤装置4の鍵スイッチ部による接点時間差をカウントするためのソフトウエアカウンタ領域が設定されている。   In addition, the CPU 1 controls display on the display device 6 such as a liquid crystal panel, and displays notification contents according to the state of the key switch portion of the keyboard device 4. The RAM 3 is used as a work area for temporarily storing various registers and flags, various data being processed, and the like necessary for processing by the CPU 1. For example, in the RAM 3, a software counter area for counting the contact time difference by the key switch unit of the keyboard device 4 is set.

タイマ7は自動演奏処理の割込み信号等を発生する回路である。音源8は、自動演奏時の演奏データや鍵盤装置4の操作によりCPU1が出力するキーオン信号/キーオフ信号、キーコード、音色データ、ベロシティデータなどの楽音パラメータに基づいて演奏信号(楽音信号)を発生し、効果装置9は、CPU1から設定される設定内容に応じた効果を演奏信号に付加し、それをサウンドシステム10に出力する。サウンドシステム10はD/A変換や増幅等を行ってスピーカーで発音する。なお、音源8はCPU1によって決定された発音の処理内容に応じた演奏信号を生成する「演奏信号生成手段」に対応する。   The timer 7 is a circuit for generating an interrupt signal for automatic performance processing. The tone generator 8 generates performance signals (musical signals) based on musical performance parameters such as performance data during automatic performance and key-on / key-off signals, key codes, timbre data, velocity data, etc. output by the CPU 1 when the keyboard device 4 is operated. Then, the effect device 9 adds an effect corresponding to the set content set by the CPU 1 to the performance signal and outputs it to the sound system 10. The sound system 10 performs D / A conversion, amplification, etc., and produces sound through a speaker. The sound source 8 corresponds to “performance signal generating means” that generates a performance signal corresponding to the processing content of the sound generation determined by the CPU 1.

記憶装置11はハードディスク装置(HDD)、フロッピィ(商標)ディスク装置(FDD)、CD−ROM装置、光磁気ディスク(MO)装置、デジタル多目的ディスク(DVD)装置、スマートメディア(商標)、メモリースティック(商標)、コンパクトフラッシュ(登録商標)等であり、各種データを保存するために用いられる。例えば、この記憶装置11に鍵盤装置4における各鍵の鍵スイッチの状態を示す状態データや押鍵回数等の履歴データを蓄積(記憶)する。また、記憶装置11のハードディスク装置に通信制御プログラム等が記憶されており、外部インターフェース12を介して通信ネットワーク13に接続し、サーバ14と各種の通信を行う。そして、当該電子鍵盤楽器の状態(及び製品番号等)をサーバ14に報知するなどの処理を行う。   The storage device 11 is a hard disk device (HDD), floppy (trademark) disk device (FDD), CD-ROM device, magneto-optical disk (MO) device, digital multipurpose disk (DVD) device, smart media (trademark), memory stick (trademark). ), Compact flash (registered trademark), etc., which are used for storing various data. For example, the storage device 11 stores (stores) history data such as state data indicating the state of the key switch of each key in the keyboard device 4 and the number of key presses. In addition, a communication control program or the like is stored in the hard disk device of the storage device 11 and is connected to the communication network 13 via the external interface 12 to perform various communications with the server 14. Then, processing such as notifying the server 14 of the state (and product number) of the electronic keyboard instrument is performed.

図1は、鍵盤装置4における鍵41と鍵スイッチ部42の要部構成を示す構成図である。この実施形態における鍵スイッチ部42は3メイク式の鍵スイッチ部である。なお、鍵盤装置4は複数の白鍵と複数の黒鍵とを備えているものであるが、この図1では図の手前に現れている鍵41(白鍵)を例に説明する。その他の鍵(白鍵及び黒鍵)についても同様の構成となっている。鍵41は、上方からの押鍵(押し下げる操作)により下方に揺動可能である。なお、鍵41は図示しない弾性部材により押鍵方向と反対方向に付勢されている。   FIG. 1 is a configuration diagram showing the main configuration of the key 41 and the key switch unit 42 in the keyboard device 4. The key switch unit 42 in this embodiment is a 3-make type key switch unit. The keyboard device 4 includes a plurality of white keys and a plurality of black keys. In FIG. 1, a key 41 (white key) appearing in front of the drawing will be described as an example. The other keys (white key and black key) have the same configuration. The key 41 can be swung downward by pressing the key from above (pressing down operation). The key 41 is urged in the direction opposite to the key pressing direction by an elastic member (not shown).

鍵スイッチ部42は鍵41の下方に配設された基板43上に配設されている。鍵スイッチ部42は、鍵41の回動支点側から演奏者側に向けて鍵の長手方向に順に併設された第1、第2及び第3メイクスイッチ42a,42b,42cで構成されている。鍵41の下面には図示しないアクチュエータ部が形成されており、鍵41が押し下げ(揺動)されると、第1、第2及び第3メイクスイッチ42a,42b,42cが駆動する。   The key switch unit 42 is disposed on a substrate 43 disposed below the key 41. The key switch unit 42 includes first, second, and third make switches 42a, 42b, and 42c that are sequentially provided in the longitudinal direction of the key from the rotation fulcrum side of the key 41 toward the performer side. An actuator portion (not shown) is formed on the lower surface of the key 41. When the key 41 is pushed down (swinged), the first, second and third make switches 42a, 42b and 42c are driven.

各メイクスイッチ42a,42b,42cは、それぞれ対向する接点A,Bで構成されており、各メイクスイッチ42a,42b,42cは鍵41により駆動される(押される)と両接点A,Bが接触(オン)し、鍵41が離されると両接点A,Bが離間(オフ)する。また、両接点A,Bの間隔は、第2メイクスイッチ42bは第1メイクスイッチ42aより広く、第3メイクスイッチ42cは第2メイクスイッチ42bより広くなっている。   Each make switch 42a, 42b, 42c is composed of contact points A, B facing each other. When each make switch 42a, 42b, 42c is driven (pressed) by the key 41, both contacts A, B come into contact with each other. When the key 41 is released, both contacts A and B are separated (off). The distance between the contacts A and B is such that the second make switch 42b is wider than the first make switch 42a, and the third make switch 42c is wider than the second make switch 42b.

これにより、鍵41を押し下げるとき(押鍵すると)、第1メイクスイッチ42a、第2メイクスイッチ42b、第3メイクスイッチ42cの順に「オン」となり、鍵41の操作をやめると(離鍵すると)、第3メイクスイッチ42c、第2メイクスイッチ42b、第1メイクスイッチ42aの順に「オフ」となる。すなわち、第1、第2及び第3メイクスイッチ42a,42b,42cは、連続した演奏操作(押鍵動作/離鍵動作)の操作程度に応じて反応(オン/オフ)する「複数段階のスイッチ」となっている。また、鍵盤装置4は「演奏操作手段」に相当する。   As a result, when the key 41 is depressed (pressed), the first make switch 42a, the second make switch 42b, and the third make switch 42c are turned on in this order, and the operation of the key 41 is stopped (when the key is released). The third make switch 42c, the second make switch 42b, and the first make switch 42a are turned off in this order. That is, the first, second, and third make switches 42a, 42b, and 42c react (on / off) according to the degree of continuous performance operation (key pressing operation / key release operation). " The keyboard device 4 corresponds to “performance operation means”.

図2は鍵41の押し込み動作による鍵41の押し込み位置の時間的な推移とメイクスイッチのオン/オフの関係を概念的に示した図である。なお、以下の説明で、第1メイクスイッチ42aを「SW−a」、第2メイクスイッチ42bを「SW−b」、第3メイクスイッチ42cを「SW−c」として適宜表現し、「SW−aの位置(図2中のa1等)」、「SW−bの位置(図2中のb1等)」、「SW−cの位置(図2中のc1等)」は、それぞれ対応する接点A,Bがオン(丸印)する位置またはオフ(四角印)する位置を示す。なお、SW−aの位置等を単に「鍵の位置」ともいう。   FIG. 2 is a diagram conceptually showing the relationship between the temporal transition of the pressing position of the key 41 by the pressing operation of the key 41 and the on / off of the make switch. In the following description, the first make switch 42a is appropriately expressed as “SW-a”, the second make switch 42b as “SW-b”, and the third make switch 42c as “SW-c”. “position of a (a1 etc. in FIG. 2)”, “position of SW-b (b1 etc. of FIG. 2)”, and “position of SW-c (c1 etc. of FIG. 2)” A position where A and B are on (circle) or off (square mark) is shown. The position of SW-a is also simply referred to as “key position”.

この実施形態では、鍵の押し込み速度(接点時間差)を検出するために複数のソフトウエアタイマを用いており、SW−aのオンからSW−bのオンまでの時間差を計測するタイマを「abタイマ」、SW−aのオンからSW−cのオンまでの時間差を計測するタイマを「acタイマ」、SW−bのオンからSW−cのオンまでの時間差を計測するタイマを「bcタイマ」とする。このうち、acタイマまたはbcタイマの計測時間からベロシティを求めるが、後述のようにどちらのタイマの計測時間を用いるかは鍵スイッチ部42の「動作状況」である反応状態に応じて変更する。またabタイマの計測時間は、acタイマ及びbcタイマの計測時間と共に鍵スイッチ42の状態のデータとして用いる。なお、ベロシティを求める計測時間は、周知のように押鍵の強さを算出するためのものであり、短ければ強く押鍵され長ければ弱く押鍵されたものと判断される。   In this embodiment, a plurality of software timers are used to detect the key pressing speed (contact time difference), and the timer that measures the time difference from turning on SW-a to turning on SW-b is called “ab timer”. ”, A timer that measures the time difference from turning on SW-a to turning on SW-c is“ ac timer ”, and a timer that measures the time difference from turning on SW-b to turning on SW-c is“ bc timer ”. To do. Among these, the velocity is obtained from the measurement time of the ac timer or the bc timer. As will be described later, which timer measurement time is used is changed according to the reaction state of the “operation status” of the key switch unit 42. The ab timer measurement time is used as data on the state of the key switch 42 together with the ac timer and bc timer measurement times. As is well known, the measurement time for calculating the velocity is for calculating the key pressing strength, and it is determined that the key is pressed strongly if it is short and weak if it is long.

図2に示すように、当該電子鍵盤楽器において、演奏者による鍵の押し込み動作に応じて鍵の位置がSW−aの位置(a1)を上方から下方へと通過した場合にはダンパーオン(ダンパー開放状態)となるとともに、abタイマとacタイマのカウントが開始される。そのままSW−bの位置(b1)を通過した場合にはabタイマは停止されbcタイマのカウントが開始される。さらに押し込み動作が続けられてSW−cの位置(c1)まで達すると、acタイマとbcタイマは停止されキーオン信号を発生する。このとき、後述のように、通常はbcタイマの計測時間(接点時間差)からベロシティを求める。一方、SW−bが「オン」されない場合には、acタイマの計測時間からベロシティを求める。   As shown in FIG. 2, in the electronic keyboard instrument, when the key position passes from the upper position to the lower position (a1) in accordance with the key pressing operation by the performer, the damper on (damper The ab timer and the ac timer are started. If the position passes through the SW-b position (b1), the ab timer is stopped and the bc timer starts counting. When the push-in operation is continued and the position reaches the position (c1) of SW-c, the ac timer and the bc timer are stopped and a key-on signal is generated. At this time, as will be described later, the velocity is usually obtained from the measurement time (contact time difference) of the bc timer. On the other hand, when SW-b is not “ON”, the velocity is obtained from the measurement time of the ac timer.

3メイク式構成である当該電子鍵盤楽器において、演奏者による鍵の押し込みが一旦緩められることに応じて、鍵がSW−aの位置まで戻ることなくSW−cからSW−aまでの途中の位置まで離され、その後再度、SW−cの位置まで押し込まれる場合として、2通りの場合がある。1つは鍵がSW−aとSW−bとの間まで離されてから再度SW−cの位置まで押し込まれる場合であり、もう1つは鍵がSW−bとSW−cとの間まで離され、再度、SW−cの位置まで押し込まれる場合である。   In the electronic keyboard instrument having a three-make configuration, the position of the key from SW-c to SW-a does not return to the position of SW-a in response to the key being temporarily released by the performer. There are two cases in which it is released until the position of SW-c is pushed again. One is when the key is released between SW-a and SW-b and then pushed again to the position of SW-c, and the other is when the key is between SW-b and SW-c. This is a case where it is released and pushed to the position of SW-c again.

鍵がSW−aの位置まで戻ることなくSW−aとSW−bとの間まで離された場合には、その都度、SW−bの位置(b3)でbcタイマのカウントがし直される。これにより、個々の操作時における押し込みの強さや速度に応じたベロシティ値を確定することができる。その後再度、SW−cの位置(c3)まで押し込まれた場合には、その都度キーオン信号が発生される。一方、鍵がSW−aの位置まで戻ることなくSW−bとSW−cとの間まで離され、その後再度、SW−cの位置(c5)まで押し込まれた場合には、bcタイマのカウントがし直されることがない。また、ここではキーオン信号を発生しない。すなわち、c1,c3でキーオンされ、c5ではキーオンされない。   Each time the key is released between SW-a and SW-b without returning to the SW-a position, the bc timer is recounted at the SW-b position (b3). This makes it possible to determine the velocity value corresponding to the strength and speed of pressing during each operation. Thereafter, when the switch is pushed again to the position (c3) of SW-c, a key-on signal is generated each time. On the other hand, if the key is released between SW-b and SW-c without returning to the SW-a position, and then pressed again to the SW-c position (c5), the bc timer counts. Will not be redone. Also, no key-on signal is generated here. That is, key-on is performed at c1 and c3, and key-on is not performed at c5.

そして、演奏者による鍵の押し込みが緩められ、鍵がSW−aの位置(a2)まで戻りSW−aを下方から上方へ通過した場合には、キーオフ信号を発生する。なお、SW−cがオンとなる位置(c1)でキーオンし、SW−aがオフとなる位置(a2)でキーオフする動作は通常の動作である。   Then, when the player presses the key down and the key returns to the position (a2) of SW-a and passes through SW-a from below to above, a key-off signal is generated. The operation of key-on at a position (c1) where SW-c is turned on and key-off at a position (a2) where SW-a is turned off is a normal operation.

以上のように、第1、第2及び第3メイクスイッチ42a,42b,42cからなる鍵スイッチ部42は、複数段階で反応(オン/オフ)するが、この反応状態に応じてベロシティの計算に用いるカウンタ(発音の処理内容)及びキーオフ信号の出力タイミング(発音の処理内容)を変更する。なお、第1、第2及び第3メイクスイッチ42a,42b,42cにおいて、オンまたはオフとなった事象が「オンイベント」または「、オフイベント」であり、オンとなっている状態またはオフとなっている状態が「オン状態」または「オフ状態」である。このオン状態またはオフ状態の反応状態が請求項8の「スイッチの動作パターン」に相当する。   As described above, the key switch unit 42 including the first, second, and third make switches 42a, 42b, and 42c reacts (turns on / off) in a plurality of stages, but the velocity is calculated according to the reaction state. The counter to be used (sounding processing content) and the output timing of the key-off signal (sounding processing content) are changed. In the first, second, and third make switches 42a, 42b, and 42c, an event that is turned on or off is an “on event” or “an off event”, and is in an on state or turned off. Is in the “on state” or “off state”. This on-state or off-state reaction state corresponds to a “switch operation pattern”.

次表1は鍵スイッチ部42における反応状態とそれに対応する処理内容の場合分けの一例を示している。この例で、反応状態はcase1〜case5の5つのパターンとし、処理内容はベロシティ(vel値)、キーオン信号のタイミング(Keyon)及びキーオフ信号のタイミング(Keyoff)とする。なお、見易くするために適宜アルファベットでで表記している。また、同表において、左端の「SW−a,SW−b,SW−c」に対応する右側の欄における「on/off」は「オン状態/オフ状態」を示し、左端の「Keyon,Keyoff」に対応する右側の欄における「on/off」は「オンイベント/オフイベント」を示している。   Table 1 below shows an example of the case classification of the reaction state in the key switch unit 42 and the processing content corresponding thereto. In this example, the reaction state has five patterns of case1 to case5, and the processing content is velocity (vel value), key-on signal timing (Keyon), and key-off signal timing (Keyoff). In addition, in order to make it easy to see, it describes with the alphabet suitably. In the table, “on / off” in the right column corresponding to “SW-a, SW-b, SW-c” at the left end indicates “on state / off state”, and “Keyon, Keyoff” at the left end. "On / off" in the right column corresponding to "" indicates "on event / off event".

Figure 0004770539
Figure 0004770539

case1はSW−a,SW−b,SW−cの全てで「オン状態」が検出できる場合であり、ベロシティはbcタイマの計測時間(接点時間差)(c−b)から求める。また、キーオン信号の出力はSW−cの「オンイベント」のタイミング、キーオフ信号の出力はSW−aの「オフイベント」のタイミングとする。このcase1は鍵スイッチ部42に異常がない正常時動作の場合であり、以下のcase2〜case5は鍵スイッチ部42に異常が生じている異常時動作の場合である。   Case 1 is a case where the “ON state” can be detected in all of SW-a, SW-b, and SW-c, and the velocity is obtained from the measurement time (contact time difference) (c−b) of the bc timer. The output of the key-on signal is the SW-c “on event” timing, and the output of the key-off signal is the SW-a “off event” timing. Case 1 is a normal operation when the key switch unit 42 is normal, and cases 2 to 5 below are normal operation when the key switch unit 42 is abnormal.

case2はSW−a,SW−cで「オン状態」が検出できるがSW−bで「オン状態」が検出できない場合であり、ベロシティはacタイマの計測時間(接点時間差)(c−a)から求める。また、キーオン信号の出力はSW−cの「オンイベント」のタイミング、キーオフ信号の出力はSW−aの「オフイベント」のタイミングとする。   Case 2 is a case where “ON state” can be detected by SW-a and SW-c, but “ON state” cannot be detected by SW-b, and the velocity is based on the ac timer measurement time (contact time difference) (c−a). Ask. The output of the key-on signal is the SW-c “on event” timing, and the output of the key-off signal is the SW-a “off event” timing.

case3はSW−b,SW−cで「オン状態」が検出できるがSW−aで「オン状態」が検出できない場合であり、ベロシティはbcタイマの計測時間(接点時間差)(c−b)から求める。また、キーオン信号の出力はSW−cの「オンイベント」のタイミング、キーオフ信号の出力はSW−bの「オフイベント」のタイミングとする。   Case 3 is a case where “ON state” can be detected by SW-b and SW-c but “ON state” cannot be detected by SW-a, and the velocity is based on the measurement time (contact time difference) (c−b) of the bc timer. Ask. The output of the key-on signal is the SW-c “on event” timing, and the output of the key-off signal is the SW-b “off event” timing.

case4はSW−cで「オン状態」が検出できるがSW−a,SW−bで「オン状態」が検出できない場合であり、ベロシティは所定値“60”(MIDIデータ)とする。また、キーオン信号の出力はSW−cの「オンイベント」のタイミング、キーオフ信号の出力はSW−cの「オフイベント」のタイミングとする。なお、この場合、ベロシティを所定値“60”としているが、予め決められた任意の値でもよいし、ユーザが所定値を設定できるものとしてもよい。   Case 4 is a case where “ON” can be detected by SW-c, but “ON” cannot be detected by SW-a and SW-b, and the velocity is set to a predetermined value “60” (MIDI data). The output of the key-on signal is the SW-c “on event” timing, and the output of the key-off signal is the SW-c “off event” timing. In this case, the velocity is set to the predetermined value “60”, but it may be an arbitrary value determined in advance or the user can set the predetermined value.

case5は、SW−a,SW−bの状態に関わらずSW−cで「オン状態」が検出できない場合であり、ベロシティは所定値“0”(MIDIデータ)とする。また、キーオン信号(キーオフ信号)の出力は行わず、発音をさせないものとする。   Case 5 is a case where the “ON state” cannot be detected by SW-c regardless of the states of SW-a and SW-b, and the velocity is a predetermined value “0” (MIDI data). It is assumed that no key-on signal (key-off signal) is output and no sound is produced.

このように、case1の正常時動作及びcase2〜case5の各異常時動作の場合に応じて、ベロシティ、キーオフ信号という発音の処理内容を変更する。なお、case2〜case4のように異常時動作を行うモードを「フェイルプルーフモード」ともいう。   In this way, the processing contents of sound generation such as velocity and key-off signal are changed according to the case 1 normal operation and the case 2 case 5 abnormal operation. Note that a mode in which an abnormal operation is performed, such as case 2 to case 4, is also referred to as a “fail proof mode”.

なお、この実施形態ではベロシティ及びキーオフ信号の出力が「発音の処理内容」であり、case1〜case4においてそれぞれ処理内容の「決定条件」が以下のように異なる。case1ではbcタイマの計測時間を用いることとSW−aの「オフイベント」が「決定条件」である。case2ではacタイマの計測時間を用いることとSW−aの「オフイベント」が「決定条件」である。case3ではbcタイマの計測時間を用いることとSW−bの「オフイベント」が「決定条件」である。case4では所定値“60”を用いることとSW−cの「オフイベント」が「決定条件」である。そして、この決定条件が変更される。   In this embodiment, the output of the velocity and the key-off signal is “sound generation processing content”, and the “determination conditions” of the processing content are different in cases 1 to 4 as follows. In case 1, the measurement time of the bc timer is used and the “off event” of SW-a is the “determination condition”. In case 2, the measurement time of the ac timer is used and the “off event” of SW-a is the “determination condition”. In case 3, the measurement time of the bc timer is used and the “off event” of SW-b is the “determination condition”. In case 4, the predetermined value “60” is used and the “off event” of SW-c is the “decision condition”. And this decision condition is changed.

次に、フローチャートに基づいて実施形態の動作について説明する。図3はキースキャン処理のフローチャート、図4は演奏信号生成処理のフローチャート、図5は報知処理のフローチャートである。なお、以下の説明及びフローチャートにおいて、制御に用いる各レジスタ、フラグ、タイマ等の名称及びその内容の意味は以下のとおりであり、それらの記憶内容(値)は特に断らない限り同一のラベルで表す。   Next, the operation of the embodiment will be described based on a flowchart. 3 is a flowchart of the key scan process, FIG. 4 is a flowchart of the performance signal generation process, and FIG. 5 is a flowchart of the notification process. In the following description and flowchart, the names of registers, flags, timers, etc. used for control and the meanings of their contents are as follows, and their stored contents (values) are represented by the same label unless otherwise specified. .

「n」は各鍵を識別(選択)するための鍵番号を格納するレジスタであり、鍵盤装置4が88鍵の場合ならn=1〜88である。「Kn」はn番目の鍵に割り当てられている音高(キーコード)を格納するレジスタである。「ASW」は同時に発音している音高の数すなわち発音数を格納するレジスタであり、新たに押鍵があると1増加し、離鍵されると1減少する。この「ASW」の初期設定値は“0”である。「KJ」は鍵の位置と動作状態を示すレジスタであり、SW−cがオフになった状態はKJ=B、このSW−cのオフからSW−bがオフになった状態はJK=A、このSW−bのオフからSW−aがオフになった状態はJK=0である。   “N” is a register for storing a key number for identifying (selecting) each key. When the keyboard device 4 is 88 keys, n = 1 to 88. “Kn” is a register for storing a pitch (key code) assigned to the nth key. “ASW” is a register for storing the number of pitches that are sounding at the same time, that is, the number of sounds, and increases by 1 when a new key is pressed and decreases by 1 when the key is released. The initial setting value of “ASW” is “0”. “KJ” is a register indicating a key position and an operation state. KJ = B when the SW-c is turned off, and JK = A when the SW-b is turned off after the SW-c is turned off. The state in which the SW-a is turned off after the SW-b is turned off is JK = 0.

「FR」は演奏信号生成に関するレジスタであり、FR=Aによって擬似的な共鳴音(ダンパーオンの効果)を発音させる処理を行う。また、FR=Bによってキーオンに対応する発音の処理を行い、FR=Cによってキーオフに対応する演奏信号の急速減衰処理を行う。「Kn−case」はcase1〜case4の反応状態の番号を記憶するレジスタであり、Kn−case=1はcase1、Kn−case=2はcase2、Kn−case=3はcase3、Kn−case=4はcase4の状態を示す。なお、「ASW」以外は「Kn」に対応する各音高(各鍵)にそれぞれ固有に設けられたものである。   “FR” is a register relating to performance signal generation, and performs processing of generating a pseudo resonance sound (damper-on effect) by FR = A. Further, the sound generation process corresponding to the key-on is performed by FR = B, and the performance signal corresponding to the key-off is rapidly attenuated by FR = C. “Kn-case” is a register that stores the reaction state numbers of cases 1 to 4, where Kn-case = 1 is case 1, Kn-case = 2 is case 2, Kn-case = 3 is case 3, and Kn-case = 4. Indicates the state of case4. Other than “ASW”, each pitch (each key) corresponding to “Kn” is uniquely provided.

なお、以下の説明及びフローチャートからわかるように、各フローチャートで示すプログラムとこのプログラムをCPU1に実行させて得られる機能が、請求項における「動作状況検出手段」、「不良兆候判断手段」及び「報知手段」に対応している。   As will be understood from the following description and flowcharts, the programs shown in the flowcharts and the functions obtained by causing the CPU 1 to execute the programs are the “operation status detection means”, “defective sign determination means” and “notification” in the claims. Corresponds to “means”.

図3のキースキャン処理では、ステップS1でn(鍵)を選択して、ステップS2でnの鍵スイッチ部42のSW−a、SW−b、SW−cをスキャンする準備をし、ステップS3〜ステップS8で各SW−a、SW−b、SW−cのオンイベントとオフイベントの有無を判定する。そして、この処理を鍵毎に行い、このフローを通る度にステップS1でnの番号を変更する。なお、フローチャートでは、現在選択されているnのスイッチであることを、「Kn(SW−a)、Kn(SW−b)、Kn(SW−c)」のように表記する。   In the key scan process of FIG. 3, n (key) is selected in step S1, and preparation for scanning SW-a, SW-b, SW-c of the key switch unit 42 of n is made in step S2, and step S3. In step S8, the presence / absence of an on event and an off event of each SW-a, SW-b, and SW-c is determined. This process is performed for each key, and the number n is changed in step S1 every time this flow is passed. In the flowchart, n switches currently selected are expressed as “Kn (SW-a), Kn (SW-b), Kn (SW-c)”.

ステップS3でSW−aのオンイベントがあれば、ステップS11〜S13でabタイマとacタイマでカウント(計測)を開始するとともに発音数「ASW」を増加させる。ステップS14はダンパーオンの共鳴音を発音するべきか否かを判定するもので、「ASW=2、かつ、KJ≠0」なら同時に2鍵が押鍵されている状態(ASW=2)で発音中の鍵が存在するので、ステップS15でFR=Aに設定してステップS100の演奏信号生成処理(図4)を行う。なおKJ≠0は、発音中の鍵盤が存在するというもので1度発音処理されノートオフされていないものがあることを示す。そして、図4においてFR=Aであるので、ステップS71からステップS73に移行して疑似共鳴音を付加する。なお、ASW=1のときは共鳴音は発生することはありえず、またASW≧3のときには既にASW=2となったときに共鳴音を発生させているため改めて発音させない。   If there is an SW-a on event in step S3, counting (measurement) is started with the ab timer and ac timer in steps S11 to S13, and the number of pronunciations “ASW” is increased. Step S14 determines whether or not the resonance sound of the damper on should be generated. If “ASW = 2 and KJ ≠ 0”, two keys are simultaneously pressed (ASW = 2). Since there is a middle key, FR = A is set in step S15, and the performance signal generation process (FIG. 4) in step S100 is performed. Note that KJ ≠ 0 indicates that there is a keyboard that is sounding and that there is a keyboard that has been sounded once and not note-off. Since FR = A in FIG. 4, the process proceeds from step S71 to step S73 to add a pseudo resonance sound. When ASW = 1, no resonance can be generated. When ASW ≧ 3, the resonance is already generated when ASW = 2, and no sound is generated again.

次に、図3のステップS4でSW−bのオンイベントがあれば、ステップS21,S22で、bcタイマのカウントを開始するとともに既に稼動しているabタイマのカウントを停止する。これにより、SW−aのオンからSW−bのオンまでの接点時間差の計測が終了する。   Next, if there is an SW-b on-event in step S4 in FIG. 3, in step S21 and S22, the counting of the bc timer is started and the counting of the ab timer already in operation is stopped. Thereby, the measurement of the contact time difference from turning on SW-a to turning on SW-b is completed.

次に、ステップS5でSW−cのオンイベントがあれば、ステップS31,S32でacタイマとbcタイマのカウントを停止するとともに、ステップS33でFR=Bに設定して、ステップS100の演奏信号生成処理(図4)を行う。これにより、SW−aのオンからSW−cのオンまでの接点時間差と、SW−bのオンからSW−cのオンまでの接点時間差の計測が終了する。また、FR=Bとなることにより、後述のように演奏信号生成処理で発音の処理が行われる。   Next, if there is an SW-c on event in step S5, the ac timer and bc timer are stopped in steps S31 and S32, and FR = B is set in step S33, and the performance signal generation in step S100 is performed. Processing (FIG. 4) is performed. This completes the measurement of the contact time difference from turning on SW-a to turning on SW-c and the contact time difference from turning on SW-b to turning on SW-c. Further, when FR = B, the sound generation process is performed in the performance signal generation process as described later.

以上がSW−a、SW−b、SW−cのオンイベントの場合の処理であり、通常の押鍵操作に対応して、ほとんどの場合はこのオンイベントを契機に演奏信号生成処理で所定の発音が行われる。そして、離鍵操作に対応してステップS6〜S8でSW−a、SW−b、SW−cのオフイベントの場合の処理を行う。なお、通常の離鍵操作時のオフイベントの順番に対応してステップS8の処理から説明する。   The above is the process in the case of an on event of SW-a, SW-b, and SW-c. In response to a normal key pressing operation, in most cases, a predetermined signal is generated in the performance signal generation process triggered by this on event. Pronunciation is performed. Then, in response to the key release operation, processing in the case of an off event of SW-a, SW-b, and SW-c is performed in steps S6 to S8. In addition, it demonstrates from the process of step S8 corresponding to the order of the off event at the time of normal key release operation.

ステップS8でSW−cのオフイベントがあれば、発音が開始されて鍵が少し戻されたということが検知されたことであり、ステップS41の後のステップS42でその状態(図2のc2,c4等)をKJ=Bと設定することにより記憶する。なお、このときの鍵の戻し動作は少しなので、通常はキーオフ処理はまだこの段階では行なわないが、ステップS41のcase判断でスイッチが故障している状況が認知されていれば(この場合はcase4)、キーオフ処理を行うものと判断してステップS43でKJ=AとしてステップS61の処理(後述のSW−aがオフのときのキーオフと同様な処理)に移行する。   If there is an SW-c off event in step S8, it is detected that the sound has been started and the key has been returned a little, and that state (c2, in FIG. 2) is detected in step S42 after step S41. c4 etc.) is stored by setting KJ = B. Since the key return operation at this time is small, the key-off process is not usually performed at this stage. However, if the switch determination in step S41 recognizes that the switch is malfunctioning (in this case, case 4). ), It is determined that a key-off process is to be performed, and in step S43, KJ = A is set, and the process proceeds to a process in step S61 (a process similar to a key-off process when SW-a described later is off).

次に、ステップS7でSW−bのオフイベントがあれば、上記SW−cのオフイベントを経由してきたかをステップS51でKJ=Bであるかで判断し、そうでなければKJを更新せずにステップS52でbcタイマ(SW−bのオンイベントで計測を開始したもの)をクリアする。すなわち、SW−bで一旦オンされてSW−cの位置まで押さずに戻されたと判断される場合である。一方、SW−cのオフイベントを経由してきた場合(KJ=B)は、ステップS53でKJ=Aに設定して更新し、ステップS54でcaseを判断して対応した故障のもの(この場合はcase3)であればステップS61の処理(後述のSW−aがオフのときのキーオフと同様な処理)に移行する。   Next, if there is an SW-b off event in step S7, it is determined in step S51 whether KJ = B has passed through the SW-c off event, otherwise KJ is not updated. In step S52, the bc timer (the one whose measurement is started by the SW-b on event) is cleared. That is, it is a case where it is determined that the switch is once turned on by SW-b and returned to the position of SW-c without being pushed. On the other hand, when an SW-c off-event has passed (KJ = B), KJ = A is set and updated in step S53, and the case corresponding to the failure is determined by judging the case in step S54 (in this case) In case 3), the process proceeds to step S61 (similar to key-off when SW-a described later is off).

次に、ステップS6でSW−aのオフイベントがあれば、ステップS61で「ASW」の押鍵数のカウントを減らし、ステップS62でKJ=Aであるかを判定する。KJ=Aの場合は、ステップS63でKJをクリアーし、ステップS64でFR=Cに設定して、ステップS100の演奏信号生成処理(図4)を行う。これにより、FR=Cとなるので演奏信号の急速減衰処理(キーオフの処理)が行われる。KJ=Aでない場合は、ステップS65〜S67で、KJ、abタイマ、acタイマ(それぞれSW−aがオンされて開始されたもの)をクリアする。   Next, if there is an SW-a off event in step S6, the count of the number of key presses of “ASW” is decreased in step S61, and it is determined in step S62 whether KJ = A. If KJ = A, KJ is cleared in step S63, FR = C is set in step S64, and the performance signal generation process (FIG. 4) in step S100 is performed. As a result, FR = C, so that the performance signal is rapidly attenuated (key-off process). If KJ = A is not satisfied, in steps S65 to S67, the KJ, ab timer, and ac timer (each started when SW-a is turned on) are cleared.

ここで、ステップS62でKJ=Aとなるのは前掲の表1の「Key off」のcase1〜case4に対応して3通りある。すなわち、S8→S41→S42→S7→S51→S53→S54→S6→S61の第1ループ、S8→S41→S42→S7→S51→S53→S54→S61の第2ループ、S8→S41→S43→S61の第3ループがある。   Here, in step S62, KJ = A corresponds to three cases corresponding to cases 1 to 4 of “Key off” in Table 1 above. That is, the first loop of S8 → S41 → S42 → S7 → S51 → S53 → S54 → S6 → S61, the second loop of S8 → S41 → S42 → S7 → S51 → S53 → S54 → S61, S8 → S41 → S43 → There is a third loop of S61.

第1ループは、Kn−caseは4でも3でもなくSW−c,SW−b,SW−aが順にオフイベント(S8,S7,S6)となった場合であり、case1またはcase2の場合に第1メイクスイッチ(SW−a)42aのオフイベントがキーオフ信号出力のタイミングとなる。第2ループは、Kn−case=3でSW−c,SW−bが順にオフイベント(S8,S7)となった場合であり、case3の場合に第2メイクスイッチ(SW−b)42bのオフイベントがキーオフ信号出力のタイミングとなる。第3ループは、Kn−case=4でSW−cがオフイベント(S8)となった場合であり、case4の場合に第3メイクスイッチ(SW−c)42cのオフイベントがキーオフ信号出力のタイミングとなる。なお、キーオン信号出力のタイミングは第3メイクスイッチ(SW−c)42cのオンイベントのタイミングである。   The first loop is when Kn-case is not 4 or 3, but SW-c, SW-b, and SW-a are sequentially turned off events (S8, S7, S6), and in the case of case1 or case2, The turn-off event of the 1-make switch (SW-a) 42a is the key-off signal output timing. The second loop is when Kn-case = 3 and SW-c and SW-b are sequentially turned off events (S8 and S7). In case 3, the second make switch (SW-b) 42b is turned off. The event becomes the key-off signal output timing. The third loop is a case where Kn-case = 4 and SW-c becomes an off event (S8). In case 4, the off event of the third make switch (SW-c) 42c is a key-off signal output timing. It becomes. The key-on signal output timing is the on-event timing of the third make switch (SW-c) 42c.

図4の演奏信号生成処理では、ステップS71,S72でFRを判定し、FR=AならステップS73で疑似共鳴音を付加し、FR=BならステップS75以降で演奏信号を生成する処理を行う。FRがAでもBでもなければ、すなわちステップS64(図3)でFR=Cと設定された場合、ステップS74で音源8にキーオフ信号を出力して演奏信号を減衰させる急速減衰処理を行う。   In the performance signal generation process of FIG. 4, FR is determined in steps S71 and S72. If FR = A, a pseudo resonance is added in step S73. If FR = B, a process of generating a performance signal is performed in step S75 and subsequent steps. If FR is neither A nor B, that is, if FR = C is set in step S64 (FIG. 3), in step S74, a key-off signal is output to the sound source 8 to attenuate the performance signal.

ここで、FR=BとなってステップS75以降の処理を行うのは、図3のステップS5でSW−cのオンイベントがあってステップS31,S32,S33と進んだ場合である。すなわち、鍵が最大深く操作されて発音開始という状態になったときである。現在、既にその鍵での発音が発音中であれば(ステップS75でYES)、ステップS76でその発音中の楽音を停止させる。この場合は再発音となるが、これは、キーオンの後に完全に鍵が戻されずに途中からまた鍵を押し下げた場合におきるものである。そして、ステップS77,S78,S79でSW−aとSW−bの状態を判定する。   Here, FR = B and the processing after step S75 is performed when there is an SW-c on-event at step S5 in FIG. 3 and the processing proceeds to steps S31, S32, and S33. That is, when the key is operated to the maximum depth and the sounding starts. At present, if the key is already sounding (YES in step S75), the tone being sounded is stopped in step S76. In this case, the sound is re-sound, but this occurs when the key is not returned completely after key-on and the key is depressed again halfway. Then, the states of SW-a and SW-b are determined in steps S77, S78, and S79.

前述のように図3のステップS3〜S8は各スイッチのオンイベントまたはオフイベントの有無を判定しているが、このステップS77,S78,S79はオン状態であるかオフ状態であるか(スイッチの反応状態)を判定する。そして、このステップS77,S78,S79のフローは鍵が最大深く操作された場合(FR=B)のフローであるので、鍵スイッチ部42に異常がなければSW−aとSW−bは共にオン状態となっているはずであり、これ以外は鍵スイッチ部42が正常でないことになる。   As described above, steps S3 to S8 in FIG. 3 determine whether or not each switch has an on event or an off event. Whether these steps S77, S78, and S79 are in an on state or an off state (switch state). Reaction state). Since the flow of steps S77, S78, and S79 is the flow when the key is operated to the maximum depth (FR = B), both SW-a and SW-b are turned on if there is no abnormality in the key switch unit 42. It should be in a state, and otherwise the key switch unit 42 is not normal.

SW−aとSW−bが共にオン状態のときは、ステップS81でKn−case=1に設定し、現在の音高(Kn)を音高データKCとし、ベロシティvelをTimeKn(bc)の値から算出し、それぞれKC、vel及びキーオン信号を音源8に出力する。SW−aがオン状態でSW−bがオフ状態のときは、ステップS82でKn−case=2に設定し、現在の音高(Kn)を音高データKCとし、ベロシティvelをTimeKn(ac)/2の値から算出し、それぞれKC、vel及びキーオン信号を音源8に出力する。SW−aがオフ状態でSW−bがオン状態のときは、ステップS83でKn−case=3に設定し、現在の音高(Kn)を音高データKCとし、ベロシティvelをTimeKn(bc)の値から算出し、それぞれKC、vel及びキーオン信号を音源8に出力する。SW−aとSW−bが共にオフ状態のときは、ステップS84でKn−case=4に設定し、現在の音高(Kn)を音高データKCとし、ベロシティvelを所定値“60”に設定し、それぞれKC、vel及びキーオン信号を音源8に出力する。   When both SW-a and SW-b are on, Kn-case = 1 is set in step S81, the current pitch (Kn) is set as pitch data KC, and the velocity vel is the value of TimeKn (bc). And KC, vel, and key-on signals are output to the sound source 8, respectively. When SW-a is on and SW-b is off, Kn-case = 2 is set in step S82, the current pitch (Kn) is set as pitch data KC, and the velocity vel is TimeKn (ac). Calculated from the value of / 2, and outputs KC, vel, and key-on signals to the sound source 8, respectively. When SW-a is off and SW-b is on, Kn-case = 3 is set in step S83, the current pitch (Kn) is set as pitch data KC, and the velocity vel is TimeKn (bc). And KC, vel, and key-on signals are output to the sound source 8, respectively. When both SW-a and SW-b are in the OFF state, Kn-case = 4 is set in step S84, the current pitch (Kn) is set as pitch data KC, and the velocity vel is set to a predetermined value “60”. The KC, vel, and key-on signals are output to the sound source 8 respectively.

次にステップS85でKn−case=1であるか否かを判定し、Kn−case=1でなければ鍵スイッチ部42の反応状態が正常でないと判断し、ステップS86で報知処理(図5)を行ってステップS87に進む。ステップS87では、TimeKn(ac)、TimeKn(ab)、TimeKn(bc)を全てクリアする。このタイマはベロシティを決めるため鍵の速度を検出していたものであるが、この段階で信号生成や故障診断報知での使用が完了したので、ここでクリアーを行なう。同じ鍵が操作されたときには、またこのタイマで時間がカウントされる。   Next, in step S85, it is determined whether Kn-case = 1. If Kn-case = 1 is not satisfied, it is determined that the reaction state of the key switch unit 42 is not normal, and notification processing is performed in step S86 (FIG. 5). To go to step S87. In step S87, TimeKn (ac), TimeKn (ab), and TimeKn (bc) are all cleared. This timer detects the speed of the key in order to determine the velocity, but at this stage, since it has been used for signal generation and fault diagnosis notification, it is cleared here. When the same key is operated, the timer counts time again.

なお、ステップS81,S83でベロシティvelの算出にTimeKn(bc)を用いる場合は、例えばTimeKn(bc)の値に変換係数Pを乗算してvelとする。これに対応して、ステップS82でベロシティvelの算出にTimeKn(ac)を用いる場合は、TimeKn(ac)/2の値に変換係数Pを乗算してvelとする。これは、TimeKn(ac)の値はTimeKn(bc)の略2倍の値となると見なせるからである。   Note that when TimeKn (bc) is used to calculate the velocity vel in steps S81 and S83, for example, the value of TimeKn (bc) is multiplied by the conversion coefficient P to obtain vel. Correspondingly, when TimeKn (ac) is used to calculate the velocity vel in step S82, the value of TimeKn (ac) / 2 is multiplied by the conversion coefficient P to obtain vel. This is because it can be considered that the value of TimeKn (ac) is approximately twice the value of TimeKn (bc).

図5の報知処理では、ステップS91で、鍵Knごとに鍵スイッチ部42の状態のデータを蓄積する。この状態のデータは、鍵スイッチ部42の反応状態を示す番号Kn−case、タイマの値TimeKn(ac)、TimeKn(ab)、TimeKn(bc)である。なお、タイマの値は再度その鍵が操作されたときは新しいデータで上書きしてしまってもよい。また、鍵Knごとに最大深く操作されてオンとなるSW−c(接点)のオン回数(またはオフ回数)である押鍵回数をカウントし、履歴データとして蓄積する。   In the notification process of FIG. 5, in step S91, data on the state of the key switch unit 42 is accumulated for each key Kn. The data in this state includes a number Kn-case indicating the reaction state of the key switch unit 42, timer values TimeKn (ac), TimeKn (ab), and TimeKn (bc). The timer value may be overwritten with new data when the key is operated again. Further, the number of times of key depression, which is the number of times of turning on (or the number of times of turning off) of SW-c (contact point) which is turned on by operating deepest for each key Kn, is counted and accumulated as history data.

次に、ステップS92で、鍵Knごとの状況を解析する。この場合、モニターして記録してある各スイッチ間の接点時間差(タイマの値)を計算や比較をすることで解析し、状況を推察する。なお、この処理はKn−case=1でない鍵のみが基準であるが、その周辺の鍵についても同様な状況に陥る可能性が認められる場合は、その旨の解析結果を出す。   Next, in step S92, the situation for each key Kn is analyzed. In this case, the contact time difference (timer value) between the switches monitored and recorded is analyzed by calculating and comparing to infer the situation. Note that this process is based only on keys that are not Kn-case = 1, but if it is recognized that there is a possibility that the surrounding keys will fall into the same situation, an analysis result to that effect is output.

次に、ステップS93で、ステップS91、ステップS92における解析結果に応じて、ユーザやサーバ14へ報知するメッセージを作成する。   Next, in step S93, a message to be notified to the user and the server 14 is created according to the analysis results in steps S91 and S92.

そして、ステップS94で、作成したメッセージを適宜ユーザやサーバ14に報知する。この報知手段は、当該電子鍵盤楽器の表示装置6の表示画面に表示させたり、音声で読み上げたりするもので、サーバ14へはインターネット経由などの通信ネットワーク13を介して情報送信する。   In step S94, the created message is notified to the user and the server 14 as appropriate. The notification means is displayed on the display screen of the display device 6 of the electronic keyboard instrument or read out by voice, and transmits information to the server 14 via the communication network 13 such as via the Internet.

以上説明したフローチャートの動作により、鍵スイッチ部42の第1メイクスイッチ42a(SW−a)や第2メイクスイッチ42b(SW−b)に異常が検出されると、キーオフ信号を出力するタイミングすなわちキーオフのトリガーとなるメイクスイッチを変更し、またベロシティを決定する時間計測のトリガーをかけるメイクスイッチを変更する。したがって、鍵スイッチ部に接触不良などが生じても、キーオフ信号を出力することができ、またベロシティを付与する処理を行うことができる。また、後述説明するように電子鍵盤楽器の状態をユーザやサーバ14に報知することができる。   When an abnormality is detected in the first make switch 42a (SW-a) or the second make switch 42b (SW-b) of the key switch unit 42 by the operation of the flowchart described above, the timing at which a key-off signal is output, that is, key-off. Change the make switch that triggers the time, and change the make switch that triggers the time measurement that determines the velocity. Therefore, even if a contact failure or the like occurs in the key switch unit, a key-off signal can be output and a process for giving velocity can be performed. Further, as described later, the state of the electronic keyboard instrument can be notified to the user and the server 14.

前掲の表1にも示したように、実施形態では、キーオン信号を正常時動作でも異常時動作(フェイルプルーフモード)でも第3メイクスイッチ42cのオンイベントのタイミングで出力するようにしているが、このキーオン信号を出力するタイミング、及びキーオフ信号を出力するタイミングは、実施形態のものに限定されるものではない。例えば、第1〜第3メイクスイッチ42a,42b,42cのうち、少なくとも一つのメイクスイッチにおいてオンイベント/オフイベント(あるいはオン状態)が検出できるものがあれば、そのメイクスイッチのオンイベントでキーオン信号を出力し、オフイベントでキーオフ信号を出力するようにしてもよい。この場合、複数のスイッチが正常な場合、深い方のスイッチでキーオン信号を出力し、浅い方のスイッチでキーオフ信号を出力するのがよい。   As shown in Table 1 above, in the embodiment, the key-on signal is output at the timing of the on event of the third make switch 42c in both the normal operation and the abnormal operation (fail proof mode). The timing for outputting the key-on signal and the timing for outputting the key-off signal are not limited to those in the embodiment. For example, if any of the first to third make switches 42a, 42b, and 42c can detect an on event / off event (or an on state) in at least one make switch, a key-on signal is generated when the make switch is turned on. And a key-off signal may be output at an off event. In this case, when a plurality of switches are normal, it is preferable to output a key-on signal with a deeper switch and output a key-off signal with a shallower switch.

また、実施形態では、接点に異常のある鍵スイッチ部についてのみ、キーオフ信号、ベロシティの元となるメイクスイッチを変更するようにしているが、一つの鍵スイッチ部で異常のある場合でも、その異常の鍵スイッチ部を含む例えば1オクターブの範囲内の鍵に対応する鍵スイッチ部についても、同様の条件でキーオフ信号、ベロシティの元となるメイクスイッチを変更するようにしてもよい。このようにすると、異常のある鍵だけ消音タイミングやベロシティが隣接鍵と異なる状態が目立たず、演奏者に違和感を与えるのを防止できる。また、このように所定の範囲内の鍵にも適用するか異常の鍵スイッチ部のみに適用するかをユーザが選択できるようにしてもよい。また、このようなフェイルプルーフモードを有効にするか無効にするかをユーザが選択できるようにしてもよい。この場合、最初は有効に自動設定されていて、一度フェイルプルーフモードになった後は、ユーザはその状況を把握できるので、その後は所望により有効/無効を選択できるようにしてもよい。   Further, in the embodiment, only the key switch unit having an abnormality in the contact is changed to the key-off signal and the make switch that is the source of velocity, but even if there is an abnormality in one key switch unit, the abnormality For the key switch unit corresponding to a key within a range of, for example, one octave including the key switch unit, the key off signal and the make switch that becomes the source of velocity may be changed under the same conditions. In this way, it is possible to prevent the player from feeling uncomfortable because the state in which the mute timing and velocity are different from those of the adjacent keys is not conspicuous only for abnormal keys. In addition, the user may be able to select whether to apply to a key within a predetermined range or only to an abnormal key switch unit. Further, the user may be able to select whether to enable or disable such a fail proof mode. In this case, it is automatically set to valid at first, and once the fail-proof mode is entered, the user can grasp the situation, and thereafter, it may be possible to select valid / invalid as desired.

次に、ステップS92における状況の解析や、ステップS93,S94の報知手段による表示等の処理の例を説明する。   Next, an example of processing such as analysis of the situation in step S92 and display by notification means in steps S93 and S94 will be described.

先ず、Kn−caseの値だけで鍵スイッチ部42の反応状態を解析することができ、case2〜4のときフェイルプルーフモードであることを報知する。すなわち、case2〜4の場合、従来の電子楽器だとすると消音されないが、実施形態のようにcase2〜4の場合もとりあえず消音される。そこで、このcase2〜4のフェイルプルーフモードの状態であることを示すために「鍵盤のスイッチが寿命です。至急部品交換して下さい。」あるいは「○○○サービス、TEL:○○○−○○○−○○○○」などの表示を行う。また、さらに詳細な表示として「○○の鍵が異常です」のように、フェイルプルーフモードで動作している鍵(鍵スイッチ部)の情報を表示するようにしてもよい。当然にcase1の場合には表示しない。またcase5の場合には判定不能であり表示しない。   First, it is possible to analyze the reaction state of the key switch unit 42 only by the value of Kn-case, and when the cases 2 to 4 are informed, the failure proof mode is informed. That is, in the case 2 to 4, the sound is not muted if it is a conventional electronic musical instrument, but in the case 2 to 4 as in the embodiment, it is muted for the time being. Therefore, in order to show that the case 2 to 4 are in the fail-proof mode, “the keyboard switch is at the end of its life. Please replace parts as soon as possible” or “XX service, TEL: XXX-XXX. “--XXX” is displayed. Further, as a more detailed display, information of a key (key switch unit) operating in the fail-proof mode may be displayed as “XX key is abnormal”. Of course, in case 1, it is not displayed. In case 5, the determination is not possible and is not displayed.

このように、case2〜4のときに演奏者(ユーザ)に対して、異常の状態であることが表示(報知)されるので、演奏者は現在のキーオンやキーオフのタイミング、ベロシティが通常のものと異なることを容易に認識できる。例えば、この表示がなければ、フェイルプルーフモードであることを認識できないことがある。例えば実施形態のように3つのスイッチで3通りのvel値を検出し、このvelとして最善の応急処理が為された場合には耳では故障を感知できない可能性もでてくる。しかし、上記の表示によりフェイルプルーフモードであることを容易に認識できる。   As described above, since the player (user) is informed (informed) of the abnormal state at the time of cases 2 to 4, the player has the current key-on / key-off timing and normal velocity. Can be easily recognized. For example, without this display, it may not be possible to recognize the fail-proof mode. For example, when three kinds of vel values are detected by three switches as in the embodiment, and the best emergency processing is performed as this vel, there is a possibility that a failure cannot be detected by the ear. However, it can be easily recognized from the above display that the mode is the fail-proof mode.

また、鍵スイッチ部に異常がない場合には、押鍵の仕方によらずSW−a,SW−b,SW−cにおけるオンイベント/オフイベントの順番には一定の規則がある。例えば「SW−bがオン→SW−bがオフ→SW−cがオン」となることはなく、「SW−bがオフ」と「SW−cがオン」との間で「SW−bがオン」となるはずである。そこで、このオンイベント/オフイベントの順番から、鍵スイッチ部の異常を検出するようにしてもよい。   Further, when there is no abnormality in the key switch unit, there is a certain rule in the order of the on event / off event in SW-a, SW-b, and SW-c, regardless of how the keys are pressed. For example, “SW-b is turned on → SW-b is turned off → SW-c is turned on”, and “SW-b is turned on” between “SW-b turned off” and “SW-c turned on”. It should be “on”. Therefore, an abnormality of the key switch unit may be detected from the order of the on event / off event.

ここで、鍵スイッチ部42は耐久性高く設計されているので、通常はcase2〜case5となることはなくcase1であり、このようなcase2〜case5となる前に、鍵スイッチ部42の反応状態を解析して各種の報知を行うことができる。例えば、実施形態におけるSW−a、SW−b、SW−cの3つのスイッチ(接点)により接点時間差であるタイマTimeKn(ac)、TimeKn(ab)、TimeKn(bc)のカウント値を求め、これらをそれぞれベロシティvel(c−a)、vel(b−a)、vel(c−b)とし、予め設定した定数α,β,γ,δ,ε,ζに対して次式の条件でスイッチの状況(経年変化等)を判定する。そして、次式の条件を満足する場合には正常とする。また、満足しない場合には「やや老朽化が進んでいる」と判断し、この場合、「スイッチのメンテナンスの時期です。早めに交換しましょう。」などの表示を行ってもよい。   Here, since the key switch unit 42 is designed with high durability, it is not the case 2 to the case 5 and is usually the case 1. Before the case 2 to the case 5 is changed, the reaction state of the key switch unit 42 is changed. Various notifications can be made by analysis. For example, the count values of timers TimeKn (ac), TimeKn (ab), and TimeKn (bc), which are contact time differences, are obtained by the three switches (contacts) SW-a, SW-b, and SW-c in the embodiment. Velocity vel (c−a), vel (b−a), vel (c−b), and the constants α, β, γ, δ, ε, and ζ set in advance with the following conditions: Determine the situation (aging, etc.). If the condition of the following equation is satisfied, it is assumed to be normal. If the user is not satisfied, it is determined that the product is slightly aging. In this case, a message such as “It is time to maintain the switch. Replace it sooner” may be displayed.

Figure 0004770539
Figure 0004770539

このように、各鍵の鍵スイッチ部42が複数のスイッチ42a,42b,42cを備えているので、一つの鍵に対して複数の接点時間差を求めることができ、これらの接点時間差の比(上記の例ではvel(b−a)/vel(c−b)等)により、スイッチ(接点)の疲労進行具合が検出あるいは把握でき、動作不良となることを未然に防止することができる。この接点時間差の比を用いると、鍵盤に備えられている鍵スイッチ部の接点という既存のハードウエアを利用できるので、特別な構成を不要としながら鍵盤装置の疲労状態を検出できるというメリットがある。   Thus, since the key switch section 42 of each key includes a plurality of switches 42a, 42b, 42c, a plurality of contact time differences can be obtained for one key, and the ratio of these contact time differences (the above-mentioned) In this example, it is possible to detect or grasp the progress of fatigue of the switch (contact point) by vel (ba) / vel (c-b), etc., and to prevent malfunction. If this contact time difference ratio is used, the existing hardware called the contact of the key switch unit provided in the keyboard can be used, and there is an advantage that the fatigue state of the keyboard device can be detected without requiring a special configuration.

また、ステップS91で押鍵回数がカウントされる。この押鍵回数は工場出荷時からカウントし、電源オフのときでもこのカウント値をバッテリーバックアップして蓄積する。この蓄積されたカウント値(蓄積データ)が予め決められた特定の回数となる場合に応じて、部品交換を推奨する意の表示を行うようにしてもよい。   In step S91, the number of key presses is counted. The number of key presses is counted from the time of shipment from the factory, and this count value is backed up and stored even when the power is off. Depending on the case where the accumulated count value (accumulated data) is a specific number of times determined in advance, a display indicating that component replacement is recommended may be performed.

例えば、次表2のように、各鍵の音名「A−1,A♯−1,B−1,C0,…,C7」に対応させたカウンタ「CA-1 ,CA-1,CB-1 ,CC0,…,CC7」の各カウント値を記憶する。そして各カウント値が、各カウンタと回数の程度「K1,K2,…KN」に応じた特定の設定値「K1A-1 ,K1A-1,…,K1C7」、「K2A-1 ,K2A-1,…,K2C7」、…「KNA-1 ,KNA-1,…,KNC7」に達した場合、各回数の程度「K1,K2,…KN」に応じた表示を行う。例えば、各鍵のうちのどれか一つがK1の設定値に達したときは「やや消耗しています。」、K2の設定値に達したときは「そろそれ交換時期です。」などの表示を行う。 For example, as shown in Table 2 below, counters “C A-1 , C A # −1 ” corresponding to the pitch names “A-1, A # -1, B-1, C0,. , C B−1 , C C0 ,..., C C7 ”are stored. Each count value is a specific set value “K1 A−1 , K1 A # −1 ,..., K1 C7 ”, “K2 A-1 ” corresponding to each counter and the degree of frequency “K1, K2,. , K2 a ♯ -1, ..., K2 C7 ", according to ..." KN a-1, KN a ♯ -1, ..., when it reaches the KN C7 ", the degree of the number of" K1, K2, ... KN " Display. For example, when any one of the keys reaches the set value of K1, “Slightly worn out” is displayed. When the set value of K2 is reached, “It is almost time to replace”. Do.

Figure 0004770539
Figure 0004770539

鍵スイッチ部の接点を老朽化させる支配的な要素は押鍵回数であり、こ上記のようにスイッチの押鍵回数をカウントすることで、鍵スイッチ部の疲労進行具合が検出あるいは把握でき、動作不良となることを未然に防止することができる。この場合、上記のように部品交換の推奨に利用せずに、単にカウント値を表示するようにしてもよい。   The dominant factor that makes the key switch contact aging is the number of key presses. By counting the number of key presses of the switch as described above, the progress of fatigue of the key switch unit can be detected or grasped, and the operation It can be prevented that it becomes defective. In this case, the count value may be simply displayed instead of being used for recommending replacement of parts as described above.

ここで、前記のようにフェイルプルーフモードとなった場合や押鍵回数により鍵スイッチ部の疲労が検出された場合、部品交換の推奨、あるいはカウント値の表示に利用せずに、フェイルプルーフモードとなった特定の鍵やカウントの状況をユーザに敢えて公開しなで、例えばメンテナンス時などに確認できるような利用の仕方でもよい。このように、ユーザに公開しないことにより、次のようなメリットがある。   Here, when it becomes the fail proof mode as described above, or when fatigue of the key switch part is detected by the number of key presses, it is not recommended to replace parts or display the count value. For example, it may be used in such a way that it can be confirmed at the time of maintenance, for example, without revealing to the user the status of the specific key or count that has become. Thus, there are the following merits by not showing to a user.

例えば、一つの鍵でも接点の異常や老朽化が確認できれば、他の鍵の接点も老朽化が進んでいると考えられる。しかし、一つの鍵の鍵スイッチ部について異常が有ることをユーザに提示すると、特定の鍵だけが疲労しているかのように映り、実際には他にも疲労しているものがある(すなわち疲労予備軍がたくさんある)ことを見逃すことがある。これにより、その部品(鍵スイッチ部)だけを交換しても、その交換直後に類似の理由で部品交換をしなければならないことが生じる可能性が高い。このような類似理由の部品交換という事態は避けるべきである。そこで、ユーザに公開しないほうが良い場合もある。   For example, if contact failure or aging can be confirmed even with one key, it is considered that the aging of other key contacts is also progressing. However, when the user is informed that there is an abnormality in the key switch part of one key, it appears as if only a specific key is fatigued, and in fact there are others that are also fatigued (i.e. fatigue There are many reserves). Thereby, even if only the part (key switch part) is replaced, there is a high possibility that the part must be replaced for a similar reason immediately after the replacement. Such parts replacement for similar reasons should be avoided. Therefore, there are cases where it is better not to disclose to users.

また、前記タイマTimeKn(ac)、TimeKn(ab)、TimeKn(bc)のカウント値あるいはベロシティvel(c−a)、vel(b−a)、vel(c−b)、あるいは前記押鍵回数のカウント値などの履歴データを、通信ネットワーク13を介してサーバ14に送信するようにしてもよい。   In addition, the timer TimeKn (ac), TimeKn (ab), TimeKn (bc) count value or velocity vel (ca), vel (ba), vel (cb), or the number of key presses History data such as a count value may be transmitted to the server 14 via the communication network 13.

この場合、当該電子楽器の製造メーカ等がサーバ14を介して得られる上記情報から市場の利用状況を把握し、故障の未然防止を図ることができる。特に、部品の異常をユーザに公開しない場合に有効である。なお、従来は実際に不具合が生じてサービスセンターなどに連絡があるまで、不具合に対応することが不可能であった。このように、実施形態によれば、特にネットワークに接続できる電子楽器(ネット楽器)の新たな付加価値として故障の未然防止を実現できる。   In this case, the manufacturer of the electronic musical instrument or the like can grasp the market usage status from the information obtained via the server 14 and can prevent failure. This is particularly effective when the component abnormality is not disclosed to the user. Conventionally, it has been impossible to deal with a problem until a problem actually occurs and the service center is contacted. Thus, according to the embodiment, failure prevention can be realized as a new added value of an electronic musical instrument (net musical instrument) that can be connected to a network.

また、押鍵回数をカウントする場合、例えばカウント値(総計)の最も多いユーザ(その電子楽器)に対して、「あなたは、この電子楽器を使って頂いているお客様のなかで最も頻度高く使って頂いたお客様です」などとして、表彰のデータとして利用してもよいし、カウント値をを「100万回の打鍵おめでとうございます」等の表示を行う契機としてもよい。この種の表示を行う場合、ネットワークで配信してもよいし、電子楽器単独で表示できるようにしてもよい。   Also, when counting the number of key presses, for example, to the user (the electronic musical instrument) with the largest count value (total), “You are the most frequently used by customers who use this electronic musical instrument. It may be used as award data, for example, or as an opportunity to display the count value as “Congratulations on one million keystrokes”. When this type of display is performed, it may be distributed over a network, or may be displayed with an electronic musical instrument alone.

以上の実施形態では、鍵スイッチ部が3段階のメイクスイッチである場合について説明したが、2段階、4段階以上でもよい。また、実施形態では各スイッチがメイクスイッチである場合について説明したが、ブレイクスイッチでもよい。また、反応状態がオン/オフではなく、所定の2値の反応状態をとるようなスイッチでもよい。   In the above embodiment, the case where the key switch unit is a three-stage make switch has been described, but it may be two stages, four stages or more. In the embodiment, the case where each switch is a make switch has been described, but a break switch may be used. Further, a switch that takes a predetermined binary reaction state instead of the on / off reaction state may be used.

また、実施形態ではプログラムとCPU1で得られる機能が、「動作状況検出手段」、「不良兆候判断手段」及び「報知手段」を構成し、スイッチ状況検出手段、「不良兆候判断手段」が混在する形態となっているが、これらの各手段はそれぞれ別のサブルーチンで個別に構成してもよい。また、「不良兆候判断手段」、は毎回判断するものではなく、定期的に検出するようなものでもよい。なお、プログラムとCPUとで構成しなくてもよいことはいうまでもない。   In the embodiment, the function obtained by the program and the CPU 1 constitutes “operation status detection means”, “defective sign determination means”, and “notification means”, and the switch status detection means and “defective sign determination means” coexist. However, each of these means may be individually configured by separate subroutines. The “defective sign determination means” is not determined every time, but may be detected periodically. Needless to say, the program and the CPU need not be configured.

また、実施形態では、電子鍵盤楽器を例に説明したが、本発明は、操作子の鍵スイッチ部として複数段階で反応するスイッチを有するものであれば、他の形態の電子楽器にも適用できる。   In the embodiments, the electronic keyboard musical instrument has been described as an example. However, the present invention can be applied to other types of electronic musical instruments as long as they have a switch that reacts in a plurality of stages as a key switch portion of an operator. .

本発明の実施形態における鍵盤装置の鍵と鍵スイッチ部の構成を部分的に拡大して示した構成図である。It is the block diagram which expanded and showed partially the structure of the key and key switch part of the keyboard apparatus in embodiment of this invention. 実施形態における鍵の押し込み位置の時間的な推移とメイクスイッチのオン/オフの関係を概念的に示した図である。It is the figure which showed notionally the time transition of the key pressing position in embodiment, and the relationship of ON / OFF of a make switch. 実施形態におけるキースキャン処理のフローチャートである。It is a flowchart of the key scan process in an embodiment. 実施形態における演奏信号生成処理のフローチャートである。It is a flowchart of the performance signal production | generation process in embodiment. 実施形態における報知処理のフローチャートである。It is a flowchart of the alerting | reporting process in embodiment. 本発明を適用した電子鍵盤楽器のハード構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of the electronic keyboard musical instrument to which this invention is applied.

符号の説明Explanation of symbols

1…CPU、2…ROM、3…RAM、4…鍵盤装置、6…表示装置、8…音源、12…外部インターフェース、13…通信ネットワーク、14…サーバ、41…鍵(演奏操作子)、42…鍵スイッチ部、42a…第1メイクスイッチ(スイッチ)、42b…第2メイクスイッチ(スイッチ)、42c…第3メイクスイッチ(スイッチ)   DESCRIPTION OF SYMBOLS 1 ... CPU, 2 ... ROM, 3 ... RAM, 4 ... Keyboard apparatus, 6 ... Display apparatus, 8 ... Sound source, 12 ... External interface, 13 ... Communication network, 14 ... Server, 41 ... Key (performance operator), 42 ... key switch part, 42a ... first make switch (switch), 42b ... second make switch (switch), 42c ... third make switch (switch)

Claims (8)

連続した演奏操作の操作程度に応じて反応する複数段階のスイッチを有した演奏操作手段と、
前記演奏操作手段のスイッチの動作に応じて楽音制御を行う電子楽器において、
前記演奏操作手段における前記複数段階のスイッチの動作状況を検出する動作状況検出手段と、
前記動作状況検出手段の検出結果が特定の結果であるときに、前記演奏操作手段不良兆候であると判断する不良兆候判断手段と、
前記不良兆候判断手段の判断結果に応じて不良兆候を報知する報知手段と、
を備え
前記動作状況検出手段で検出した動作状況に対応する履歴データをサーバに送信することを特徴とする電子楽器。
Performance operation means having a switch of a plurality of stages that reacts according to the degree of continuous performance operation,
In an electronic musical instrument that performs musical tone control according to the operation of the switch of the performance operating means,
An operation status detection means for detecting an operation status of the switch in the plurality of stages in the performance operation means;
When the detection result of said operating condition detecting means is a particular result, and bad signs determining means for determining that the failure indications are the performance operation means,
Informing means for informing a defect sign according to the determination result of the defect sign determining means,
Equipped with a,
An electronic musical instrument characterized by transmitting history data corresponding to the operation status detected by the operation status detection means to a server .
前記動作状況検出手段は前記複数段階のスイッチの動作間隔を動作状況として検出し、前記不良兆候判断手段は、該動作間隔に基づいて前記不良兆候を検出することを特徴とする請求項1に記載の電子楽器。   2. The operation status detection unit detects an operation interval of the plurality of stages of switches as an operation status, and the failure sign determination unit detects the failure sign based on the operation interval. Electronic musical instruments. 前記報知手段は不良兆候を示すメッセージを表示手段に表示するものであることを特徴とする請求項1または2に記載の電子楽器。   The electronic musical instrument according to claim 1, wherein the notification unit displays a message indicating a failure sign on the display unit. 連続した演奏操作の操作程度に応じて反応する複数段階のスイッチを有した演奏操作手段と、
前記演奏操作手段のスイッチの動作に応じて楽音制御を行う電子楽器において、
前記演奏操作手段における前記複数段階のスイッチの動作状況を検出する動作状況検出手段と、
前記動作状況検出手段の検出結果が特定の結果であるときに、前記演奏操作手段が不良兆候であると判断する不良兆候判断手段と、
前記不良兆候判断手段の判断結果に応じて不良兆候を報知する報知手段と、
を備え、
前記報知手段はものであり、
前記報知手段は不良兆候を示すメッセージを表示手段に表示するとともに、消耗部品の交換を促すメッセージを表示することを特徴とする電子楽器。
Performance operation means having a switch of a plurality of stages that reacts according to the degree of continuous performance operation,
In an electronic musical instrument that performs musical tone control according to the operation of the switch of the performance operating means,
An operation status detection means for detecting an operation status of the switch in the plurality of stages in the performance operation means;
A failure sign judging means for judging that the performance operating means is a failure sign when the detection result of the operation state detecting means is a specific result;
Informing means for informing a defect sign according to the determination result of the defect sign determining means,
With
The notification means is a thing,
The notification means and displays on the display unit a message indicating bad signs, features and to that electronic instrument to display a message prompting the replacement of consumable parts.
連続した演奏操作の操作程度に応じて反応する複数段階のスイッチを有した演奏操作手段と、
前記演奏操作手段のスイッチの動作に応じて楽音制御を行う電子楽器において、
前記演奏操作手段における前記複数段階のスイッチの動作状況を検出する動作状況検出手段と、
前記動作状況検出手段の検出結果が特定の結果であるときに、前記演奏操作手段が不良兆候であると判断する不良兆候判断手段と、
前記不良兆候判断手段の判断結果に応じて不良兆候を報知する報知手段と、
を備え、
前記動作状況検出手段は前記演奏操作の操作回数に対応する前記スイッチの動作回数を動作状況として検出し、前記不良兆候判断手段は、該動作回数にに基づいて前記不良兆候を検出することを特徴とする電子楽器。
Performance operation means having a switch of a plurality of stages that reacts according to the degree of continuous performance operation,
In an electronic musical instrument that performs musical tone control according to the operation of the switch of the performance operating means,
An operation status detection means for detecting an operation status of the switch in the plurality of stages in the performance operation means;
A failure sign judging means for judging that the performance operating means is a failure sign when the detection result of the operation state detecting means is a specific result;
Informing means for informing a defect sign according to the determination result of the defect sign determining means,
With
The operation state detection means detects the number of times of operation of the switch corresponding to the number of operations of the performance operation as an operation state, and the failure sign determination means detects the failure sign based on the number of actions. It shall be the electronic musical instrument.
前記演奏操作手段は、前記演奏操作を行う鍵を複数備えるとともに、前記複数段階のスイッチからなる鍵スイッチ部を各鍵にそれぞれ備えた鍵盤であることを特徴とする請求項1乃至5のいずれか一項に記載の電子楽器。   6. The keyboard according to any one of claims 1 to 5, wherein the performance operating means is a keyboard provided with a plurality of keys for performing the performance operation and each key having a key switch unit composed of the switches of the plurality of stages. The electronic musical instrument according to one item. 前記報知手段は、前記鍵盤における複数の鍵のうちの前記不良兆候判断手段で不良兆候が判断された鍵についての情報を報知することを特徴とする請求項6に記載の電子楽器。   The electronic musical instrument according to claim 6, wherein the notifying unit notifies information about a key whose failure sign is determined by the failure sign determining unit among a plurality of keys on the keyboard. 前記動作状況検出手段で検出される動作状況が正常動作と異なる動作パターンである特定の動作パターンであった際に、前記楽音制御の処置内容を変更するようにしたことを特徴とする請求項1乃至7のいずれか一項に記載の電子楽器。 2. The processing content of the musical tone control is changed when the operation status detected by the operation status detection means is a specific operation pattern that is an operation pattern different from a normal operation. The electronic musical instrument as described in any one of thru | or 7.
JP2006082578A 2006-03-24 2006-03-24 Electronic musical instruments Expired - Fee Related JP4770539B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006082578A JP4770539B2 (en) 2006-03-24 2006-03-24 Electronic musical instruments

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006082578A JP4770539B2 (en) 2006-03-24 2006-03-24 Electronic musical instruments

Publications (2)

Publication Number Publication Date
JP2007256753A JP2007256753A (en) 2007-10-04
JP4770539B2 true JP4770539B2 (en) 2011-09-14

Family

ID=38631036

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006082578A Expired - Fee Related JP4770539B2 (en) 2006-03-24 2006-03-24 Electronic musical instruments

Country Status (1)

Country Link
JP (1) JP4770539B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008233365A (en) * 2007-03-19 2008-10-02 Yamaha Corp Electronic keyboard musical instrument and program for implementing its control method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009173595A (en) 2008-01-25 2009-08-06 Keio Gijuku Tri-substituted aromatic compound
JP6789161B2 (en) * 2017-03-23 2020-11-25 東プレ株式会社 Capacitive keyboard device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3373647B2 (en) * 1994-04-22 2003-02-04 株式会社河合楽器製作所 Electronic keyboard instrument
JP3684610B2 (en) * 1994-08-01 2005-08-17 ヤマハ株式会社 Keyboard information output device
JP4075195B2 (en) * 1998-09-18 2008-04-16 ヤマハ株式会社 Object position measuring device
JP2002190871A (en) * 2000-12-20 2002-07-05 Yanmar Agricult Equip Co Ltd Maintenance system for service machine
JP3922225B2 (en) * 2003-07-25 2007-05-30 ヤマハ株式会社 Pronunciation control program and electronic keyboard instrument using the same
JP4186817B2 (en) * 2003-12-17 2008-11-26 ヤマハ株式会社 Controller for performance operator

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008233365A (en) * 2007-03-19 2008-10-02 Yamaha Corp Electronic keyboard musical instrument and program for implementing its control method

Also Published As

Publication number Publication date
JP2007256753A (en) 2007-10-04

Similar Documents

Publication Publication Date Title
JP3684610B2 (en) Keyboard information output device
US20060187073A1 (en) Energy status indicator in a portable device
JP4770539B2 (en) Electronic musical instruments
JP3922225B2 (en) Pronunciation control program and electronic keyboard instrument using the same
JP2010091853A (en) Pedal device and electronic keyboard musical instrument
WO2005081221A1 (en) Automatic musical performance device
JP4775061B2 (en) Electronic musical instruments
JP3142016B2 (en) Keyboard for electronic musical instruments
US6849796B2 (en) Operation detection switch, musical instrument and parameter determination program
US20190295518A1 (en) Electronic musical instrument and lesson processing method for electronic musical instrument
JPH0573029A (en) Keyboard device for electronic musical instrument
US7259319B2 (en) Performance operator control apparatus
JP3005915B2 (en) Electronic musical instrument
EP1160652A3 (en) Keyboard apparatus
JP5344373B2 (en) Performance learning apparatus and program
US7088337B2 (en) Input device for alarming excessive striking force
JP2008286858A (en) Electronic music sound generator
JP3626863B2 (en) Electronic musical instruments
JP4280227B2 (en) Electronic keyboard instrument keyboard device
JP5555912B2 (en) Electronic keyboard instrument
JP2007316397A (en) Operation sensing device
JP4125559B2 (en) Electronic tuner
JP4187898B2 (en) Electronic keyboard instrument repeated hit detection control device
JPH05333859A (en) Keyboard device for electronic musical instrument
JP4162638B2 (en) Electronic musical instruments

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090120

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110301

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110502

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110524

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110606

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

Free format text: PAYMENT UNTIL: 20140701

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees