JP2007018004A - Electronic keyboard musical instrument - Google Patents

Electronic keyboard musical instrument Download PDF

Info

Publication number
JP2007018004A
JP2007018004A JP2006258736A JP2006258736A JP2007018004A JP 2007018004 A JP2007018004 A JP 2007018004A JP 2006258736 A JP2006258736 A JP 2006258736A JP 2006258736 A JP2006258736 A JP 2006258736A JP 2007018004 A JP2007018004 A JP 2007018004A
Authority
JP
Japan
Prior art keywords
key
waveform
sound
source
switch
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
JP2006258736A
Other languages
Japanese (ja)
Inventor
Nobuya Sakurada
伸弥 櫻田
Masaki Kudo
政樹 工藤
孝藏 ▲徳▼田
Kozo Tokuda
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 JP2006258736A priority Critical patent/JP2007018004A/en
Publication of JP2007018004A publication Critical patent/JP2007018004A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an electronic keyboard musical instrument of which the performance feeling and expression technique can be put closer to those given by an acoustic piano (for example, a grand piano). <P>SOLUTION: After a 2nd SW is turned off, and when a key 1 is further operated in the leaving direction of the key to turn off a 3rd SW, the electronic keyboard musical instrument makes a sound source part start reading musical sound of a 2nd source generated by sampling the musical sound of the acoustic piano generated during damping in key releasing, and instructs the sound source to cross-fade currently generated musical sound, namely, to be cross-faded from the musical sound of the 1st source to that of the 2nd source. Then, the performance feeling when performing the electronic keyboard musical instrument becomes closer to that of an acoustic piano, especially, a grand piano by setting a turning-off position of the 3rd SW to be equivalent to a damper-leaving position in a key stroke of the acoustic piano. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、アコースティックピアノを演奏したときの演奏感覚とその表現に、より近づくようにした電子鍵盤楽器に関する。   The present invention relates to an electronic keyboard instrument that is made closer to the performance feeling and the expression thereof when an acoustic piano is played.

最近の電子ピアノは、アコースティックグランドピアノの発音システムにかなり近づいて来ているものの、離鍵時の楽音発生状態において、未だリアリティに欠けていた。   Although recent electronic pianos have come very close to the sound generation system of acoustic grand pianos, they are still lacking in reality in the state of musical tone generation when keys are released.

そこで、本出願人は、離鍵時のダンピング中に発生する、アコースティックグランドピアノの楽音をサンプリングし、これをキーオフ音とする、ダブル音源ソース(キーオンソースおよびキーオフソース)システムを適用した電子鍵盤楽器を開発した。   Therefore, the applicant of the present invention applied to a double sound source (key-on source and key-off source) system that samples a musical tone of an acoustic grand piano generated during dumping and uses it as a key-off sound. Developed.

しかし、上記従来の電子鍵盤楽器では、離鍵時に弦がダンパ材に触れる位置を分岐点として楽音制御しようとする思想まで考慮されていなかったために、離鍵時に発生する楽音にはリアリティが出るものの、その演奏感覚は、アコースティックグランドピアノの演奏感覚と異なったものになっていた。   However, the above-mentioned conventional electronic keyboard musical instrument does not consider the idea of controlling the musical tone with the position where the string touches the damper material when the key is released as a branch point. The performance sensation was different from that of an acoustic grand piano.

本発明は、この点に着目してなされたものであり、その演奏感覚および表現手法をアコースティックピアノ(たとえばグランドピアノ)のそれにより近づけることができる電子鍵盤楽器を提供することを目的とする。   The present invention has been made paying attention to this point, and an object of the present invention is to provide an electronic keyboard instrument in which the performance sensation and expression method can be made closer to those of an acoustic piano (for example, a grand piano).

上記目的を達成するため、請求項1に記載の電子鍵盤楽器は、複数の鍵に対応して配設された複数の駆動部材と、該駆動部材によって駆動され、その駆動位置に応じた情報をそれぞれ出力する複数の出力部材と、前記駆動位置に応じた情報に基づいて、鍵が押離鍵中の全ストローク中、押鍵方向の終状態であることを検出する押鍵検出手段と、複数の発音チャンネルを備えた発音手段と、前記押鍵検出手段による前記終状態の検出に応じて、押鍵があった鍵に対応する楽音を前記複数の発音チャンネルのうちの空きチャンネルに割り当て、前記音源手段にて当該発音チャンネルに割り当てられた楽音を発音させる割り当て手段と、前記発音チャンネルに楽音を割り当てた鍵が前記終状態よりも浅い所定位置を離鍵方向に跨がずに再押鍵されて、前記押鍵検出手段によって前記終状態が検出されたときには、当該鍵に対応する楽音を前記割り当てた発音チャンネルとは異なる他の空いた発音チャンネルに逐次割り当てて、累積的に3以上の異なる発音チャンネルにてそれぞれ発音開始のタイミングが異なる当該鍵に対応する楽音が発音されるように前記割り当て手段を制御する制御手段とを有することを特徴とする。   In order to achieve the above object, an electronic keyboard instrument according to claim 1 is driven by a plurality of driving members corresponding to a plurality of keys, and information corresponding to the driving position is provided. A plurality of output members each outputting, a key depression detecting means for detecting that the key is in the final state of the key depression direction during the entire stroke during the key release, based on the information corresponding to the drive position; A sounding means having a sound generation channel, and in response to detection of the final state by the key press detection means, a musical sound corresponding to a key that has been pressed is assigned to an empty channel of the plurality of sound generation channels, An assigning means for generating a musical sound assigned to the sound generation channel by the sound source means, and a key assigned the musical sound to the sound generation channel is re-pressed without straddling a predetermined position shallower than the final state in the key release direction. The When the final state is detected by the key-press detection means, the musical sound corresponding to the key is sequentially assigned to another vacant sounding channel different from the assigned sounding channel, and three or more different sounding channels are cumulatively accumulated. And a control means for controlling the assigning means so that a musical sound corresponding to the key having a different sounding start timing is sounded.

請求項1に記載の発明によれば、発音チャンネルに楽音を割り当てた鍵が、押離鍵中の全ストローク中、押鍵方向の終状態よりも浅い所定位置を離鍵方向に跨がずに再押鍵されて、押鍵検出手段によって前記終状態が検出されたときには、当該鍵に対応する楽音が、前記割り当てた発音チャンネルとは異なる他の空いた発音チャンネルに逐次割り当てられ、累積的に3以上の異なる発音チャンネルにてそれぞれ発音開始のタイミングが異なる当該鍵に対応する楽音が発音され、レベル検出手段によってすべて“0”レベルであることが検出されたことに応じて、前記割り当てたすべての発音チャンネルがクリアされるので、すなわち、キーオフがなされるまで、全発音チャンネルで開放しているので、実ピアノで言うところの、ダンパペダルを踏み込んだまま、連打したときのような楽音効果に類似する楽音効果を得ることができる。さらに、鍵を完全に戻さなくても押鍵が可能となり、したがって、演奏曲の速いパッセージ部分を速やかにこなすことができる。   According to the first aspect of the present invention, the key to which the tone is assigned to the tone generation channel does not straddle the predetermined position shallower than the final state in the key pressing direction during the entire stroke during the key pressing. When the key is again depressed and the final state is detected by the key depression detecting means, the musical sound corresponding to the key is sequentially assigned to another vacant tone generation channel different from the assigned tone generation channel, and cumulatively. All the assigned sounds are generated in response to the fact that the musical tones corresponding to the corresponding keys having different sounding start timings are sounded in three or more different sounding channels, and all of the “0” levels are detected by the level detecting means. Because the sound channel is cleared, that is, all sound channels are open until the key-off is made. It remains depressed, it is possible to obtain a similar musical effects such musical effect as when the barrage. Furthermore, it is possible to press the key without completely returning the key, so that the fast passage portion of the performance song can be quickly handled.

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

図1は、本発明の一実施の形態に係る電子鍵盤楽器の縦断面図であり、非押鍵状態(鍵1が押鍵行程の開始位置にある状態)を示している。   FIG. 1 is a longitudinal sectional view of an electronic keyboard instrument according to an embodiment of the present invention, showing a non-key-pressed state (a state where the key 1 is at the start position of the key-pressing stroke).

本実施の形態の電子鍵盤楽器は、シャーシ4と、鍵1と、押鍵動作に適当な慣性を与えてアコースティックピアノのような押鍵感触を得るためのハンマ2(質量ハンマ体)とから主に構成される。なお、黒鍵についても鍵1と同様に構成され、シャーシ4に回動自在に支持されて成る。なお、以下、本装置の演奏者側を前方と称する。   The electronic keyboard instrument of the present embodiment is mainly composed of a chassis 4, a key 1, and a hammer 2 (mass hammer body) for giving a key press feeling like an acoustic piano by giving an appropriate inertia to a key press operation. Configured. The black key is configured in the same manner as the key 1 and is rotatably supported by the chassis 4. Hereinafter, the player side of the apparatus is referred to as the front.

鍵1、ハンマ2は、それぞれの回動軸、すなわち鍵回動軸P1、ハンマ回動軸P2を中心として上下方向に回動可能に構成されている。鍵1は、後述の緩衝材13を介してハンマ2を駆動可能に構成され、ハンマ2はスイッチ部3を駆動可能に構成されている。   The key 1 and the hammer 2 are configured to be rotatable in the vertical direction around the respective rotation axes, that is, the key rotation axis P1 and the hammer rotation axis P2. The key 1 is configured to be able to drive the hammer 2 via a buffer material 13 described later, and the hammer 2 is configured to be able to drive the switch unit 3.

鍵1には、その後端部側の面に凸球面状の鍵支点部1aが突設されている。その中心が前記鍵回動軸P1である。一方、シャーシ4のシャーシ水平部4aの後部には鍵支持部5が設けられている。鍵支持部5の鍵支点部1aに対向する部分には、各鍵支点部1aに対応して凹部が設けられている。鍵支点部1aが鍵支持部5の上記凹部と係合して、鍵1が鍵支点部1a(鍵回動軸P1)を中心として上下方向に回動自在にされている。   The key 1 is provided with a convex spherical key fulcrum 1a projecting from the rear end surface. The center is the key rotation axis P1. On the other hand, a key support portion 5 is provided at the rear portion of the chassis horizontal portion 4 a of the chassis 4. A portion of the key support portion 5 facing the key fulcrum portion 1a is provided with a recess corresponding to each key fulcrum portion 1a. The key fulcrum part 1a engages with the concave part of the key support part 5, and the key 1 is rotatable up and down around the key fulcrum part 1a (key rotation axis P1).

鍵1の前部には下方に垂下したハンマ駆動部1bが設けられている。ハンマ駆動部1bの下端部にはウレタンゴム製等の緩衝材13が取り付けられている。緩衝材13は、ハンマ2の上側延設部2cおよび下側延設部2b間に挟入され、鍵1の押鍵動作をハンマ2に伝達すると共に、ハンマ2の復帰動作を鍵1に伝達する。なお、押鍵および押鍵復帰の行程において、緩衝材13はその上端部がハンマ2の上側延設部2cと常に当接して動作の伝達を確実にしている。   A hammer driving portion 1b is provided at the front portion of the key 1 so as to hang downward. A shock absorbing material 13 made of urethane rubber or the like is attached to the lower end of the hammer driving portion 1b. The cushioning material 13 is inserted between the upper extending portion 2 c and the lower extending portion 2 b of the hammer 2, transmits the key pressing operation of the key 1 to the hammer 2, and transmits the return operation of the hammer 2 to the key 1. To do. It should be noted that the upper end portion of the cushioning material 13 is always in contact with the upper extending portion 2c of the hammer 2 during the key pressing and key pressing return stroke, thereby ensuring the transmission of the operation.

シャーシ4は、シャーシ水平部4aとシャーシ4の前部4bとがリブ12により連結されて補強されている。シャーシ前部4bには鍵並び方向(鍵1の横方向)の回動を規制するためのキーガイド6が各鍵1毎に突設されている。   The chassis 4 is reinforced by connecting the chassis horizontal part 4 a and the front part 4 b of the chassis 4 with ribs 12. A key guide 6 for restricting the rotation in the key arrangement direction (the lateral direction of the key 1) projects from the chassis front portion 4b for each key 1.

ハンマ2は、各鍵1に対応して設けられ、シャーシ4に設けられた支持部材9のハンマ支持部9a(ハンマ回動軸P2)を中心としてその自由端部2dが上下方向に回動自在にハンマ支点部2aにて支持されている。また、ハンマ支点部2a近傍から鍵1の後部に亘ってフォーク形状のバネ7が懸架されている。このバネ7は、鍵1を鍵支持部5に押しつけると共に、ハンマ2を支持部材9のハンマ支持部9aに押しつけ、鍵1およびハンマ2がシャーシ4から容易に脱落しないようにしている。   The hammer 2 is provided corresponding to each key 1, and its free end 2 d is rotatable up and down around a hammer support portion 9 a (hammer rotation shaft P <b> 2) of a support member 9 provided on the chassis 4. Is supported by the hammer fulcrum part 2a. A fork-shaped spring 7 is suspended from the vicinity of the hammer fulcrum part 2a to the rear part of the key 1. The spring 7 presses the key 1 against the key support portion 5 and presses the hammer 2 against the hammer support portion 9a of the support member 9 so that the key 1 and the hammer 2 do not easily fall off the chassis 4.

ハンマ2は、質量部材2fの重さによって下側延設部2bにて鍵1を上方に常に付勢している。なお、鍵1の復帰力はバネ7から付与されるのではなく、ハンマ2自身の復帰力によるものである。ハンマ2は、下部にスイッチ部3を駆動するためのスイッチ駆動部2eを有する。   The hammer 2 always urges the key 1 upward at the lower extending portion 2b by the weight of the mass member 2f. The return force of the key 1 is not applied from the spring 7, but is due to the return force of the hammer 2 itself. The hammer 2 has a switch drive unit 2e for driving the switch unit 3 at the lower part.

シャーシ4のシャーシ水平部4aの後部およびシャーシ保持部4cにはそれぞれ、フェルト等の上側ストッパ10(ストッパ部)および下側ストッパ11が設けられている。上側ストッパ10は押鍵時にハンマ2の質量部材2fと当接して鍵1およびハンマ2の回動終了位置(鍵1では前端部の下限位置、ハンマ2では自由端部2dの上限位置)を規制し、下側ストッパ11は非押鍵時にハンマ2の質量部材2fと当接して鍵1の上限位置を規制する。   An upper stopper 10 (stopper portion) such as felt and a lower stopper 11 are provided on the rear portion of the chassis horizontal portion 4a and the chassis holding portion 4c of the chassis 4, respectively. The upper stopper 10 abuts against the mass member 2f of the hammer 2 when the key is depressed, and restricts the rotation end position of the key 1 and the hammer 2 (the lower limit position of the front end portion for the key 1 and the upper limit position of the free end portion 2d for the hammer 2). The lower stopper 11 abuts against the mass member 2f of the hammer 2 when the key is not pressed to restrict the upper limit position of the key 1.

シャーシ前部4bにはスイッチ基板8が取り付けられ、スイッチ基板8上にはスイッチ部3が設けられている。スイッチ部3は、ハンマ2のスイッチ駆動部2eに対向して各ハンマ2毎に設けられている。スイッチ部3は、接点時間差タイプの3メイク式タッチレスポンススイッチであり、鍵1の押鍵動作を検出する。   A switch board 8 is attached to the chassis front part 4 b, and the switch part 3 is provided on the switch board 8. The switch unit 3 is provided for each hammer 2 so as to face the switch driving unit 2 e of the hammer 2. The switch unit 3 is a contact time difference type 3-make touch response switch, and detects a key pressing operation of the key 1.

図2は、スイッチ基盤8上に設けられたスイッチ部3の拡大断面図であり、同図に示すように、スイッチ部3は、第1スイッチ(SW)3a、第2スイッチ(SW)3bおよび第3スイッチ(SW)3cによって構成されている。   FIG. 2 is an enlarged cross-sectional view of the switch unit 3 provided on the switch base 8. As shown in the figure, the switch unit 3 includes a first switch (SW) 3a, a second switch (SW) 3b, and A third switch (SW) 3c is used.

なお、本実施の形態では、スイッチ部3として、3メイク式タッチレスポンススイッチを採用したが、これに限らず、図3に示すように、4メイク式タッチレスポンススイッチを採用するようにしてもよいし、5メイク以上のものを採用してもよい。さらに、スイッチに限らず、押鍵状態に応じた信号を出力するものであればどのようなものであってもよい。具体的には、押離鍵時に鍵1に加えられた圧力を検出するピエゾセンサを挙げることができる。   In the present embodiment, a 3-make touch response switch is used as the switch unit 3. However, the present invention is not limited to this, and a 4-make touch response switch may be used as shown in FIG. In addition, a makeup of 5 makeups or more may be employed. Further, not only the switch, but also any device that outputs a signal corresponding to the key pressing state. Specifically, a piezo sensor that detects the pressure applied to the key 1 when the key is pressed or released can be used.

また、本実施の形態の電子鍵盤楽器の一つの特徴は、後述するように、鍵1の離鍵時に、アコースティックピアノ(以下、「実ピアノ」と言う)であれば弦がダンパ材に触れるであろう位置を分岐点として楽音制御することにある。したがって、演奏者は、鍵1の離鍵(または押鍵)時に、この位置を感触によって認識できれば、その楽音制御を積極的に利用することができるので、そのような感触が得られた方が望ましい。   One feature of the electronic keyboard instrument of the present embodiment is that, as will be described later, when the key 1 is released, the string touches the damper material if it is an acoustic piano (hereinafter referred to as “real piano”). The purpose is to control the musical tone using the position where it will be as a branch point. Therefore, if the performer can recognize this position by touch when the key 1 is released (or pressed), the musical tone control can be used positively. desirable.

図4は、演奏者がこの位置を感触できるように構成した構成例を示す図であり、構成後のハンマ2およびシャーシ水平部4a近傍を拡大した拡大図である。   FIG. 4 is a diagram showing a configuration example configured to allow the performer to feel this position, and is an enlarged view of the vicinity of the hammer 2 and the chassis horizontal portion 4a after configuration.

図4に示すように、ハンマ2上に突起部2iを設け、シャーシ水平部4aの端部にネジNで固定した凸条151付き板バネ15を取り付け、この板バネ15の凸条151を押鍵途中で突起部2iに接触させるように構成する。鍵1の押鍵に伴って、突起部2iが板バネ15の表面を接触しながら移動し、突起部2iが凸条151に乗り上げる位置に来ると、演奏者は当擦感またはクリック感を得ることができる。そして、板バネ15の位置または形状を調節することで、この位置を、実ピアノにおいて弦がダンパ材に触れる位置に微調整することもできる。そのために、板バネ15にはネジNに対応した長孔が形成されている。また、上記微調整は、スイッチ部材3,3′の鍵長手方向位置の微変位調整によっても可能である。   As shown in FIG. 4, a protrusion 2i is provided on the hammer 2, a leaf spring 15 with a protrusion 151 fixed with a screw N is attached to an end of the chassis horizontal portion 4a, and the protrusion 151 of the leaf spring 15 is pushed. It is configured to come into contact with the protrusion 2i in the middle of the key. As the key 1 is pressed, the projecting portion 2i moves while contacting the surface of the leaf spring 15, and when the projecting portion 2i reaches a position where the projecting portion 151 rides on the ridge 151, the player obtains a rubbing or clicking feeling. be able to. Then, by adjusting the position or shape of the leaf spring 15, this position can be finely adjusted to a position where the string touches the damper material on the actual piano. For this purpose, a long hole corresponding to the screw N is formed in the leaf spring 15. The fine adjustment can also be performed by fine displacement adjustment of the switch member 3, 3 'in the key longitudinal direction position.

さらに、本実施の形態では、スイッチ部3は、ハンマ2に設けられたスイッチ駆動部2eで駆動するように構成したが、これに限らず、図5に示すように、鍵1に設けられたスイッチ駆動部1eで駆動するようにしてもよい。   Further, in the present embodiment, the switch unit 3 is configured to be driven by the switch driving unit 2e provided in the hammer 2, but not limited to this, the switch unit 3 is provided in the key 1 as shown in FIG. You may make it drive with the switch drive part 1e.

図6は、本実施の形態の電子鍵盤楽器の制御機能構成を示すブロック図である。   FIG. 6 is a block diagram showing a control function configuration of the electronic keyboard instrument of the present embodiment.

同図に示すように、本実施の形態の電子鍵盤楽器は、音高情報を入力するための鍵盤21と、各種音色を指定するための複数のスイッチからなる音色スイッチ(SW)群22と、音色以外の各種情報を入力するための複数のスイッチからなるその他スイッチ(SW)群23と、装置全体の制御を司るCPU24と、該CPU24が実行する制御プログラムや、各種テーブルデータ等を記憶するROM25と、演奏データ、各種入力情報および演算結果等を一時的に記憶するRAM26と、鍵盤21から入力された演奏データや予め設定された演奏データ等に基づいて楽音波形信号を生成し、この楽音信号波形を音響に変換する音源部27とによって構成されている。   As shown in the figure, the electronic keyboard instrument of the present embodiment includes a keyboard 21 for inputting pitch information, a timbre switch (SW) group 22 composed of a plurality of switches for designating various timbres, Other switch (SW) group 23 composed of a plurality of switches for inputting various information other than timbre, CPU 24 for controlling the entire apparatus, ROM 25 for storing control programs executed by CPU 24, various table data, and the like. A musical sound waveform signal is generated based on the RAM 26 for temporarily storing performance data, various input information, calculation results, and the like, the performance data input from the keyboard 21 and preset performance data, and the like. The sound source unit 27 converts the waveform into sound.

なお、本実施の形態では、CPU24、ROM25およびRAM26を、1チップのマイクロコンピュータ(μcom)によって構成しているが、もちろんこれに限らず、CPU24、ROM25およびRAM26を、それぞれ独立して構成するようにしてもよい。   In the present embodiment, the CPU 24, the ROM 25, and the RAM 26 are configured by a one-chip microcomputer (μcom). However, the present invention is not limited to this, and the CPU 24, the ROM 25, and the RAM 26 are configured independently. It may be.

図7は、音源部27の詳細な制御機能構成を示すブロック図である。   FIG. 7 is a block diagram showing a detailed control function configuration of the sound source unit 27.

同図に示すように、楽音信号波形を生成するために必要な各種パラメータを記憶する複数の領域からなるバッファレジスタ31には、キーオン時に発生する楽音のソース(第1ソース)を出力する第1ソース出力部32と、この出力された第1ソースのエンベロープを生成する第1エンベロープジェネレータ(EG)33と、キーオフ時に発生する楽音のソース(第2ソース)を出力する第2ソース出力部35と、この出力された第2ソースのエンベロープを生成する第2エンベロープジェネレータ(EG)36とが接続されている。ここで、第1ソースは、グランドピアノの押鍵時から押鍵中(離鍵途中は含まず)に発生する楽音をサンプリングして記録したものであり、第2ソースは、離鍵時のダンピング中に発生する、グランドピアノ楽音をサンプリングして記録したものである。   As shown in the figure, a first source for outputting a source of a musical tone (first source) generated at the time of key-on is output to a buffer register 31 composed of a plurality of areas for storing various parameters necessary for generating a musical tone signal waveform. A source output unit 32; a first envelope generator (EG) 33 that generates an envelope of the output first source; a second source output unit 35 that outputs a source of a musical sound (second source) generated at the time of key-off; A second envelope generator (EG) 36 that generates the envelope of the output second source is connected. Here, the first source is a sampled and recorded musical tone that is generated while the key is pressed (not including the middle of the key release) from the time the key is pressed on the grand piano, and the second source is the damping when the key is released. This is a sampled and recorded grand piano musical sound.

第1ソース出力部32から出力された第1ソースは、乗算器34を介して、第1EG33から出力されたエンベロープと乗算されて合成部38に供給され、第2ソース出力部35から出力された第2ソースも同様に、乗算器37を介して、第2EG36から出力されたエンベロープと乗算されて合成部38に供給される。   The first source output from the first source output unit 32 is multiplied by the envelope output from the first EG 33 via the multiplier 34, supplied to the synthesis unit 38, and output from the second source output unit 35. Similarly, the second source is multiplied by the envelope output from the second EG 36 via the multiplier 37 and supplied to the synthesis unit 38.

合成部38は、乗算器34および37からそれぞれ出力された第1および第2ソース、すなわち、そのエンベロープが制御された第1および第2ソースを合成して、チャンネル(CH)累算器39に供給する。また、合成部38から出力された合成波の波高値は、所定タイミングで常時検出されて、バッファレジスタ31の所定領域に記憶される。なお、図示されていないが、乗算器34から出力された、エンベロープの付加された第1ソース波形の波高値も、所定タイミングで常時検出されて、バッファレジスタ31の所定領域に記憶される。このようにして記憶された各波高値は、後述する図13のフローチャート中の処理(ステップS35およびS33の処理)で使用される。   The synthesizer 38 synthesizes the first and second sources output from the multipliers 34 and 37, that is, the first and second sources whose envelopes are controlled, to the channel (CH) accumulator 39. Supply. The peak value of the synthesized wave output from the synthesis unit 38 is always detected at a predetermined timing and stored in a predetermined area of the buffer register 31. Although not shown, the peak value of the first source waveform with an envelope output from the multiplier 34 is also always detected at a predetermined timing and stored in a predetermined area of the buffer register 31. Each peak value stored in this way is used in the processing in the flowchart of FIG. 13 described later (the processing in steps S35 and S33).

なお、ブロック32〜38の各処理は、本実施の形態では、発音チャンネル毎の時分割処理によってなされている。もちろん、製造コストを問題にしなければ、これに限らず、発音チャンネル毎にブロック32〜38を1組ずつ設けるようにしてもよい。   In the present embodiment, each process of the blocks 32 to 38 is performed by a time division process for each sound generation channel. Of course, as long as manufacturing cost is not a problem, the present invention is not limited to this, and one set of blocks 32 to 38 may be provided for each sound generation channel.

図8は、合成部38から出力される、ある発音チャンネルの合成波の一例を示す図であり、キーオンからキーオフされて消音に至るまでに出力される楽音波形が示されている。   FIG. 8 is a diagram showing an example of a synthesized wave of a certain sounding channel output from the synthesizing unit 38, and shows a musical sound waveform output from key-on to key-off until mute.

同図において、キーオン中は、第1ソースの楽音波形が第1ソース出力部32から出力されるとともに、第1EG33からは、値1のエンベロープ波形E1が出力され、第2ソース出力部35および第2EG36からは信号波形が出力されないので、合成部38からは、第1ソースの楽音波形がそのまま出力される。   In the figure, during key-on, the musical tone waveform of the first source is output from the first source output unit 32, and the envelope waveform E1 of value 1 is output from the first EG 33, and the second source output unit 35 and the second source output unit 35 Since the 2EG 36 does not output a signal waveform, the synthesis source 38 outputs the first source tone waveform as it is.

このキーオン状態からキーオフになると、第1ソース出力部32からは継続して第1ソースの楽音波形が出力されるものの、第1EG33から出力されるエンベロープ波形E1のレベルが線形的に減衰して行き、さらに、第2ソース出力部35からは第2ソースの楽音波形が出力されるとともに、第2EG36から出力されるエンベロープ波形E2が線形的に増大して行くので、合成部38からは、第1ソースの楽音波形から第2ソースの楽音波形にクロスフェードして行く波形が出力される。   When the key-on state is changed to the key-off state, the first source tone waveform is continuously output from the first source output unit 32, but the level of the envelope waveform E1 output from the first EG 33 is linearly attenuated. Further, the second source musical tone waveform is output from the second source output unit 35, and the envelope waveform E2 output from the second EG 36 increases linearly. A waveform that cross-fades from the source tone waveform to the second source tone waveform is output.

そして、クロスフェードが完了すると、第1EG33から出力されるエンベロープ波形E1のレベルが“0”となり、第2EG36から出力されるエンベロープ波形E2のレベルが“1”となるため、合成部38からは、第2ソースの楽音波形がそのまま出力されることになる。第2ソースの楽音波形は、その波高値が徐々に減衰していく特性を備えているため、第2EG36から出力されるエンベロープ波形E2のレベルが“1”のままであっても、所定時間後自然に消音する。   When the cross fade is completed, the level of the envelope waveform E1 output from the first EG 33 becomes “0”, and the level of the envelope waveform E2 output from the second EG 36 becomes “1”. The musical tone waveform of the second source is output as it is. Since the tone waveform of the second source has a characteristic that its peak value gradually attenuates, even if the level of the envelope waveform E2 output from the second EG 36 remains “1”, a predetermined time later Silence naturally.

図7に戻り、CH累算器39は、合成部38から出力された、発音チャンネル毎の合成波形を全発音チャンネルに亘って累算し、累算後のデジタル楽音信号波形を、デジタル信号をアナログ信号に変換するDAC(Digital-to-Analog Converter)40に供給する。DAC40から出力されたアナログ楽音信号波形は、アンプやスピーカ等からなるサウンドシステム41に供給されて音響に変換される。   Returning to FIG. 7, the CH accumulator 39 accumulates the synthesized waveform for each sounding channel output from the synthesizing unit 38 over all the sounding channels, and converts the digital musical sound signal waveform after accumulation into the digital signal. This is supplied to a DAC (Digital-to-Analog Converter) 40 that converts it into an analog signal. The analog tone signal waveform output from the DAC 40 is supplied to a sound system 41 including an amplifier, a speaker, and the like, and converted into sound.

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

図9は、鍵ストロークにおけるスイッチ部3の第1〜第3SW3a〜3cのオン位置(タイミング)を示す図である。なお、同図には、前記図3に示した4メイク式タッチレスポンススイッチを採用した場合の第4SW3dのオン位置も記載されている。   FIG. 9 is a diagram illustrating ON positions (timing) of the first to third SWs 3a to 3c of the switch unit 3 in the key stroke. The figure also shows the ON position of the fourth SW 3d when the 4-make touch response switch shown in FIG. 3 is employed.

図9に示すように、実ピアノや電子鍵盤楽器では、鍵1は、離鍵位置から最も深い押鍵位置に至るまで上下方向に最大10mm程度の変位をするものであり、本実施の形態の電子鍵盤楽器でも、その仕様に沿って構成されている。鍵ストロークに従って、まず第3SW3cがオンし、次に第2SW3bがオンし、最後に第1SW3aがオンする。   As shown in FIG. 9, in a real piano or electronic keyboard instrument, the key 1 is displaced up to about 10 mm in the vertical direction from the key release position to the deepest key pressing position. Even electronic keyboard instruments are configured according to their specifications. According to the key stroke, first, the third SW 3c is turned on, then the second SW 3b is turned on, and finally the first SW 3a is turned on.

押鍵を開始して、初めて第3SW3cがオンする(第3SW3cのオンイベントが発生する)と、発音チャンネルの空きチャンネルを検索して発音を準備する。続いて、第2SW3bがオンする(第2SW3bのオンイベントが発生する)と、キーオンベロシティを規定するための時間(キーオン時間)の計時を開始する。そして、第1SW3aがオンする(第1SW3aのオンイベントが発生する)と、上記時間の計時を停止し、この計時された時間、すなわち第2SW3bがオンしてから第1SW3aがオンするまでの時間に基づいて、たとえばテーブルデータ(図15参照)を検索することによりキーオンベロシティを決定する。このキーオンベロシティを、押鍵鍵に対応するキーコード、前記検索された空きチャンネルのチャンネル番号およびキーオン等のデータとともに、音源部27に送出すると、音源部27は、決定されたキーオンベロシティの、押鍵鍵に対応する音高の楽音を発生する。   When the third SW 3c is turned on for the first time after the key depression is started (an ON event of the third SW 3c occurs), a free channel of the sound generation channel is searched and a sound is prepared. Subsequently, when the second SW 3b is turned on (an on event of the second SW 3b is generated), time measurement for defining key-on velocity (key-on time) is started. When the first SW 3a is turned on (the on event of the first SW 3a occurs), the time measurement is stopped, and this time is measured, that is, the time from when the second SW 3b is turned on until the first SW 3a is turned on. Based on this, for example, key-on velocity is determined by searching table data (see FIG. 15). When the key-on velocity is transmitted to the sound source unit 27 together with the key code corresponding to the key-press key, the channel number of the searched empty channel and the key-on data, etc., the sound source unit 27 presses the determined key-on velocity. A musical tone with a pitch corresponding to the key is generated.

次に、この状態から鍵1が離鍵方向に操作され、第2SW3bがオフした(第2SW3bのオフイベントが発生した)後、第3SW3cがオフしない(第3SW3cのオフイベントが発生しない)で、再度第2SW3bおよび第3SW3cの順にオンすると、上述のようにして、再度キーオンベロシティが決定され、音源部27から押鍵鍵に対応する音高の楽音が発生する。ただし、この場合には、楽音を発生させるための発音チャンネルとして、直前に割り当てられたチャンネルとは異なるチャンネルが割り当てられる。つまり、本実施の形態では、キーオフがなされるまで、全発音チャンネルを開放している。このため、実ピアノで言うところの、ダンパペダルを踏み込んだまま、連打したときのような楽音効果に類似する楽音効果を得ることができる。実際には、実ピアノでは、ダンパペダルを踏み込んだまま、押鍵を繰り返すと、全弦が打弦のピッチで振動するので、広がり感のある楽音効果となる。これに対して、本実施の形態の電子鍵盤楽器では、同一ピッチの楽音が複数鳴っていることになる。   Next, after the key 1 is operated in the key release direction from this state and the second SW 3b is turned off (the off event of the second SW 3b is generated), the third SW 3c is not turned off (the off event of the third SW 3c is not generated). When the second SW 3b and the third SW 3c are turned on again in this order, the key-on velocity is determined again as described above, and a musical tone having a pitch corresponding to the key pressing key is generated from the sound source unit 27. However, in this case, a channel different from the channel assigned immediately before is assigned as a sound generation channel for generating a musical sound. In other words, in this embodiment, all the sound generation channels are opened until key-off is performed. For this reason, it is possible to obtain a musical sound effect similar to a musical sound effect as in the case of continuous striking while the damper pedal is depressed while the actual piano is depressed. Actually, in a real piano, if you press the key repeatedly while depressing the damper pedal, all the strings vibrate at the pitch of the striking pitch, resulting in a spacious musical sound effect. On the other hand, in the electronic keyboard instrument of the present embodiment, a plurality of musical tones having the same pitch are sounded.

また、キーオフ位置、つまり本実施の形態では第3SW3cがオフされる位置まで鍵1を完全に戻さなくても楽音を発生させることができるので、演奏曲の速いパッセージ部分を速やかに演奏(繰り返し速押鍵)することができる。   Further, since it is possible to generate a musical tone without completely returning the key 1 to the key-off position, that is, the position where the third SW 3c is turned off in the present embodiment, the fast passage portion of the performance piece can be played quickly (repetitive speed). Key press).

一方、第2SW3bがオフした後、鍵1がさらに離鍵方向に操作されて、第3SW3cがオフすると、音源部27に対して、前記第2ソース(図8参照)の楽音の読み出しを開始させ、現在発生中の楽音、つまり前記第1ソースの楽音から第2ソースの楽音にクロスフェードして行くように指示する。そして、第3SW3cがオフする位置を、実ピアノの鍵ストロークのダンパ用フェルトが弦に触れる位置と等価になるように設定することで、本実施の形態の電子鍵盤楽器を演奏したときの演奏感覚は、実ピアノ、特にグランドピアノの演奏感覚により近づくことになる。   On the other hand, when the key 1 is further operated in the key release direction after the second SW 3b is turned off and the third SW 3c is turned off, the sound source unit 27 is started to read the tone of the second source (see FIG. 8). And instructing to crossfade from the currently generated musical sound, that is, from the first source musical sound to the second source musical sound. Then, by setting the position where the third SW 3c is turned off to be equivalent to the position where the felt felt for the damper of the keystroke of the actual piano touches the strings, the performance sensation when playing the electronic keyboard instrument of the present embodiment Is closer to the performance of a real piano, especially a grand piano.

さらに、スイッチ部3として、4メイク式タッチレスポンススイッチを採用した場合には、3メイク式タッチレスポンススイッチを採用した場合の上記制御処理に加え、第4SW3dがオンしてから第3SW3cがオンするまでの区間内を、実ピアノでの離鍵操作時に弦がダンパ材に触れる度合いを変更して、弦振動に重畳される高調波を変更する制御区間、いわゆるハーフミュート制御区間にすることができる。具体的には、鍵1を押鍵方向に操作して、第3SW3cがオンしたときに、このオン位置がハーフミュート制御区間の一方の端であることを示すマーカとして、複数ビットからなる所定値(たとえば、11B(ただし、“B”はその前の数字が2進数であることを示す記号であり、以下同様の意味に用いる))を割り当てる一方、鍵1を離鍵方向に操作して、第4SW3dがオフしたときに、このオフ位置がハーフミュート制御区間のもう一方の端であることを示すマーカとして、複数ビットからなる所定値(たとえば、00B)を割り当てる。すると、場合によって、00Bまたは11Bのいずれかの値が得られるので、その得られた値に応じて、ハーフミュートの程度、たとえば弦振動に重畳する高調波の種類を変更することができる。   Further, when a 4-make touch response switch is used as the switch unit 3, in addition to the control processing when the 3-make touch response switch is used, the fourth SW 3d is turned on until the third SW 3c is turned on. This section can be changed to a so-called half mute control section in which the harmonics superimposed on the string vibration are changed by changing the degree to which the string touches the damper material during the key release operation on the real piano. Specifically, when the key 1 is operated in the key pressing direction and the third SW 3c is turned on, a predetermined value consisting of a plurality of bits is used as a marker indicating that the on position is one end of the half mute control section. (For example, “11B” (where “B” is a symbol indicating that the preceding number is a binary number and is used for the same meaning hereinafter)), while operating the key 1 in the key release direction, When the fourth SW 3d is turned off, a predetermined value (for example, 00B) consisting of a plurality of bits is assigned as a marker indicating that this off position is the other end of the half mute control section. Then, depending on the case, either 00B or 11B can be obtained, and the degree of half mute, for example, the type of harmonics superimposed on the string vibration can be changed according to the obtained value.

なお、メイク数のより多いスイッチを使用したり、鍵1の操作状態に応じて離散値(または連続値)を数多く出力するセンサを使用したりすることで、さらに、精度よくハーフミュート制御を行うことができる。もちろん、この区間、すなわち、両端にそれぞれ割り当てられた複数ビットからなる各所定値間の値(中間値)を出力可能な区間を、ハーフミュート制御以外の制御に使用するようにしてもよい。たとえば、前記図7の合成部38とチャンネル累算器39との間に、合成部38から出力される合成波形をスライスして出力する波形スライサ部を設け、そのチョップ度合いを、上記中間値出力に応じて制御するようにしてもよい。   In addition, by using a switch with a larger number of makeups or using a sensor that outputs a large number of discrete values (or continuous values) according to the operation state of the key 1, half-mute control is performed with higher accuracy. be able to. Of course, this section, that is, a section capable of outputting a value (intermediate value) between predetermined values each consisting of a plurality of bits assigned to both ends may be used for control other than half-mute control. For example, a waveform slicer unit for slicing and outputting the combined waveform output from the combining unit 38 is provided between the combining unit 38 and the channel accumulator 39 in FIG. 7, and the chop degree is output as the intermediate value output. Control may be performed according to the above.

また、本実施の形態では、所定区間の両端を示すマーカとして複数ビットからなる値を割り当てるようにしたので、スイッチを用いた場合であればメイク数に拘わらず、あるいは、鍵1の操作状態に応じて離散値(または連続値)を数多く出力するセンサを用いた場合であれば、その出力値の数に拘わらず、同様の発音システムを適用することができ、したがって、スイッチのメイク数やセンサの出力数が拡張されたとしても、発音システムをそれほど変更しなくてもよいので、開発経費を抑制しながら、より高度化した発音システムに移行して開発を継続させることができる。つまり、共通化システムの一助となる。   Further, in this embodiment, since a value consisting of a plurality of bits is assigned as a marker indicating both ends of a predetermined section, if a switch is used, regardless of the number of make-ups, or in the operation state of the key 1 Accordingly, if a sensor that outputs a large number of discrete values (or continuous values) is used, the same sound generation system can be applied regardless of the number of output values. Even if the number of outputs is expanded, it is not necessary to change the sound generation system so much, so that it is possible to continue development by shifting to a more advanced sound generation system while suppressing development costs. In other words, it helps the common system.

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

図10および図11は、本実施の形態の電子鍵盤楽器、特にCPU5が実行する押離鍵処理サブルーチンの手順を示すフローチャートである。本押離鍵処理サブルーチンは、メインルーチンに含まれる一処理である。なお、メインルーチンは、本押離鍵処理サブルーチンの他に、初期設定、音色設定およびその他処理等の、通常の電子鍵盤楽器でなされる公知の処理によって形成すればよいため、図示を省略している。   FIGS. 10 and 11 are flowcharts showing the procedure of the key release processing subroutine executed by the electronic keyboard instrument of the present embodiment, particularly the CPU 5. The key press / release key processing subroutine is a process included in the main routine. The main routine may be formed by well-known processing performed by a normal electronic keyboard instrument such as initial setting, tone setting, and other processing in addition to the main-press / release key processing subroutine. Yes.

図12および図13は、本実施の形態の電子鍵盤楽器、特にCPU5が実行するタイマ割込処理の手順を示すフローチャートである。本タイマ割込処理は、図示しないタイマが、たとえば5μsecを計時する度に発生するタイマ割込信号に応じて起動される。   FIG. 12 and FIG. 13 are flowcharts showing a procedure of timer interrupt processing executed by the electronic keyboard instrument of the present embodiment, particularly the CPU 5. This timer interruption process is started in response to a timer interruption signal generated every time a timer (not shown) measures, for example, 5 μsec.

図10〜図13のフローチャートでは、第1〜第3SW3a〜3cのキーイベント(キーオン/オフイベント)が発生したときに主要な処理がなされるように構成されているので、次のように場合分けし、その各場合にどのような制御処理がなされるかを説明する。
(1)第3SW3cのオンイベントが発生したとき
(2)第2SW3bのオンイベントが発生したとき
(3)第1SW3aのオンイベントが発生したとき
(4)発音処理
(5)第1SW3aのオフイベントが発生したとき
(6)第2SW3bのオフイベントが発生したとき
(7)第3SW3cのオフイベントが発生したとき
(8)消音処理
なお、上記(1)〜(8)の各数字は、図10〜図13のフローチャート内に記載の丸1〜丸8の各数字と対応付けられている。
In the flowcharts of FIGS. 10 to 13, since the main process is performed when the key event (key on / off event) of the first to third SWs 3a to 3c occurs, the cases are classified as follows. Then, what kind of control processing is performed in each case will be described.
(1) When an on event of the third SW 3c occurs (2) When an on event of the second SW 3b occurs (3) When an on event of the first SW 3a occurs (4) Sound generation process (5) An off event of the first SW 3a When it occurs (6) When an off event of the second SW 3b occurs (7) When an off event of the third SW 3c occurs (8) Silencing processing The numbers (1) to (8) above are shown in FIG. Corresponding to the numbers 1 to 8 described in the flowchart of FIG.

(1)第3SW3cのオンイベントが発生したときには、このオンイベントが発生したキーコードKCは未だバッファKEYBUFの領域KCD(図14(a)参照)に登録されていないので、空きチャンネル(CH)を検索し、空きCHが見つかると、そのCHナンバデータを、前記RAM26の所定領域に一時的に保存する(図10のステップS1→S2→S3→S4)。   (1) When an on event of the third SW 3c occurs, the key code KC in which this on event has occurred is not yet registered in the area KCD (see FIG. 14A) of the buffer KEYBUF, so that an empty channel (CH) is assigned. When a search is made and an empty CH is found, the CH number data is temporarily stored in a predetermined area of the RAM 26 (steps S 1 → S 2 → S 3 → S 4 in FIG. 10).

図14は、前記RAM26上に確保されたバッファ領域およびタイマ領域のフォーマットを示す図であり、(a)は、各チャンネル毎の発音情報および消音情報を記憶するためのバッファKEYBUFのフォーマットを示し、(b)は、各チャンネル毎のタッチステートTS(k)およびスイッチS3(第3SW3c)ステートS3(k)を記憶するためのバッファTS&S3BUFのフォーマットを示し、(c)は、各チャンネル毎のキーオン時間を計測するためのソフトウェアカウンタ領域のフォーマットを示す図である。   FIG. 14 is a diagram showing a format of a buffer area and a timer area secured on the RAM 26, and (a) shows a format of a buffer KEYBUF for storing sound generation information and mute information for each channel. (B) shows the format of the buffer TS & S3BUF for storing the touch state TS (k) and the switch S3 (third SW3c) state S3 (k) for each channel, and (c) shows the key-on time for each channel. It is a figure which shows the format of the software counter area | region for measuring.

図14(a)において、バッファKEYBUFは、16個の発音チャンネル(0〜15CH)それぞれに対して、キーコードデータを格納するための領域KCDと、キーイベント種類データを格納するための種類領域と、キーオンベロシティデータを格納するための領域Von(n)と、EGレートデータを格納するための領域EGレートとにより構成されている。   In FIG. 14A, the buffer KEYBUF includes an area KCD for storing key code data and a type area for storing key event type data for each of the 16 sound generation channels (0 to 15CH). , An area Von (n) for storing key-on velocity data, and an area EG rate for storing EG rate data.

キーイベント種類データとは、キーオンイベントであるかキーオフイベントであるかを区別するためのデータを言い、1ビットデータで表される。すなわち、1:オンイベント;0:オフイベントを示している。   The key event type data is data for distinguishing between a key-on event and a key-off event, and is represented by 1-bit data. That is, it indicates 1: on event; 0: off event.

図10に戻り、このオンイベントは、図9に示すように、浅いSWのオンイベントであるため、ステップS5→S16(図11)と進み、バッファKEYBUFのCHとして今回検索時の空きCHを指定し、第3SW3cは、本実施の形態では、浅いスイッチのうち最深(そもそも、浅いスイッチは1つのみである)であるので、指定された空きCH(=nとする)に対応した、バッファKEYBUFのnCHに、キーイベントのキーコードおよびキーイベント種類を書き込み、バッファTS&S3BUFのスイッチS3(第3SW3c)の状態(以下、「S3(n)」という)を格納する領域S3(n)に値11Bを書き込む(ステップS17→S18)。   Returning to FIG. 10, since this ON event is a shallow SW ON event as shown in FIG. 9, the process proceeds from step S5 to S16 (FIG. 11), and the free CH at the time of the current search is designated as the CH of the buffer KEYBUF. In this embodiment, since the third SW 3c is the deepest of the shallow switches (there is only one shallow switch in the first place), the buffer KEYBUF corresponding to the designated empty CH (= n) is used. The key code of the key event and the key event type are written in nCH of the buffer, and the value 11B is stored in the area S3 (n) for storing the state of the switch S3 (third SW3c) of the buffer TS & S3BUF (hereinafter referred to as “S3 (n)”) Write (step S17 → S18).

図14(b)において、バッファTS&S3BUFは、16個の発音チャンネル(0〜15CH)それぞれに対して、タッチステートTS(k)を格納するための領域と、スイッチS3(第3SW3c)ステートS3(k)を記憶するための領域とにより構成されている。   In FIG. 14B, the buffer TS & S3BUF includes an area for storing the touch state TS (k) and a switch S3 (third SW3c) state S3 (k) for each of the 16 sound generation channels (0 to 15CH). ) Is stored in the memory area.

タッチステートTS(k)は、図14(b)に示すように、00B,01B,10Bおよび11Bの4種類の値を採り、
TS(k)=00B:楽音が発生していない状態
TS(k)=01B:第2SW3bがオンしている状態
TS(k)=10B:楽音が発生された後、第3SW3cがオフしている状態
TS(k)=11B:第1SW3aがオンしている状態
をそれぞれ示している。
The touch state TS (k) takes four values of 00B, 01B, 10B and 11B, as shown in FIG.
TS (k) = 00B: No musical sound is generated TS (k) = 01B: The second SW 3b is on TS (k) = 10B: The third SW 3c is off after the musical sound is generated State TS (k) = 11B: Indicates a state in which the first SW 3a is on.

スイッチS3ステートS3(k)は、図14(b)に示すように、00Bおよび11Bの2種類の値を採り、
S3(k)=00B:第3SW3cがオフしている状態
S3(k)=11B:第3SW3cがオンしている状態
をそれぞれ示している。
As shown in FIG. 14B, the switch S3 state S3 (k) takes two values 00B and 11B,
S3 (k) = 00B: State in which the third SW 3c is off. S3 (k) = 11B: State in which the third SW 3c is on.

なお、スイッチ部3として、4メイク式タッチレスポンススイッチを採用した場合には、スイッチS3ステートS3(k)は、
S3(k)=00B:第4SW3dがオフしている状態
S3(k)=11B:第3SW3cがオンしている状態
をそれぞれ示している。
When a 4-make touch response switch is adopted as the switch unit 3, the switch S3 state S3 (k) is:
S3 (k) = 00B: State in which the fourth SW 3d is off. S3 (k) = 11B: State in which the third SW 3c is on.

(2)第2SW3bのオンイベントが発生したときには、このオンイベントが発生したキーコードKCは既にバッファKEYBUFの領域KCDに登録されているので、空きCHを検索せずに、そのCHナンバデータを一時的に保存する(ステップS1→S2→S4)。そして、このオンイベントは、図9に示すように、深いSWのオンイベントであるため、ステップS5→S6→S7と進み、さらに、第2SW3bのものであるため、ステップS7→S9と進み、第3SW3cオン時のCH(n)に対して、バッファTS&S3BUFの領域TS(n)に値01Bを入れる(ただし、この処理は、再押鍵でない場合の処理であり、再押鍵の場合の処理については、後述する)。これにより、図12のフローチャートにおいて、ステップS21→S22→S23→S24と処理が進むので、nCHのカウンタ領域Ton(n)でのカウンタ動作が開始される。すなわち、nCHのキーオン時間の計測が開始される。   (2) When an on event of the second SW 3b occurs, the key code KC in which this on event has occurred is already registered in the area KCD of the buffer KEYBUF, so that the CH number data is temporarily stored without searching for an empty CH. (Step S1-> S2-> S4). Then, as shown in FIG. 9, since this on-event is a deep SW on-event, the process proceeds from step S5 → S6 → S7, and further from the second SW 3b, the process proceeds from step S7 → S9. For CH (n) when 3SW3c is on, the value 01B is entered in the area TS (n) of the buffer TS & S3BUF (however, this processing is processing when the key is not pressed again, and processing when the key is pressed again) Will be described later). Accordingly, in the flowchart of FIG. 12, the process proceeds from step S21 → S22 → S23 → S24, so that the counter operation in the nCH counter region Ton (n) is started. That is, measurement of the nCH key-on time is started.

(3)第1SW3aのオンイベントが発生したときには、ステップS7までは、上記(2)の場合と同様の処理を行い、このオンイベントは第1SW3aのものであるため、ステップS7→S8と進み、バッファTS&S3BUFの領域TS(n)に値11Bを入れる。   (3) When an on event of the first SW 3a occurs, the same processing as in the case of (2) is performed until step S7. Since this on event is of the first SW 3a, the process proceeds from step S7 to S8. The value 11B is entered in the area TS (n) of the buffer TS & S3BUF.

(4)発音処理のときとは、TS(n)が値11Bに切り替わったときであるので、図12のステップS21→S22→S23→S25(図13)→S26→S27と進み、このとき、カウンタ領域Ton(n)には、TS(n)に値01Bが入っている間にカウントされた値が格納されているため、その値をTBL1(図15参照)換算した後に、バッファKEYBUFの領域Von(n)に入力し、カウンタ領域Ton(n)を“0”でリセットし、ステップS29およびS30で、誤動作押鍵を除外し、標準押鍵に対してステップS31の処理に進ませる。   (4) Since the sound generation process is when TS (n) is switched to the value 11B, the process proceeds from step S21 → S22 → S23 → S25 (FIG. 13) → S26 → S27 in FIG. The counter area Ton (n) stores the value counted while the value 01B is stored in TS (n). Therefore, after converting the value to TBL1 (see FIG. 15), the area of the buffer KEYBUF Von (n) is input, and the counter area Ton (n) is reset to “0”. In steps S29 and S30, the malfunctioning key depression is excluded, and the process proceeds to step S31 for the standard key depression.

図16は、タッチステートTS(n)&スイッチS3ステートS3(n)の状態遷移を示す図である。   FIG. 16 is a diagram illustrating state transition of the touch state TS (n) & switch S3 state S3 (n).

同図において、標準押鍵とは、第1〜第3SW3a〜3cのすべてからオン/オフイベントを生ずるような押鍵を言い、具体的には、ポジションP1からポジションP15へ至る押鍵である。この標準押鍵では、ポジションP14から見て2つ前のイベントは、第3SW3cのオンイベントである。また、再押鍵とは、第1および第2SW3a,3bのみからオン/オフイベントを生ずるような押鍵を言い、具体的には、ポジションP15からポジションP21へ至る押鍵である。この再押鍵では、ポジションP20から見て2つ前のイベントは、第2SW3bのオフイベントである。さらに、誤動作押鍵とは、第1SW3aのみからオン/オフイベントを生ずるような押鍵を言い、具体的には、ポジションP30からポジションP34へ至る押鍵である。この誤動作押鍵では、ポジションP33から見て2つ前のイベントは、第1SW3aのオンイベントである。   In the figure, the standard key press refers to a key press that causes an on / off event from all of the first to third SWs 3a to 3c, and specifically, a key press from the position P1 to the position P15. In this standard key press, the event two before viewed from the position P14 is an ON event of the third SW 3c. The re-keying means a key pressing that causes an on / off event only from the first and second SWs 3a and 3b, and specifically, a key pressing from the position P15 to the position P21. In this re-keying, the event two before the position P20 is an off event of the second SW 3b. Furthermore, the malfunctioning key pressing refers to a key pressing that causes an on / off event only from the first SW 3a, and specifically, a key pressing from the position P30 to the position P34. In this malfunctioning key depression, the second event from the position P33 is an ON event of the first SW 3a.

図13に戻り、ステップS31では、バッファKEYBUFのCHとして2つ前イベント時と同一CHを指定し、ステップS32では、その指定したCHに対して発音処理を行う。発音処理では、具体的には、バッファKEYBUFの指定されたCHの全データ、すなわちCHナンバ、KCD、キーオンおよびイニシャルタッチ(IT)としてのVon(n)と、EGレートデータ(=1)を音源部27に送出する。   Returning to FIG. 13, in step S31, the same CH as that in the previous event is designated as the CH of the buffer KEYBUF, and in step S32, sound generation processing is performed on the designated CH. Specifically, in the sound generation process, all data of the CH designated by the buffer KEYBUF, that is, Von (n) as CH number, KCD, key-on and initial touch (IT), and EG rate data (= 1) are used as sound sources. To the unit 27.

(5)第1SW3aのオフイベントが発生したときおよび(6)第2SW3bのオフイベントが発生したときには、実質的には何もせずに、押離鍵処理を終了する。   (5) When an off event of the first SW 3a occurs and (6) when an off event of the second SW 3b occurs, the key release process is terminated without doing anything substantially.

(7)第3SW3cのオフイベントが発生したときには、図10のステップS5→S10(図11)→S11→S12と進み、バッファKEYBUF中の同一KCDを有するCHと同一CHを指定し、EGレートデータ(<1)を音源部27に送信し、CHに対応したキーオフ時用波形(第2ソース波形)の読み出し開始を指示し(ステップS13)、読み出されるキーオン波形およびキーオフ波形に対するクロスフェード処理の開始を指示し(ステップS14)、TS(n)に値10Bを入れるとともに、S3(n)に00Bを入れる(ステップS15)。   (7) When an off event of the third SW 3c occurs, the process proceeds from step S5 to S10 (FIG. 11) to S11 to S12 in FIG. 10, and the same CH as the CH having the same KCD in the buffer KEYBUF is designated, and the EG rate data (<1) is transmitted to the sound source unit 27 to instruct to start reading the key-off waveform (second source waveform) corresponding to CH (step S13), and the cross-fade processing for the key-on waveform and key-off waveform to be read is started. (Step S14), the value 10B is input to TS (n), and 00B is input to S3 (n) (step S15).

(8)消音処理のときとは、TS(n)=10Bかつ(&)S3(n)=00Bのときであるので、図12のステップS21→S22→S23→S25(図13)→S33と進み、音源部27側のCH(n)の第1ソースの波高値が続けて0レベルのときには、キーオン波形の読み出し停止を指示し(ステップS33→S34)、音源部27側の音源全体のCH(n)が続けて0レベルのときには、バッファKEYBUFをすべてクリアする(ステップS35→S36)。   (8) Since the silence process is when TS (n) = 10B and (&) S3 (n) = 00B, steps S21 → S22 → S23 → S25 (FIG. 13) → S33 in FIG. When the peak value of the first source of CH (n) on the sound source unit 27 side continues to be 0 level, stop reading of the key-on waveform is instructed (steps S33 → S34), and the entire sound source CH on the sound source unit 27 side When (n) continues to be at 0 level, all the buffers KEYBUF are cleared (steps S35 → S36).

次に、完全キーオフにならない場合の再押鍵、すなわち、上記(4)の発音処理後、第1SW3aおよび第2SW3bのオフイベントが発生し(上記(5)および(6))、その後、再度第2SW3bおよび第1SW3aのオンイベントがこの順序で発生した(上記(2)および(3))押鍵について、前記図10〜図13および図16を用いて説明する。   Next, when the key is not completely turned off, that is, after the sound generation process of (4) above, the off event of the first SW 3a and the second SW 3b occurs (above (5) and (6)), and then the second time again. The key depression in which the ON events of the 2SW 3b and the first SW 3a are generated in this order (above (2) and (3)) will be described with reference to FIGS. 10 to 13 and FIG.

この完全キーオフにならない場合の再押鍵は、図16では、ポジションP18からポジションP20に至る押鍵に相当する。その動作を、ポジションP18の少し前のポジションP10から説明する。ポジションP10からポジションP14に押鍵が進むと、図12および図13のタイマ割込処理における、上記(4)の発音処理(ステップS27〜S32)が実行され、ポジションP13からポジションP14に至るまでに計時されたキーオン時間に応じたキーオンベロシティの楽音が、検索された空きCHで発音される。その後、ポジションP15から、ポジションP17を経過して、すなわち第2SW3bのオフイベントの発生を経過して、ポジションP19に進むと、上記発音中のCHと異なる空きCHを検索するとともに、再押鍵に対するキーオン時間の計時を開始し(ステップS9)、続いてポジションP20に進むと、ポジションP19からポジションP20に至るまでに計時された、再押鍵に対するキーオン時間に応じたキーオンベロシティの楽音が、上記検索された空きCHで発音される。   The key re-pressing when the key is not completely turned off corresponds to the key pressing from the position P18 to the position P20 in FIG. The operation will be described from the position P10 slightly before the position P18. When the key is pushed from position P10 to position P14, the sound generation process (steps S27 to S32) in the timer interruption process of FIGS. 12 and 13 is executed, and from position P13 to position P14. A key-on velocity musical tone corresponding to the measured key-on time is generated in the searched empty CH. After that, when the position P17 is passed from the position P15, that is, the occurrence of the off event of the second SW 3b is passed and the process proceeds to the position P19, a search is made for a free CH different from the currently sounding CH, and the key is pressed again. When the key-on time is started (step S9) and then the process proceeds to position P20, the key-on velocity musical sound according to the key-on time with respect to the re-keying, which is timed from position P19 to position P20, is searched. It is pronounced with the empty channel that was played.

ここで、上記ステップS9では、図10に示すように、再押鍵か否かを判断し、再押鍵の場合には、新たに検索した空きCH(n)に対して、そのタッチステートTS(n)を値01Bとしている。つまり、新たな空きCHに、当該楽音を発音割り当てするようにしている。これは、図13のステップS31およびS32で、現イベントの2つ前のイベントと同一CHを指定して、当該楽音を発音割り当てするようにしているので、再押鍵では、同一楽音が同一CHに割り当てられてしまい、上述のように、再押鍵が繰り返される度に、同一楽音が順次他のCHに割り当てられて行かないからである。これに対して、ステップS9を上記処理のように構成した場合には、再押鍵されると、当該楽音は他の空きCHに発音割り当てされるため、再押鍵が繰り返される度に、同一楽音が順次他のCHに割り当てられて行く。なお、再押鍵か否かの判断は、図13のステップS29での判断と同様に、同一CHの2つ前イベントが第2SW3bのオフイベントであるか否かを判断し、このイベントが第2SW3bのオフイベントである場合に、再押鍵と判断すればよい。図16において、ポジションP20、すなわち再押鍵時から見て、同一CHの2つ前イベント、つまりポジションP17のイベントは、第2SW3bのオフイベントだからである。   Here, in step S9, as shown in FIG. 10, it is determined whether or not the key is re-pressed. If the key is re-pressed, the touch state TS for the newly searched empty CH (n) is determined. (n) is set to the value 01B. That is, the tone is assigned to a new empty CH. This is because, in steps S31 and S32 in FIG. 13, the same CH as the event two previous to the current event is designated and the corresponding musical sound is assigned to be sounded. This is because, as described above, the same musical sound is not sequentially assigned to other CHs every time the key is pressed again. On the other hand, when step S9 is configured as described above, when the key is re-pressed, the tone is assigned to the sound generation to another empty CH, so that it is the same every time the key is repeated. Musical sounds are sequentially assigned to other CHs. Note that the determination as to whether or not the key is re-pressed is similar to the determination in step S29 in FIG. 13. It is determined whether or not the previous event of the same CH is an off event of the second SW 3b. If it is an off event of 2SW3b, it may be determined that the key is pressed again. In FIG. 16, when viewed from the position P20, that is, when the key is pressed again, the second previous event of the same CH, that is, the event of the position P17 is an off event of the second SW 3b.

このような再押鍵では、完全キーオフとはならない、すなわち第3SW3cのキーオフイベントが発生しないので、ポジションP19からポジションP20に至る押鍵等の再押鍵時には、図10の丸2または丸3のルートの処理がなされ、図11のステップS12からステップS15までのキーオフ処理はなされない。その結果、図13のステップS36の処理、すなわちバッファKEYBUFのオールクリア処理はなされない。つまり、完全な消音処理はなされないので、再押鍵される毎に、同一ピッチの楽音が異なったCHに順次発音割り当てされて行き、前述したように、同一ピッチの楽音が複数鳴ることになる。したがって、実ピアノで言うところの、ダンパペダルを踏み込んだまま、連打したときのような楽音効果に類似する楽音効果を得ることができる。   Such re-keying does not result in complete key-off, that is, the third SW 3c key-off event does not occur. Therefore, when re-pressing the key from position P19 to position P20, etc., the circle 2 or 3 in FIG. Route processing is performed, and key-off processing from step S12 to step S15 in FIG. 11 is not performed. As a result, the process of step S36 in FIG. 13, that is, the all clear process of the buffer KEYBUF is not performed. In other words, since complete mute processing is not performed, every time a key is pressed again, a musical tone having the same pitch is assigned to different CHs in sequence, and as described above, a plurality of musical sounds having the same pitch are produced. . Therefore, it is possible to obtain a musical sound effect that is similar to a musical sound effect as in the case of continuous striking while the damper pedal is depressed while the actual piano is depressed.

なお、本実施の形態では、上記図11の押離鍵処理のステップS17で、第3〜第nSWのうちの最深SWでないもののオンイベントが発生したとしても、何の処理も行わないようにしたが、これに限らず、ステップS102を追加し、所定のオンイベント間隔を計時して(たとえば、図12および図13のタイマ割込処理中で行うようにすればよい)、その時間を、イニシャルタッチを決定する別の情報として用いるようにしてもよい。別の情報の具体例としては、発音のための準備情報(かまえ情報)が考えられる。このように、別の情報をも考慮してイニシャルタッチを決定できるようになると、イニシャルタッチが同じでも、別の情報に応じて、音色(高調波含有分)を変更したり、音量を変更したりすることができ、変化に富んだアーティキュレーションが可能となる。これにより、音楽の表現方法が増大する。   In the present embodiment, no processing is performed even if an on event occurs in step S17 of the key pressing / releasing process in FIG. 11 that is not the deepest SW among the third to n-th SWs. However, the present invention is not limited to this, step S102 is added, and a predetermined on-event interval is counted (for example, it may be performed during the timer interruption process in FIGS. 12 and 13), and the time is set as initial. You may make it use as another information which determines a touch. As a specific example of other information, preparation information for pronunciation (kabe information) can be considered. In this way, when the initial touch can be determined in consideration of other information, even if the initial touch is the same, the timbre (content of harmonics) is changed or the volume is changed according to the different information. And articulation that is rich in change. This increases the number of music expression methods.

また、本実施の形態では、上記図11の押離鍵処理のステップS11で、第4SW3d以降のスイッチのオフイベントが発生したとしても、何の処理も行わないようにしたが、これに限らず、ステップS101を追加して、第3ソースの楽音波形を読み出して再生するようにしてもよい。   Further, in the present embodiment, no processing is performed even if an off event of the switch after the fourth SW 3d occurs in step S11 of the key pressing / releasing process of FIG. 11 described above, but the present invention is not limited to this. Step S101 may be added to read out and reproduce the third source musical sound waveform.

なお、本実施の形態では、キーオン波形からキーオフ波形に移るときには、クロスフェード処理を行うようにしたが、これに限らず、キーオフが指示されたときには、通常のキーオフ処理、すなわち、キーオン波形の読み出しを終了するとともに発音中の楽音を急速ダンプする処理を行い、これと独立して、キーオフが指示されると、キーオフ波形の読み出しを開始するようにしてもよい。したがって、この場合、キーオフ直後には、キーオン波形とキーオフ波形とが同時に発生していることになる。また、この場合、キーオフ時のキーオン波形およびキーオフ波形の各波高値レベルは同じにしておく必要がある。   In the present embodiment, when the key-on waveform is changed to the key-off waveform, the cross-fade process is performed. However, the present invention is not limited to this. In addition, a process of rapidly dumping a musical tone being sounded may be performed, and reading of a key-off waveform may be started independently when key-off is instructed. Therefore, in this case, immediately after the key-off, the key-on waveform and the key-off waveform are generated simultaneously. In this case, the peak value levels of the key-on waveform and the key-off waveform at the time of key-off must be the same.

また、本実施の形態では、キーオン波形からキーオフ波形に切り替わるときに、クロスフェード処理を行いながら切り替わるようにしたが、駆動部材の戻り時の駆動始動位置近傍で第2の情報の非押鍵位置に最も近いもの(図2の第3SW3cや図3の第4SW3dのオフイベント)を出力したときや、2番目に近いもの(図3の第3SW3cのオフイベント)を出力したときに、前記波形の切り替えが行われるようにし、このとき、クロスフェードさせなくても、キーオン波形はオフ処理をする、すなわち、EGによって強制的に減衰させるとともに、キーオフ波形はオン処理をする、すなわち、キーオンで楽音が立ち上がる処理をするだけでも、違和感なく楽音を発生から消音までスムーズに制御できる。   In this embodiment, when switching from the key-on waveform to the key-off waveform, the switching is performed while performing the cross-fading process. However, the non-key-pressing position of the second information is in the vicinity of the driving start position when the driving member returns. When the output closest to (the third SW3c in FIG. 2 or the fourth SW3d off event in FIG. 3) is output, or the second closest (the third SW3c off event in FIG. 3) is output. At this time, even if the cross-fade is not performed, the key-on waveform is turned off, that is, forcibly attenuated by the EG, and the key-off waveform is turned on. Even by just getting up, you can smoothly control the sound from generation to mute without a sense of incongruity.

このように、本実施の形態では、離鍵時(キーオフ時)に、キーオン波形からキーオフ波形に切り替わるようにしたが、この鍵ストローク位置は、アコースティック楽器において離鍵時にダンパ用フェルトが弦に触れる位置(すなわち、弦振動を制止し始める離鍵操作ストローク位置)に一致させることが望ましい。   As described above, in this embodiment, the key-on waveform is switched from the key-on waveform to the key-off waveform when the key is released (at the time of key-off). The keystroke position of the acoustic instrument is touched by the damper felt when the key is released. It is desirable to match the position (that is, the key release operation stroke position at which string vibration starts to be stopped).

アコースティック楽器(グランドピアノ等)において、上記位置は、鍵自由端位置に換算して、押離鍵全ストロークがほぼ10mmであり、鍵復帰位置(鍵を操作していない状態)を0mmとすると、この鍵復帰位置から4mm程度が標準的であるが、整調状態によって若干異なることもある。このことを踏まえて、本実施の形態では、鍵復帰位置から3〜6mmの範囲に、上記離鍵時にキーオン波形からキーオフ波形に切り替わる鍵ストローク位置を設定することが望ましい。もちろん、この鍵ストローク位置をユーザが適宜設定可能としてもよい。   In an acoustic instrument (grand piano, etc.), the above position is converted to the key free end position, the full stroke of the key to be released is approximately 10 mm, and the key return position (the state where the key is not operated) is 0 mm. Although about 4 mm from the key return position is standard, it may be slightly different depending on the pacing state. In view of this, in this embodiment, it is desirable to set a key stroke position for switching from a key-on waveform to a key-off waveform when the key is released, in a range of 3 to 6 mm from the key return position. Of course, the key stroke position may be set appropriately by the user.

図17は、複数ビットで構成したスイッチS3ステートを発生させた場合に、そのスイッチS3ステートをキーオフ波形制御に適用した一例、およびその制御方法を示す図である。   FIG. 17 is a diagram showing an example of applying the switch S3 state to key-off waveform control when a switch S3 state composed of a plurality of bits is generated, and a control method thereof.

同図(a)に示すように、図示例の装置は、本実施の形態の電子鍵盤楽器と同様に、キーオン波形発生部52で発生させたキーオン波形と、キーオフ波形発生部55で発生させたキーオフ波形とを、合成部53で合成するようにしたものである。ただし、キーオフ波形発生部55と合成部53との間に波形スライサ56を設け、波形スライサ56が、キーオフ波形発生部55から発生されたキーオフ波形をスライスするときのチョップ度合いを、スイッチS3ステート発生部54から発生された複数ビットのスイッチS3ステートに応じて変更するようにした点が異なっている。なお、スイッチS3ステートは、キーオフ波形発生部55がキーオフ波形を発生するときのトリガ信号(情報)としても機能する。たとえば、スイッチS3ステートの複数ビットのいずれか1ビットをトリガ信号として使用したり、スイッチS3ステートの値が所定値に切り替わった時点をトリガ時点と判断するようにしたりすればよい。   As shown in FIG. 5A, the apparatus of the illustrated example is generated by the key-on waveform generated by the key-on waveform generator 52 and the key-off waveform generator 55, as in the electronic keyboard instrument of the present embodiment. The key-off waveform is synthesized by the synthesis unit 53. However, a waveform slicer 56 is provided between the key-off waveform generating unit 55 and the synthesizing unit 53, and the switch S3 state generation indicates the degree of chop when the waveform slicer 56 slices the key-off waveform generated from the key-off waveform generating unit 55. The difference is that the multi-bit switch S3 state generated from the unit 54 is changed according to the state. The switch S3 state also functions as a trigger signal (information) when the key-off waveform generator 55 generates a key-off waveform. For example, any one of the plurality of bits in the switch S3 state may be used as a trigger signal, or the time when the value of the switch S3 state is switched to a predetermined value may be determined as the trigger time.

たとえば、キーオフ波形発生部55から、同図(b)に示すようなキーオフ波形が発生されたとして、波形スライサ56は、このキーオフ波形を、同図(c)に示すようにスライスして出力する。すなわち、波形スライサ56では、スイッチS3ステート発生部54から発生されたスイッチS3ステートの値(複数ビットからなる値)に応じて、チョップ度合いSL0が変更され、このチョップ度合いSL0で、入力されたキーオフ波形がスライスされて出力される。つまり、スイッチS3ステートの値に応じて、キーオフ波形に含まれる高調波の成分が増加する。   For example, assuming that a key-off waveform as shown in FIG. 5B is generated from the key-off waveform generator 55, the waveform slicer 56 slices and outputs this key-off waveform as shown in FIG. . That is, in the waveform slicer 56, the chop degree SL0 is changed according to the value of the switch S3 state (a value consisting of a plurality of bits) generated from the switch S3 state generation unit 54, and the key-off input at this chop degree SL0. The waveform is sliced and output. That is, the harmonic component included in the key-off waveform increases according to the value of the switch S3 state.

このようにして、上記構成によれば、スイッチS3ステートに基づいて、前記ハーフミュート制御、すなわち実ピアノでの離鍵操作時に弦がダンパ材に触れる度合いを変更して、弦振動に重畳される高調波を変更する制御を行うことが可能になる。   In this way, according to the above-described configuration, the degree of touching the damper material with the string during the half-mute control, that is, the key release operation on the real piano, is changed based on the switch S3 state and superimposed on the string vibration. It becomes possible to perform control to change the harmonics.

同図(d)は、波形スライサ56がキーオフ波形をスライスする他の方法を示す図であり、時刻が進むに従って減衰するキーオフ波形に対して、そのスライス範囲を決定するスライス曲線SL1〜SL4も、時刻が進むに従って減衰するようにしている。そして、スライス曲線SL1〜SL4のうちいずれを取って、キーオフ波形のスライス処理に用いるかを、スイッチS3ステートの値に応じて決定するようにしている。同図(d)の方法でも、スイッチS3ステートの値に応じて、キーオフ波形に含まれる高調波の成分が増加するので、前記ハーフミュート制御を行うことができる。   FIG. 4D is a diagram showing another method in which the waveform slicer 56 slices the key-off waveform. For the key-off waveform that attenuates as time advances, slice curves SL1 to SL4 that determine the slice range are also shown. It attenuates as time advances. Then, which of the slice curves SL1 to SL4 is taken and used for the slice processing of the key-off waveform is determined according to the value of the switch S3 state. Also in the method of FIG. 6D, since the harmonic component included in the key-off waveform increases according to the value of the switch S3 state, the half mute control can be performed.

このように、スイッチS3ステートを複数ビットで構成し、その複数の値(状態)を、キーオフ波形をスライスするときのチョップ度合いに対応させれば、多段階、ひいては無段階に、キーオフ時の音色を制御することができる。   In this way, if the switch S3 state is composed of a plurality of bits and the values (states) are made to correspond to the chop degree when slicing the key-off waveform, the tone color at the key-off time can be multi-stepped and thus stepless. Can be controlled.

本発明の一実施の形態に係る電子鍵盤楽器の縦断面図である。It is a longitudinal cross-sectional view of the electronic keyboard musical instrument which concerns on one embodiment of this invention. 図1のスイッチ基盤上に設けられたスイッチ部の拡大断面図である。It is an expanded sectional view of the switch part provided on the switch base | substrate of FIG. 4メイク式タッチレスポンススイッチを採用したときのスイッチ部の拡大断面図である。It is an expanded sectional view of a switch part when 4 makeup type touch response switches are adopted. 鍵の離鍵時に、実ピアノであれば弦がダンパ材に触れるであろう位置を、演奏者が感触できるように構成した一例を示す図である。It is a figure which shows an example comprised so that a player might feel the position where a string will touch a damper material if it is a real piano at the time of key release. スイッチ部を駆動する駆動方法の他の例を示す図である。It is a figure which shows the other example of the drive method which drives a switch part. 本実施の形態の電子鍵盤楽器の制御機能構成を示すブロック図である。It is a block diagram which shows the control function structure of the electronic keyboard musical instrument of this Embodiment. 図6の音源部の詳細な制御機能構成を示すブロック図である。It is a block diagram which shows the detailed control function structure of the sound source part of FIG. 図7の合成部から出力される、ある発音チャンネルの合成波の一例を示す図である。It is a figure which shows an example of the synthetic | combination wave of a certain sounding channel output from the synthetic | combination part of FIG. 鍵ストロークにおけるスイッチ部の第1〜第3SWのオン位置(タイミング)を示す図である。It is a figure which shows the ON position (timing) of the 1st-3rd SW of the switch part in a keystroke. 図6の電子鍵盤楽器、特にCPUが実行する押離鍵処理サブルーチンの手順を示すフローチャートである。It is a flowchart which shows the procedure of the key release process subroutine which the electronic keyboard instrument of FIG. 6, especially CPU performs. 図10の押離鍵処理サブルーチンの続きの手順を示すフローチャートである。FIG. 11 is a flowchart showing a continuation procedure of a key release subroutine of FIG. 10. FIG. 図6の電子鍵盤楽器、特にCPUが実行するタイマ割込処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the timer interruption process which the electronic keyboard musical instrument of FIG. 6, especially CPU performs. 図12のタイマ割込処理の続きの手順を示すフローチャートである。13 is a flowchart showing a continuation procedure of the timer interrupt process of FIG. 図6のRAM上に確保されたバッファ領域およびタイマ領域のフォーマットを示す図である。It is a figure which shows the format of the buffer area and timer area which were ensured on RAM of FIG. キーオン時間からキーオンベロシティへの変換テーブルの一例を示す図である。It is a figure which shows an example of the conversion table from key-on time to key-on velocity. タッチステートTS(n)&スイッチS3ステートS3(n)の状態遷移を示す図である。It is a figure which shows the state transition of touch state TS (n) & switch S3 state S3 (n). 複数ビットで構成したスイッチS3ステートを発生させた場合に、そのスイッチS3ステートをキーオフ波形制御に適用した一例、およびその制御方法を示す図である。It is a figure which shows an example which applied the switch S3 state to key-off waveform control, and its control method, when the switch S3 state comprised by multiple bits was generated.

符号の説明Explanation of symbols

1 鍵(駆動部材)、 2 ハンマ(駆動部材)、 3 スイッチ部(出力部材、押鍵検出手段)、 24 CPU(制御手段、押鍵検出手段、割り当て手段)、 26 RAM、27 音源部(発音手段) DESCRIPTION OF SYMBOLS 1 Key (drive member), 2 Hammer (drive member), 3 Switch part (output member, key press detection means), 24 CPU (control means, key press detection means, allocation means), 26 RAM, 27 Sound source part (sound generation) means)

Claims (1)

複数の鍵に対応して配設された複数の駆動部材と、
該駆動部材によって駆動され、その駆動位置に応じた情報をそれぞれ出力する複数の出力部材と、
前記駆動位置に応じた情報に基づいて、鍵が押離鍵中の全ストローク中、押鍵方向の終状態であることを検出する押鍵検出手段と、
複数の発音チャンネルを備えた発音手段と、
前記押鍵検出手段による前記終状態の検出に応じて、押鍵があった鍵に対応する楽音を前記複数の発音チャンネルのうちの空きチャンネルに割り当て、前記音源手段にて当該発音チャンネルに割り当てられた楽音を発音させる割り当て手段と、
前記発音チャンネルに楽音を割り当てた鍵が前記終状態よりも浅い所定位置を離鍵方向に跨がずに再押鍵されて、前記押鍵検出手段によって前記終状態が検出されたときには、当該鍵に対応する楽音を前記割り当てた発音チャンネルとは異なる他の空いた発音チャンネルに逐次割り当てて、累積的に3以上の異なる発音チャンネルにてそれぞれ発音開始のタイミングが異なる当該鍵に対応する楽音が発音されるように前記割り当て手段を制御する制御手段と
を有することを特徴とする電子鍵盤楽器。
A plurality of drive members arranged corresponding to the plurality of keys;
A plurality of output members that are driven by the drive member and output information corresponding to the drive position;
Based on the information corresponding to the drive position, the key press detecting means for detecting that the key is in the final state in the key pressing direction during the entire stroke during the key press and release;
Pronunciation means with multiple pronunciation channels;
In response to detection of the final state by the key-press detection means, a musical tone corresponding to the key that has been pressed is assigned to an empty channel of the plurality of tone generation channels, and is assigned to the tone generation channel by the tone generator means. Assigning means to pronounce a musical tone,
When a key to which a tone is assigned to the tone generation channel is pressed again without straddling a predetermined position shallower than the final state in the key release direction, and the final state is detected by the key press detection means, the key The musical sound corresponding to the key whose sounding start timing is cumulatively generated in three or more different sounding channels is sequentially assigned to the other free sounding channels different from the assigned sounding channel. And an electronic keyboard instrument comprising control means for controlling the assigning means.
JP2006258736A 2002-01-15 2006-09-25 Electronic keyboard musical instrument Pending JP2007018004A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006258736A JP2007018004A (en) 2002-01-15 2006-09-25 Electronic keyboard musical instrument

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2002006702 2002-01-15
JP2006258736A JP2007018004A (en) 2002-01-15 2006-09-25 Electronic keyboard musical instrument

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2003007269A Division JP2003280658A (en) 2002-01-15 2003-01-15 Electronic keyboard musical instrument

Publications (1)

Publication Number Publication Date
JP2007018004A true JP2007018004A (en) 2007-01-25

Family

ID=37755157

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006258736A Pending JP2007018004A (en) 2002-01-15 2006-09-25 Electronic keyboard musical instrument

Country Status (1)

Country Link
JP (1) JP2007018004A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009119836A1 (en) 2008-03-28 2009-10-01 アンジェスMg株式会社 Composition for external application comprising transcription factor decoy as active ingredient
CN111009230A (en) * 2018-10-05 2020-04-14 雅马哈株式会社 Sound signal generating apparatus, sound signal generating method, and recording medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009119836A1 (en) 2008-03-28 2009-10-01 アンジェスMg株式会社 Composition for external application comprising transcription factor decoy as active ingredient
CN111009230A (en) * 2018-10-05 2020-04-14 雅马哈株式会社 Sound signal generating apparatus, sound signal generating method, and recording medium
CN111009230B (en) * 2018-10-05 2023-07-18 雅马哈株式会社 Sound signal generating device, sound signal generating method, and recording medium

Similar Documents

Publication Publication Date Title
JP4748011B2 (en) Electronic keyboard instrument
US6765142B2 (en) Electronic keyboard musical instrument
JP4107107B2 (en) Keyboard instrument
US20090199699A1 (en) Keys for musical instruments and musical methods
JP4333592B2 (en) Electronic hi-hat cymbal
Goebl et al. Touch and temporal behavior of grand piano actions
US6005181A (en) Electronic musical instrument
TW201737239A (en) Musical instrument with intelligent interface
US7420114B1 (en) Method for producing real-time rhythm guitar performance with keyboard
JP4042753B2 (en) Electronic musical instruments
JP2007018004A (en) Electronic keyboard musical instrument
Schiesser et al. On making and playing an electronically-augmented saxophone
JP7243116B2 (en) RESONANCE SIGNAL GENERATING DEVICE, RESONANCE SIGNAL GENERATING METHOD, RESONANCE SIGNAL GENERATING PROGRAM, AND ELECTRONIC MUSIC DEVICE
JP4506147B2 (en) Performance playback device and performance playback control program
JP2003280658A (en) Electronic keyboard musical instrument
JPS62157092A (en) Shoulder type electric drum
JP3719144B2 (en) Electronic musical instruments
JP3719129B2 (en) Music signal synthesis method, music signal synthesis apparatus and recording medium
JP2006039262A (en) Effect imparting apparatus and method therefor
JP5827484B2 (en) Music control device
WO2002080138A1 (en) Musical instrument
JP4095475B2 (en) Musical sound control device, musical sound control method, and computer program for musical sound control
JP4174961B2 (en) Performance device, performance method and information recording medium
JPH0580754A (en) Electronic musical instrument
JP4218566B2 (en) Musical sound control device and program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080220

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080421

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080722

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20081113