JP2001166773A - Electronic musical instrument - Google Patents

Electronic musical instrument

Info

Publication number
JP2001166773A
JP2001166773A JP34525299A JP34525299A JP2001166773A JP 2001166773 A JP2001166773 A JP 2001166773A JP 34525299 A JP34525299 A JP 34525299A JP 34525299 A JP34525299 A JP 34525299A JP 2001166773 A JP2001166773 A JP 2001166773A
Authority
JP
Japan
Prior art keywords
key
data
performance data
generated
keyboard
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP34525299A
Other languages
Japanese (ja)
Inventor
Shinji Asakawa
信二 浅川
Yujiro Uejima
裕次郎 上島
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.)
Roland Corp
Original Assignee
Roland 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 Roland Corp filed Critical Roland Corp
Priority to JP34525299A priority Critical patent/JP2001166773A/en
Publication of JP2001166773A publication Critical patent/JP2001166773A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PROBLEM TO BE SOLVED: To conduct a four-hand performance by automatic playing based on playing data and the playing of keyboard operations of a player and to prevent the occurrence of double ringing by making a sound source to generate musical signals in accordance with the playing data and to generate musical sound in accordance with the key depressing operations of the player on an electronic musical instrument in which keys are depressed or moved up in accordance with the playing data while the sound source generates musical sound in accordance with the playing data. SOLUTION: The instrument is provided with a keyboard which has rocking capable plural keys and generates key operation data when a key is rocked to a prescribed position, a signal generating means which generates prescribed signals based on playing data, a key driving means which drives the keys based on the prescribed signals generated by the signal generating means and rocks the keys within the ranges so that the keys do not reach prescribed positions and a sound source which generates musical sound based on the playing data and also generates musical sound based on the key operation data generated by the keyboard.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、電子楽器に関し、
さらに詳細には、演奏データに応じた自動演奏ととも
に、演奏者の鍵盤操作による手弾きの演奏も行なうこと
ができる電子ピアノなどの電子楽器に関する。
TECHNICAL FIELD The present invention relates to an electronic musical instrument,
More specifically, the present invention relates to an electronic musical instrument such as an electronic piano, which can perform a hand-playing performance by a keyboard operation of a player as well as an automatic performance according to performance data.

【0002】[0002]

【従来の技術】一般に、電子楽器の分野においては、自
動演奏装置を搭載し、当該自動演奏装置が読み出す発音
開始指示(押鍵指示)/発音停止指示(離鍵指示)を示
す演奏データ(例えば、MIDIにおいては、発音開始
指示(押鍵指示)を示す演奏データはノート・オンに対
応し、発音停止指示(離鍵指示)を示す演奏データはノ
ート・オフに対応する。)に応じて、鍵盤を押鍵動作/
離鍵動作させる電子ピアノが知られている。
2. Description of the Related Art Generally, in the field of electronic musical instruments, an automatic performance device is mounted, and performance data (for example, a key press instruction) / a sound stop instruction (key release instruction) read out by the automatic performance device. In MIDI, performance data indicating a sound generation start instruction (key pressing instruction) corresponds to note-on, and performance data indicating a sound generation stop instruction (key release instruction) corresponds to note-off.) Key press operation /
2. Description of the Related Art An electronic piano that performs a key release operation is known.

【0003】このような電子ピアノとして、本願出願人
は特開平6−266354号公報に開示された電子楽器
を提案している。
As such an electronic piano, the present applicant has proposed an electronic musical instrument disclosed in Japanese Patent Application Laid-Open No. 6-266354.

【0004】即ち、この特開平6−266354号公報
に開示された電子楽器は、自動演奏装置から演奏データ
が音源に直接送られることによって楽音信号の生成が制
御されて、演奏データを忠実に再現した自動演奏を行う
ことができるとともに、自動演奏装置からの演奏装置に
応じて鍵が揺動され、聴覚的および視覚的に優れた効果
が得られる。
That is, in the electronic musical instrument disclosed in Japanese Unexamined Patent Publication No. 6-266354, generation of musical tone signals is controlled by directly transmitting performance data from an automatic performance device to a sound source, and the performance data is faithfully reproduced. In addition, the automatic performance can be performed, and the keys are swung according to the performance device from the automatic performance device, so that an excellent auditory and visual effect can be obtained.

【0005】ところで、このような電子楽器において、
自動演奏装置から直接音源が制御されると同時に、その
信号によって鍵が駆動され、鍵が所定位置まで押下され
るとそれを検出して、楽音が発生する。
By the way, in such an electronic musical instrument,
At the same time as the sound source is directly controlled from the automatic performance device, the key is driven by the signal, and when the key is pressed to a predetermined position, the key is detected and a tone is generated.

【0006】つまり、同じ音が2回発音する(以下、
「2度鳴り」と称する。)ことになり不自然である。
That is, the same sound is pronounced twice (hereinafter, referred to as
Called "double sound." This is unnatural.

【0007】この2度鳴りを回避する方法としては、自
動演奏が行われるときは、上記検出を無視すればよい。
As a method of avoiding the double sound, when the automatic performance is performed, the above detection may be ignored.

【0008】しかしながら、たとえ自動演奏中であって
も、人が押鍵した際、楽音が発生しないのは不自然であ
る。
However, it is unnatural that no musical tone is generated when a person presses a key, even during automatic performance.

【0009】また、別の方法としては、自動演奏により
音源が発音している時間は、その音高に対応する押鍵信
号を無視すればよい。しかしながらこの方法は、判断が
複雑になる。
[0009] As another method, during a period in which the sound source is sounding by the automatic performance, the key press signal corresponding to the pitch may be ignored. However, this method makes the decision complicated.

【0010】[0010]

【発明が解決しようとする課題】本発明は、上記したよ
うな従来の技術の有する種々の問題点に鑑みてなされた
ものであり、その目的とするところは、簡単な構成で、
自動演奏を行うと同時に鍵を駆動し、2度鳴りを防止す
るとともに、鍵の所定位置への押下を検出した場合は、
楽音を発生することができるようにした電子楽器を提供
しようとするものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned various problems of the prior art, and an object thereof is to provide a simple configuration.
When the key is driven at the same time as the automatic performance is performed, the sound is prevented from ringing twice, and when it is detected that the key is pressed to a predetermined position,
It is an object of the present invention to provide an electronic musical instrument capable of generating a musical tone.

【0011】[0011]

【課題を解決するための手段】上記目的を達成するため
に、本発明のうち請求項1に記載の発明は、揺動可能な
複数の鍵を有し、該鍵が所定の位置まで揺動されたとき
に鍵操作データを生成する鍵盤と、演奏データに基づい
て所定の信号を生成する信号生成手段と、上記信号生成
手段によって生成された上記所定の信号に基づいて上記
鍵を駆動し、上記鍵を上記所定の位置に到達しない範囲
で揺動する鍵駆動手段と、演奏データに基づいて楽音信
号を生成するとともに、上記鍵盤において生成された鍵
操作データに基づいて楽音信号を生成する音源とを有す
るようにしたものである。
In order to achieve the above object, according to the first aspect of the present invention, a plurality of swingable keys are provided, and the keys are swung to a predetermined position. A keyboard that generates key operation data when it is performed, a signal generation unit that generates a predetermined signal based on performance data, and driving the key based on the predetermined signal generated by the signal generation unit, Key driving means for swinging the key within a range not reaching the predetermined position; a sound source for generating a tone signal based on performance data and generating a tone signal based on key operation data generated on the keyboard It has the following.

【0012】上記した本発明のうち請求項1に記載の発
明によれば、演奏者が鍵を押鍵して所定の位置まで揺動
すると鍵操作データが生成されて、音源ではこの鍵操作
データに基づいて楽音信号が生成されることになるが、
演奏データに基づいて鍵を駆動する際には、鍵駆動手段
が所定の位置に到達しない範囲で鍵を駆動して揺動する
ので鍵操作データが生成されず、演奏データに基づく鍵
の押鍵では音源が楽音信号を生成することはない。
According to the first aspect of the present invention, when the player presses a key and swings to a predetermined position, key operation data is generated. The tone signal is generated based on
When driving a key based on performance data, key operation data is not generated because the key driving means drives and swings the key within a range where the key does not reach a predetermined position. Then, the sound source does not generate a tone signal.

【0013】従って、演奏データに応じて音源が楽音信
号を生成する際に、当該演奏データに応じて鍵は揺動さ
れることになるが、この鍵の揺動によっては楽音信号が
生成されず、演奏者が鍵を押鍵して所定の位置まで揺動
したときのみ鍵の揺動によって楽音信号が生成されるこ
とになるので、演奏データに基づく自動演奏と演奏者の
鍵盤操作による演奏との連弾を行うことが可能になると
ともに、2度鳴りを防止することができる。
Therefore, when the tone generator generates a tone signal in accordance with the performance data, the key is swung in accordance with the performance data. However, the tone signal is not generated by the swing of the key. Only when the player presses a key and swings to a predetermined position, a tone signal is generated by swinging the key, so that automatic performance based on the performance data and performance by the player's keyboard operation can be performed. Can be performed, and a double sound can be prevented.

【0014】また、本発明のうち請求項2に記載の発明
は、揺動可能な複数の鍵を有し、該鍵の揺動に応じて該
鍵に対応する音高を含む鍵操作データを生成する鍵盤
と、演奏データに基づいて所定の信号を生成する信号生
成手段と、上記信号生成手段によって生成された上記所
定の信号に基づいて上記鍵を駆動して上記鍵を揺動させ
る鍵駆動手段と、演奏データに基づいて楽音信号を生成
するとともに、上記鍵盤において生成された鍵操作デー
タに基づいて楽音信号を生成する音源と、上記鍵盤にお
いて生成された鍵操作データの音高が所定の鍵域の鍵に
対応する音高である場合に、上記音源における上記鍵盤
において生成された鍵操作データに基づく楽音信号の生
成を禁止する禁止手段とを有するようにしたものであ
る。
According to a second aspect of the present invention, there is provided a plurality of swingable keys, and key operation data including a pitch corresponding to the keys is provided in accordance with the swing of the keys. A keyboard to be generated, signal generating means for generating a predetermined signal based on performance data, and key driving for driving the key based on the predetermined signal generated by the signal generating means to swing the key Means for generating a tone signal based on the performance data, a sound source for generating a tone signal based on the key operation data generated on the keyboard, and a pitch of the key operation data generated on the keyboard having a predetermined pitch. A prohibition means for prohibiting generation of a tone signal based on key operation data generated on the keyboard in the sound source when the pitch corresponds to a key in a key range.

【0015】上記した本発明のうち請求項2に記載の発
明によれば、鍵の揺動により生成される鍵操作データの
音高が、所定の鍵域の鍵に対応する音高である場合に
は、禁止手段によって音源における当該鍵操作データに
基づく楽音信号の生成が禁止されることになる。
According to the second aspect of the present invention, when the pitch of the key operation data generated by swinging the key is a pitch corresponding to a key in a predetermined key range In this case, the generation of the tone signal based on the key operation data in the sound source is prohibited by the prohibition means.

【0016】例えば、音源において演奏データに基づき
生成中の楽音信号の最高音高と最低音高とを検出するよ
うにし、当該検出された最高音高と最低音高との間の音
高の鍵操作データに対応する楽音を発音しないように制
御してもよい。この場台、最高音高と最低音高との間の
音高の鍵の押鍵による鍵操作データに基づく発音は行わ
れず、最高音高と最低音高との間以外の音高の鍵の押鍵
による鍵操作データに基づく発音のみ行われる。
For example, the tone generator detects the highest pitch and the lowest pitch of a tone signal being generated based on performance data in a sound source, and generates a key having a pitch between the detected highest pitch and the lowest pitch. Control may be performed so that a tone corresponding to the operation data is not generated. At this stage, no sound is generated based on key operation data by depressing a key having a pitch between the highest pitch and the lowest pitch, and a key having a pitch other than between the highest pitch and the lowest pitch is not generated. Only sound generation based on key operation data by key depression is performed.

【0017】また、自動演奏の演奏曲のデータのヘッダ
部分に最高音と最低音とを予め記憶しておくようにし、
当該記憶された最高音と最低音との間の音高の鍵の押鍵
による鍵操作データが禁止手段によって楽音信号の生成
に対応する楽音を発音しないように制御してもよい。こ
の場合、最高音高と最低音高は予め記憶した音高であ
り、演奏データの進行に併せて変化することはない固定
の鍵域となる。そして、この場合も当該所定の音高の鍵
の押鍵による鍵操作データに基づく発音は行われず、所
定の鍵域以外の音高の鍵の押鍵による鍵操作データに基
づく発音のみ行われる。
Also, the highest note and the lowest note are stored in advance in the header portion of the data of the music piece of the automatic performance,
The stored key operation data by pressing a key having a pitch between the highest note and the lowest note may be controlled by the prohibiting means so as not to generate a tone corresponding to generation of a tone signal. In this case, the highest pitch and the lowest pitch are pitches stored in advance, and are fixed key ranges that do not change as the performance data progresses. Also in this case, the sound generation based on the key operation data by the key depression of the key of the predetermined pitch is not performed, but the sound generation based on the key operation data by the key depression of the key other than the predetermined key range is performed.

【0018】さらにまた、鍵盤の鍵域を2つにスプリッ
ト(分割)し、上鍵域の音高の鍵の押鍵による鍵操作デ
ータに対応する楽音を発音しないように制御してもよ
い。上鍵域の音高の鍵の押鍵による鍵操作データは無視
され、下鍵域の音高の鍵の押鍵による鍵操作データによ
ってのみ楽音信号が生成される。
Further, the key range of the keyboard may be split (divided) into two, and control may be performed so that a tone corresponding to key operation data by depressing a key having a pitch in the upper key range is not generated. Key operation data obtained by pressing a key having a pitch in the upper key range is ignored, and a tone signal is generated only by key operation data obtained by pressing a key having a pitch in the lower key range.

【0019】従って、演奏データに応じて音源が楽音信
号を生成する際に、当該演奏データに応じて鍵は揺動さ
れて鍵操作データが生成されることになるが、この演奏
データに応じた鍵の揺動による鍵操作データによっては
楽音信号が生成されず、所定の鍵域の間にない音高の鍵
を演奏者が押鍵して揺動したときに生成される鍵操作デ
ータによってのみ楽音信号が生成されることになるの
で、演奏データに基づく自動演奏と演奏者の鍵盤操作に
よる演奏との連弾を行うことが可能になるとともに、2
度鳴りを防止することができる。
Therefore, when the tone generator generates a tone signal in accordance with the performance data, the key is swung in accordance with the performance data to generate key operation data. A tone signal is not generated by key operation data due to key swing, but only by key operation data generated when a player presses and swings a key having a pitch not within a predetermined key range. Since a tone signal is generated, it is possible to perform a duet between an automatic performance based on performance data and a performance by a player's keyboard operation.
Squeak can be prevented.

【0020】[0020]

【発明の実施の形態】以下、添付の図面を参照しなが
ら、本発明による電子楽器の第1の実施の形態を詳細に
説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a first embodiment of an electronic musical instrument according to the present invention will be described in detail with reference to the accompanying drawings.

【0021】図1には、本発明による電子楽器の第1の
実施の形態のブロック構成図が示されており、この電子
楽器は、その全体の動作の制御を中央処理装置(CP
U)10を用いて制御するように構成されている。
FIG. 1 is a block diagram showing a first embodiment of an electronic musical instrument according to the present invention. In this electronic musical instrument, a central processing unit (CP) controls the overall operation of the electronic musical instrument.
U) It is configured to control by using 10.

【0022】このCPU10には、バス12を介して、
CPU10の動作を制御するためのプログラムなどが記
憶されたリード・オンリ・メモリ(ROM)14と、C
PU10によるプログラムの実行に必要な各種レジスタ
群やフラグなどが設定されたランダム・アクセス・メモ
リ(RAM)16と、演奏データを記憶するとともにバ
ス12を介して記憶した演奏データを出力する自動演奏
装置18と、自動演奏装置18からの演奏データや後述
する鍵操作データに基づいて楽音信号を生成する音源2
0と、演奏データを入力して当該演奏データに応じた駆
動信号を生成して後述する鍵盤装置26のソレノイド3
2に出力する鍵駆動制御部24と、演奏者によって操作
される揺動可能な複数の鍵30と当該鍵30のそれぞれ
に配設されたソレノイド32と当該鍵30のそれぞれに
配設されて当該鍵30の押鍵動作/離鍵動作を検出する
キー・スイッチ52と鍵30を動作させる鍵機構とを有
する鍵盤装置26とが接続されている。
This CPU 10 is connected via a bus 12
A read-only memory (ROM) 14 in which a program for controlling the operation of the CPU 10 is stored;
A random access memory (RAM) 16 in which various registers and flags necessary for the execution of a program by the PU 10 are set, and an automatic performance device for storing performance data and outputting the stored performance data via the bus 12 And a sound source 2 for generating a tone signal based on performance data from the automatic performance device 18 and key operation data to be described later.
0, and inputs the performance data to generate a drive signal corresponding to the performance data, and generates a drive signal corresponding to the performance data.
2, a key drive control unit 24, a plurality of swingable keys 30 operated by a player, and solenoids 32 arranged on each of the keys 30 and the keys 30 arranged on each of the keys 30 A key switch 52 for detecting a key pressing operation / key releasing operation of the key 30 and a keyboard device 26 having a key mechanism for operating the key 30 are connected.

【0023】また、音源20には、アンプやスピーカー
などにより構成され、音源20によって生成された楽音
信号を聴取し得る楽音として空間に放音するサウンド・
システム22が接続されている。
The sound source 20 is composed of an amplifier, a speaker, etc., and emits a sound signal generated by the sound source 20 to the space as a sound that can be heard.
System 22 is connected.

【0024】また、符号28は、シーケンサなどの外部
のMIDI機器100が接続されるMIDIインターフ
ェース(MIDI I/F)であり、外部のMIDI機
器100によって生成された演奏データを入力したり、
外部のMIDI機器100へ演奏データを出力したりす
るなどの制御を行うものである。
Reference numeral 28 denotes a MIDI interface (MIDI I / F) to which an external MIDI device 100 such as a sequencer is connected, for inputting performance data generated by the external MIDI device 100,
It controls the output of performance data to the external MIDI device 100 and the like.

【0025】ここで、この実施の形態に関する説明にお
いては、説明を簡略化して本発明の理解を容易にするた
めに、自動演奏装置18は予め演奏データを記憶してい
て、記憶した演奏データを出力するものとしたが、これ
に限られるものではないことは勿論であり、外部記憶手
段に記憶された演奏データを読み出すようにしてもよ
い。
In the description of this embodiment, in order to simplify the description and facilitate the understanding of the present invention, the automatic performance device 18 stores performance data in advance, and stores the stored performance data. Although output is performed, it is needless to say that the present invention is not limited to this. Performance data stored in the external storage means may be read.

【0026】さらに、以下の説明においては、この電子
楽器の処理に用いる演奏データとしては、自動演奏装置
18から出力された演奏データを用いるものとするが、
これに限られるものではないことは勿論であり、MID
Iインターフェース28から入力される演奏データを用
いるようにしてもよい。
In the following description, the performance data output from the automatic performance device 18 is used as the performance data used in the processing of the electronic musical instrument.
Of course, this is not limited to MID
Performance data input from the I interface 28 may be used.

【0027】また、この電子楽器においては、図示しな
い各種の操作子群を備えており、適宜の操作子を操作す
ることにより、自動演奏装置18から出力される演奏デ
ータや、MIDIインターフェース28から入力される
演奏データを任意に選択することができるようになされ
ているものとする。
The electronic musical instrument also includes various control elements (not shown). By operating appropriate control elements, performance data output from the automatic performance device 18 and input data from the MIDI interface 28 are provided. It is assumed that performance data to be played can be arbitrarily selected.

【0028】以下、上記した各構成のうち本発明の実施
に関連するものについて、適宜に説明するものとする。
Hereinafter, of the above-mentioned components, those relating to the implementation of the present invention will be appropriately described.

【0029】まず、自動演奏装置18は、上記したよう
に演奏データを出力するものであり、当該演奏データ
は、発音開始指示データ(ノート・オン)ならびに発音
停止指示データ(ノート・オフ)などからなるものであ
る。
First, the automatic performance device 18 outputs performance data as described above, and the performance data is based on tone generation start instruction data (note on), sound generation stop instruction data (note off), and the like. It becomes.

【0030】次に、鍵盤装置26のキー・スイッチ52
は、鍵30の押鍵動作/離鍵動作を検出するものであ
り、具体的には、キー・スイッチ52により、いずれの
音高の鍵30が押鍵/離鍵されたかや、押鍵/離鍵され
た鍵30の押鍵動作/離鍵動作それぞれのタイミングや
速度などが検出され、当該検出された情報が電気信号と
してバス12を介してCPU10へ供給されることにな
る。
Next, the key switch 52 of the keyboard device 26
The key switch 52 detects the key depression / release operation of the key 30. More specifically, the key switch 52 determines which pitch of the key 30 has been pressed / released, The timing, speed, and the like of each of a key release operation and a key release operation of the released key 30 are detected, and the detected information is supplied to the CPU 10 via the bus 12 as an electric signal.

【0031】そして、鍵盤装置26は、上記したよう
に、鍵30とソレノイド32とキー・スイッチ52と鍵
30を揺動可能に動作させる鍵機構とを有してなるもの
であり、図2には図1に示す電子楽器の鍵盤装置26の
離鍵状態の一部破断側面説明図が示されており、図3に
は図2に示す状態おけるキー・スイッチ52の側断面説
明図が示されており、図4には図1に示す電子楽器の鍵
盤装置26の演奏者による演奏における押鍵状態の一部
破断側面説明図が示されており、図5には図4に示す状
態おけるキー・スイッチ52の側断面説明図が示されて
おり、図6には図1に示す電子楽器の鍵盤装置26のソ
レノイド32による押鍵状態の一部破断側面説明図が示
されており、図7には図6に示す状態おけるキー・スイ
ッチの側断面説明図が示されている。
As described above, the keyboard device 26 has the key 30, the solenoid 32, the key switch 52, and the key mechanism for operating the key 30 so as to swing. FIG. 3 is a partially cutaway side view of the keyboard device 26 of the electronic musical instrument shown in FIG. 1 in a key release state, and FIG. 3 is a side sectional view of the key switch 52 in the state shown in FIG. FIG. 4 is a partially broken side explanatory view of a key pressed state in a performance by a player of the keyboard device 26 of the electronic musical instrument shown in FIG. 1, and FIG. 5 shows a key in the state shown in FIG. FIG. 6 is a side sectional view of the switch 52, and FIG. 6 is a partially cutaway side view of the key pressed state by the solenoid 32 of the keyboard device 26 of the electronic musical instrument shown in FIG. Is a side sectional view of the key switch in the state shown in FIG. It is shown.

【0032】なお、図2、図4および図6においては、
理解を容易にするために鍵盤装置26を構成する1つの
鍵30に関する構成が示されているが、実際の鍵盤装置
26においては、こうした1つの鍵30に関する構成が
鍵数分(例えば、鍵盤装置26の鍵数が88鍵であるな
らば、88鍵分である。)だけそれぞれ設けられている
ものである。
In FIGS. 2, 4 and 6,
Although the configuration related to one key 30 constituting the keyboard device 26 is shown for easy understanding, in the actual keyboard device 26, the configuration related to such one key 30 corresponds to the number of keys (for example, the keyboard device 26). If the number of keys of 26 is 88 keys, it is equivalent to 88 keys).

【0033】また、鍵盤装置26を構成する1つの鍵3
0の揺動可能な範囲、即ち、全ストローク長Lは約10
mmである(図4参照)。
Further, one key 3 constituting the keyboard device 26
The swingable range of 0, that is, the total stroke length L is about 10
mm (see FIG. 4).

【0034】以下、図2乃至図7を参照しながら詳細に
説明すると、符号30は鍵盤装置26における白鍵およ
び黒鍵を含む鍵であり、符号42は鍵盤装置26本体の
底板(図示せず)の取付面上にネジ止めなどにより締結
された樹脂製の鍵盤シャーシである。
Hereinafter, a detailed description will be given with reference to FIGS. 2 to 7. Reference numeral 30 denotes a key including a white key and a black key in the keyboard device 26, and reference numeral 42 denotes a bottom plate (not shown) of the keyboard device 26 main body. This is a keyboard chassis made of resin, which is fastened by screws or the like on the mounting surface of (1).

【0035】そして、鍵盤シャーシ42の上方後端部に
は、鍵30が回動自在に自在に支持されており、鍵30
の前後方向に対する中間部に、ハンマー48が回動が回
動自在に支持されている。
A key 30 is rotatably supported at the upper rear end of the keyboard chassis 42.
A hammer 48 is rotatably supported at an intermediate portion in the front-rear direction.

【0036】ハンマー48は鉛や鉄などの質量の大きい
金属材料により形成されていて、ハンマー48の前方端
部側の下面には、回動軸48a側から順に第1突起48
eと第2突起48fとが形成されている。
The hammer 48 is made of a metal material having a large mass, such as lead or iron. The first protrusion 48 is formed on the lower surface at the front end side of the hammer 48 in order from the rotating shaft 48a.
e and the second protrusion 48f are formed.

【0037】鍵30の下方にはアクチュエータ30aが
形成されており、押鍵時にアクチュエータ30aがハン
マー48の前方端部側の上面48bを押し、ハンマー4
8が回動するようになっている。
An actuator 30a is formed below the key 30. When the key is pressed, the actuator 30a presses the upper surface 48b on the front end side of the hammer 48, and the hammer 4
8 rotates.

【0038】符号52は、第2シャーシ部42bに支持
された接点基板54上に配設されるとともに、鍵30に
対応して設けられて鍵30の押鍵動作/離鍵動作を検出
するためのキー・スイッチである(図3、図5ならびに
図7参照)。
Reference numeral 52 is provided on the contact board 54 supported by the second chassis portion 42b, and is provided corresponding to the key 30 to detect a key pressing operation / key releasing operation of the key 30. (See FIGS. 3, 5, and 7).

【0039】このキー・スイッチ52は、弾性素材、例
えば、ゴムによって一体成形されているものであり、プ
ライマリー・スイッチ52aと、プライマリー・スイッ
チ52aに並設されたセカンダリー・スイッチ52b
と、プライマリー・スイッチ52aとセカンダリー・ス
イッチ52bとを接点基板54と間隙を有するようにし
て支持する支持部52cとからなるものである。
The key switch 52 is integrally formed of an elastic material, for example, rubber, and includes a primary switch 52a and a secondary switch 52b arranged in parallel with the primary switch 52a.
And a support portion 52c that supports the primary switch 52a and the secondary switch 52b with a gap from the contact board 54.

【0040】また、プライマリー・スイッチ52aは、
ハンマー48の第1突起48eが当接するようになされ
ており、セカンダリー・スイッチ52bは、ハンマー4
8の第2突起48fが当接するようになされている。
The primary switch 52a is
The first protrusion 48e of the hammer 48 is configured to abut, and the secondary switch 52b is
Eighth second projections 48f are in contact with each other.

【0041】さらに、キー・スイッチ52は、鍵30の
離鍵状態においては、プライマリー・スイッチ52aの
先端たる第1接触面52fと接点基板54とが高さh1
の間隙を有して離隔するようになされており、セカンダ
リー・スイッチ52bの先端たる第2接触面52gと接
点基板54とが高さh1に比べて大きい高さh2の間隙
を有して離隔するようになされている(図3参照)。
Further, when the key 30 is released from the key switch 52, the first contact surface 52f, which is the tip of the primary switch 52a, and the contact board 54 have a height h1.
The second contact surface 52g, which is the tip of the secondary switch 52b, and the contact board 54 are separated from each other with a gap having a height h2 larger than the height h1. (See FIG. 3).

【0042】なお、この実施の形態においては、離鍵状
態から完全な押鍵状態に至る鍵30の全ストローク長L
(図4参照)は約10mmに設定されており、鍵30の
押鍵動作に伴うキー・スイッチ52の状態が、鍵30の
押鍵動作に伴う揺動によりストローク長が約4.5mm
の位置のときにプライマリー・スイッチ52aにハンマ
ー48の第1突起48eが当接して、第1接触面52f
が接点基板54に当接するようになされ(図7参照)、
また、鍵30の押鍵動作に伴う揺動によりストローク長
が約8mmの位置のときに、プライマリー・スイッチ5
2aにハンマー48の第1突起48eが当接して、第1
接触面52fが接点基板54に当接するとともに、セカ
ンダリー・スイッチ52bにハンマー48の第2突起4
8fが当接して、第2接触面52gが接点基板54に当
接するように(図5参照)、それぞれ寸法設定されてい
るものである。
In this embodiment, the total stroke length L of the key 30 from the key release state to the complete key depression state is described.
(See FIG. 4) is set to about 10 mm, and the state of the key switch 52 accompanying the key pressing operation of the key 30 is changed to the stroke length of about 4.5 mm due to the swinging accompanying the key pressing operation of the key 30.
The first projection 48e of the hammer 48 contacts the primary switch 52a at the position shown in FIG.
Are brought into contact with the contact board 54 (see FIG. 7),
Further, when the stroke length is about 8 mm due to the swing of the key 30 due to the key pressing operation, the primary switch 5
The first protrusion 48e of the hammer 48 abuts on the second protrusion 2a,
The contact surface 52f contacts the contact board 54, and the second switch 4b of the hammer 48 is connected to the secondary switch 52b.
The dimensions are set so that 8f contacts and the second contact surface 52g contacts the contact board 54 (see FIG. 5).

【0043】従って、このキー・スイッチ52は、鍵3
0の押鍵動作/離鍵動作に伴って、プライマリー・スイ
ッチ52aの第1接触面52fとセカンダリー・スイッ
チ52bの第2接触面52gとがともに接点基板54に
当接していない状態(図3参照)と、プライマリー・ス
イッチ52aの第1接触面52fのみが接点基板54に
当接し、セカンダリー・スイッチ52bの第2接触面5
2gは接点基板54に当接していない状態(図7参照)
と、プライマリー・スイッチ52aの第1接触面52f
とセカンダリー・スイッチ52bの第2接触面52gと
がともに接点基板54に当接している状態(図5参照)
との3つの状態を取りうるものである。
Therefore, the key switch 52 is connected to the key 3
A state in which the first contact surface 52f of the primary switch 52a and the second contact surface 52g of the secondary switch 52b are not in contact with the contact board 54 in accordance with the key pressing operation / key releasing operation of 0 (see FIG. 3). ), Only the first contact surface 52f of the primary switch 52a contacts the contact board 54, and the second contact surface 5 of the secondary switch 52b.
2g is not in contact with the contact board 54 (see FIG. 7)
And the first contact surface 52f of the primary switch 52a
A state in which the second switch 52b and the second contact surface 52g of the secondary switch 52b are in contact with the contact board 54 (see FIG. 5).
And three states.

【0044】そして、この電子楽器においては、プライ
マリー・スイッチ52aの第1接触面52fと接点基板
54とが当接した時点からセカンダリー・スイッチ52
bの第2接触面52gと接点基板54とが当接した時点
までの時間差を検出することにより押鍵速度を測定し、
MIDIにおけるベロシティに反映するようになされて
いる。
In this electronic musical instrument, the secondary switch 52 starts when the first contact surface 52f of the primary switch 52a contacts the contact board 54.
The key pressing speed is measured by detecting the time difference between the time when the second contact surface 52g of FIG.
It is made to reflect the velocity in MIDI.

【0045】また、この電子楽器においては、キー・ス
イッチ52のプライマリー・スイッチ52aの第1接触
面52fとセカンダリー・スイッチ52bの第2接触面
52gとがともに接点基板54に接触したとき(図5に
示す状態)にのみ、CPU10の制御によって鍵30の
押鍵動作/離鍵動作に応じた鍵操作データが出力される
ようになされている。
In this electronic musical instrument, when both the first contact surface 52f of the primary switch 52a of the key switch 52 and the second contact surface 52g of the secondary switch 52b contact the contact board 54 (FIG. 5). Only when the key is pressed / released under the control of the CPU 10, the key operation data is output.

【0046】ソレノイド32は、鍵30の後方側におい
て、図2に示す離鍵状態のときに、アクチュエータ32
aの上端が鍵30の後方側に延設された押鍵力伝達部材
70の下面70aに当接するようにして配設されてい
る。
When the key 32 is in the key release state shown in FIG.
The upper end of the key a is disposed so as to abut the lower surface 70 a of the key pressing force transmitting member 70 extending rearward of the key 30.

【0047】ソレノイド32のアクチュエータ32a
は、演奏データに応じて鍵駆動制御部24から出力され
た駆動信号に応じ、押鍵力伝達部材70を上下方向に駆
動するものである。このアクチュエータ32aの駆動に
より、鍵30はそのストローク長が約5mmの範囲にお
いて上下方向に駆動されるものである。
The actuator 32a of the solenoid 32
Is for driving the key pressing force transmitting member 70 in the vertical direction according to the drive signal output from the key drive control unit 24 in accordance with the performance data. By driving the actuator 32a, the key 30 is driven up and down in a stroke length range of about 5 mm.

【0048】従って、ソレノイド32で鍵30を駆動し
た場合は、鍵30のストローク長は約5mmとなり、キ
ー・スイッチ52のプライマリー・スイッチ52aの第
1接触面52fのみが接点基板54に当接し(図7参
照)、鍵操作データは出力されない。
Accordingly, when the key 30 is driven by the solenoid 32, the stroke length of the key 30 is about 5 mm, and only the first contact surface 52f of the primary switch 52a of the key switch 52 contacts the contact board 54 ( Key operation data is not output.

【0049】この際、自動演奏装置18からは音源20
に対して自動演奏データが出力されるので、自動演奏デ
ータに基づいく楽音生成が行われ、2度鳴りすることは
ない。
At this time, the sound source 20 is output from the automatic performance device 18.
, The automatic performance data is output, the musical tone is generated based on the automatic performance data, and there is no double sound.

【0050】一方、演奏者の手弾きによって鍵30が押
鍵された場合は、鍵30のストローク長はフルストロー
クの10mmとなり、キー・スイッチ52のプライマリ
ー・スイッチ52aとセカンダリー・スイッチ52bと
がともに接点基板54に当接し(図5参照)、鍵操作デ
ータが音源20に出力され、音源20において鍵操作デ
ータに基づいた楽音信号の生成が行われる。
On the other hand, when the key 30 is depressed by the player's hand, the stroke length of the key 30 becomes 10 mm of the full stroke, and both the primary switch 52a and the secondary switch 52b of the key switch 52 are turned on. The key operation data is output to the sound source 20 by contacting the contact board 54 (see FIG. 5), and the sound source 20 generates a tone signal based on the key operation data.

【0051】なお、ソレノイド32による押鍵の状態に
おいて、自動演奏装置18から発音停止指示データ(ノ
ート・オフ)が送られると、その発音停止指示データ
(ノート・オフ)に対応する鍵30のソレノイド32へ
の電力の供給が停止される。その結果、ハンマー48の
自重によって鍵30のアクチュエータ30aが上方に押
し戻され、鍵30が離鍵状態に戻るようになっている。
In the state where the key is depressed by the solenoid 32, when sound generation stop instruction data (note-off) is sent from the automatic performance device 18, the solenoid of the key 30 corresponding to the sound generation stop instruction data (note-off) is transmitted. The power supply to the power supply 32 is stopped. As a result, the actuator 30a of the key 30 is pushed back by the own weight of the hammer 48, and the key 30 returns to the key release state.

【0052】また、鍵30が離鍵状態になる直前に、キ
ー・スイッチ52のプライマリー・スイッチ52aとセ
カンダリー・スイッチ52bとがともに接点基板54か
ら離間し、鍵盤装置26から音源20に対して発音停止
指示データ(ノート・オフ)が送られるようになってい
るが、既に、発音停止指示されているものについては無
視されるようになっている。
Immediately before the key 30 is released, both the primary switch 52a and the secondary switch 52b of the key switch 52 are separated from the contact board 54, and the keyboard device 26 emits sound to the sound source 20. Stop instruction data (note-off) is transmitted, but data for which sound generation stop instruction has already been issued is ignored.

【0053】そして、自動演奏装置18によって、鍵3
0が押鍵状態から離鍵状態にされた場合には、既に発音
停止指示データ(ノート・オフ)が送られて発音停止し
ているので、この場合、鍵盤装置26から音源20に送
られる発音停止指示データ(ノート・オフ)は無視され
る。
Then, the automatic performance device 18 controls the key 3
When the key 0 is released from the key pressed state to the key released state, sound generation stop instruction data (note-off) has already been sent and sound generation has stopped, and in this case, sound generation transmitted from the keyboard device 26 to the sound source 20 is performed. The stop instruction data (note off) is ignored.

【0054】一方、演奏者によって、鍵30が押鍵状態
から離鍵状態にされた場合には、音源20は鍵盤装置2
6から送られる発音停止データ(ノート・オフ)により
発音中の楽音信号を消音するようになっている。
On the other hand, when the player changes the key 30 from the key pressed state to the key released state, the sound source 20
The tone generation signal being generated is muted by the sound generation stop data (note-off) sent from 6.

【0055】このように、演奏者の手弾きによる鍵30
の押鍵状態では、音源20は演奏データと鍵操作データ
とのそれぞれに基づいて楽音信号を生成することにな
り、音源20に送られた演奏データに基づく自動演奏と
演奏者の手弾きによる鍵30の押鍵による演奏との連弾
が実現されることになる。
As described above, the key 30 played by the player
In the key depressed state, the tone generator 20 generates a tone signal based on each of the performance data and the key operation data. A duet with a performance by pressing 30 keys is realized.

【0056】そして、ソレノイド32による押鍵状態に
おいては、キー・スイッチ52のプライマリー・スイッ
チ52aの第1接触面52fのみが接点基板54に当接
し、セカンダリー・スイッチ52bの第2接触面52g
は接点基板54に当接していないので、CPU10から
鍵操作データが音源20に出力されることはなく、従っ
て、鍵操作データに基づいて音源20において楽音信号
が生成されることはない。
When the key is depressed by the solenoid 32, only the first contact surface 52f of the primary switch 52a of the key switch 52 contacts the contact substrate 54, and the second contact surface 52g of the secondary switch 52b.
Is not in contact with the contact board 54, the key operation data is not output from the CPU 10 to the sound source 20, and therefore, the tone signal is not generated in the sound source 20 based on the key operation data.

【0057】このため、演奏データに基づいてソレノイ
ド32のアクチュエータ32aを駆動して鍵30を押鍵
状態としても、当該演奏データに基づいて音源20が2
回発音する2度鳴りの現象が起きることはない。
Therefore, even if the key 32 is depressed by driving the actuator 32a of the solenoid 32 based on the performance data, the sound source 20 is controlled based on the performance data.
There is no double sounding phenomenon.

【0058】なお、図6に示す押鍵終了時から、即ち、
鍵30をストローク長5mmの範囲で押鍵した後の状態
から、演奏データとしてこの状態の鍵30の発音停止指
示データ(ノート・オフ)が入力されると、当該発音停
止指示データ(ノート・オフ)に対応する鍵30のソレ
ノイド32は、鍵駆動制御部24から出力された駆動信
号に応じて、アクチュエータ32aを下方方向(図6に
おける矢印D’方向)駆動して移動させる。このアクチ
ュエータ32aの下方方向への移動とともに、押鍵力伝
達部材70も矢印D’方向に移動され、ハンマー48は
自重により回動軸48aを支点として矢印G’方向に回
動動作し、このハンマー48の回動動作に伴ってアクチ
ュエータ受け部48bにより鍵30のアクチュエータ3
0aが矢印F’方向に押し上げられて、鍵30が矢印
E’方向に回動される。
Note that from the end of the key press shown in FIG.
When the sound stop instruction data (note-off) of the key 30 in this state is input as the performance data from the state after the key 30 is depressed within the stroke length of 5 mm, the sound stop instruction data (note-off) is input. ), The solenoid 32 of the key 30 drives and moves the actuator 32a in the downward direction (the direction of the arrow D 'in FIG. 6) in accordance with the drive signal output from the key drive control unit 24. With the movement of the actuator 32a in the downward direction, the key pressing force transmitting member 70 is also moved in the direction of arrow D ', and the hammer 48 is rotated by its own weight in the direction of arrow G' about the rotation shaft 48a as a fulcrum. With the rotation of the actuator 48, the actuator 3 of the key 30 is
0a is pushed up in the direction of arrow F ', and the key 30 is turned in the direction of arrow E'.

【0059】この際に、ハンマー48の後部48cがス
トッパ58に衝突して両者が当接することになり、これ
によりハンマー48の回動範囲が規制され、また、鍵3
0の爪部30cが緩衝部材56の下面に当接することに
なる。
At this time, the rear portion 48c of the hammer 48 collides with the stopper 58, so that the two come into contact with each other.
The zero claw portion 30c comes into contact with the lower surface of the cushioning member 56.

【0060】こうして、ソレノイド32による押鍵状態
(図6に示す状態)から離鍵状態(図2に示す状態)に
復帰することになる。
In this manner, the state is returned from the key pressed state (the state shown in FIG. 6) by the solenoid 32 to the key released state (the state shown in FIG. 2).

【0061】従って、本発明による電子楽器の第1の実
施の形態においては、演奏データに応じて音源20が楽
音信号を生成する際に、当該演奏データに応じて鍵30
が押鍵動作あるいは離鍵動作されることになり、しか
も、当該演奏データに応じた鍵30の押鍵動作あるいは
離鍵動作に応じて音源20が楽音信号を生成することは
防止されるが、演奏者の鍵盤装置26の鍵30の押鍵動
作/離鍵動作に応じて音源20が楽音信号を生成するこ
とは許容されるので、演奏データに基づく自動演奏と演
奏者の鍵盤操作26による演奏との連弾を行うことが可
能になるとともに、2度鳴りを防止することができるも
のである。
Accordingly, in the first embodiment of the electronic musical instrument according to the present invention, when the tone generator 20 generates a tone signal in accordance with performance data, the key 30 is generated in accordance with the performance data.
Will be depressed or released, and the tone generator 20 is prevented from generating a tone signal in response to the depressing or releasing operation of the key 30 corresponding to the performance data. Since it is permissible for the sound source 20 to generate a tone signal in response to a key press operation / key release operation of the key 30 of the player's keyboard device 26, an automatic performance based on performance data and a performance by the player's keyboard operation 26 And can prevent double sounding.

【0062】また、本発明による電子楽器の第1の実施
の形態において、ソレノイド32は、演奏データに対応
した駆動信号によって鍵30をストローク長が約5mm
の僅かの範囲で駆動すればよいため、大型のソレノイド
は必要なく、小型のソレノイドを用いることができ、ま
た、駆動範囲が僅かであるので演奏データへの追従性を
向上することができる。
In the first embodiment of the electronic musical instrument according to the present invention, the solenoid 32 moves the key 30 with a stroke length of about 5 mm by a drive signal corresponding to performance data.
, A large solenoid is not required, a small solenoid can be used, and since the driving range is small, the follow-up performance to performance data can be improved.

【0063】ここで、鍵盤装置26に大型のソレノイド
を配設した場合には、駆動に要する消費電力が高く非効
率であったり、ソレノイドの自重が重くなったり、コス
トが増加するなどの問題点が招来されることになるが、
本発明による電子楽器においては小型のソレノイドを用
いればよいので、ソレノイドの小型軽量化、省電力化な
らびに省コスト化を実現することができ、上記したよう
な問題点を悉く解消することができる。
Here, when a large solenoid is arranged in the keyboard device 26, there are problems such as high power consumption required for driving, inefficiency, heavy weight of the solenoid, and increase in cost. Will be invited,
Since a small solenoid may be used in the electronic musical instrument according to the present invention, it is possible to reduce the size, weight, power consumption, and cost of the solenoid, and it is possible to completely eliminate the above-mentioned problems.

【0064】次に、図8は、本発明による電子楽器の第
2の実施の形態における鍵30の一部破断側面説明図を
示すものであり、図8において図1乃至図7と同一ある
いは相当する構成に関しては、図1乃至図7において用
いた符号と同一の符号を用いて示すことにより、その詳
細な構成および作用の説明は省略する。
FIG. 8 is a partially cutaway explanatory view of a key 30 in a second embodiment of the electronic musical instrument according to the present invention. FIG. 8 is the same as or equivalent to FIGS. 1 to 7 are denoted by the same reference numerals as those used in FIGS. 1 to 7, and a detailed description of the configuration and operation is omitted.

【0065】なお、本発明による電子楽器の第2の実施
の形態のブロック構成図は、図1に示す本発明による電
子楽器の第1の実施の形態のブロック構成図と同様であ
るので、図1を援用するものとする。
The block diagram of the electronic musical instrument according to the second embodiment of the present invention is the same as the block diagram of the electronic musical instrument according to the first embodiment of the present invention shown in FIG. 1 shall be incorporated.

【0066】本発明による電子楽器の第2の実施の形態
における鍵盤装置26は、それぞれキー・ナンバーを有
する88個の鍵30を有し、この鍵30の構造は上記第
1の実施の形態における鍵30の構造と同一なものであ
る。
The keyboard device 26 of the electronic musical instrument according to the second embodiment of the present invention has 88 keys 30 each having a key number, and the structure of the keys 30 is the same as that of the first embodiment. It has the same structure as the key 30.

【0067】しかし、ソレノイド320は上記した第1
の実施の形態におけるソレノイド32とは異なり、ソレ
ノイド320のアクチュエータ320aが鍵30を約1
0mmの範囲のストローク長で駆動して揺動する、即
ち、鍵30をフルストロークするようにして上下方向に
駆動する従来のタイプのものである。
However, the solenoid 320 is connected to the first
Unlike the solenoid 32 of the embodiment, the actuator 320a of the solenoid 320
This is a conventional type in which the key 30 is driven and oscillated by a stroke length in a range of 0 mm, that is, the key 30 is driven up and down so as to make a full stroke.

【0068】従って、この第2の実施の形態において
は、鍵30が演奏者の押鍵により揺動されて、これによ
りCPU10で鍵操作データが生成されるばかりでな
く、演奏データに基づいてソレノイド320のアクチュ
エータ320aが駆動され、これにより鍵30が揺動さ
れて押鍵状態とされた際にも、CPU10で鍵操作デー
タが生成されることになるものである。
Therefore, in the second embodiment, the key 30 is swung by the player's depression of the key, whereby not only the CPU 10 generates key operation data but also the solenoid based on the performance data. The key operation data is generated by the CPU 10 even when the actuator 320a of the actuator 320 is driven, whereby the key 30 is swung and the key is depressed.

【0069】ここで、RAM14には、上記したように
CPU10によるプログラムの実行に必要な各種レジス
タ群やフラグなどが設定されているが、この第2の実施
の形態においては、以下に説明するような設定がなされ
ている。
Here, various kinds of registers and flags necessary for the execution of the program by the CPU 10 are set in the RAM 14 as described above. In the second embodiment, as will be described below. Settings are made.

【0070】即ち、図9にはRAM14に設定されてい
るフラグが図表的に示されており、図10にはRAM1
4に設定されているレジスタ群が図表的に示されてい
る。
That is, FIG. 9 graphically shows the flags set in the RAM 14, and FIG.
The register group set to 4 is shown in a diagram.

【0071】図9に示すように、RAM14には、鍵盤
装置26の88個の鍵30に対応するフラグが、各鍵3
0のキー・ナンバー(KEY No.)毎に設定されて
いる。
As shown in FIG. 9, flags corresponding to 88 keys 30 of the keyboard device 26 are stored in the RAM 14 for each key 3.
0 is set for each key number (KEY No.).

【0072】このフラグに関しては、この電子楽器の電
源投入時に全てのキー・ナンバーのフラグに「0」が設
定され初期化されるものであり、演奏データのノート・
オンが入力されると、当該ノート・オンに対応するキー
・ナンバーのフラグに「1」が設定されることになる。
そして、フラグに「1」が設定されているキー・ナンバ
ーのノート・オフが入力されると、当該「1」が設定さ
れているフラグに「0」が設定されることになる。
Regarding this flag, when the power of the electronic musical instrument is turned on, the flags of all the key numbers are set to "0" and initialized.
When "ON" is input, "1" is set to the flag of the key number corresponding to the note-on.
Then, when the note-off of the key number for which the flag is set to “1” is input, “0” is set to the flag for which the “1” is set.

【0073】なお、図9に示す状態は、キー・ナンバー
2、キー・ナンバー4ならびにキー・ナンバー5のノー
ト・オンが入力されて、当該ノート・オンに対応するそ
れぞれのキー・ナンバーのフラグに「1」が設定され、
その他のフラグには「0」が設定されているものであ
る。
In the state shown in FIG. 9, the note-on of key number 2, key number 4, and key number 5 is input, and the flag of each key number corresponding to the note-on is set. "1" is set,
The other flags are set to “0”.

【0074】また、後述する演奏データの入力により起
動される処理ルーチン(図11参照)、タイマーのタイ
ム・アップにより起動される処理ルーチン(図12参
照)あるいは鍵操作データの生成により起動される処理
ルーチン(図13参照)において用いられるレジスタと
しては、以下に示すものがある(図10参照)。
A processing routine started by input of performance data (see FIG. 11) described later, a processing routine started by time-up of a timer (see FIG. 12), or a process started by generation of key operation data. The registers used in the routine (see FIG. 13) include the following (see FIG. 10).

【0075】なお、本明細書においては、各レジスタの
内容(データなど)は、特に断らない限り、同一のラベ
ル名で示すものとする。
In this specification, the contents (data, etc.) of each register are indicated by the same label name unless otherwise specified.

【0076】(1)TMP_N 演奏データのノート・イベントのキー・ナンバー、即
ち、ノート・オンあるいはノート・オフのキー・ナンバ
ーを記憶するテンポラリ・レジスタである。
(1) TMP_N This is a temporary register for storing the key number of the note event of the performance data, that is, the key number of note-on or note-off.

【0077】なお、「N」は「1〜nの整数」であり
(ただし、「n」は十分大きい数とする。)、一連の演
奏データに基づく自動演奏が終了すると「N=1」に初
期化されるものである。
Note that "N" is "an integer from 1 to n" (where "n" is a sufficiently large number), and when automatic performance based on a series of performance data ends, "N = 1" is set. It will be initialized.

【0078】(2)MAX 演奏データに応じて生成されている楽音信号に対応する
キー・ナンバーのうちの最大のキー・ナンバー(即ち、
演奏データに応じて生成されている楽音信号のなかで最
高の音高を意味する。)を記憶するレジスタである。
(2) MAX The largest key number among the key numbers corresponding to the tone signals generated according to the performance data (that is, the maximum key number)
It means the highest pitch among tone signals generated according to the performance data. ).

【0079】なお、一連の演奏データに基づく自動演奏
が終了すると「レジスタMAX=−1」に初期化される
ものである。
When an automatic performance based on a series of performance data is completed, the register is initialized to "register MAX = -1".

【0080】(3)MIN 演奏データに応じて生成されている楽音信号に対応する
キー・ナンバーのうちの最小のキー・ナンバー(即ち、
演奏データに応じて生成されている楽音信号のなかで最
低の音高を意味する。)を記憶するレジスタである。
(3) MIN The minimum key number (that is, the minimum key number) of the key numbers corresponding to the tone signals generated in accordance with the performance data.
It means the lowest pitch among tone signals generated according to the performance data. ).

【0081】なお、一連の演奏データに基づく自動演奏
が終了すると「レジスタMIN=127」に初期化され
るものである。
When an automatic performance based on a series of performance data is completed, the register is initialized to "register MIN = 127".

【0082】(4)KEY キー・スイッチ52によって鍵30の押鍵動作/離鍵動
作が検出されてCPU10によって得られる鍵操作デー
タのノート・イベントのキー・ナンバー、即ち、ノート
・オンあるいはノート・オフのキー・ナンバーを記憶す
るテンポラリ・レジスタである。
(4) The key operation of the key 30 is detected by the KEY key switch 52, and the key number of the note event of the key operation data obtained by the CPU 10, that is, note-on or note-on. This is a temporary register for storing an OFF key number.

【0083】以下、本発明による電子楽器の第2の実施
の形態の動作について、図11乃至図13に示すフロー
チャートを参照しながら説明することとする。
The operation of the electronic musical instrument according to the second embodiment of the present invention will be described below with reference to the flowcharts shown in FIGS.

【0084】まず、図11のフローチャートに示す演奏
データの入力により起動される処理ルーチンについて説
明すると、この演奏データの入力により起動され処理ル
ーチンは、この電子楽器に自動演奏装置18から演奏デ
ータが入力されると起動される割り込みルーチンであ
る。
First, the processing routine started by the input of the performance data shown in the flow chart of FIG. 11 will be described. The processing routine started by the input of the performance data is such that the performance data is inputted from the automatic performance device 18 to the electronic musical instrument. This is an interrupt routine that is started when a call is made.

【0085】この演奏データの入力により起動される処
理ルーチンにおいては、自動演奏装置18から入力され
た演奏データがノート・オフの場合には、ソレノイド3
20の離鍵駆動の指示が行われるが、その一方で、自動
演奏装置18から入力された演奏データがノート・オン
の場合には、ソレノイド320の押鍵駆動の指示が行わ
れるとともに、生成中の楽音信号の最大のキー・ナンバ
ーと最小のキー・ナンバーとが検出され、キー・ナンバ
ー毎のフラグに「1」を設定する処理と、レジスタTM
P_N毎のタイマーをセットする処理とが行われるもの
である。
In the processing routine started by the input of the performance data, if the performance data input from the automatic performance device 18 is note-off, the solenoid 3
20. On the other hand, when the performance data input from the automatic performance device 18 is note-on, the key-pressing drive of the solenoid 320 is instructed and the key-in drive is being generated. Processing for detecting the maximum key number and the minimum key number of the tone signal of each of the above, and setting a flag for each key number to "1";
And a process of setting a timer for each P_N.

【0086】この演奏データの入力により起動される処
理ルーチンが起動されると、まず、ステップS1102
の処理において、自動演奏装置18から入力された演奏
データのノート・イベントのキー・ナンバー、即ち、ノ
ート・オンあるいはノート・オフのキー・ナンバーがレ
ジスタTMP_Nに記憶される。
When the processing routine started by the input of the performance data is started, first, at step S1102
, The key number of the note event of the performance data input from the automatic performance device 18, that is, the key number of note-on or note-off is stored in the register TMP_N.

【0087】さらに、レジスタTMP_NのNの値を1
だけインクリメントしてこのステップS1102の処理
を終了し、ステップS1104の処理に進む。
Further, the value of N of the register TMP_N is set to 1
After that, the process in step S1102 ends, and the process proceeds to step S1104.

【0088】次に、ステップS1104の処理において
は、入力された演奏データが、即ち、ステップS110
2の処理においてレジスタTMP_Nに記憶されたキー
・ナンバーのノート・イベントが、ノート・オンである
か否かが判断される。
Next, in the processing of step S1104, the input performance data, that is, step S110
In the process of 2, it is determined whether or not the note event of the key number stored in the register TMP_N is note-on.

【0089】このステップS1104における判断処理
において、入力された演奏データがノート・オンである
と判断された場合には、ステップS1106の処理に進
む。
If it is determined in step S1104 that the input performance data is note-on, the flow advances to step S1106.

【0090】一方、このステップS1104における判
断処理において、入力された演奏データがノート・オン
ではないと判断された場合には、ステップS1108の
処理に進む。
On the other hand, if it is determined in step S1104 that the input performance data is not note-on, the flow advances to step S1108.

【0091】そして、ステップS1106の処理におい
ては、入力された演奏データがノート・オンであるの
で、レジスタTMP_Nに記憶されたキー・ナンバーの
鍵30に対して押鍵駆動の指示が行われる。具体的に
は、入力されたノート・オンに応じて、鍵駆動制御部2
4がソレノイド320に鍵30を押鍵動作するための駆
動信号を与えるように、CPU10から鍵駆動制御部2
4に指示する。駆動信号が鍵駆動制御部24からソレノ
イド320に与えられると、当該駆動信号に応じてソレ
ノイド320のアクチュエータ320aが駆動されるこ
とになる。
Then, in the process of step S1106, since the input performance data is note-on, a key-press driving instruction is issued to the key 30 of the key number stored in the register TMP_N. Specifically, in response to the input note-on, the key drive control unit 2
The CPU 10 sends a key drive control unit 2 to the solenoid 320 so that the solenoid 320 gives a drive signal for operating the key 30 to depress the key.
Instruct 4 When a drive signal is given from the key drive control unit 24 to the solenoid 320, the actuator 320a of the solenoid 320 is driven according to the drive signal.

【0092】図8に示すように、鍵駆動制御部24から
出力された駆動信号に応じて、アクチュエータ320a
が上方方向(図8における矢印H方向)に駆動される
と、アクチュエータ320aにより押鍵力伝達部材70
が矢印D方向に押し上げられるので、鍵30が矢印I方
向に押下され、鍵30のアクチュエータ30aによりハ
ンマー48のアクチュエータ受け部48bが矢印J方向
に押下されて、ハンマー48はU溝支持部50に回動自
在に支持された回動軸30aを支点として矢印K方向に
回動動作する。
As shown in FIG. 8, according to the drive signal output from the key drive control unit 24, the actuator 320a
Is driven in the upward direction (the direction of arrow H in FIG. 8), the key pressing force transmitting member 70 is actuated by the actuator 320a.
Is pushed up in the direction of arrow D, so that the key 30 is pressed down in the direction of arrow I, and the actuator 30a of the key 30 presses down the actuator receiving portion 48b of the hammer 48 in the direction of arrow J. It rotates in the direction of arrow K with the pivot shaft 30a rotatably supported as a fulcrum.

【0093】そうすると、ハンマー48の腕部48dが
ストッパ62に当接することになり、これによりハンマ
ー48回動範囲が規制される。
Then, the arm portion 48d of the hammer 48 comes into contact with the stopper 62, thereby restricting the rotation range of the hammer 48.

【0094】また、鍵30の裏面は、緩衝部材56の上
面ならびに緩衝部材60の上面に当接することになる。
The back surface of the key 30 comes into contact with the upper surface of the buffer member 56 and the upper surface of the buffer member 60.

【0095】なお、図8における一点鎖線は、離鍵状態
における鍵30の上面の位置を示すものである。
Note that the alternate long and short dash line in FIG. 8 indicates the position of the upper surface of the key 30 in the key released state.

【0096】ここで、ソレノイド320のアクチュエー
タ320aは、鍵30を約10mmの範囲のストローク
長で駆動するので、このソレノイド320の駆動による
押鍵動作の際に鍵30はフルストローク押鍵される。
Here, since the actuator 320a of the solenoid 320 drives the key 30 with a stroke length in the range of about 10 mm, the key 30 is pressed by a full stroke when the key is pressed by driving the solenoid 320.

【0097】その結果、キー・スイッチ52のプライマ
リー・スイッチ52aの第1接触面520fとセカンダ
リー・スイッチ52bの第2接触面52gとがともに接
点基板540に当接することになり(図5参照)、鍵盤
装置26からCPU10に対して鍵操作データが出力さ
れる。
As a result, the first contact surface 520f of the primary switch 52a of the key switch 52 and the second contact surface 52g of the secondary switch 52b both come into contact with the contact board 540 (see FIG. 5). Key operation data is output from the keyboard device 26 to the CPU 10.

【0098】一方、ステップS1108においては、入
力された演奏データはノート・オフであるので、レジス
タTMP_Nに記憶されたキー・ナンバーの鍵30に対
して離鍵駆動の指示が行われる。具体的には、入力され
たノート・オフに応じて、鍵駆動制御部24がソレノイ
ド320に鍵30を離鍵動作するための駆動信号を与え
るように、CPU10から鍵駆動制御部24に指示す
る。駆動信号が鍵駆動制御部24からソレノイド320
に与えられると、当該駆動信号に応じてソレノイド32
0のアクチュエータ320aが駆動されることになる。
On the other hand, in step S1108, since the input performance data is note-off, a key release driving instruction is issued to key 30 of the key number stored in register TMP_N. Specifically, in response to the input note-off, the key drive control unit 24 instructs the key drive control unit 24 to provide the solenoid 320 with a drive signal for releasing the key 30 from the key. . The drive signal is sent from the key drive controller 24 to the solenoid 320
To the solenoid 32 according to the drive signal.
0 actuator 320a is driven.

【0099】図8に示すように、鍵駆動制御部24から
出力された駆動信号に応じて、アクチュエータ320a
が下方方向(図8における矢印H’方向)に駆動される
と、アクチュエータ320aとともに押鍵力伝達部材7
0’が矢印D方向に移動し、ハンマー48は自重により
回動軸48aを支点として矢印K’方向に回動動作し、
このハンマー48の回動動作に伴ってアクチュエータ受
け部48bにより鍵30のアクチュエータ30aが矢印
J’方向に押し上げられ、鍵30が矢印I’方向に回動
される。
As shown in FIG. 8, according to the drive signal output from the key drive control unit 24, the actuator 320a
Is driven in the downward direction (the direction of arrow H ′ in FIG. 8), the key pressing force transmitting member 7 is moved together with the actuator 320a.
0 ′ moves in the direction of arrow D, and the hammer 48 rotates in the direction of arrow K ′ with the rotation shaft 48a as a fulcrum by its own weight.
With the rotation of the hammer 48, the actuator 30a of the key 30 is pushed up in the direction of arrow J 'by the actuator receiving portion 48b, and the key 30 is rotated in the direction of arrow I'.

【0100】この際に、ハンマー48の後部48cがス
トッパ58に衝突して両者が当接することになり、これ
によりハンマー48の回動範囲が規制される。
At this time, the rear portion 48c of the hammer 48 collides with the stopper 58 so that the two come into contact with each other, thereby restricting the rotation range of the hammer 48.

【0101】また、鍵30の爪部30cは緩衝部材56
の下面に当接することになり、離鍵状態(図2に示す状
態)に復帰することになる(図8に示す一点鎖線参
照)。
Further, the claw portion 30c of the key 30 is
, And returns to the key release state (the state shown in FIG. 2) (see the dashed line in FIG. 8).

【0102】ここで、ここで、ソレノイド320のアク
チュエータ320aは、鍵30を約10mmの範囲のス
トローク長で駆動するので、このソレノイド320の駆
動による離鍵動作の際に鍵30はフルストローク離鍵さ
れる。
Here, since the actuator 320a of the solenoid 320 drives the key 30 with a stroke length in the range of about 10 mm, the key 30 is released by a full stroke key release operation by driving the solenoid 320. Is done.

【0103】そして、ステップS1108の処理を終了
すると、ステップS1116の処理にジャンプして進
む。
When the process in step S1108 is completed, the process jumps to the process in step S1116 and proceeds.

【0104】そして、ステップS1106を終了する
と、ステップS1110の処理に進み、レジスタTMP
_Nに記憶されているキー・ナンバーのフラグに「1」
を設定して、ステップS1112の処理に進む。
When step S1106 is completed, the process proceeds to step S1110, where the register TMP
"1" for the flag of the key number stored in _N
Is set, and the process proceeds to step S1112.

【0105】ステップS1112の処理においては、演
奏データに応じて生成されている楽音信号に対応するキ
ー・ナンバーのうちの最大のキー・ナンバーを検出し、
当該検出された生成中の楽音信号の最大のキー・ナンバ
ーをレジスタMAXに記憶する。
In the process of step S1112, the largest key number among the key numbers corresponding to the tone signals generated according to the performance data is detected.
The maximum key number of the detected tone signal being generated is stored in the register MAX.

【0106】次に、ステップS1112を終了すると、
ステップS1114に進み、演奏データに応じて生成さ
れている楽音に対応するキー・ナンバーのうちの最小の
キー・ナンバーを検出し、当該検出された生成中の楽音
信号の最小のキー・ナンバーをレジスタMINに記憶す
る。
Next, when step S1112 is completed,
Proceeding to step S1114, the smallest key number of the key numbers corresponding to the tone generated in accordance with the performance data is detected, and the smallest key number of the detected tone signal being generated is registered. Store it in MIN.

【0107】ステップS1114の処理を終了すると、
ステップS1116の処理に進み、タイマーがセットさ
れる。このタイマーは、レジスタTMP_N毎に設けら
れるものであり、ステップS1116の処理においてセ
ットされると、所定時間毎にカウント・ダウンを繰り返
してタイム・アップするものである。
When the processing in step S1114 ends,
Proceeding to step S1116, the timer is set. This timer is provided for each register TMP_N, and when set in the processing in step S1116, counts down repeatedly at predetermined time intervals to time up.

【0108】なお、この所定時間は、鍵駆動制御部24
からの駆動信号がソレノイド320に出力されてから、
当該駆動信号に応じたソレノイド32の上下方向の駆動
が完了するまでの時間と等しいものである。
The predetermined time is determined by the key drive control unit 24.
Is output to the solenoid 320,
This is equal to the time required to complete the vertical drive of the solenoid 32 according to the drive signal.

【0109】そして、このステップS1116の処理を
終了すると、この演奏データの入力により起動される処
理ルーチンを終了する。
When the processing in step S1116 ends, the processing routine started by the input of the performance data ends.

【0110】次に、図12に示すタイマーのタイム・ア
ップにより起動される処理ルーチンについて説明する。
Next, a processing routine started when the timer shown in FIG. 12 expires will be described.

【0111】このタイマーのタイム・アップにより起動
される処理ルーチンは、上記した演奏データの入力によ
り起動される処理ルーチン(図11参照)のステップS
1116においてレジスタTMP_N毎にセットされた
タイマーのうちの少なくとも1つがタイム・アップする
と起動される割り込みルーチンである。
The processing routine started when the timer times out is the same as the processing routine (see FIG. 11) started when the performance data is input as described above.
This is an interrupt routine that is started when at least one of the timers set for each register TMP_N in 1116 times out.

【0112】このタイマーのタイム・アップにより起動
される処理ルーチンにおいては、上記した演奏データの
入力により起動される処理ルーチン(図11参照)のス
テップS1110の処理においてフラグに「1」が設定
されたキー・ナンバーに対応する楽音信号の生成指示が
行われるものである。
In the processing routine started when the timer times out, "1" is set to the flag in the processing in step S1110 of the processing routine (see FIG. 11) started when the performance data is input. An instruction to generate a tone signal corresponding to the key number is issued.

【0113】即ち、このタイマーのタイム・アップによ
り起動される処理ルーチンが起動されると、まず、ステ
ップS1202の処理において、タイム・アップしたタ
イマーに対応するレジスタTMP_Nに記憶されたキー
・ナンバーのノート・イベントが、ノート・オンである
か否かが判断される。
That is, when the processing routine started by the time-up of this timer is started, first, in the processing of step S1202, the note of the key number stored in the register TMP_N corresponding to the timer whose time has gone up -It is determined whether or not the event is note-on.

【0114】このステップS1202の判断処理におい
て、タイム・アップしたタイマーに対応するレジスタT
MP_Nに記憶されたキー・ナンバーのノート・イベン
トが、ノート・オンであると判断された場合には、ステ
ップS1204の処理に進む。
In the determination processing of step S1202, the register T corresponding to the timer whose time has expired
If the note event of the key number stored in MP_N is determined to be note-on, the process proceeds to step S1204.

【0115】一方、ステップS1202の判断処理にお
いて、タイム・アップしたタイマーに対応するレジスタ
TMP_Nに記憶されたキー・ナンバーのノート・イベ
ントが、ノート・オンではないと判断された場合には、
このタイマーのタイム・アップにより起動される処理ル
ーチンを終了する。
On the other hand, if it is determined in step S1202 that the note event of the key number stored in the register TMP_N corresponding to the time-up timer is not note-on,
The processing routine started by the expiration of the timer ends.

【0116】そして、ステップS1204の処理におい
ては、タイム・アップしたタイマーに対応するレジスタ
TMP_Nに記憶されたキー・ナンバーのノート・イベ
ントはノート・オンであるので、当該キー・ナンバーに
対応する楽音信号の生成指示が音源20に対して行われ
る。
In the processing of step S1204, since the note event of the key number stored in the register TMP_N corresponding to the time-up timer is note-on, the tone signal corresponding to the key number is generated. Is instructed to the sound source 20.

【0117】これにより、レジスタTMP_Nに記憶さ
れたキー・ナンバーのノート・オンに従った楽音が、サ
ウンド・システム22を介して空間に放音され、演奏デ
ータによる自動演奏が実現されることになる。
As a result, the musical tone according to the note-on of the key number stored in the register TMP_N is emitted to the space via the sound system 22, and the automatic performance based on the performance data is realized. .

【0118】この際、レジスタTMP_Nに記憶された
キー・ナンバーのノート・オンに従った発音は、上記し
た演奏データの入力により起動される処理ルーチン(図
11参照)のステップS1116においてセットされた
タイマーがタイム・アップしてから行われるものであ
り、即ち、ステップS1106の処理においてレジスタ
TMP_Nに記憶されたキー・ナンバーの鍵30に対し
て押鍵駆動の指示が行われてから、タイマーにセットさ
れた所定時間の経過後に行われることになる。
At this time, the sound generation according to the note-on of the key number stored in the register TMP_N is performed by the timer set in step S1116 of the processing routine (see FIG. 11) started by the input of the performance data described above. Is performed after the time-up, that is, in the process of step S1106, a key pressing drive instruction is given to the key 30 of the key number stored in the register TMP_N, and then the timer is set. This is performed after the elapse of the predetermined time.

【0119】従って、押鍵駆動の指示のタイミング(ス
テップS1106)と発音のタイミング(ステップS1
204)とが同じタイミングではなく、上記タイマーが
タイム・アップする所定時間分だけ異なっているので、
上記タイマーがタイム・アップする所定時間を適宜に設
定することにより、駆動信号に応じたソレノイド320
の上下方向の駆動によって鍵30が実際に押鍵状態とな
るタイミングと発音のタイミングとをが一致させること
ができるようになる。
Accordingly, the timing of the instruction for the key depression drive (step S1106) and the timing of the sound generation (step S1)
204) is not the same timing but differs by the predetermined time when the timer expires,
By appropriately setting the predetermined time at which the timer times out, the solenoid 320 corresponding to the drive signal is set.
By driving the key 30 in the vertical direction, the timing at which the key 30 is actually depressed and the timing of sound generation can be matched.

【0120】次に、図13に示す鍵操作データの生成に
より起動される処理ルーチンについて説明すると、この
鍵操作データの生成により起動される処理ルーチンは、
この電子楽器の鍵盤装置26の鍵30が押鍵動作/離鍵
動作して鍵操作データが生成されると起動される割り込
みルーチンである。
Next, the processing routine started by the generation of the key operation data shown in FIG. 13 will be described. The processing routine started by the generation of the key operation data is as follows.
This is an interrupt routine that is started when the key 30 of the keyboard device 26 of the electronic musical instrument is pressed / released to generate key operation data.

【0121】つまり、鍵30のキー・スイッチ52と接
点基板54とが導通して、CPU10により鍵操作デー
タが出力されると起動される割り込みルーチンである。
That is, this is an interrupt routine that is started when the key switch 52 of the key 30 is electrically connected to the contact board 54 and the CPU 10 outputs key operation data.

【0122】この鍵操作データにより起動される処理ル
ーチンにおいては、CPU10から出力された鍵操作デ
ータのキー・ナンバーが、演奏データに応じて生成され
ている楽音に対応するキー・ナンバーのうちの最大のキ
ー・ナンバーと最小のキー・ナンバーとの間にあるか否
かが判断される。
In the processing routine started by the key operation data, the key number of the key operation data output from the CPU 10 is the maximum of the key numbers corresponding to the musical tones generated in accordance with the performance data. It is determined whether the key number is between the first key number and the minimum key number.

【0123】そして、この判断において、CPU10か
ら出力された鍵操作データのキー・ナンバーが当該最大
のキー・ナンバーと当該最小のキー・ナンバーとの間に
あると判断された場合には、CPU10から出力された
鍵操作データは演奏データに応じたソレノイド320の
駆動による押鍵に基づくものであると見なして、音源2
0に対して発音指示をしない。
In this determination, when it is determined that the key number of the key operation data output from the CPU 10 is between the maximum key number and the minimum key number, the CPU 10 It is assumed that the output key operation data is based on key depression by driving the solenoid 320 according to the performance data, and the sound source 2
There is no pronunciation instruction for 0.

【0124】一方、この判断において、CPU10から
出力された鍵操作データのキー・ナンバーが当該最大の
キー・ナンバーと当該最小のキー・ナンバーとの間にな
いと判断された場合には、CPU10から出力された鍵
操作データは演奏者の手弾きによる押鍵に基づくもので
あると見なして、音源20で当該鍵操作データによる楽
音信号の生成を行うものである。
On the other hand, if it is determined in this determination that the key number of the key operation data output from the CPU 10 is not between the maximum key number and the minimum key number, the CPU 10 The output key operation data is considered to be based on a key pressed by the player's hand, and the tone generator 20 generates a tone signal based on the key operation data.

【0125】即ち、この鍵操作データの生成により起動
される処理ルーチンが起動されると、まず、ステップS
1302の処理において、CPU10から出力された鍵
操作データのノート・イベントのキー・ナンバーがレジ
スタKEYに記憶される。
That is, when the processing routine started by generation of the key operation data is started, first, at step S
In the process of 1302, the key number of the note event of the key operation data output from the CPU 10 is stored in the register KEY.

【0126】ステップS1302の処理を終了すると、
ステップS1304の処理に進み、ステップS1302
の処理においてレジスタKEYに記憶されたキー・ナン
バーが、レジスタMAXに記憶された生成中の楽音信号
の最大のキー・ナンバーと、レジスタMINに記憶され
た生成中の楽音信号の最小のキー・ナンバーとの間のキ
ー・ナンバーであるか否かが判断される。
When the processing in step S1302 ends,
Proceed to step S1304 to proceed to step S1302.
In the above processing, the key number stored in the register KEY is the maximum key number of the tone signal being generated stored in the register MAX, and the minimum key number of the tone signal being generated stored in the register MIN. It is determined whether or not the key number is between.

【0127】このステップS1304の判断処理におい
て、ステップS1302の処理においてレジスタKEY
に記憶されたキー・ナンバーが、レジスタMAXに記憶
された生成中の楽音信号の最大のキー・ナンバーと、レ
ジスタMINに記憶された生成中の楽音信号の最小のキ
ー・ナンバーとの間のキー・ナンバーではないと判断さ
れた場合には、このレジスタKEYに記憶されたキー・
ナンバーの鍵操作データは演奏者の手弾きによる押鍵動
作/離鍵動作によって生成されたものと見なして、ステ
ップS1306の処理に進む。
In the judgment processing in step S1304, the register KEY is used in the processing in step S1302.
Is the key number between the maximum key number of the musical tone signal being generated stored in the register MAX and the minimum key number of the musical tone signal being generated stored in the register MIN. If it is determined that the key is not a number, the key stored in this register KEY
It is considered that the key operation data of the number is generated by a key pressing operation / key releasing operation by playing by the player, and the process proceeds to step S1306.

【0128】一方、このステップS1304の判断処理
において、ステップS1302の処理においてレジスタ
KEYに記憶されたキー・ナンバーが、レジスタMAX
に記憶された生成中の楽音信号の最大のキー・ナンバー
と、レジスタMINに記憶された生成中の楽音信号の最
小のキー・ナンバーとの間のキー・ナンバーであると判
断された場合には、このレジスタKEYに記憶されたキ
ー・ナンバーの鍵操作データはソレノイド320による
鍵30の駆動による押鍵動作/離鍵動作によって生成さ
れたものと見なして、ステップS1310の処理に進
む。
On the other hand, in the determination processing in step S1304, the key number stored in the register KEY in the processing in step S1302 is stored in the register MAX.
Is determined to be between the maximum key number of the musical tone signal being generated stored in the register MIN and the minimum key number of the musical tone signal being generated stored in the register MIN. The key operation data of the key number stored in the register KEY is regarded as generated by the key pressing operation / key releasing operation by the driving of the key 30 by the solenoid 320, and the process proceeds to step S1310.

【0129】そして、ステップS1306の処理におい
ては、レジスタKEYに記憶されたキー・ナンバーの演
奏データがノート・オンであるか否かが判断される。
In the process of step S1306, it is determined whether or not the performance data of the key number stored in the register KEY is note-on.

【0130】このステップS1306における判断処理
において、レジスタKEYに記憶されたキー・ナンバー
の演奏データがノート・オンではないと判断された場合
には、ステップS1318の処理にジャンプして進む。
If it is determined in step S1306 that the performance data of the key number stored in the register KEY is not note-on, the process jumps to step S1318.

【0131】一方、ステップS1306における判断処
理において、レジスタKEYに記憶されたキー・ナンバ
ーの演奏データがノート・オンであると判断された場合
には、ステップS1308の処理に進む。
On the other hand, if it is determined in step S1306 that the performance data of the key number stored in the register KEY is note-on, the flow advances to step S1308.

【0132】そして、ステップS1308の処理におい
ては、レジスタKEYに記憶されたキー・ナンバーに対
応する楽音信号の生成指示が音源20に対して行われ
る。
In the process of step S1308, the tone generator 20 is instructed to generate a tone signal corresponding to the key number stored in the register KEY.

【0133】つまり、ステップS1308の処理におい
ては、ステップS1304の処理における判断処理によ
って、演奏者の手弾きによる押鍵動作/離鍵動作によっ
て生成されたと見なされた鍵操作データがノート・オン
なので、音源20によって当該レジスタKEYに記憶さ
れたキー・ナンバーの鍵操作データに基づいて楽音信号
が生成されることになる。
That is, in the process of step S1308, the key operation data that is determined to have been generated by the key press operation / key release operation of the player's hand by the judgment process in step S1304 is note-on. A tone signal is generated by the sound source 20 based on the key operation data of the key number stored in the register KEY.

【0134】そして、当該生成された楽音信号は音源2
0からサウンド・システム22に出力されて、サウンド
・システム22を介して聴取し得る楽音として空間に放
音され、演奏者の鍵盤操作26による演奏が実現され
る。
Then, the generated tone signal is generated by the sound source 2
0 is output to the sound system 22 and is emitted to the space as a musical sound that can be heard through the sound system 22, and the performance by the keyboard operation 26 of the player is realized.

【0135】このステップS1308の処理を終了する
と、この鍵操作データの生成により起動される処理ルー
チンを終了する。
When the processing in step S1308 is completed, the processing routine started by generating the key operation data is completed.

【0136】一方、ステップS1310の処理において
は、レジスタKEYに記憶されたキー・ナンバーの演奏
データがノート・オンであるか否かが判断される。
On the other hand, in the process of step S1310, it is determined whether or not the performance data of the key number stored in the register KEY is note-on.

【0137】このステップS1310における判断処理
において、レジスタKEYに記憶されたキー・ナンバー
の演奏データがノート・オンであると判断された場合に
は、ソレノイド320による鍵30の駆動による押鍵動
作/離鍵動作によって生成されたと見なされた鍵操作デ
ータがノート・オンなので、音源20で楽音信号を生成
することなく、この鍵操作データの生成により起動され
る処理ルーチンを終了する。
In the determination processing in step S1310, when it is determined that the performance data of the key number stored in the register KEY is note-on, the key pressing operation / release by the driving of the key 30 by the solenoid 320 is performed. Since the key operation data regarded as generated by the key operation is note-on, the processing routine started by generating the key operation data is terminated without generating a tone signal by the sound source 20.

【0138】一方、ステップS1310における判断処
理において、レジスタKEYに記憶されたキー・ナンバ
ーの演奏データがノート・オンではないと判断された場
合には、ステップS1312の処理へ進む。
On the other hand, if it is determined in step S1310 that the performance data of the key number stored in the register KEY is not note-on, the flow advances to step S1312.

【0139】そして、 ステップS1312の処理にお
いては、レジスタTMP_Nに記憶されているキー・ナ
ンバーのフラグに「0」を設定して、ステップS131
4の処理に進む。
In the process of step S1312, “0” is set to the key number flag stored in the register TMP_N, and the process proceeds to step S131.
Go to step 4.

【0140】次ぎに、ステップS1314の処理におい
ては、演奏データに応じて生成されている楽音信号に対
応するキー・ナンバーのうちの最大のキー・ナンバーを
検出し、当該検出された生成中の楽音信号の最大のキー
・ナンバーをレジスタMAXに記憶する。
Next, in the process of step S1314, the largest key number among the key numbers corresponding to the tone signals generated according to the performance data is detected, and the detected tone being generated is generated. The maximum key number of the signal is stored in the register MAX.

【0141】上記したステップS1314の処理を終了
すると、ステップS1316の処理に進み、演奏データ
に応じて生成されている楽音信号に対応するキー・ナン
バーのうちの最小のキー・ナンバーを検出し、当該検出
された生成中の楽音信号の最小のキー・ナンバーをレジ
スタMINに記憶する。
When the processing in step S1314 is completed, the flow advances to step S1316 to detect the minimum key number among the key numbers corresponding to the tone signals generated in accordance with the performance data. The minimum key number of the detected tone signal being generated is stored in the register MIN.

【0142】このようにステップS1314とステップ
S1316との処理において、ノート・オンの場合のレ
ジスタMAXの値とレジスタMINの値とが検出されて
記憶されるので、レジスタMAXの値とレジスタMIN
の値とは、ノート・オン/ノート・オフの度にリアルタ
イムで更新されることとなる。
As described above, in the processing of steps S1314 and S1316, the value of register MAX and the value of register MIN in the case of note-on are detected and stored, so that the value of register MAX and the value of register MIN are stored.
Is updated in real time each time a note is turned on / off.

【0143】そして、ステップS1316の処理を終了
すると、ステップS1318の処理に進む。
When the processing in step S1316 ends, the flow advances to processing in step S1318.

【0144】このステップS1318の処理において
は、レジスタKEYに記憶されたキー・ナンバーに対応
する楽音信号の生成停止指示が音源20に対して行われ
る。
In the process of step S1318, the tone generator 20 is instructed to stop generating the tone signal corresponding to the key number stored in the register KEY.

【0145】従って、演奏データに応じたソレノイド3
20の駆動により鍵30が動作されて生成される鍵操作
データや、演奏者が鍵30を手弾きすることにより鍵3
0が動作されて生成される鍵操作データがノート・オフ
である場合(即ち、この場合には、鍵30は離鍵動作さ
れている。)には、ステップS1318においてレジス
タKEYに記憶されたキー・ナンバーに対応する楽音信
号の生成停止が指示されることになる。
Therefore, the solenoid 3 corresponding to the performance data
The key operation data generated by operating the key 30 by driving the key 20 and the key 3 by the player flicking the key 30
If the key operation data generated by operating 0 is note-off (that is, in this case, the key 30 has been released), the key stored in the register KEY in step S1318. -An instruction to stop the generation of the tone signal corresponding to the number is issued.

【0146】従って、本発明による電子楽器の第2の実
施の形態においては、演奏データに応じて音源20が楽
音を生成し、なおかつ当該演奏データに応じて鍵30の
押鍵動作/離鍵動作がなされる。
Therefore, in the second embodiment of the electronic musical instrument according to the present invention, the sound source 20 generates a musical tone in accordance with the performance data, and furthermore, the key depressing operation / key releasing operation of the key 30 in accordance with the performance data. Is made.

【0147】鍵盤装置26からは鍵操作データが送出さ
れ、演奏者による押鍵離鍵動作が行われた場合に、対応
するキー・ナンバーに対応するノート・イベントが音源
20に送出されるようになっているが、鍵盤装置26か
らの鍵操作データのキー・ナンバーが、音源で生成中の
演奏データのうち最大のキー・ナンバー(レジスタMA
Xの値)と最小のキー・ナンバー(レジスタMINの
値)との間にあるキー・ナンバーである場合には、当該
鍵操作データは、演奏データによって駆動された押鍵と
見なし、当該鍵操作データに対応するノート・イベント
は音源20に送出しない。
Key operation data is transmitted from the keyboard device 26, and a note event corresponding to a corresponding key number is transmitted to the sound source 20 when a player performs a key release operation. However, the key number of the key operation data from the keyboard device 26 is the largest key number (register MA) among the performance data being generated by the sound source.
X value) and the minimum key number (the value of the register MIN), the key operation data is regarded as a key pressed by the performance data, and the key operation is performed. The note event corresponding to the data is not transmitted to the sound source 20.

【0148】従って、2度鳴りを防止するとともに、演
奏データに基づく自動演奏と演奏者の鍵盤操作による演
奏との連弾を行うことが可能となる。
Therefore, it is possible to prevent double sounding and perform a duet between an automatic performance based on performance data and a performance by a player's keyboard operation.

【0149】なお、上記した本発明による実施の形態の
電子楽器においては、鍵盤26から送られる鍵操作デー
タが所定音高である場合に、音源20に対して発音開始
・停止指示を行わないような処理をするようにしたが、
これに限られるものではないことは勿論であり、例え
ば、入力が2つある音源であって、1つの入力には自動
演奏装置からの演奏データが入力されるようにし、もう
1つの入力には鍵盤からの鍵操作データが入力されるよ
うにし、鍵盤から入力される鍵操作データのうち所定音
高の楽音信号を音源側で予め無視するような仕様にして
もよい。
In the electronic musical instrument according to the embodiment of the present invention, when the key operation data transmitted from the keyboard 26 has a predetermined pitch, the sound source 20 is not instructed to start or stop sounding. Processing, but
It is needless to say that the present invention is not limited to this. For example, a sound source having two inputs, one input to which performance data from an automatic performance device is input, and the other input to The key operation data from the keyboard may be input, and a tone signal of a predetermined pitch in the key operation data input from the keyboard may be previously ignored on the sound source side.

【0150】また、上記した本発明による第2の実施の
形態の電子楽器においては、最大のキー・ナンバー(レ
ジスタMAX)と最小のキー・ナンバー(レジスタMI
N)との間のキー・ナンバーのノート・イベントが音源
20に送出しないようにしたが、これに限られるもので
はないことは勿論であり、例えば、鍵盤を上鍵域と下鍵
域の2つの領域にスプリットし、上鍵域のノート・イベ
ントに対応する楽音を発音しないようにし、下鍵域のノ
ート・イベントに従って発音するようにしてもよい。
In the electronic musical instrument according to the second embodiment of the present invention, the maximum key number (register MAX) and the minimum key number (register MI) are set.
N) is not transmitted to the sound source 20. However, the present invention is not limited to this. For example, the keyboard may be divided into an upper key region and a lower key region. One area may be split so that the musical tone corresponding to the note event in the upper key range is not generated, and the tone is generated according to the note event in the lower key range.

【0151】また、上記した本発明による第2の実施の
形態の電子楽器においては、ノート・オンが送られてく
る度に最大のキー・ナンバー(レジスタMAX)と最小
のキー・ナンバー(レジスタMIN)とを検出するよう
にしたが、これに限られるものではないことは勿論であ
り、自動演奏の演奏曲のデータのヘッダ部分に最大のキ
ー・ナンバー(レジスタMAX)と最小のキー・ナンバ
ー(レジスタMIN)とを記憶するようにしてもよい。
In the electronic musical instrument according to the second embodiment of the present invention, the maximum key number (register MAX) and the minimum key number (register MIN) each time a note-on is sent. ) Is detected, but it is a matter of course that the present invention is not limited to this, and the maximum key number (register MAX) and the minimum key number (register (Register MIN).

【0152】この場合、自動演奏データのヘッダ部分が
再生された時点で最大のキー・ナンバー(レジスタMA
X)と最小のキー・ナンバー(レジスタMIN)とが設
定されるので、ノート・オンが送られてくる度に最大の
キー・ナンバー(レジスタMAX)と最小のキー・ナン
バー(レジスタMIN)とを検出する必要がなくなる。
In this case, when the header portion of the automatic performance data is reproduced, the maximum key number (register MA)
X) and the minimum key number (register MIN) are set, so that each time a note-on is sent, the maximum key number (register MAX) and the minimum key number (register MIN) are changed. There is no need to detect.

【0153】[0153]

【発明の効果】本発明は、以上説明したように構成され
ているので、簡単な構成で、自動演奏を行うと同時に鍵
を駆動し、2度鳴りを防止するとともに、鍵の所定位置
への押下を検出した場合は、楽音を発生することができ
るようになるという優れた効果を奏する。
Since the present invention is constructed as described above, the key is driven simultaneously with performing the automatic performance with a simple structure to prevent double sounding, and the key is moved to a predetermined position. When a press is detected, an excellent effect that a musical sound can be generated is achieved.

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

【図1】本発明による電子楽器の第1の実施の形態のブ
ロック構成図である。
FIG. 1 is a block diagram of an electronic musical instrument according to a first embodiment of the present invention.

【図2】図1に示す電子楽器の鍵盤装置の離鍵状態を示
す一部破断側面説明図図である。
FIG. 2 is a partially cutaway side view showing a key release state of the keyboard device of the electronic musical instrument shown in FIG. 1;

【図3】図2に示す状態おけるキー・スイッチの側断面
説明図である。
FIG. 3 is an explanatory side sectional view of the key switch in the state shown in FIG. 2;

【図4】図1に示す電子楽器の鍵盤装置の手弾きによる
押鍵状態を示す一部破断側面説明図である。
FIG. 4 is a partially cutaway side view showing a key-pressed state of the keyboard device of the electronic musical instrument shown in FIG.

【図5】図4に示す状態おけるキー・スイッチの側断面
説明図である。
FIG. 5 is an explanatory side sectional view of the key switch in the state shown in FIG. 4;

【図6】図1に示す電子楽器の鍵盤装置のソレノイドに
よる押鍵状態を示す一部破断側面説明図である。
FIG. 6 is a partially cutaway side view showing a key pressed state by a solenoid of the keyboard device of the electronic musical instrument shown in FIG. 1;

【図7】図6に示す状態おけるキー・スイッチの側断面
説明図である。
FIG. 7 is an explanatory side sectional view of the key switch in the state shown in FIG. 6;

【図8】本発明による電子楽器の第2の実施の形態にお
ける鍵の一部破断側面説明図である。
FIG. 8 is a partially cutaway side view of a key of an electronic musical instrument according to a second embodiment of the present invention.

【図9】本発明の第2の実施の形態においてRAMに設
定されているフラグを図表的に示す説明図である。
FIG. 9 is an explanatory diagram schematically showing flags set in a RAM according to the second embodiment of the present invention.

【図10】本発明の第2の実施の形態においてRAMに
設定されているレジスタを図表的に示す説明図である。
FIG. 10 is an explanatory diagram schematically showing registers set in a RAM according to the second embodiment of the present invention.

【図11】演奏データの入力により起動される処理ルー
チンのフローチャートである。
FIG. 11 is a flowchart of a processing routine activated by input of performance data.

【図12】タイマーのタイム・アップにより起動される
処理ルーチンのフローチャートである。
FIG. 12 is a flowchart of a processing routine started when a timer expires.

【図13】鍵操作データの生成により起動される処理ル
ーチンのフローチャートである。
FIG. 13 is a flowchart of a processing routine started by generation of key operation data.

【符号の説明】[Explanation of symbols]

10 中央処理装置(CPU) 12 バス 14 リード・オンリ・メモリー(ROM) 16 ランダム・アクセス・メモリー(RAM) 18 自動演奏装置 20 音源 22 サウンド・システム 26 鍵盤装置 28 MIDIインターフェース 30 鍵 32、320 ソレノイド 32a、320a アクチュエータ 42 鍵盤シャーシ 48 ハンマー 52 キー・スイッチ 52a プライマリー・スイッチ 52b セカンダリー・スイッチ 52c 支持部 52f 第1接触面 52g 第2接触面 54 接点基板 70 押鍵力伝達部材 100 外部のMIDI機器 Reference Signs List 10 central processing unit (CPU) 12 bus 14 read-only memory (ROM) 16 random access memory (RAM) 18 automatic performance device 20 sound source 22 sound system 26 keyboard device 28 MIDI interface 30 key 32, 320 solenoid 32a , 320a Actuator 42 Keyboard chassis 48 Hammer 52 Key switch 52a Primary switch 52b Secondary switch 52c Support 52f First contact surface 52g Second contact surface 54 Contact board 70 Keying force transmitting member 100 External MIDI device

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 揺動可能な複数の鍵を有し、該鍵が所定
の位置まで揺動されたときに鍵操作データを生成する鍵
盤と、 演奏データに基づいて所定の信号を生成する信号生成手
段と、 前記信号生成手段によって生成された前記所定の信号に
基づいて前記鍵を駆動し、前記鍵を前記所定の位置に到
達しない範囲で揺動する鍵駆動手段と、 演奏データに基づいて楽音信号を生成するとともに、前
記鍵盤において生成された鍵操作データに基づいて楽音
信号を生成する音源とを有する電子楽器。
A key for generating key operation data when the key is swung to a predetermined position; and a signal for generating a predetermined signal based on performance data. Generating means, key driving means for driving the key based on the predetermined signal generated by the signal generating means, and swinging the key within a range not reaching the predetermined position, based on performance data An electronic musical instrument having a sound source that generates a tone signal and generates a tone signal based on key operation data generated on the keyboard.
【請求項2】 揺動可能な複数の鍵を有し、該鍵の揺動
に応じて該鍵に対応する音高を含む鍵操作データを生成
する鍵盤と、 演奏データに基づいて所定の信号を生成する信号生成手
段と、 前記信号生成手段によって生成された前記所定の信号に
基づいて前記鍵を駆動して前記鍵を揺動させる鍵駆動手
段と、 演奏データに基づいて楽音信号を生成するとともに、前
記鍵盤において生成された鍵操作データに基づいて楽音
信号を生成する音源と、 前記鍵盤において生成された鍵操作データの音高が所定
の鍵域の鍵に対応する音高である場合に、前記音源にお
ける前記鍵盤において生成された鍵操作データに基づく
楽音信号の生成を禁止する禁止手段とを有する電子楽
器。
2. A keyboard having a plurality of swingable keys and generating key operation data including a pitch corresponding to the keys in accordance with the swinging of the keys, and a predetermined signal based on the performance data. And key driving means for driving the key based on the predetermined signal generated by the signal generating means to swing the key, and generating a tone signal based on performance data. A sound source that generates a tone signal based on the key operation data generated on the keyboard; and a case where the pitch of the key operation data generated on the keyboard is a pitch corresponding to a key in a predetermined key range. Prohibiting means for prohibiting generation of a tone signal based on key operation data generated on the keyboard in the sound source.
JP34525299A 1999-12-03 1999-12-03 Electronic musical instrument Pending JP2001166773A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34525299A JP2001166773A (en) 1999-12-03 1999-12-03 Electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34525299A JP2001166773A (en) 1999-12-03 1999-12-03 Electronic musical instrument

Publications (1)

Publication Number Publication Date
JP2001166773A true JP2001166773A (en) 2001-06-22

Family

ID=18375344

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34525299A Pending JP2001166773A (en) 1999-12-03 1999-12-03 Electronic musical instrument

Country Status (1)

Country Link
JP (1) JP2001166773A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008145576A (en) * 2006-12-07 2008-06-26 Yamaha Corp Key driving device and keyboard device
JP2009145565A (en) * 2007-12-13 2009-07-02 Yamaha Corp Electronic keyboard musical instrument
JP2017173707A (en) * 2016-03-25 2017-09-28 ヤマハ株式会社 Keyboard device and electronic keyboard musical instrument
WO2018173770A1 (en) * 2017-03-24 2018-09-27 ヤマハ株式会社 Counterforce generation device and keyboard device
US10614781B2 (en) 2016-03-25 2020-04-07 Yamaha Corporation Keyboard device and electronic keyboard device
CN113012668A (en) * 2019-12-19 2021-06-22 雅马哈株式会社 Keyboard device and pronunciation control method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008145576A (en) * 2006-12-07 2008-06-26 Yamaha Corp Key driving device and keyboard device
JP2009145565A (en) * 2007-12-13 2009-07-02 Yamaha Corp Electronic keyboard musical instrument
JP2017173707A (en) * 2016-03-25 2017-09-28 ヤマハ株式会社 Keyboard device and electronic keyboard musical instrument
WO2017163962A1 (en) * 2016-03-25 2017-09-28 ヤマハ株式会社 Keyboard device and electronic keyboard instrument
CN108780631A (en) * 2016-03-25 2018-11-09 雅马哈株式会社 Key board unit and electric keyboard instrument
US10553189B2 (en) 2016-03-25 2020-02-04 Yamaha Corporation Keyboard device and electronic keyboard device
US10614781B2 (en) 2016-03-25 2020-04-07 Yamaha Corporation Keyboard device and electronic keyboard device
WO2018173770A1 (en) * 2017-03-24 2018-09-27 ヤマハ株式会社 Counterforce generation device and keyboard device
CN113012668A (en) * 2019-12-19 2021-06-22 雅马哈株式会社 Keyboard device and pronunciation control method
CN113012668B (en) * 2019-12-19 2023-12-29 雅马哈株式会社 Keyboard device and pronunciation control method

Similar Documents

Publication Publication Date Title
CN101515451B (en) Pedal control apparatus of electronic keyboard musical instrument
JP3587167B2 (en) Electronic musical instrument
EP2079079A1 (en) Recording system for ensemble performance and musical instrument equipped with the same
JP3941707B2 (en) Electronic musical instruments
WO2005081221A1 (en) Automatic musical performance device
JP2001166773A (en) Electronic musical instrument
JPH04204697A (en) Electronic musical instrument
JPH06259065A (en) Electronic musical instrument
JP3122277B2 (en) Electronic musical instrument
JP3407355B2 (en) Keyboard instrument
CN111009231B (en) Resonance sound signal generating device and method, medium, and electronic musical device
JP3995408B2 (en) Electronic musical instrument and keyboard device for electronic musical instrument
JP3704747B2 (en) Electronic keyboard instrument
JP3252177B2 (en) Electronic musical instrument
JP2005196026A (en) Device and method for generating resonant sound of electronic musical instrument, and computer program and recording medium
JP3966328B2 (en) Electronic keyboard instrument
JP2855384B2 (en) Automatic playing piano
JPH0542475Y2 (en)
JP4692287B2 (en) Keyboard instrument and mute unit
JP2004280007A (en) Electronic musical instrument
JP2001242867A (en) Musical sound controller
JP5657868B2 (en) Musical sound control method and musical sound control device
JP2770770B2 (en) Electronic musical instrument
JPH04134495A (en) Musical tone signal generator
JP2003271140A (en) Device for automatically playing musical instrument