JP3427698B2 - Electronic wind instrument - Google Patents

Electronic wind instrument

Info

Publication number
JP3427698B2
JP3427698B2 JP28381297A JP28381297A JP3427698B2 JP 3427698 B2 JP3427698 B2 JP 3427698B2 JP 28381297 A JP28381297 A JP 28381297A JP 28381297 A JP28381297 A JP 28381297A JP 3427698 B2 JP3427698 B2 JP 3427698B2
Authority
JP
Japan
Prior art keywords
pitch
key
value
note
keys
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP28381297A
Other languages
Japanese (ja)
Other versions
JPH1173183A (en
Inventor
奏 田中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP28381297A priority Critical patent/JP3427698B2/en
Priority to US09/098,131 priority patent/US6002080A/en
Publication of JPH1173183A publication Critical patent/JPH1173183A/en
Application granted granted Critical
Publication of JP3427698B2 publication Critical patent/JP3427698B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、奏法が自然楽器
に類似した電子管楽器に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic wind instrument whose playing style is similar to that of a natural musical instrument.

【0002】[0002]

【従来の技術】従来からある電子楽器は、全体形状が、
自然楽器に類似し、音高を決定するキー配列もほぼ自然
楽器に類似して配置され、音高も自然楽器的な音色にし
た楽音を発生する。しかしながら、電子管楽器である以
上、共鳴部分が不要であり、操作子を任意に設定できる
ことから音高操作子も含めて、種々の楽音制御のための
操作子が設けられている。例えば、特公平6−9739
6号公報では、口操作子である疑似リードに連動したレ
バーの変位によって発音中の音高を少し変えるピッチベ
ンダー装置が示され、このレバー変位にて、例えばビブ
ラートをかけるようにしている。また、同公報にて、筒
状楽器本体中央部に別途ピッチベンドレバーが設けら
れ、ここで、上記と同様のピッチベンド制御を可能にす
るととともに、上下に半オクターブ程のピッチ変更も可
能にしている。また、音高を決定するキーそのものに付
加価値を付けて、演奏表現を向上させたものがある。例
えば、キーベロシティの検出に関して、押圧操作される
キーの押鍵速度を検出する電子管楽器(特開平8−30
5362、特開平1−251098、実公平7−344
70)や、キーシステムに圧力センサを用いてキーの押
圧強度を検出する電子管楽器(実開平3−10829
9)が提案されている。また、楽音特性を制御に関し
て、音高の指定を複数のキーのオンとオフの組合せによ
りする電子管楽器が提案されている(実開昭56−26
798、特公平7−52349)。
2. Description of the Related Art Conventional electronic musical instruments have an overall shape
Similar to the natural musical instrument, the key arrangement for determining the pitch is also arranged almost like the natural musical instrument, and the musical tone is generated with the pitch of the natural musical instrument. However, since it is an electronic wind instrument, the resonance part is not necessary and the operator can be arbitrarily set, so that various musical tone control operators including the pitch operator are provided. For example, Japanese Patent Publication No. 6-9739
Japanese Patent No. 6 discloses a pitch bender device that slightly changes the pitch during sound generation by the displacement of a lever that interlocks with a pseudo lead that is a mouth manipulator, and, for example, vibrato is applied by this lever displacement. Further, in the same publication, a pitch bend lever is separately provided in the central portion of the cylindrical musical instrument body, where the same pitch bend control as described above can be performed and the pitch can be changed up and down by about half an octave. In addition, there is a key that determines the pitch itself with added value to improve performance expression. For example, regarding the detection of key velocity, an electronic wind instrument that detects the key pressing speed of a key that is pressed (Japanese Patent Laid-Open No. 8-30).
5362, Japanese Patent Laid-Open No. 1-251098, Japanese Utility Model Publication 7-344
70) or an electronic wind instrument that detects the pressure strength of a key by using a pressure sensor in the key system (Shinkaihei 3-10829).
9) is proposed. Also, regarding control of musical tone characteristics, an electronic wind instrument has been proposed in which the pitch is specified by a combination of ON and OFF of a plurality of keys (Actual No. Sho 56-26).
798, Japanese Patent Publication No. 7-52349).

【0003】[0003]

【発明が解決しようとする課題】ところで今日、より多
彩な表現性が電子管楽器に求められてきている。例え
ば、2つの異なる音高を滑らかに接続するスラー奏法
や、アフタータッチによる音色の変化などがあげられ
る。そして、そのような多彩な表現を可能とするために
は、演奏者にとって操作が容易であるほうが望ましい。
本発明は、このような背景の下になされたものであり、
演奏性を向上し、多彩な表現が可能な電子管楽器を提供
することを目的としている。
By the way, today, more diverse expressiveness is required for electronic wind instruments. For example, and slur to smoothly connect the two different pitches, tone color change due after touch and the like. In order to enable such various expressions, it is desirable that the player can easily operate.
The present invention has been made under such a background,
The objective is to provide an electronic wind instrument that improves playability and enables various expressions.

【0004】[0004]

【課題を解決するための手段】上述した課題を解決する
ために、請求項1記載の発明は、音高を決定するキーの
各々について押下状態を検出する押下状態検出手段と、
前記押下状態検出手段の検出値に基づいて前記各キー毎
にオン/オフを決定し、決定したオン/オフ状態に基づ
いて音高を決定する音高決定手段と、前記音高決定手段
が参照したキーのうち検出値が予め設定した値より小さ
いものに対応するキーについては、前記音高決定手段の
決定に関わらず当該キーをオフと想定した音高を求める
次音高決定手段と、前記次音高決定手段が決定した音高
に向かって滑らかに音高を変化させるためのピッチベン
ド情報を生成するスラー制御手段とを具備することを特
徴とする。
In order to solve the above-mentioned problems, the invention according to claim 1 comprises a pressed state detecting means for detecting the pressed state of each of the keys for determining the pitch,
Pitch determining means for determining ON / OFF for each of the keys based on a detection value of the pressed state detecting means, and determining a pitch based on the determined ON / OFF state; and the pitch determining means
The detected value of the keys referenced by is smaller than the preset value.
For the key corresponding to the one
Regardless of the decision, calculate the pitch assuming that the key is off
Next pitch determining means and pitch determined by the next pitch determining means
Pitch pitch to smoothly change the pitch toward
And a slur control means for generating the terminal information .

【0005】[0005]

【課題を解決するための手段】請求項2記載の発明は、
請求項1記載の発明において、前記スラー制御手段は、
前記押下状態検出手段が検出した検出値のうち、所定キ
ーの検出値に基づいて音高変化量を決定することを特徴
とする。
The invention according to claim 2 is
In the invention according to claim 1, the slur control means is
Of the detection values detected by the pressed state detection means, a predetermined key
It is characterized in that the pitch change amount is determined based on the detected value of the pitch .

【0006】[0006]

【0007】[0007]

【0008】[0008]

【0009】[0009]

【0010】[0010]

【発明の実施の形態】DETAILED DESCRIPTION OF THE INVENTION

1.第1実施形態 1−1.第1実施形態の構成 (1)外観構成 図1は本実施形態における電子管楽器の外観構成を示し
た図である。図1において、(a)は側面図、(b)は
正面図をそれぞれ示している。マウスピース1は、演奏
者が息を吹き込むために口先にあてる部分である。演奏
用キー2a、2b、2c……2o、2pは、主に音高を
指定するために演奏者が押下するキーであり、音高はこ
れらのキーのオン・オフの組合せにより運指表に基づき
指定される。なお、音高の制御については、詳細は後述
する。
1. First Embodiment 1-1. Configuration of First Embodiment (1) External Configuration FIG. 1 is a diagram showing an external configuration of an electronic wind instrument according to the present embodiment. In FIG. 1, (a) is a side view and (b) is a front view. The mouthpiece 1 is a portion that is applied to the mouth of the player in order to inhale. The performance keys 2a, 2b, 2c ... 2o, 2p are keys that the player presses mainly for designating pitches, and the pitches are displayed on the fingering table by a combination of on / off of these keys. It is specified based on. Details of the pitch control will be described later.

【0011】(2)内部構成 全体構成 図2は本実施形態における電子管楽器の電気的構成を示
したブロック図である。図2においてブレスセンサ21
は、口操作子の1種であって、マウスピース1から吹き
込まれる息の圧力を検出するものであり、キーセンサ2
Sa、2Sb……2Spは、各々キー2a、2b……2
の押圧力を検出するものである。上記口操作子は従来
技術で述べた疑似リード連動レバーによる固定側との変
位検出センサ(噛み合いセンサ)である場合があり、こ
れらのいずれか一方またはその両方を口操作子という。
また、ブレスセンサ21及びキーセンサ2Sa、2S
b、、、、、2Spの各出力信号は、A/D変換器23
によってデジタル信号に変換される。また、CPU24
はROM25内のプログラムに基づいて後述する各種処
理を行う。本実施形態の場合、CPU24は、外部に対
してMIDI規格の各種情報を出力するようになってい
る。このMIDI信号に基づいて、ボディ31とは別体
もしくは一体に設けられた音源部(楽音発生手段)24
1から楽音を発生するようにしている。従って楽音情報
発生手段と言えば、ROM25及びCPU24を示すこ
ともあるし、この両者及び音源部241をさすこともあ
る。
(2) Internal Configuration Overall Configuration FIG. 2 is a block diagram showing the electrical configuration of the electronic wind instrument of this embodiment. In FIG. 2, the breath sensor 21
Is a kind of mouth operation element, which detects the pressure of the breath blown from the mouthpiece 1, and the key sensor 2
Sa, 2Sb ... 2Sp are keys 2a, 2b ... 2 respectively.
The pressing force of p is detected. The mouth manipulator may be a displacement detection sensor (meshing sensor) with the fixed side by the pseudo lead interlocking lever described in the prior art, and one or both of them are called a mouth manipulator.
Further, the breath sensor 21 and the key sensors 2Sa, 2S
The output signals of b, ..., 2Sp are supplied to the A / D converter 23.
Are converted into digital signals by. In addition, the CPU 24
Performs various processes described below based on the programs stored in the ROM 25. In the case of the present embodiment, the CPU 24 is adapted to output various information of the MIDI standard to the outside. Based on this MIDI signal, a sound source section (musical sound generating means) 24 that is provided separately or integrally with the body 31
The musical sound is generated from 1. Therefore, the term “tone information generating means” may refer to the ROM 25 and the CPU 24, or may refer to both of them and the sound source unit 241.

【0012】 演奏用キーの構成 次に、演奏用キーの構成について説明する。図3は、本
実施形態における電子管楽器の演奏用キーの構造を示す
断面図である。なお、本実施形態における16個の演奏
用キー2a、2b、2c……2o、2pは、全て同様の
構成となっており、ここではキー2aを例に説明する。
ボディ31には、キーを指示するキーポスト(図示略)
が突設されており、L字型のキー2aがその屈曲部にお
いてキーシャフト33aによって回動自在に支持されて
いる。また、ボディ31には、リターンスプリング34
が突設されており、キー32の一端部を付勢している。
これにより、キー2aは、押圧されていないときには、
元の位置に戻るようになっている。ロッド35aは、ボ
ディ31に上下動自在に支持されており、上端にはキー
2aの一端部が当接している。キー2aが押下される
と、これに伴いロッド35aが下降してその下端がキー
センサ2Saを押下する。キーセンサ2Saは、ロッド
35aの他端部に嵌着されたカーボン含有の軟質樹脂
(導電ゴム)からなる可動部Svと、固定接点が印刷配
線された固定部(プリント基板)Sfとからなり、この
両者は、常時接触するか非押圧時のみわずかに離間する
よう極薄ポリエステルフィルムスペーサを介在させて対
向配置されてなる。この構成により、キーセンサ2Sa
は、非押圧時は高抵抗もしくは無限大抵抗を有し、押圧
に応じてその抵抗値を減少させる。該キーセンサの抵抗
変化部は、感圧フィルム等からなる固定部にして、可動
部を伝導体にするようにしてもよい。このようなキーセ
ンサは、図面に表された本実施形態においては、上記に
説明した感圧センサが用いられるが上記キーセンサが
必ずしも感圧キーセンサである必要がない。この場合の
キーセンサ構造は、固定部は上記と変わりなく、可動部
のみ同構造のままカーボン含有量を多くした構成にする
か、もしくは、同形状の可動部の固定接点対向部にカー
ボン等の導電インクを塗布するというわずかな設計変更
をした構成にするかで実現可能である。
Structure of Performance Key Next, the structure of the performance key will be described. FIG. 3 is a sectional view showing the structure of the playing key of the electronic wind instrument of this embodiment. The 16 playing keys 2a, 2b, 2c ... 2o, 2p in the present embodiment all have the same structure, and the key 2a will be described here as an example.
A key post (not shown) for indicating a key is provided on the body 31.
And an L-shaped key 2a is rotatably supported by a key shaft 33a at its bent portion. In addition, the body 31 has a return spring 34
Are projected and urge one end of the key 32.
As a result, when the key 2a is not pressed,
It is designed to return to its original position. The rod 35a is supported by the body 31 so as to be vertically movable, and one end of the key 2a is in contact with the upper end thereof. When the key 2a is pressed, the rod 35a is lowered accordingly and the lower end thereof presses the key sensor 2Sa. The key sensor 2Sa includes a movable portion Sv made of a soft resin (conductive rubber) containing carbon fitted to the other end of the rod 35a, and a fixed portion (printed circuit board) Sf having fixed contacts printed and wired. Both are arranged to face each other with an ultra-thin polyester film spacer interposed so that they are always in contact with each other or are slightly separated only when not pressed. With this configuration, the key sensor 2Sa
Has a high resistance or an infinite resistance when it is not pressed, and decreases its resistance value according to the pressing. The resistance changing portion of the key sensor may be a fixed portion made of a pressure sensitive film or the like, and the movable portion may be a conductor. As such a key sensor, in the present embodiment shown in the drawings, the pressure-sensitive sensor described above is used, but the key sensor does not necessarily have to be the pressure-sensitive key sensor. In this case, the key sensor structure is the same as the above for the fixed part, and only the movable part has the same structure while increasing the carbon content, or the fixed contact facing part of the movable part of the same shape is made of conductive material such as carbon. This can be achieved by adopting a configuration with a slight design change of applying ink.

【0013】また、本実施形態では、以下に説明する検
出回路を用いて演奏者が押下したキーの識別およびその
押圧力を検出している。ここで、図4はキーセンサの検
出回路を示す図であって、複数のキーからなるキー群の
押下状態を検出する押下状態検出手段を示したものであ
る。この図において、可変抵抗の記号で示されるのは、
図2に示すキーセンサ2Sa、2Sb……2Spであ
る。この検出回路においては、列を構成するラインL
1、L2……と行を構成するラインC1、C2……によ
るマトリックスが形成されており、所定の交点にキーセ
ンサ2Sa、2Sb……が適宜配置されている。ライン
C1、C2……の一端は、固定抵抗41−1、41−2
……を介して接地されるとともに、A/D変換器23の
入力端に接続されている。ラインL1、L2……には、
アナログスイッチ42から順次電圧が印加されるように
なっており、CPU24は各ラインL1、L2……のオ
ンタイミングとA/D変換器23の出力値から、どのキ
ーセンサがどのくらいの力で押圧されているかを知るこ
とができる。
Further, in the present embodiment, the detection circuit described below is used to detect the key pressed by the performer and to detect the pressing force. Here, FIG. 4 is a diagram showing a detection circuit of the key sensor, and shows a pressed state detecting means for detecting the pressed state of a key group composed of a plurality of keys. In this figure, the symbol of the variable resistance is
Key sensors 2Sa, 2Sb ... 2Sp shown in FIG. In this detection circuit, lines L that form a column
, L2 ... And lines C1, C2, ... Forming a row are formed, and key sensors 2Sa, 2Sb ... Are appropriately arranged at predetermined intersections. Fixed resistors 41-1 and 41-2 are provided at one ends of the lines C1, C2 ...
Is connected to the input end of the A / D converter 23 while being grounded via. Lines L1, L2 ...
A voltage is sequentially applied from the analog switch 42, and the CPU 24 determines which key sensor is pressed with what force from the on-timing of each line L1, L2 ... And the output value of the A / D converter 23. I can know

【0014】例えば、ラインL1がオンになっている場
合は、キーセンサ2Saと固定抵抗41−1に電圧がか
かる。そして、キーセンサ2Saの抵抗値が減少する
と、固定抵抗41−1にかかる電圧が増加し、A/D変
換器23の出力値は大きくなる。逆に、キーセンサS2
aの抵抗値が増加すると、固定抵抗41−1にかかる電
圧が減少し、A/D変換器23の出力値は小さくなる。
なお、各キーセンサ2Sa、2Sb……に対応したA/
D変換後の値を、以下Kpa、KPb……として表す。
For example, when the line L1 is turned on, a voltage is applied to the key sensor 2Sa and the fixed resistor 41-1. Then, when the resistance value of the key sensor 2Sa decreases, the voltage applied to the fixed resistance 41-1 increases, and the output value of the A / D converter 23 increases. Conversely, the key sensor S2
When the resistance value of a increases, the voltage applied to the fixed resistor 41-1 decreases, and the output value of the A / D converter 23 decreases.
A / A corresponding to each key sensor 2Sa, 2Sb ...
The value after D conversion is represented as Kpa, KPb ...

【0015】なお、図4に示す回路におけるダイオード
43は、電流がラインCからラインLへ流れることを防
止するものである。この逆流があると、検出タイミング
になっていないキーセンサに電流が流れる経路が形成さ
れ、CPU24がキーを特定できなくなるため、ダイオ
ード43が挿入されている。なお、前述したブレスセン
サ21も、キーセンサと同様にマトリックスの交点に配
置されている。
The diode 43 in the circuit shown in FIG. 4 prevents the current from flowing from the line C to the line L. If there is this backflow, a path through which a current flows is formed in the key sensor that has not reached the detection timing, and the CPU 24 cannot specify the key. Therefore, the diode 43 is inserted. The breath sensor 21 described above is also arranged at the intersections of the matrix, similarly to the key sensor.

【0016】1−2.第1実施形態の動作 (1)基本的動作 次に、上記構成を有する電子管楽器の動作について説明
する。始めに、基本的動作の概略を説明する。ここで
は、演奏用キーは全て音高指定に用いる場合について説
明し、演奏用キー2a、2bを楽音制御に用いる場合に
ついては後述する。マウスピース1より息が吹き込まれ
ると、ブレスセンサ21は吹き込まれた息の圧力を検出
する。検出された圧力は、A/D変換器23に供給さ
れ、A/D変換器23によってデジタルデータに変換さ
れ、CPU24に出力される。なお、息の圧力のA/D
値を以下BPと記す。この実施形態において、BP値は
0から10までの値で表される。
1-2. Operation of the First Embodiment (1) Basic Operation Next, the operation of the electronic wind instrument having the above configuration will be described. First, the outline of the basic operation will be described. Here, a case where all the performance keys are used for pitch designation will be described, and a case where the performance keys 2a and 2b are used for tone control will be described later. When the breath is blown from the mouthpiece 1, the breath sensor 21 detects the pressure of the blown breath. The detected pressure is supplied to the A / D converter 23, converted into digital data by the A / D converter 23, and output to the CPU 24. A / D of breath pressure
The value is hereinafter referred to as BP. In this embodiment, the BP value is represented by a value from 0 to 10.

【0017】次に、CPU24は、BP値に応じて、次
のようにMIDIメッセージを出力する。まず、BP値
が1から10までの値である場合は、息が吹き込まれて
いる状態を表すものとしてノートオンを出力する。一
方、BP値が0であった場合は、息が吹き込まれなくな
った状態を表すものとして、ノートオフ情報を出力す
る。
Next, the CPU 24 outputs a MIDI message as follows according to the BP value. First, when the BP value is a value from 1 to 10, note-on is output as an indication of a state where a breath is taken. On the other hand, when the BP value is 0, note-off information is output as a state in which no breath is taken.

【0018】また、BP値は息の強さを表すデータとし
ても使用され、CPU24は、BP値に応じて音量を示
すベロシティ情報や音色を指定するMIDIメッセージ
(コントロールチェンジなど)を出力する。
The BP value is also used as data representing the strength of breath, and the CPU 24 outputs velocity information indicating the volume and MIDI message (control change etc.) designating the tone color according to the BP value.

【0019】ところで、出力されるMIDIメッセージ
がノートオンである場合のノートナンバーは通常押下さ
れている演奏用キー2a、2b、2c……2o、2pの
組合せに応じて決定するが、単一キーにて設定される場
合もある。
By the way, the note number when the output MIDI message is note-on is determined according to the combination of the performance keys 2a, 2b, 2c, ... It may be set in.

【0020】ここで、図5は、本実施形態で使用する運
指表を示しており、この運指表に対応した音高決定がな
されるようになっている。本実施形態においては、演奏
用キー2a、2b、2c……2o、2pのオン・オフの
組合せとノートナンバーとの関係を示すテーブルTBU
が予め作成され、ROM25に記憶されている。ノート
ナンバーの決定においては、KP値(KPa〜KPpの
値)が0である場合をオフ、1から10である場合をオ
ンとして行うものとしている。なお、図5において、演
奏用キー2aおよび2bが示されていないパターンは、
これらがオフ、すなわちキーが押下されていない状態で
あることを示す。ところで自然楽器では、演奏用キー2
a、2b、2i、2jに相当するキーは、トリルキーと
呼ばれ、キーを押下しない状態では穴を塞ぎ、キーが押
下されると穴が開いて出音される音高があがるように構
成されている。よって、本実施形態でも演奏用キー2
a、2b、2i、2jのいずれかがオンである場合は音
高が上がり、オフである場合は音高が下がる。これに対
して、演奏用キー2a、2b、2i、2j以外に相当す
るキーは、キーを押下しない状態では穴が開いており、
キーが押下されると穴が塞がれて出音される音高が下が
るように構成されている。よって、本実施形態でも演奏
用キー2a、2b、2i、2j以外のキーのいずれかが
オンである場合は音高が下がり、オフである場合は音高
が上がる。
Here, FIG. 5 shows a fingering table used in the present embodiment, and the pitch is determined in accordance with this fingering table. In the present embodiment, a table TBU showing the relationship between the on / off combinations of the performance keys 2a, 2b, 2c ... 2o, 2p and the note numbers.
Is created in advance and stored in the ROM 25. In the determination of the note number, the case where the KP value (the value of KPa to KPp) is 0 is turned off, and the case where it is 1 to 10 is turned on. In FIG. 5, the pattern in which the performance keys 2a and 2b are not shown is
It indicates that these are off, that is, the key is not pressed. By the way, with a natural musical instrument, the key for playing 2
The keys corresponding to a, 2b, 2i, and 2j are called trill keys, and are configured so that when the key is not pressed, the hole is closed, and when the key is pressed, the hole is opened and the pitch of sound is raised. ing. Therefore, even in this embodiment, the performance key 2
If any of a, 2b, 2i, and 2j is on, the pitch increases, and if it is off, the pitch decreases. On the other hand, keys corresponding to keys other than the performance keys 2a, 2b, 2i, and 2j have holes when the keys are not pressed,
When the key is pressed, the hole is closed and the pitch of the sound output is lowered. Therefore, also in this embodiment, the pitch decreases when any of the keys other than the performance keys 2a, 2b, 2i, and 2j is on, and the pitch increases when it is off.

【0021】(2)動作の詳細 次に、フローチャートを参照して、CPU24の動作に
ついて説明する。図6は、第1実施形態におけるCPU
24の処理を示すフローチャートである。まず、CPU
24は、BP値を検出する(S1)。そして、BP値が
0か否かを判定し(S2)、BP値が0の場合は、処理
はステップS1に戻る。BP値が0でない場合は、CP
U24はKPa、KPb……KPpの各値を順次検出す
る(S3)。キーセンサのオンオフを検出する方法は、
所定レベル以上もしくは以下になったことをCPU24
で検出することで行われる。該キーセンサ各々のオン・
オフ状態とROM25内のテーブル(運指表図5の内
容)を参照することにより得られたノートナンバーを変
数note numberに収納する(S4)。
(2) Details of Operation Next, the operation of the CPU 24 will be described with reference to the flowchart. FIG. 6 is a CPU according to the first embodiment.
It is a flow chart which shows processing of 24. First, the CPU
24 detects the BP value (S1). Then, it is determined whether the BP value is 0 (S2), and if the BP value is 0, the process returns to step S1. If the BP value is not 0, CP
U24 sequentially detects each value of KPa, KPb ... KPp (S3). The method to detect the on / off of the key sensor is
CPU 24 that the level is above or below a predetermined level
It is performed by detecting with. ON of each of the key sensors
The note number obtained by referring to the OFF state and the table (contents of the fingering chart in FIG. 5) in the ROM 25 is stored in the variable note number (S4).

【0022】次に、変数note numberの値を
変数last noteに収納した後(S5)、変数l
ast noteの内容を発生すべき楽音信号の音高を
指示するノートナンバーとして、楽音信号の発生開始を
指示するノートオンとともに出力する(S6)。次に、
ステップS7において、CPU24は、再度BP値を検
出し、BP値が0か否かを判定する(S8)。ここで、
BP値が0の場合は、ノートオフを出力し(S9)、ス
テップS1に戻る。すなわち、演奏者が息の吹き込みを
停止すると消音のための楽音信号の消音開始を指示する
ノートオフが出力される(S9)。
Next, after the value of the variable note number is stored in the variable last note (S5), the variable l
The content of ast note is output as a note number for instructing the pitch of the tone signal to be generated together with the note-on for instructing the start of tone signal generation (S6). next,
In step S7, the CPU 24 detects the BP value again and determines whether the BP value is 0 (S8). here,
If the BP value is 0, note-off is output (S9) and the process returns to step S1. That is, when the performer stops blowing, a note-off for instructing to start muting the tone signal for muting is output (S9).

【0023】一方、ステップS7で検出されたBP値が
0でない場合は、BP値に応じた内容のコントロールチ
ェンジを出力する(S10)。例えば、吹き込む圧力が
強い(BPが10に近い)ほど音量を上げ、圧力が弱い
(BPが1に近い)ほど音量を下げるコントロールチェ
ンジを出力する。
On the other hand, if the BP value detected in step S7 is not 0, a control change having contents corresponding to the BP value is output (S10). For example, a control change is output that increases the volume as the blowing pressure is stronger (BP is closer to 10) and lowers the pressure as the pressure is weaker (BP is closer to 1).

【0024】次に、再び、KPa、KPb……KPp値
を取り込み(S11)、オン・オフを検出するととも
に、運指表を参照することにより得られたノートナンバ
ーを変数note numberに収納する(S1
2)。なお、キーのオン・オフ検出にあたっては、前述
の通りKPa、KPb……KPpの値が0の場合に当該
キーがオフ、1〜10の場合に当該キーがオンであると
判断する。すなわち、完全に押されていたキー(KP値
が10)の押圧力が弱まって、そのKP値が1〜9の中
間の値になっても、ステップS12においては、キーオ
ンとして判定する。
Next, again, the KPa, KPb ... KPp values are fetched (S11), ON / OFF is detected, and the note number obtained by referring to the fingering table is stored in the variable note number ( S1
2). In detecting the ON / OFF of the key, as described above, when the value of KPa, KPb ... KPp is 0, the key is off, and when it is 1 to 10, it is determined that the key is on. That is, even if the pressing force of the key that has been completely pressed (KP value is 10) becomes weak and the KP value becomes an intermediate value between 1 and 9, it is determined as key-on in step S12.

【0025】次に、変数note numberと変数
last noteの内容を比較し(S13)、変数n
ote number=変数last noteでない
場合は、ステップS14に進み、変数note num
ber=変数last noteである場合は、ステッ
プS17へ進む。
Next, the contents of the variable note number and the variable last note are compared (S13), and the variable n
If not number number = variable last note, the process proceeds to step S14, and variable note number is not number.
If ber = variable last note, the process proceeds to step S17.

【0026】ステップS14に至る場合は、運指が変更
されて音高が変化したと判定された場合である。すなわ
ち、1から10であったキーのKP値が0になってい
る、あるいは0であったキーのKP値が1から10にな
っているため、オン・オフ状態が変更されていると判断
される場合である。このステップS14においては、変
数note numberの内容を変数last no
teに収納する。そして、ステップS15に移って、ノ
ートオフを出力する。これにより、それ以前の音高の楽
音が停止される。次に、変数last noteの内容
をノートナンバーとしてノートオンとともに出力する
(S16)。この結果、新たな音高の楽音が発音指示さ
れる。すなわち、ステップS13において、運指の変更
が検出された場合は、変更前のノートを消音指示した後
(S15)、変更後のノートナンバーを出力し(S1
6)、新たな運指に基づくノートナンバーでの発音を指
示する。この場合の発音制御は、スラーのような連続的
な音高制御ではなく、変更前のノートから変更後のノー
トへとステップ状に切り替わる制御となる。以上の制御
を行った後は、ステップS17を介してステップS7に
戻る。この場合のステップS17では、ピッチベンド量
の制御が行われるが、ステップS16からステップS1
7に移行した場合には、ピッチベンドは行われない。
The step S14 is reached when it is determined that the fingering is changed and the pitch is changed. That is, the KP value of the key that was 1 to 10 is 0, or the KP value of the key that was 0 is 1 to 10, so it is determined that the on / off state has been changed. This is the case. In step S14, the content of the variable note number is changed to the variable last no.
Store in te. Then, the process proceeds to step S15 and note-off is output. As a result, the musical tone of the previous pitch is stopped. Next, the content of the variable last note is output as a note number together with note-on (S16). As a result, a musical tone of a new pitch is instructed to be pronounced. That is, when a fingering change is detected in step S13, the note before change is instructed to be silenced (S15), and the changed note number is output (S1).
6) Instruct to pronounce the note number based on the new fingering. The tone generation control in this case is not continuous pitch control like slur, but stepwise control from the note before change to the note after change. After performing the above control, the process returns to step S7 via step S17. In this case, in step S17, the pitch bend amount is controlled, but from step S16 to step S1.
When shifting to 7, pitch bend is not performed.

【0027】一方、ステップS13において、「YE
S」と判断された場合は、音高に変化がない場合である
から、本来は音高についての楽音制御は不要である。し
かしながら、この実施形態においては、ステップS17
において、以下のように場合分けをして音高制御を行っ
ている。
On the other hand, in step S13, "YE
If it is determined to be "S", there is no change in pitch, and thus tone control for pitch is originally unnecessary. However, in this embodiment, step S17
In the above, pitch control is performed in the following cases.

【0028】第1は、押されている全てのキーのKP値
が10である場合である。この場合においては、音高の
変更指示は行わない。
The first is when the KP values of all the pressed keys are 10. In this case, the pitch change instruction is not issued.

【0029】第2は、運指状態の変化によりスラーのよ
うに連続的な音高制御をすべき場合である。たとえば、
押されているキーの一部または全部のキーのKP値が1
から9の中間値になっている場合である。この場合は、
いずれのキーについてもオン状態と判断される。しか
し、KP値が中間値であるキーが存在するということ
は、演奏者がスラー奏法を行うために、演奏用キーを少
しずつ離しているような場合と推定できる。
Second, there is a case where continuous pitch control should be performed like a slur by changing the fingering state. For example,
KP value of some or all of the pressed keys is 1
This is the case when the intermediate value is from 9 to 9. in this case,
It is determined that all the keys are on. However, the presence of a key whose KP value is an intermediate value can be presumed to be the case where the player is gradually releasing the playing key in order to perform the slur performance.

【0030】そこで、この実施形態においては、このよ
うな場合に、スラー奏法と同様のピッチ変化となるよう
にピッチベンドによる音高制御を行っている。以下にピ
ッチベンド制御について詳述する。
Therefore, in this embodiment, in such a case, the pitch control is performed by the pitch bend so that the pitch change is similar to that of the slur playing style. The pitch bend control will be described in detail below.

【0031】まず、KP値が中間値(1から9)である
キーは、完全に押下された状態から離され始めたキーと
いうことができる。そこで、スラー奏法によって音高を
変化させた場合の到達音を知るために、CPU24は、
KP値が0および1から9であるキーについてはオフ状
態、KP値が10であるキーについてはオン状態とし
て、ROM25内のテーブルを参照することにより新た
なノートナンバーを決定する。すなわち、押圧力が弱ま
っているキーについては、スラー奏法によって離される
キーであると判断して、スラー奏法後の到達音のノート
ナンバーを求める。そして、このノートナンバーを変数
new note numberに収納する。
First, a key whose KP value is an intermediate value (1 to 9) can be said to be a key that has begun to be released from the state of being completely pressed. Therefore, in order to know the arrival sound when the pitch is changed by the slur playing method, the CPU 24
A key having a KP value of 0 and 1 to 9 is turned off, and a key having a KP value of 10 is turned on, and a new note number is determined by referring to a table in the ROM 25. That is, it is determined that a key whose pressing force is weakened is released by the slur playing style, and the note number of the reaching sound after the slur playing style is obtained. Then, this note number is stored in the variable new note number.

【0032】次に、ベンドレンジ(ピッチベンドの範
囲)を求めるために、現時点のノートナンバー(すなわ
ち、スラー奏法の前のノートナンバー)を記憶している
変数last numberと、スラー奏法後の到達音
のノートナンバーを記憶している変数new note
numberとの差を検出する。この差が、スラー奏
法の前と後の音高差であり、ピッチベンドを行う範囲、
すなわち、ベンドレンジになる。そして、検出したベン
ドレンジに対して補間処理を行い、ピッチベンド量を決
定する。
Next, in order to obtain a bend range (pitch bend range), a variable last number that stores the current note number (that is, the note number before the slur playing style) and the arrival sound after the slur playing style are stored. A variable new note that stores the note number
The difference with the number is detected. This difference is the pitch difference before and after the slur playing, the range in which pitch bend is performed,
That is, it becomes a bend range. Then, interpolation processing is performed on the detected bend range to determine the pitch bend amount.

【0033】ピッチベンド量の決定は、この実施形態に
おいては、new note numberとlast
noteの音高の差を、KP値に応じて補間すること
によって行う。例えば、直線補間あるいはKP値を変数
とした関数によってピッチベンド量を定めることができ
る。このような関数はROM25に予め記憶される。本
実施形態においては、直線補間が採用されているここ
で、図7はKP値とピッチベンド量(ピッチシフト量)
の関係を表すグラフである。図示するグラフは、KP値
が高いときはlast noteに近い音にピッチベン
ドされ、KP値が低いときはnew note num
berに近い音にピッチベンドされることを表してい
る。なお、図7は、直線補間をする例を示したが、補間
の仕方はこれに限らず、任意の曲線補間や関数を用いた
補間を行ってもよい。
In this embodiment, the pitch bend amount is determined by determining the new note number and last.
It is performed by interpolating the pitch difference of “note” according to the KP value. For example, the pitch bend amount can be determined by linear interpolation or a function using the KP value as a variable. Such a function is stored in the ROM 25 in advance. In this embodiment, linear interpolation is adopted . Here, FIG. 7 shows the KP value and the pitch bend amount (pitch shift amount).
It is a graph showing the relationship of. The graph shown in the figure is pitch-bent to a sound close to last note when the KP value is high, and new note number when the KP value is low.
This means that the sound is pitch-bended to a sound close to ber. Although FIG. 7 shows an example in which linear interpolation is performed, the interpolation method is not limited to this, and arbitrary curve interpolation or interpolation using a function may be performed.

【0034】ここで、理解のために、中間のKP値をと
るキーが一つである場合を例にとって、上述した各ステ
ップの処理をより具体的に説明する。例えば、ある時点
におけるノート検出において、last noteにノ
ートナンバー「60」(ド:図5参照)が書き込まれ
たとする。そして、このときオンされているキーセンサ
のKP値が、全て10であったとする。そして、その後
のステップS11における検出では、一番下の指に対応
する演奏用キー2pのKPpが8となっていた場合は、
CPU24は、演奏用キー2pについては依然オン状態
と判断し、運指表よりノートナンバー「60」を求め、
変数note numberに収納する(S12)。
Here, for the sake of understanding, the processing of the above-mentioned steps will be described more concretely by taking the case where there is one key having an intermediate KP value as an example. For example, it is assumed that the note number "60" (see: FIG. 5) is written in the last note at the time of note detection at a certain point. Then, it is assumed that the KP values of the key sensors that are turned on at this time are all 10. Then, in the subsequent detection in step S11, if KPp of the performance key 2p corresponding to the lowest finger is 8,
The CPU 24 determines that the performance key 2p is still in the on state, and obtains the note number "60" from the fingering table,
It is stored in the variable note number (S12).

【0035】ここで、note number=60
(ド:図5参照)であるから、last note=
note numberとなり、ステップS13の判定
が「YES」となって処理はステップS17に進む。ス
テップS17において、演奏用キー2pのKP値は中間
値(KPp=8)であるためオフ状態に判断されて新た
なノートナンバー「62」(レ:図5参照)が求めら
れ、変数new note numberに収納され
る。ここで、ベンドレンジはnew note num
ber−last note=62−60=2(200
セント)となる。また、KPp=8の値に基づいて直線
補間され(図7参照)、補間後の値がピッチベンド量と
して出力される。この結果、楽音の音高が「ド」から4
0セント(200×1/5)高い音にシフトされる。そ
して、処理はステップS7に戻る。
Here, note number = 60
(Do: see FIG. 5), so last note =
Note number, the determination in step S13 is "YES" and the process proceeds to step S17. In step S17, since the KP value of the performance key 2p is the intermediate value (KPp = 8), it is determined to be in the off state and a new note number “62” (see FIG. 5) is obtained, and the variable new note number is set. Is stored in. Here, the bend range is new note num.
Ber-last note = 62-60 = 2 (200
Cent). Further, linear interpolation is performed based on the value of KPp = 8 (see FIG. 7), and the interpolated value is output as the pitch bend amount. As a result, the pitch of the musical sound is 4 from "do".
Shifted to 0 cent (200 x 1/5) higher tone. Then, the process returns to step S7.

【0036】また、その後、演奏者が演奏用キー2pの
押圧をさらに弱め、KPp=6になったとする。そし
て、ステップS12においては、この場合も、演奏用キ
ー2pのKP値は中間値(KPp=6)であるため、ス
テップS13において検出されるノートナンバーは、
「60」(ド:図5参照)となり、変数note n
umberには再び「60」が書き込まれる。したがっ
て、ステップS13での判定は「YES」となり、ステ
ップS17の処理に至る。ステップS17においては、
演奏用キー2pはそのKP値が中間値であるためオフと
判断され、newnote number=62(レ:
図5)となる。この場合、ベンドレンジは200セン
トのまま変化しないが、KP値が6になっているため、
直線補間の結果は異なり、ピッチベンド量は増え(図7
参照)、「ド」から80セント(200×3/5)高い
音の発音が指示される。
Further, after that, it is assumed that the player further weakens the pressing of the performance key 2p and KPp = 6. Then, in step S12, the KP value of the performance key 2p is an intermediate value (KPp = 6) in this case as well, so that the note number detected in step S13 is
"60" (See: Fig. 5) and the variable note n
“60” is written again in the number. Therefore, the determination in step S13 is "YES", and the process of step S17 is reached. In step S17,
The performance key 2p is determined to be off because its KP value is an intermediate value, and newnote number = 62 (re:
5). In this case, the bend range remains 200 cents, but since the KP value is 6,
The result of linear interpolation is different, and the pitch bend amount increases (see FIG. 7).
), The pronunciation of a sound that is 80 cents (200 × 3/5) higher than “do” is instructed.

【0037】以上の処理は、演奏者がスラー奏法を行っ
ている間繰り返される。すなわち、図6に示すループl
の処理が繰り返し行われる。この結果、演奏者がキー2
pの押圧を徐々にゆるめ、最終的にはキー2pを離して
「レ」の運指になるまで、楽音は徐々に滑らかに上昇
し、スラー奏法に対応した音高制御が実現される。
The above processing is repeated while the performer is performing the slur performance. That is, the loop l shown in FIG.
The process of is repeated. As a result, the performer can
The musical tone gradually rises smoothly until the key 2p is released by finally releasing the pressure of p and finally releasing the key 2p, and the pitch control corresponding to the slur playing style is realized.

【0038】ところで、図8は、上述した例におけるK
P値の変化と音高の変化の相互の関係を例示したグラフ
である。図8に示すように、押圧が下がるほど高い音高
にピッチベンドされ、しかも、その変化の仕方はKP値
の変化に対応したものとなる。従って、演奏者は、離し
ていく指の力加減により、所望のスラー特性を得ること
ができる。
By the way, FIG. 8 shows K in the above-mentioned example.
It is a graph which illustrated the mutual relation of the change of P value and the change of pitch. As shown in FIG. 8, the pitch is bended to a higher pitch as the pressure is lowered, and moreover, the manner of its change corresponds to the change of the KP value. Therefore, the performer can obtain a desired slur characteristic by adjusting the force of the fingers that are released.

【0039】以上は、中間値をとるキーが一つの場合を
例にとったが、中間のKP値が複数あった場合は、例え
ば、ステップS17において次のような処理を行えばよ
い。まず、1から9であるすべてのKP値をオフ状態と
判断し、運指表よりnote numberを求める。
次に、note numberとlast noteの
差をベンドレンジとする。この点は、上述の場合と同様
である。次に、ピッチベンド情報を出力するが、シフト
量は中間値をとる複数のKP値に応じて決定する。例え
ば、KP値の平均値としてもよく、また、この平均値を
変数とした関数によって定めてもよい。複数のKP値の
うち最大あるいは最小の値を用いてもよい。さらに、複
数のKP値のうち最大あるいは最小のキーの値のみをオ
フ状態と判断することにより、1のキーのみに注目した
スラー制御をしてもよい。上述した第1の実施形態にお
いては、音高を決定するキーの各々について押下状態を
検出する押下状態検出手段(CPU24)と、この押下
状態検出手段の検出値に基づいて前記各キー毎にオン/
オフを決定し、決定したオン/オフ状態に基づいて音高
を決定する音高決定手段(CPU24、ROM25内の
テーブル)と、前記音高決定手段が参照したキーのうち
検出値が予め設定した値より小さいものに対応するキー
については、前記音高決定手段の決定に関わらず当該キ
ーをオフと想定した音高を求める次音高決定手段(CP
U24)と、前記次音高決定手段が決定した音高に向か
って滑らかに音高を変化させるためのピッチベンド情報
を生成するスラー制御手段(CPU24)を具備してい
したがって、次音高決定手段とスラー制御手段の連
携により、スラー演奏を行うことができる。また、音高
決定手段の決定による通常の演奏(スラーでない演奏)
も勿論行うことができる。さらに、スラー決定手段が押
下状態検出手段が検出した検出値のうち、所定キーの検
出値(例えば、最大あるいは最小のキーの値)に基づい
て音高変化量を決定するようにすれば、特定のキーに着
目したスラー制御効果が得られる
In the above, the case where there is one key having an intermediate value is taken as an example, but when there are a plurality of intermediate KP values, for example, the following processing may be performed in step S17. First, all KP values 1 to 9 are determined to be in the off state, and note number is obtained from the fingering table.
Next, the bend range is defined as the difference between the note number and the last note. This point is similar to the above case. Next, the pitch bend information is output, but the shift amount is determined according to a plurality of intermediate KP values. For example, it may be an average value of KP values, or may be determined by a function using the average value as a variable. The maximum or minimum value of a plurality of KP values may be used. Further, by determining only the value of the maximum or minimum key among the plurality of KP values as the off state, the slur control may be performed by focusing on only one key. In the above-described first embodiment, the pressed state detecting means (CPU 24) that detects the pressed state of each of the keys that determine the pitch, and the ON state for each key based on the detection value of the pressed state detecting means. /
A pitch value determining means (a table in the CPU 24 and the ROM 25) for determining off and determining the pitch based on the determined on / off state, and a detection value among the keys referred to by the pitch determining means are preset. For a key corresponding to a value smaller than the value, the next pitch determining means (CP) for obtaining a pitch assuming that the key is off regardless of the determination of the pitch determining means.
U24) and slur control means (CPU 24) for generating pitch bend information for smoothly changing the pitch toward the pitch determined by the next pitch determining means . Therefore, the slur performance can be performed by the cooperation of the next pitch determining means and the slur control means. Ordinary performance (non-slur performance) determined by the pitch determining means
Can of course be done. Further, if the slur determination means determines the pitch change amount based on the detection value of a predetermined key (for example, the maximum or minimum key value) among the detection values detected by the pressed state detection means, the pitch change amount can be specified. The slur control effect focusing on the key is obtained .

【0040】1−3.第1実施形態の変形 演奏者がキー操作する場合に、他の指につられるなど
無意識に圧力が変化することがあり、このような場合ま
でピッチが変化することは妥当ではない。演奏者が意識
的に操作したと想定できるKP値が検出されたときにの
みスラー制御が行われるよう設定してもよい。例えば、
上記実施形態においてステップS17のスラー制御は、
KPa、KPb……KPpが0および1から9である場
合にオフ状態と判断することによってnew note
numberを算出するようにしているが、0および
1〜7である場合にオフ状態と判断し、8〜10である
場合にはオン状態であると判断するようにしてもよい。
また、しきい値に不感帯を設けるようにしてもよい。例
えば、0、1がオフ、6〜10がオンとして、2〜5の
ときは、従前の状態の反転状態(前の状態がオンならオ
フに、前の状態がオフならオンに)なっていると判断し
てもよい。
1-3. When the modified player of the first embodiment performs a key operation, the pressure may change unintentionally, for example, by being squeezed by another finger, and it is not appropriate that the pitch changes until such a case. The slur control may be set only when a KP value that can be assumed to be intentionally operated by the player is detected. For example,
In the above embodiment, the slur control in step S17 is
KPa, KPb ... When KPp is 0 and 1 to 9, it is determined to be in the off state and the new note
Although the number is calculated, it may be determined to be in the off state when 0 and 1 to 7, and to be in the on state when 8 to 10.
Also, a dead zone may be provided at the threshold value. For example, when 0 and 1 are off and 6 to 10 are on and are 2 to 5, they are in the reverse state of the previous state (off when the previous state is on, on when the previous state is off). You may judge that.

【0041】また、KP値が1から9であるキーが複
数あった場合は、new notenumberとla
st noteの差が全音(=200セント)あるいは
半音(=100セント)である場合にのみスラー制御を
行うようにしてもよい。そして、ピッチベンド情報を出
力する際のシフト量を決定するKP値は、複数のキーの
うち最大あるいは最小のKP値や、平均値などを用いる
ようにしてもよい。この制御は、あまり大きな音高差が
あるときは、他の指につられて押圧力が下がっている場
合であり、演奏者がスラー奏法を行っていないと判断し
て、一般的なステップ状の音高制御を行う趣旨である。
以上のように、中間値をとるキーの一部を使用してスラ
ー制御を行うようにしてもよい。
When there are a plurality of keys having KP values 1 to 9, new note number and la
The slur control may be performed only when the difference in st note is a whole tone (= 200 cents) or a half tone (= 100 cents). The KP value that determines the shift amount when the pitch bend information is output may be the maximum or minimum KP value among a plurality of keys, an average value, or the like. This control is for a case where there is a too large pitch difference and the pressing force is lowered by being squeezed by another finger, and it is judged that the performer is not performing slur, The purpose is to perform pitch control.
As described above, the slur control may be performed by using a part of the key having the intermediate value.

【0042】また、KP値が1から9であるキーが一つ
であるときは、new notenumberとlas
t noteの差が全音あるいは半音である場合が多
い。よって、KP値が1から9であるキーが一つである
場合にのみスラー制御を行うようにしてもよい。
When there is one key having a KP value of 1 to 9, new note number and las
In many cases, the difference in t note is a whole tone or a half tone. Therefore, the slur control may be performed only when there is one key having a KP value of 1 to 9.

【0043】これらの変形により、演奏者が意識せずに
押圧が変化している場合に、不自然な音高の変化が起こ
るような誤動作を防ぐことができる。例えば、演奏者は
押下しているつもりのキーが、他の指につられて押圧が
下がっているときに、意図しない音高が出音されること
が防止される。
By these modifications, it is possible to prevent an erroneous operation that causes an unnatural pitch change when the player changes the pressure without being aware of it. For example, it is possible to prevent an unintended pitch from being produced when the player intends to hold down a key that is being pressed by another finger.

【0044】2.第2実施形態 第2実施形態は、演奏用キー2a、2b、2c……2
o、2pの押圧情報を、アフタータッチ情報として出力
する形態である。その構成は第1実施形態と同様である
ため、説明は省略する。
2. Second Embodiment In the second embodiment, the performance keys 2a, 2b, 2c ... 2
In this mode, the pressure information of 0 and 2p is output as aftertouch information. Since the configuration is the same as that of the first embodiment, the description will be omitted.

【0045】2−1.第2実施形態の動作 図9は、第2実施形態におけるCPU24の処理を示す
フローチャートである。第2実施形態においても、ノー
トオン・ノートオフの制御とボリュームの制御はBP値
に応じて行い、音高制御は演奏用キー2a、2b、2c
……2o、2pのオン・オフの組み合わせにより行うた
め、基本的動作は第1実施形態と同様である。また、C
PU24の動作についても、ステップS201からステ
ップS213までは、第1実施形態(図6)のステップ
S1からステップS13までと同様であるため説明を省
略する。
2-1. Operation of Second Embodiment FIG. 9 is a flowchart showing the processing of the CPU 24 in the second embodiment. Also in the second embodiment, note-on / note-off control and volume control are performed according to the BP value, and pitch control is performed by the performance keys 2a, 2b, 2c.
The basic operation is the same as that of the first embodiment because it is performed by a combination of ON / OFF of 2o and 2p. Also, C
As for the operation of the PU 24, steps S201 to S213 are the same as steps S1 to S13 of the first embodiment (FIG. 6), and a description thereof will be omitted.

【0046】本実施形態において、オン・オフの組み合
わせが変更されている場合は、note number
=last noteではないため、処理はステップS
214へ進む。そして、変数note numberの
内容を変数last noteに収納した後(S21
4)、ノートオフを出力する(S215)。次に、変数
last noteの内容をノートナンバーとしてノー
トオンとともに出力し(S216)、処理はステップS
217に進む。
In the present embodiment, if the on / off combination is changed, the note number is changed.
== last note, so the process is step S
Proceed to 214. After storing the contents of the variable note number in the variable last note (S21
4), note-off is output (S215). Next, the content of the variable last note is output as a note number together with note-on (S216), and the process is performed in step S
Proceed to 217.

【0047】一方、オン・オフの組み合わせに変更がな
いため、note number=last note
である場合は、処理は直ちにステップS217に進む。
この場合は音高の変化はない。
On the other hand, since there is no change in the on / off combination, note number = last note
If so, the process immediately proceeds to step S217.
In this case, there is no change in pitch.

【0048】本実施形態においては、音高を変更した場
合も、変更しなかった場合にも、ステップS217、S
218においてアフタータッチ制御が行われる。このア
フタータッチ制御は、MIDI規格のアフタータッチ情
報に含まれるプレッシャー値を変更する制御となり、押
下されている演奏用キーのうち、一番下の位置にあるキ
ーのKP値を検出し、このKP値に基づいてプレッシャ
ー値を決定する。
In this embodiment, steps S217 and S are performed regardless of whether the pitch is changed or not.
At 218, aftertouch control is performed. This after-touch control is a control for changing the pressure value included in the MIDI-standard after-touch information, detects the KP value of the key at the lowest position among the pressed performance keys, and detects this KP value. Determine the pressure value based on the value.

【0049】すなわち、ステップS217において、C
PU24は、オンと判断された演奏用キーのうち一番下
にあるキーを検出する。キーの位置関係は、予め分かっ
ているので、その関係に応じた検出方法により一番下の
キーを検出する。例えば、キースキャンの順番は予め決
まっており、どのタイミングでどのキーのKP値が出力
されるかは既知であるから、タイミングとキーの位置に
は対応関係がある。これらの情報からオンされているキ
ーのうち最も下のキーを検出することができる。なお、
一番下のキーから一番上のキーに向かって(あるいはそ
の逆に)キースキャンするように構成しておいてもよ
い。そして、一番下にあるキーのKP値を変数PP(図
示略)に収納する(S217)。
That is, in step S217, C
The PU 24 detects the lowest key among the performance keys determined to be ON. Since the positional relationship of the keys is known in advance, the bottom key is detected by the detection method according to the relationship. For example, the order of key scanning is predetermined, and it is known which KP value of which key is output at which timing. Therefore, there is a correspondence relationship between the timing and the position of the key. The lowest key among the keys turned on can be detected from these pieces of information. In addition,
It may be configured to perform key scanning from the bottom key to the top key (or vice versa). Then, the KP value of the bottom key is stored in the variable PP (not shown) (S217).

【0050】次に、変数PPに応じてプレッシャー値を
決定してアフタータッチ情報を出力し(S218)、ス
テップS207に戻る。以後、BP値が0になるまで、
ステップS208、S210〜S218の処理が繰り返
され、この結果、オンされているキーのうち一番下にあ
るキーの押圧力を加減することにより、楽音に任意のア
フタータッチ(例えば、ビブラートなど)を付けること
ができる。以上のように、本実施形態においては、オン
されているキーのうち一番下のキーをアフタータッチの
操作子として用いたが、これは一番下のキーが通常は最
も操作し易いからである。
Next, the pressure value is determined according to the variable PP, the aftertouch information is output (S218), and the process returns to step S207. After that, until the BP value becomes 0,
The processes of steps S208, S210 to S218 are repeated, and as a result, the after-touch (for example, vibrato) is added to the musical sound by adjusting the pressing force of the lowest key among the turned-on keys. Can be attached. As described above, in the present embodiment, the bottom key among the keys that are turned on is used as the aftertouch operator, because the bottom key is usually the easiest to operate. is there.

【0051】2−2.第2実施形態の変形例 なお、本実施形態では、押下されている演奏用キーのう
ち一番下にあるキーのKP値に応じて、アフタータッチ
情報のプレッシャー値を決定することとしているが、他
のキー(例えば、一番上にあるキー)のKP値に応じて
決定してもかまわない。また、全てのキーの平均値をと
るようにしてもかまわない。
2-2. Modification of Second Embodiment In the present embodiment, the pressure value of the aftertouch information is determined according to the KP value of the lowest key among the performance keys that are pressed. It may be determined according to the KP value of another key (for example, the key at the top). Also, the average value of all keys may be taken.

【0052】また、本実施形態で行われる楽音制御は、
いかなる楽音制御であってもかまわない。例えば、音高
や、音色、音量効果などの制御に用いてもよい。
The tone control performed in this embodiment is as follows.
Any tone control may be used. For example, it may be used for controlling pitch, tone color, volume effect, and the like.

【0053】さらに、第1実施形態のフロー(図6)に
おいて、アフタータッチ制御(S217、S219)を
スラー制御(S17)の前に設けることにより、スラー
制御とアフタータッチ制御を同時に行うことも可能であ
る。
Further, in the flow of the first embodiment (FIG. 6), by providing the aftertouch control (S217, S219) before the slur control (S17), it is possible to perform the slur control and the aftertouch control at the same time. Is.

【0054】3.第3実施形態 第3実施形態では、演奏用キー2a、2bの機能を切り
換えることができる場合について説明する。演奏用キー
2a、2bは自然楽器(例えばサックス)ではハイトリ
ルキーと呼ばれる音高指定用のキーであるが、演奏のジ
ャンルによって、多用される場合とほとんど使用されな
い場合がある。例えばジャズ演奏では多用されるがクラ
シック演奏ではほとんど使用されない。そこで、演奏用
キー2a、2bを音高指定に使用しない場合は、例えば
音色変更等の楽音制御に用いることで表現性を向上させ
ることができる。
3. Third Embodiment In the third embodiment, the case where the functions of the performance keys 2a and 2b can be switched will be described. The performance keys 2a and 2b are pitch-designating keys called "hitryl keys" on natural musical instruments (for example, saxophones), but depending on the genre of performance, they may be frequently used or rarely used. For example, it is often used in jazz performances, but rarely used in classical performances. Therefore, when the performance keys 2a and 2b are not used for pitch designation, the expressiveness can be improved by using them for musical tone control such as tone color change.

【0055】3−1.第3実施形態の構成 図10は、第3実施形態における電子管楽器の外観構成
を示した図である。図10において、(a)は側面図、
(b)は正面図、(c)は背面図の一部をそれぞれ示し
ている。マウスピース1と、演奏用キー2c……2o、
2pについては、第1実施形態(図1)と同様のもので
あるので説明は省略する。ディップスイッチ103は各
種設定を行うためのスイッチであり、本実施形態では、
演奏用キー2a、2bを楽音制御に使用するか音高指定
に使用するかの選択に用いる。演奏用キー2a、2b
は、ディップスイッチ103の切換に応じて機能が選択
される。この場合の機能には、音高指定機能(ハイトリ
ルキーとして使用する機能)と楽音制御機能(コントロ
ールキーとして使用する機能)がある。演奏用キー2
a、2bをハイトリルキーとして使用する場合は、それ
以外の演奏用キー2c〜2pも含めて該キー群を音高指
定するキー群と言うことができ、演奏用キー2a、2b
が音高指定以外の楽音制御パラメータを発生する場合
は、特別のキーとなり、特定キーに変身する。そして、
該キー2a、2bを特定キーに変身させるためのディッ
プスイッチの1つは、該キー群のうち特定のキーを音高
指定とは異なる楽音制御用キーとして設定するモード指
定手段と言うことができる。なお、ディップスイッチ1
03にはn個のスイッチ(DS1…DSn)があり、本
実施形態において演奏用キー2a、2bの機能を指定す
るためには1番目のスイッチDS1を使用する。また、
図中U1、U2、D1およびD2はオクターブキーであ
り、該キーを押下することにより出音する音高をオクタ
ーブ単位で変化させることができる。オクターブキーU
1、U2、D1およびD2はオン・オフを検出できれば
どのような構成でもよく、例えば、圧力スイッチでも、
機械的な接点スイッチでもよく、さらに、光学的なスイ
ッチでもよい。
3-1. Configuration of Third Embodiment FIG. 10 is a diagram showing an external configuration of an electronic wind instrument according to the third embodiment. In FIG. 10, (a) is a side view,
(B) is a front view and (c) is a part of a rear view. Mouthpiece 1 and performance keys 2c ... 2o,
Since 2p is the same as that of the first embodiment (FIG. 1), its description is omitted. The DIP switch 103 is a switch for making various settings, and in the present embodiment,
It is used to select whether the performance keys 2a, 2b are used for tone control or pitch designation. Performance keys 2a, 2b
The function is selected according to the switching of the DIP switch 103. The functions in this case include a pitch designation function (a function used as a hit key) and a tone control function (a function used as a control key). Performance key 2
When the keys a and 2b are used as the hit key, the keys including the other performance keys 2c to 2p can be said to be a key group for specifying the pitch, and the performance keys 2a and 2b.
When generates a tone control parameter other than pitch specification, it becomes a special key and is transformed into a specific key. And
One of the DIP switches for transforming the keys 2a and 2b into specific keys can be said to be mode designating means for setting a specific key of the key group as a tone control key different from the pitch designation. . In addition, DIP switch 1
03 has n switches (DS1 ... DSn), and in the present embodiment, the first switch DS1 is used to specify the function of the performance keys 2a and 2b. Also,
In the figure, U1, U2, D1 and D2 are octave keys, and the pitch to be output can be changed in octave units by pressing the keys. Octave key U
1, U2, D1 and D2 may have any configuration as long as ON / OFF can be detected, for example, a pressure switch,
It may be a mechanical contact switch or an optical switch.

【0056】3−2.第3実施形態の動作 CPU24は、ディップスイッチ103のオン・オフ状
態を検出し、次の2つの処理のいずれかを選択する。以
下各処理について説明する。 (1)音高指定に用いる場合 まず、演奏用キー2aおよび2bの機能を音高指定に用
いる場合について説明する。音高指定は第1実施形態と
同様に各演奏用キーのオン・オフの組合せによって行わ
れる。音高指定はKPa、KPb……KPpのすべての
KP値を参照し行われ、運指表は第1実施形態(図5)
と同様となる。この場合CPU24は、すべてのKP
a、KPb……KPpを参照し、第1実施形態あるいは
第2実施形態と同様の処理を行う。
3-2. The operation CPU 24 of the third embodiment detects the ON / OFF state of the DIP switch 103 and selects one of the following two processes. Each process will be described below. (1) When used for pitch designation First, the case where the functions of the performance keys 2a and 2b are used for pitch designation will be described. The pitch designation is performed by the on / off combination of the performance keys as in the first embodiment. The pitch designation is performed by referring to all KP values of KPa, KPb ... KPp, and the fingering table is the first embodiment (FIG. 5).
Is similar to. In this case, the CPU 24
a, KPb ... KPp, the same processing as in the first or second embodiment is performed.

【0057】(2)楽音制御に用いる場合 次に、演奏用キー2aおよび2bの機能を楽音制御、例
えば音高、音色、音量の制御に用いる場合について説明
する。楽音制御に用いられている場合は、各演奏用キー
のオン・オフの組合せによって音高指定する際にKP
a、KPbは無視されて、演奏用キー2a、2bはオフ
であるものとみなされる。なお、図11は、演奏用キー
2aおよび2bの機能を楽音制御に用いる場合に使用す
る運指表を示している。この場合、CPU24は、Kp
a、KPbのKP値に応じて楽音制御データ、例えば、
コントロールチェンジやプログラムチェンジ情報を出力
する。このように、押圧力を検出しているキーの一部で
楽音制御データを決定し、その他のキーによって音高を
決定している。
(2) When used for musical tone control Next, a case where the functions of the performance keys 2a and 2b are used for musical tone control, for example, pitch control, tone color control, and volume control will be described. When used for tone control, KP is used to specify the pitch by the combination of on / off of each performance key.
The keys a and KPb are ignored, and the playing keys 2a and 2b are considered to be off. Note that FIG. 11 shows a fingering table used when the functions of the performance keys 2a and 2b are used for tone control. In this case, the CPU 24 sets Kp
a, tone control data according to the KP value of KPb, for example,
Outputs control change and program change information. In this way, the musical tone control data is determined by a part of the keys that detect the pressing force, and the pitch is determined by the other keys.

【0058】(3)動作の詳細 次に図12および図13に示すフローチャートを参照し
て上記動作の詳細について説明する。まず、ディップス
イッチ103の設定を行う(S301)。ディップスイ
ッチ103の設定とは、1番目のスイッチDS1のオン
/オフの設定であり、スイッチDS1がオン状態のとき
は演奏用キー2aおよび2bは演奏用のハイトリルキー
として使用され、オフ状態のときは楽音制御のコントロ
ールキーとして使用される。
(3) Details of Operation Next, details of the above operation will be described with reference to the flow charts shown in FIGS. First, the dip switch 103 is set (S301). The setting of the DIP switch 103 is an ON / OFF setting of the first switch DS1. When the switch DS1 is in the ON state, the performance keys 2a and 2b are used as performance trill keys and in the OFF state. Is used as a control key for tone control.

【0059】ここで、図14は、ディップスイッチ設定
処理を示すフローチャートであり、以下ディップスイッ
チ設定処理について説明する。まず、CPU24は、デ
ィップスイッチ103の入力を取り込む(S401)。
そして1番目のスイッチについてオン/オフのイベント
があるか否かを判定する(S402)。イベントがあっ
た場合はその1番目のスイッチがオンであるか否かを判
定し(S403)、オンであればHT=1とする(S4
04)。1番目のスイッチがオフである場合は、HT=
0とする(S405)。HTはフラグであり、演奏用キ
ー2aおよび2bを音高制御に用いる場合はHT=1
(スイッチSD1=オン)、楽音制御に用いる場合はH
T=0(スイッチDS1=オフ)として識別する。
Here, FIG. 14 is a flow chart showing the dip switch setting processing, and the dip switch setting processing will be described below. First, the CPU 24 takes in the input of the dip switch 103 (S401).
Then, it is determined whether or not there is an on / off event for the first switch (S402). If there is an event, it is determined whether or not the first switch is on (S403), and if it is on, HT = 1 is set (S4).
04). If the first switch is off, HT =
It is set to 0 (S405). HT is a flag, and HT = 1 when the performance keys 2a and 2b are used for pitch control.
(Switch SD1 = on), H when used for tone control
It is identified as T = 0 (switch DS1 = OFF).

【0060】HTフラグ処理(S404、S405)が
終了した後、あるいはステップS402において1番目
のスイッチDS1にオン/オフのイベントがなかった場
合は、ステップS406へ進み2番目からn番目のスイ
ッチ(DS2…DSn)の設定処理を行う。これらのス
イッチはそれぞれ割り当てられている機能指定等に用い
られる。各スイッチの処理はステップS401〜S40
5と同様であり、それぞれ異なるフラグが用いられる。
After the HT flag processing (S404, S405) is completed, or when there is no on / off event in the first switch DS1 in step S402, the process proceeds to step S406 and the second to nth switches (DS2 (DSn) is set. These switches are used to specify the assigned functions. The processing of each switch is performed in steps S401 to S40.
5, and different flags are used.

【0061】説明を図12のフローチャートに戻す。デ
ィップスイッチの設定が終了した後(S301)、CP
U24は、BP値を検出する(S302)。そして、B
P値が0か否かを判定し(S303)、BP値が0の場
合は、処理はステップS301に戻る。BP値が0でな
い場合は、CPU24はKPa、KPb……KPpの各
値を順次検出し(S304)、それぞれのオン・オフ状
態とROM25内のテーブル(運指表図5の内容)を参
照することにより得られたノートナンバー算出し変数n
ote numberに収納する(S305)。
The description returns to the flowchart of FIG. After the DIP switch setting is completed (S301), CP
U24 detects a BP value (S302). And B
It is determined whether the P value is 0 (S303), and if the BP value is 0, the process returns to step S301. If the BP value is not 0, the CPU 24 sequentially detects the values of KPa, KPb ... KPp (S304), and refers to the respective ON / OFF states and the table (contents of the fingering chart FIG. 5) in the ROM 25. The note number obtained by calculating the variable n
It is stored in the ote number (S305).

【0062】次に、演奏用キー2aおよび2bのいずれ
か一方あるいは両方が操作されているか、すなわちKP
a、KPbが0であるか否かを判定する(S306)。
操作がされていない場合は、KPa=0、KPb=0で
あるのでステップS305で算出したノートナンバーに
影響はない。そこで処理はステップS309に進む。一
方操作がされている場合は、演奏用キー2aおよび2b
が音高指定に用いられるか、楽音制御に用いられるかに
よって楽音情報の種類が異なるため、ステップS307
へ進みHTフラグの判定をする(S307)。
Next, whether one or both of the performance keys 2a and 2b are operated, that is, KP
It is determined whether or not a and KPb are 0 (S306).
If no operation is performed, KPa = 0 and KPb = 0, so the note number calculated in step S305 is not affected. Therefore, the process proceeds to step S309. On the other hand, when the operation is performed, the performance keys 2a and 2b
Since the type of musical tone information differs depending on whether is used for pitch designation or musical tone control, step S307
The process proceeds to step S307 and the HT flag is determined.

【0063】ここでHT=1である場合は、演奏用キー
2aおよび2bは音高指定に用いられているので、ステ
ップS305で算出したノートナンバーに影響はない。
そこで処理はステップS309に進む。ステップS30
7においてHT=0の場合は、演奏用キー2aおよび2
bは楽音制御に用いられるので、KPa、KPbをオン
として算出したノートナンバーで出音すべきではない。
そこで、KPa、KPbの値にかかわらずKPa=0、
KPb=0として新たにノートナンバー(NN)を導出
し変数note numberに収納する(S30
8)。この場合のノートナンバーは、キー2a、2bを
除くキー2c〜2pのオンオフをもとにして図5で定ま
るテーブルTBUをもう一度参照して導出する。このよ
うにして出音されるノートナンバーが決定されると、ス
テップS309に進み、ノートナンバーを変数last
noteに収納し、変数last noteの内容を
ノートナンバーとしてノートオンを出力する(31
0)。
When HT = 1, the performance keys 2a and 2b are used to specify the pitch, so that the note number calculated in step S305 is not affected.
Therefore, the process proceeds to step S309. Step S30
If HT = 0 in 7, the performance keys 2a and 2
Since b is used for tone control, the note number calculated with KPa and KPb turned on should not be output.
Therefore, regardless of the values of KPa and KPb, KPa = 0,
A new note number (NN) is derived with KPb = 0 and stored in the variable note number (S30).
8). The note number in this case is derived by referring to the table TBU determined in FIG. 5 again based on the ON / OFF state of the keys 2c to 2p except the keys 2a and 2b. When the note number to be output is determined in this way, the process proceeds to step S309, and the note number is set to the variable last.
Note-on is output by using the contents of the variable last note as a note number ( S 31
0).

【0064】次に、図13に示すステップS311に進
み、再度BP値を検出する。そして、BP値が0か否か
を判定する(S312)。ここで、BP値が0の場合
は、ノートオフを出力し(S313)、ステップS30
1に戻る。すなわち、演奏者が息の吹き込みを停止する
と消音のための楽音信号の消音開始を指示するノートオ
フが出力される(S313)。そしてその後、次の状態
検出を行うためステップS301に戻る。BP値が0で
ない場合は、BP値に応じた内容のコントロールチェン
ジを出力する(S314)。例えば、吹き込む圧力が強
い(BPが10に近い)ほど音量を上げ、圧力が弱い
(BPが1に近い)ほど音量を下げるコントロールチェ
ンジ(制御対象の種類である「音量」と、どのくらいに
するかのデータすなわち「レベル」をセットにしたも
の)を出力する。
Next, in step S311 shown in FIG. 13, the BP value is detected again. Then, it is determined whether the BP value is 0 (S312). If the BP value is 0, note-off is output (S313), and step S30 is performed.
Return to 1. That is, when the performer stops blowing, a note-off for instructing to start muting the tone signal for muting is output (S313). After that, the process returns to step S301 to detect the next state. If the BP value is not 0, the control change having the content corresponding to the BP value is output (S314). For example, a control change (a volume, which is the type of a control target) and how much is increased as the blowing pressure is stronger (BP is close to 10), and the volume is weaker (BP is close to 1). Data (that is, a set of "levels") is output.

【0065】次に、再びKPa、KPb……KPp値を
取り込み(S315)、オン・オフを検出するととも
に、運指表を参照することにより得られたノートナンバ
ーを変数note numberに収納する(S31
6)。そしてステップS306と同様に、演奏用キー2
aおよび2bのいずれか一方あるいは両方が操作されて
いるか否かを判定する(S317)。操作がされていな
い場合は、KPa=0、KPb=0であるのでステップ
S316で算出したノートナンバーに影響はないため処
理はステップS322へ進む。 操作がされている場合
は、ステップS318に進みHTフラグの判定をする
(S318)。HT=1である場合は演奏用キー2aお
よび2bは音高指定に用いられているので、ステップS
305で算出したノートナンバーに影響はなく処理はス
テップS322に進む。
Next, the KPa, KPb ... KPp values are fetched again (S315), ON / OFF is detected, and the note number obtained by referring to the fingering table is stored in the variable note number (S31).
6). Then, as in step S306, the performance key 2
It is determined whether or not one or both of a and 2b are operated (S317). If no operation has been performed, KPa = 0 and KPb = 0, so there is no effect on the note number calculated in step S316, and the process proceeds to step S322. When the operation is performed, the process proceeds to step S318 and the HT flag is determined (S318). If HT = 1, the performance keys 2a and 2b are used for pitch designation, so step S
The note number calculated in 305 is not affected and the process proceeds to step S322.

【0066】しかし、HT=0である場合は演奏用キー
2aおよび2bは楽音制御に用いられているのでステッ
プS319に進む。楽音制御は発音されている音のパラ
メータを変化させることを目的とするため、発音中の音
がないときは楽音制御をする必要がない。そこで、ステ
ップS319では発音中か否かが判定される。ここで
は、ステップS311と同様にBP値を検出して、BP
=0(息の吹き込みがない場合)であれば発音中ではな
いと判断される。発音中ではないと判断された場合は、
消音開始を指示するノートオフが出力され(S31
3)、次の状態検出を行うためステップS301に戻
る。
However, if HT = 0, the performance keys 2a and 2b are used for tone control, so the flow advances to step S319. Since the tone control is intended to change the parameter of the sound being produced, it is not necessary to perform the tone control when there is no sound being produced. Therefore, in step S319, it is determined whether or not the sound is being generated. Here, the BP value is detected as in step S311, and the BP value is detected.
If = 0 (no breath is blown), it is determined that the sound is not being generated. If it is determined that the note is not being pronounced,
A note-off commanding the start of mute is output (S31
3) and returns to step S301 to detect the next state.

【0067】発音中である場合は楽音制御が必要とな
り、ここではMIDI規格のコントロールチェンジを出
力する(S320)。コントロールチェンジはコントロ
ールチェンジナンバー4のフットコントローラーとし、
パラメータとしてKPa、KPbのA/D値を出力す
る。これにより演奏者がキーを押下する圧力に応じた楽
音制御が行われる。これにより受け取る側の音源部24
1で設定された楽音制御の種類とレベルデータ(前記A
/D値)により定まる楽音制御がなされる。つまり音源
側のセッティングによっても、楽音制御対象が変更可能
となっている。
If a tone is being generated, tone control is required, and a MIDI standard control change is output here (S320). Control change is the foot controller with control change number 4,
A / D values of KPa and KPb are output as parameters. As a result, musical tone control is performed according to the pressure with which the player presses the key. As a result, the sound source unit 24 on the receiving side
Type of tone control and level data set in 1 (A above)
/ D value), the musical tone control is performed. In other words, the musical tone control target can be changed also by the setting on the sound source side.

【0068】そして、ステップS308と同様に、KP
a、KPbの値にかかわらずKPa=0、KPb=0と
して発音すべきノートナンバーを算出して変数note
numberに収納し(S321)、ステップS32
2へ進む。次に、変数note numberと変数l
ast noteの内容を比較し(S322)、変数n
ote number=変数last noteでない
場合は、ステップS323に進み、変数note nu
mber=変数lastnoteである場合は、ステッ
プS326へ進む。
Then, as in step S308, KP
Regardless of the values of a and KPb, the note number to be pronounced is calculated with KPa = 0 and KPb = 0 and the variable note is calculated.
Stored in number (S321), step S32
Go to 2. Next, the variable note number and the variable l
The contents of ast note are compared (S322), and the variable n
if not number = variable last note, the process proceeds to step S323, and variable note nu.
If mber = variable lastnote, the process proceeds to step S326.

【0069】ステップS323に至る場合は、運指が変
更されて音高が変化したと判定された場合である。この
ステップS323においては、変数note numb
erの内容を変数last noteに収納する。そし
て、ステップS324に移って、ノートオフを出力す
る。これにより、それ以前の音高の楽音が停止される。
次に、変数last noteの内容をノートナンバー
としてノートオンとともに出力し(S325)、ステッ
プS326へ進む。
The step S323 is reached when it is determined that the fingering is changed and the pitch is changed. In this step S323, the variable note_numb is used.
The contents of er are stored in the variable last note. Then, the process proceeds to step S324, and note-off is output. As a result, the musical tone of the previous pitch is stopped.
Next, the content of the variable last note is output as a note number together with note-on (S325), and the process proceeds to step S326.

【0070】ステップS326において、CPU24
は、オンと判断された演奏用キーのうち一番下にあるキ
ーを検出し、一番下にあるキーのKP値を変数PP(図
示略)に収納する(S326)。次に、変数PPに応じ
てプレッシャー値を決定してアフタータッチ情報を出力
し(S327)、ステップS311に戻る。以後、BP
値が0となって(S312あるいはS319)ステップ
301に進まない限り、ステップS311〜ステップS
327が繰り返される。なおステップS326およびス
テップS327は、第1実施形態で説明したステップS
17に置換することでスラー制御を行うことも可能であ
る。以上の記載から、モード指定手段にて指定操作があ
った場合に、特定キー(2a、2b)の操作にて音高指
定以外の楽音制御パラメータを発生する楽音制御パラメ
ータ発生手段は、ROM25およびCPU24あるい
は、これらに加えて音源部241が該当する。そしてこ
こでの楽音制御パラメータは、ステップS320で発生
される制御データに当たる。上述した第の実施形態に
おいては、音高を決定するキーの各々について押下状態
を検出する押下状態検出手段(CPU24)と、この押
下状態検出手段の検出値に基づいて前記各キー毎にオン
/オフを決定し、決定したオン/オフ状態に基づいて音
高を決定する音高決定手段(CPU24、ROM25内
のテーブル)と、前記押下状態検出手段が検出した前記
各キーの検出値のうち、所定のキー(一番下あるいは一
番上のキー)の検出値に基づいて、楽音を制御するため
の楽音制御信号(アフタータッチなど)を生成する楽音
制御信号生成手段(CPU24)とを具備している
たがって、所定のキーの押圧力を加減すると、これに対
応した楽音制御信号が楽音制御信号生成手段によって
成されるので、例えば、ビブラート等の効果を簡単に楽
音に付与することができる。特に、前記楽音制御信号生
成手段が、一番下のキーの検出値に基づいて楽音制御信
号を生成した場合は、極めて演奏操作が極めて行い易い
という効果がある
In step S326, the CPU 24
Detects the lowest key among the performance keys that are determined to be ON, and stores the KP value of the lowest key in the variable PP (not shown) (S326). Next, the pressure value is determined according to the variable PP, the aftertouch information is output (S327), and the process returns to step S311. After that, BP
Unless the value becomes 0 (S312 or S319) and the process proceeds to step 301, steps S311 to S3
327 is repeated. Note that step S326 and step S327 are the same as step S described in the first embodiment.
It is also possible to perform slur control by substituting it with 17. From the above description, when there is a designation operation by the mode designation means, the tone control parameter generation means for generating the tone control parameters other than the pitch designation by the operation of the specific keys (2a, 2b) is the ROM 25 and the CPU 24. Alternatively, in addition to these, the sound source unit 241 corresponds. The musical tone control parameter here corresponds to the control data generated in step S320. In the above-described third embodiment, the pressed state detecting means (CPU 24) that detects the pressed state of each of the keys that determine the pitch, and the ON state for each key based on the detection value of this pressed state detecting means. Of pitch detection means (table in CPU 24, ROM 25) for determining pitch based on the determined on / off state, and detection values of each key detected by the pressed state detection means , A tone control signal generating means (CPU 24) for generating a tone control signal (aftertouch, etc.) for controlling a tone based on a detection value of a predetermined key (bottom or top key). I am doing . Therefore, when adjusting the pressing force of the predetermined key, the musical tone control signal corresponding thereto is made to thus raw <br/> musical tone control signal generating means, for example, to impart a simple musical effects vibrato etc. be able to. In particular, when the musical tone control signal generating means generates the musical tone control signal based on the detection value of the bottom key, there is an effect that the playing operation is extremely easy to perform .

【0071】3−3.第3実施形態の変形 前述した第3実施形態では、楽音制御の態様として、上
記モード指定手段(ディップスイッチ)の指定操作がな
かった場合であって、音高を指定するキー(2a〜2
p)操作にて該キーに対応した音高指定操作がなされ、
該音高指定された楽音を楽音情報発生手段から発生する
ようにし、上記モード指定手段の指定操作があった場合
で、且つ特定キー(2a、2b)以外の操作時にも該キ
ー操作に対応した音高操作がなされ、該音高に指定され
た楽音を上記楽音情報発生手段から発生するようにする
とともに、上記モード指定手段にて指定操作があった場
合であって、上記特定キー操作をした場合、上記楽音制
御パラメータ発生手段から音高指定以外の楽音制御パラ
メータを発生して該パラメータで上記楽音情報発生手段
からの楽音を制御するようにしている。そして、この楽
音制御は、アナログ的に変化し得るものであった。即
ち、ある音高を有する楽音を発生中にHT=0もモード
にてハイトリルキーを操作した場合に発音中の楽音に音
色変更を含む各種効果制御を可能とするとともにどのく
らい制御するのかと言うレベル情報もKPa、KPbの
値によって制御可能にした。さらに、音高を決定するの
にアナログキーセンサの所定レベル値以上もしくは以下
を検出して各キーセンサのオンオフの組み合わせにて決
定された。しかしながら、上記楽音制御を行うのに、キ
ーセンサ2Sa〜2Spは、感圧センサである必要がな
く、単なる接点のオンオフスイッチであってもよい。こ
のようにすると、コントロールチェンジ情報としては、
効果のオンオフ(例えば、サステイン、リバーブ、ポル
タメントのオンオフ等)のみになるが、キーのセンシン
グ処理は単純化される。なお、ハイトリルキー2a,2
bを単なるスイッチとして構成した場合、キー2aは、
2bより操作しにくいので、メカ的に自己復帰的であっ
て電気的にプッシュオンプッシュオフスイッチ、キー2
bは、メカ的に自己復帰的であってプッシュオンリリー
スオフのいわゆるノンロックスイッチを配置するとよ
い。また、効果制御はコントロールチェンジ(ナンバー
4のフットコントローラー)としたがこれに限定され
ず、ピッチベンド、音量、音色、音量・音色、トレモロ
深さ、トレモロ速さ、ビブラートピッチ、サックス特有
のざらつき等でもよい。いずれの制御をおこなうかの選
択をディップスイッチによって行ってもよい。
3-3. Modification of Third Embodiment In the above-described third embodiment, as a mode of the tone control, when there is no designation operation of the mode designation means (dip switch), the keys (2a to 2) for designating the pitch are set.
In p) operation, the pitch designation operation corresponding to the key is performed,
The tone specified tone pitch is generated from the tone information generating means, and the key operation is also supported when the mode designating means is operated and when the operation other than the specific keys (2a, 2b) is performed. When a pitch operation is performed and a musical sound designated by the pitch is generated from the musical tone information generating means, and the designated operation is performed by the mode designating means, the specific key operation is performed. In this case, a tone control parameter other than the pitch designation is generated from the tone control parameter generating means, and the tone from the tone information generating means is controlled by the parameter. And, this tone control can be changed in an analog manner. That is, when HT = 0 mode is operated while a musical tone having a certain pitch is being generated, various effect controls including tone color change can be performed on the musical tone being sounded, and how much control is performed. Information can also be controlled by the values of KPa and KPb. Furthermore, in order to determine the pitch, a value above or below a predetermined level value of the analog key sensor is detected, and it is determined by a combination of ON / OFF of each key sensor. However, in order to perform the tone control, the key sensors 2Sa to 2Sp do not have to be pressure sensitive sensors, and may be simple contact on / off switches. In this way, the control change information is
The effect is only on / off (for example, sustain, reverb, portamento on / off, etc.), but the key sensing process is simplified. It should be noted that the high trill keys 2a, 2
If b is configured as a simple switch, the key 2a is
It is harder to operate than 2b, so it is mechanically self-resetting and electrically push-on push-off switch, key 2
For b, a so-called non-lock switch that is mechanically self-restoring and push-on / release-off may be arranged. Also, the effect control is the control change (number 4 foot controller), but it is not limited to this, and pitch bend, volume, timbre, volume / timbre, tremolo depth, tremolo speed, vibrato pitch, sax-specific roughness etc. Good. Either control may be selected by a DIP switch.

【0072】4.第4実施形態 第4実施形態では、図10に示すオクターブキーU1、
U2、D1およびD2の機能を指定できる場合について
説明する。 4−1.第4実施形態の構成 まず第4実施形態の構成について説明するが、本実施形
態の構成は第3実施形態と同様であるためオクターブキ
ーU1、U2、D1およびD2以外の説明は省略する。
オクターブキーU1、U2、D1およびD2は、それぞ
れ演奏用キー2a…2pと同様の構成をしており、演奏
者がキーを押下した圧力に応じた各キーのA/D値を検
出することができる。以下各キーのA/D値をKPU
1、KPU2、KPD1、KPD2とする。また、オク
ターブキーU1、U2、D1およびD2の機能をディッ
プスイッチ103によって指定することができ、2番目
のスイッチDS2をオンとした場合をモード(M)1、
オフとした場合をモード(M)0とする。各モードにつ
いては後述する動作説明において詳述する。
4. Fourth Embodiment In the fourth embodiment, the octave key U1 shown in FIG.
A case where the functions of U2, D1 and D2 can be designated will be described. 4-1. Configuration of Fourth Embodiment First, the configuration of the fourth embodiment will be described. However, since the configuration of the present embodiment is the same as that of the third embodiment, the description other than the octave keys U1, U2, D1 and D2 will be omitted.
The octave keys U1, U2, D1 and D2 have the same configuration as the performance keys 2a ... 2p, respectively, and can detect the A / D value of each key according to the pressure with which the performer presses the key. it can. The A / D value of each key is KPU
1, KPU2, KPD1, and KPD2. Further, the functions of the octave keys U1, U2, D1 and D2 can be designated by the dip switch 103, and the case where the second switch DS2 is turned on is the mode (M) 1,
When it is turned off, the mode (M) 0 is set. Each mode will be described in detail in the operation description given later.

【0073】4−2.第4実施形態の動作 次に図15、図16に示すフローチャートを用いて第4
実施形態の動作について説明する。まずディップスイッ
チの設定処理を行う(S501)。ディップスイッチ1
03の設定は、2番目のスイッチDS2のオン/オフ状
態からオクターブキーU1、U2、D1およびD2の機
能を指定することであり、スイッチDS2がオン状態の
ときはオクターブ変換およびコントロールチェンジを行
うモード(M1)であり、オフ状態のときはオクターブ
変換のみを行うモード(M0)である。
4-2. Operation of Fourth Embodiment Next, the fourth embodiment will be described with reference to the flowcharts shown in FIGS.
The operation of the embodiment will be described. First, a dip switch setting process is performed (S501). DIP switch 1
The setting of 03 is to specify the function of the octave keys U1, U2, D1 and D2 from the ON / OFF state of the second switch DS2, and the mode for performing octave conversion and control change when the switch DS2 is in the ON state. (M1), which is a mode (M0) in which only octave conversion is performed in the off state.

【0074】ここで、図17は、ディップスイッチ設定
処理を示すフローチャートであり、以下ディップスイッ
チ設定処理について説明する。まず、CPU24は、デ
ィップスイッチ103の入力を取り込む(S601)。
そして2番目のスイッチDS2がオン/オフのイベント
があるか否かを判定する(S602)。イベントがあっ
た場合はその2番目のスイッチDS2がオンであるか否
かを判定し(S603)、オンであればM=1とする
(S604)。2番目のスイッチDS2がオフである場
合は、M=0とする(S405)。Mは、モード1(ス
イッチSD2=オン)、モード2(スイッチDS1=オ
フ)を識別するためのフラグである。
Here, FIG. 17 is a flow chart showing the dip switch setting processing, and the dip switch setting processing will be described below. First, the CPU 24 takes in the input of the dip switch 103 (S601).
Then, it is determined whether or not there is an on / off event of the second switch DS2 (S602). If there is an event, it is determined whether the second switch DS2 is on (S603), and if it is on, M = 1 is set (S604). When the second switch DS2 is off, M = 0 is set (S405). M is a flag for identifying mode 1 (switch SD2 = on) and mode 2 (switch DS1 = off).

【0075】Mフラグ処理(S604、S605)が終
了した後、あるいはステップS602において2番目の
スイッチDS2にオン/オフのイベントがなかった場合
は、ステップS606へ進み他のスイッチ(DS1、D
S3…DSn)の設定処理を行う。これらのスイッチは
それぞれ割り当てられている機能指定等に用いられる。
各スイッチの処理はステップS601〜S605と同様
であり、それぞれ異なるフラグが用いられる。
After the M flag processing (S604, S605) is completed, or when there is no on / off event in the second switch DS2 in step S602, the process proceeds to step S606 and the other switches (DS1, D).
S3 ... DSn) is set. These switches are used to specify the assigned functions.
The processing of each switch is similar to steps S601 to S605, and different flags are used.

【0076】説明を図15のフローチャートに戻す。デ
ィップスイッチの設定が終了した後(S501)、CP
U24は、BP値を検出する(S502)。そして、B
P値が0か否かを判定し(S503)、BP値が0の場
合は、処理はステップS501に戻る。BP値が0でな
い場合は、CPU24はKPa、KPb……KPpの各
値を順次検出し(S504)、それぞれのオン・オフ状
態とROM25内のテーブル(運指表図5の内容)を参
照することにより得られたノートナンバー算出し変数n
ote numberに収納する(S505)。
The description returns to the flowchart of FIG. After the DIP switch setting is completed (S501), CP
The U24 detects the BP value (S502). And B
It is determined whether the P value is 0 (S503), and if the BP value is 0, the process returns to step S501. When the BP value is not 0, the CPU 24 sequentially detects the respective values of KPa, KPb ... KPp (S504), and refers to the respective ON / OFF states and the table in ROM 25 (contents of the fingering chart FIG. 5). The note number obtained by calculating the variable n
It is stored in the ote number (S505).

【0077】次に、オクターブキーU1、U2、D1あ
るいはD2のいずれかが操作されているを判定する(S
506)。操作がされていない場合は、オクターブ変換
を行う必要がないのでステップS305で算出したノー
トナンバーに影響はない。そこで処理はステップS30
9に進む。一方オクターブキーU1、U2、D1あるい
はD2のいずれかが操作がされている場合は、オクター
ブを変換すべき指示がされていることになるので、ステ
ップ505において求めたノートナンバーと出音すべき
ノートナンバーは異なる。そこで、ステップS507へ
進みモードの判定を行う。
Next, it is judged whether any one of the octave keys U1, U2, D1 and D2 is operated (S
506). If the operation has not been performed, it is not necessary to perform the octave conversion, so the note number calculated in step S305 is not affected. Therefore, the process is step S30.
Proceed to 9. On the other hand, if any of the octave keys U1, U2, D1 or D2 is operated, it means that the octave conversion is instructed. Therefore, the note number obtained in step 505 and the note to be output are The numbers are different. Therefore, the process proceeds to step S507 to determine the mode.

【0078】ここで、CPU24はモードに応じて異な
る処理を行うことになり、まずMフラグの判定をする
(S507)。M=1ではない、すなわちモード0の場
合はROM25に記憶されたモードM0用テーブルTB
L1を参照する(S508)。ここで図18は各モード
における処理に使用するテーブルを示した図である。テ
ーブルTBL1は、オクターブキーU1、U2、D1、
D2各々のオン(1)、オフ(0)の組み合わせによっ
て出力される数値を示している。例えば1行目の組み合
わせではオクターブキーD1のみがオン状態であり、出
力される値は−2である。出力される値は、オクターブ
変換される量を示し、−1であれば1オクターブ、−2
であれば2オクターブ下がり、+1であれば1オクター
ブ、+2であれば2オクターブ上がる。0はオクターブ
変換は行われない。なお、オクターブキーU1、U2、
D1、D2のオン/オフの決定はKP値が0の場合はオ
フとして1から10である場合をオンとするが、これに
限定されるものではない。
Here, the CPU 24 performs different processing depending on the mode, and first determines the M flag (S507). If M = 1, that is, if mode 0, mode TB table TB stored in ROM 25
Reference is made to L1 (S508). Here, FIG. 18 is a diagram showing a table used for processing in each mode. The table TBL1 has octave keys U1, U2, D1,
The numerical value output by the combination of ON (1) and OFF (0) of each D2 is shown. For example, in the combination of the first row, only the octave key D1 is in the ON state, and the output value is -2. The output value indicates the amount of octave conversion. If -1, it is 1 octave, -2
If that is the case, 2 octaves lower, if +1 it is 1 octave, and if +2 it is 2 octaves higher. For 0, octave conversion is not performed. The octave keys U1, U2,
The determination of ON / OFF of D1 and D2 is such that when the KP value is 0, it is turned off and when it is from 1 to 10, it is turned on, but the invention is not limited to this.

【0079】説明を図15のフローチャートに戻す。ス
テップS508ではテーブルTBL1を参照して得られ
た値は変数BUFに収納され、処理はステップS510
に進む。ステップS507においてM=1すなわちモー
ド1の場合はROM25に記憶されたモードM1用テー
ブルTBL2を参照する(S509)。図18に示すテ
ーブルTBL2は、オクターブキーU1、U2、D1、
D2各々のオン(1)、オフ(0)の組み合わせによっ
て出力される値あるいは楽音制御指示を示している。例
えば1行目の組み合わせではオクターブキーD1のみが
オン状態であり、この場合はオクターブキーD1のKP
値に応じたコントロールチェンジを出力すべきコード
(CNN)が出力されることを示している。コントロー
ルチェンジは例えばフットコントローラー(ナンバー
4)や音量のコントロール(ナンバー7)等である。ま
た、3行目の組み合わせではオクターブキーD2のみが
オン状態であり、この場合は出力される値は−1であ
る。すなわちモードM1では、D1あるいはU2がオン
状態の場合はオクターブキーは楽音制御(コントロール
チェンジ)に用いられ、D2のみあるいはU1のみがオ
ン状態の場合は1オクターブ変換処理を行う。そして、
TBL2を参照して得られた値は変数BUFに収納さ
れ、処理はステップS510に進む。
The description returns to the flowchart of FIG. In step S508, the value obtained by referring to the table TBL1 is stored in the variable BUF, and the process proceeds to step S510.
Proceed to. When M = 1 in step S507, that is, in the case of mode 1, the table TBL2 for mode M1 stored in the ROM 25 is referred to (S509). The table TBL2 shown in FIG. 18 has octave keys U1, U2, D1,
A value or a tone control instruction output by a combination of ON (1) and OFF (0) of each D2 is shown. For example, in the combination of the first row, only the octave key D1 is on, and in this case, the octave key D1's KP
It indicates that the code (CNN) that should output the control change according to the value is output. The control change is, for example, a foot controller (number 4) or volume control (number 7). Further, in the combination of the third row, only the octave key D2 is in the ON state, and in this case, the output value is -1. That is, in mode M1, the octave key is used for tone control (control change) when D1 or U2 is in the ON state, and one octave conversion process is performed when only D2 or U1 is in the ON state. And
The value obtained by referring to TBL2 is stored in the variable BUF, and the process proceeds to step S510.

【0080】ステップS510では、変数BUFに収納
された値がオクターブデータであるか否かが判定され
る。オクターブデータとは、テーブルTBL1またはテ
ーブルTBL2を参照して得られた値が−2、−1、
0、+1、+2の何れかである場合をいう。そして、ス
テップS505で算出されたノートナンバーから変数B
UFの示す数値分だけオクターブ変換を行った出音をす
るためにステップS512へ進む。
In step S510, it is determined whether the value stored in the variable BUF is octave data. The octave data is a value obtained by referring to the table TBL1 or the table TBL2 is -2, -1,
It refers to the case of any one of 0, +1, and +2. Then, the variable B is calculated from the note number calculated in step S505.
The process proceeds to step S512 in order to produce a sound that has been octave converted by the numerical value indicated by UF.

【0081】一方、参照して得られた値がコントロール
チェンジを出力すべきコード(CNN)であった場合
は、変数BUFはオクターブデータとは判定されずステ
ップS511へ進み、変数BUF=0とする。この段階
では発音がまだなされていないため、コントロールチェ
ンジすべき出音が存在しない。そこで変数BUFに収納
されているコードは無視され、ステップS505で算出
されたノートナンバーで最初の出音がされるものとす
る。そして、次のステップS512では変数BUFに収
納された値を用いてこれから出音すべきノートナンバー
を算出するため、変数BUFに0を収納する(S51
1)。
On the other hand, if the value obtained by reference is the code (CNN) for outputting the control change, the variable BUF is not judged to be octave data and the process proceeds to step S511 to set the variable BUF = 0. . At this stage, no sound has been produced yet, so there is no sound to be changed. Therefore, it is assumed that the chord stored in the variable BUF is ignored, and the first sound is output with the note number calculated in step S505. Then, in the next step S512, the value stored in the variable BUF is used to calculate the note number to be output, so 0 is stored in the variable BUF (S51).
1).

【0082】次に、ステップS512におけるノートナ
ンバー算出処理を説明する。ステップS505で算出さ
れたノートナンバーは変数note numberに収
納されている。また、変換されるべきオクターブ量は変
数BUFに収納されている(S508、S509参
照)。そこで、出音すべきノートナンバーは次式によっ
て算出され、変数last noteに収納される。 last note=note number+12*BUF …(数1)
Next, the note number calculation processing in step S512 will be described. The note number calculated in step S505 is stored in the variable note number. The octave amount to be converted is stored in the variable BUF (see S508 and S509). Therefore, the note number to be output is calculated by the following equation and stored in the variable last note. last note = note number + 12 * BUF… (Equation 1)

【0083】例えば、note number=60
(ド:C3)、BUF=+1であった場合、last
note=60+12×1=72(ド:C4)となり、
1オクターブ上がったノートナンバーで出音されること
になる。また、note number=60(ド:C
3)、BUF=−2であった場合、last note
=60+12×(−2)=36(ド:C1)となり、2
オクターブ下がったノートナンバーで出音されることに
なる。また、note number=60(ド:C
3)、BUF=0であった場合、last note=
60+12×0=60(ド:C3)となり、オクターブ
変換は行われないことになる。
For example, note number = 60
(Do: C3), if BUF = + 1, last
note = 60 + 12 × 1 = 72 (C: C4),
The note number will be played one octave higher. Also, note number = 60 (de: C
3), if BUF = -2, last note
= 60 + 12 × (−2) = 36 (C: C1), which is 2
It will be played with the octave lowered note number. Also, note number = 60 (de: C
3), if BUF = 0, last note =
60 + 12 × 0 = 60 (de: C3), and octave conversion is not performed.

【0084】次に次回のノートナンバー算出のために変
数BUFに0を収納する(S513)。変数BUFに今
回収納した値がそのままになった場合は、次回の各キー
の状態検出の結果オクターブキーが操作されていない場
合でもオクターブ変換が行われてしまうからである(後
述するステップS519〜S528参照)。そして変数
last noteをノートナンバーとしてノートオン
を出力する(S514)。
Next, 0 is stored in the variable BUF for the next note number calculation (S513). This is because, if the value stored this time remains unchanged in the variable BUF, octave conversion will be performed even if the octave key is not operated as a result of the state detection of each key next time (steps S519 to S528 described later). reference). Then, note-on is output using the variable last note as a note number (S514).

【0085】フローチャートは図16に移り、ステップ
S515では、2回目の状態検出が行われる。すなわ
ち、CPU24は再度BP値を検出し(S515)、B
P値が0か否かを判定する(S516)。ここでBP値
が0の場合は、消音を指示するためのノートオフを出力
し(S517)、初期段階(S501)へ戻る。一方ス
テップS516で検出されたBP値が0でない場合は、
BP値に応じたコントロールチェンジを出力し(S51
9)、次に再び各オクターブキーのKP値(KPUI、
KPU2、KPD1、KPD2)を取り込む(S51
9)。次に、ステップS506と同様にオクターブキー
U1、U2、D1あるいはD2のいずれかが操作されて
いるを判定する(S520)。操作がされていない場合
は、オクターブ変換を行う必要がないので次のステップ
S327で算出するノートナンバーを変更する必要はな
い。すなわち、先に説明したステップS513で変数B
UFに0を収納したままでよい。一方オクターブキーU
1、U2、D1あるいはD2のいずれかが操作がされて
いる場合は、オクターブを変換すべき指示がされている
ことになるので、ステップ527において求めるノート
ナンバーと出音すべきノートナンバーは異なる。
The flowchart moves to FIG. 16, and in step S515, the second state detection is performed. That is, the CPU 24 detects the BP value again (S515), and B
It is determined whether the P value is 0 (S516). If the BP value is 0, note-off for instructing the mute is output (S517), and the process returns to the initial stage (S501). On the other hand, if the BP value detected in step S516 is not 0,
A control change corresponding to the BP value is output (S51
9) and then again the KP value of each octave key (KPUI,
(KPU2, KPD1, KPD2) is imported (S51
9). Next, similarly to step S506, it is determined whether any one of the octave keys U1, U2, D1 and D2 is operated (S520). If the operation has not been performed, it is not necessary to perform the octave conversion, so there is no need to change the note number calculated in the next step S327. That is, in step S513 described above, the variable B
You can leave 0 in the UF. On the other hand, octave key U
If any one of U1, U2, D1 and D2 is operated, it means that the octave conversion is instructed. Therefore, the note number obtained in step 527 and the note number to be output are different.

【0086】ステップS521ないしS523は上述の
ステップS507ないしS509と同様であるため説明
は省略する。ステップS522あるいはS523におい
て変数BUFに収納された値がオクターブデータである
場合は(S524)、ステップS527に進む。しか
し、ステップS524において変数BUFに収納された
値がコントロールチェンジを出力すべきコードであった
場合は、オン状態を検出したオクターブキーのKP値
(例えばKPU1)に応じたコントロールチェンジを出
力する(525)。この処理により、ステップS514
での出音を変化することができる。そしてオクターブ変
換が行われないように変数BUFに0を収納し(S52
6)。ステップS257へ進む。
Since steps S521 to S523 are the same as steps S507 to S509 described above, a description thereof will be omitted. If the value stored in the variable BUF in step S522 or S523 is octave data (S524), the process proceeds to step S527. However, if the value stored in the variable BUF is the code that should output the control change in step S524, the control change corresponding to the KP value (for example, KPU1) of the octave key whose ON state is detected is output (525). ). By this processing, step S514
You can change the sound output at. Then, 0 is stored in the variable BUF so that the octave conversion is not performed (S52
6). It proceeds to step S257.

【0087】ステップS527では、再度各演奏用キー
のKP値が検出され、その値に応じて運指表からノート
ナンバーが算出され変数note numberに収納
される。そして、前述の数式1を用いて算出されたノー
トナンバーが変数control noteに収納され
る(S528)。変数control noteとは、
現在出音されているノートナンバーと今回の検出によっ
て算出されたノートナンバーを比較するための変数であ
り、control note=last noteで
はない場合は(S529)、出音中の音高が変更されて
いるので消音して新たなノートナンバーで出音をする必
要があるため、ステップS530に進む。ステップS5
30では、変数last noteに変数contro
l noteの値を収納する。そしてノートオフを出力
する(S531)。そして、last noteをノー
トナンバーとしてノートオンを出力し(S532)ステ
ップS533へ進む。ステップS529においてcon
trol note=last noteである場合
は、出音中の音高が変更されていないので消音して新た
な出音をする必要がなく、そのままステップS533に
進む。
In step S527, the KP value of each performance key is detected again, the note number is calculated from the fingering table according to the detected value, and the KP value is stored in the variable note number. Then, the note number calculated using Equation 1 is stored in the variable control note (S528). The variable control note is
This is a variable for comparing the currently output note number with the note number calculated by this detection, and if control note = last note is not set (S529), the pitch being output is changed. Since it is necessary to mute the sound and output a new note number, the process proceeds to step S530. Step S5
In 30, the variable last note is set to the variable contro
Stores the value of l note. Then, note-off is output (S531). Then, note-on is output with last note as the note number (S532), and the process proceeds to step S533. In step S529, con
If troll note = last note, the pitch during sound output has not been changed, so there is no need to mute a new sound and proceed directly to step S533.

【0088】ステップS533において、CPU24
は、オンと判断された演奏用キーのうち一番下にあるキ
ーを検出し、一番下にあるキーのKP値を変数PP(図
示略)に収納する。次に、変数PPに応じてプレッシャ
ー値を決定してアフタータッチ情報を出力し(S53
4)、ステップS515に戻る。以後、BP値が0にな
るまで、ステップS515〜ステップS534が繰り返
される。なおステップS533およびステップS534
は、第1実施形態で説明したステップS17に置換する
ことでスラー制御を行うことも可能である。
In step S533, the CPU 24
Detects the key at the bottom of the playing keys that are determined to be on, and stores the KP value of the key at the bottom in a variable PP (not shown). Next, a pressure value is determined according to the variable PP, and aftertouch information is output (S53).
4) and returns to step S515. After that, steps S515 to S534 are repeated until the BP value becomes 0. Note that step S533 and step S534
Can be replaced with step S17 described in the first embodiment to perform slur control.

【0089】4−3.第4実施形態の変形例 コントロールチェンジによって出力されるコントロール
チェンジナンバーは予め定められていても選択できるよ
うにしてもよい。その場合ディップスイッチ103の設
定によって選択できるようにする。また、上述の説明で
はオクターブキーU1、U2、D1、D2は圧力スイッ
チとしたが、単にオン・オフを検出できるだけのスイッ
チでもよい。例えば、機械的な接点スイッチでも光学的
なスイッチでもよい。しかしこの場合は、テーブルTB
L2において指定されるコントロールチェンジのパラメ
ータは2値となる。以上のように、第4実施形態は、第
3実施形態における楽音制御パラメータ発生手段が発生
する楽音制御パラメータを、オクターブ単位の音高変更
を指示するパラメータとしている。この結果、特定キー
(U1、U2、D1、D2)を操作するだけで、音高を
オクターブ単位で一気に変化させることができる。
4-3. Modification of Fourth Embodiment The control change number output by the control change may be predetermined or selectable. In that case, the setting can be made by setting the DIP switch 103. Further, although the octave keys U1, U2, D1 and D2 are pressure switches in the above description, they may be switches capable of simply detecting ON / OFF. For example, it may be a mechanical contact switch or an optical switch. However, in this case, the table TB
The control change parameter designated in L2 is binary. As described above, in the fourth embodiment, the musical tone control parameter generated by the musical tone control parameter generating means in the third embodiment is used as a parameter for instructing pitch change in octave units. As a result, the pitch can be changed all at once in octave units simply by operating the specific keys (U1, U2, D1, D2).

【0090】5.変形例 なお、本発明は既述した実施形態に限定されるものでは
なく、以下のような各種の変形が可能である。
5. Modifications The present invention is not limited to the above-described embodiments, and various modifications as described below are possible.

【0091】上記実施形態においては、演奏用キーの操
作態様に応じた楽音特性の制御がなされるよう構成され
ているが、制御をキャンセルするスイッチを設け、操作
態様を適宜変化させるのが困難な初心者にも操作が容易
であるようにしてもよい。
In the above embodiment, the musical tone characteristics are controlled according to the operation mode of the performance keys, but it is difficult to change the operation mode by providing a switch for canceling the control. The operation may be easy even for a beginner.

【0092】また、操作態様の制御は、演奏用キーの押
圧を検出することにより行っているが、これに限らずキ
ーを押下するストロークや速度を検出するようにしても
よい。上記実施形態では、KP値が1から10の場合を
オンと判断し、0の場合にオフと判断しているが、オン
・オフの範囲は適宜設定すればよく、また、その範囲を
演奏者が任意に可変できるようにしてもよい。例えば、
KP値が8以上になった場合にオンと判断し、その後3
以下になったらオフと判断してもよい。この場合に、ス
ラー制御はオンからオフの値の間で補間を行うようにす
ればよい。
The control of the operation mode is performed by detecting the pressing of the performance key, but the present invention is not limited to this, and the stroke or speed of pressing the key may be detected. In the above embodiment, when the KP value is from 1 to 10, it is determined to be on, and when it is 0, it is determined to be off. May be variable. For example,
If the KP value is 8 or more, it is determined to be ON, and then 3
It may be determined to be off when the following occurs. In this case, the slur control may be performed by interpolating between the on and off values.

【0093】また、KP値は0から10としているが、
これに限られず、例えば、0から100などの値にして
もよい。KP値が細分化されるほど、微細な制御が可能
となる。
Although the KP value is set to 0 to 10,
The value is not limited to this, and may be a value such as 0 to 100. The finer the KP value, the finer the control becomes.

【0094】なお、種々の管楽器をシミュレートできる
ように、運指表を複数記憶するとともに運指表を選択可
能にし、これに基づいて音高を決定するようにしてもよ
い。また、その場合には、音高を決定する演奏用キーの
数が、シミュレートする楽器によって異なる場合もある
が、演奏用キーが少ない楽器の場合には、余ったキーを
楽音制御信号生成用のキーとして用いることができる。
In order to simulate various wind instruments, a plurality of fingering charts may be stored and the fingering charts may be selected, and the pitch may be determined based on this. In that case, the number of performance keys that determine the pitch may vary depending on the musical instrument to be simulated, but in the case of an instrument with few performance keys, the surplus keys are used to generate the tone control signal. It can be used as a key.

【0095】また、上記実施形態では音高指定には運指
表を記憶したものを用いたが、これに限らずダイオード
マトリクス等の論理回路を用いてもよい。
In the above embodiment, the fingering table stored is used for pitch designation, but the present invention is not limited to this, and a logic circuit such as a diode matrix may be used.

【0096】[0096]

【発明の効果】以上説明したように、本発明によれば、
演奏者が各キーを押す圧力に応じて楽音特性を制御する
ことにより、2つの異なる音高を滑らかに接続するスラ
ー奏法や、アフタータッチによる音色の変化などの操作
が容易に可能となる。これにより、演奏性を向上し、多
彩な表現が可能な電子管楽器を提供することが可能とな
る。
As described above, according to the present invention,
By controlling the musical tone characteristics in accordance with the pressure with which the player presses each key, it is possible to easily perform a slur playing method in which two different pitches are smoothly connected and a change in tone color due to aftertouch. As a result, it becomes possible to provide an electronic wind instrument that improves playability and enables various expressions.

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

【図1】 第1実施形態における電子管楽器の外観構成
を示した図である。
FIG. 1 is a diagram showing an external configuration of an electronic wind instrument according to a first embodiment.

【図2】 第1実施形態における電子管楽器の構成を示
したブロック図である。
FIG. 2 is a block diagram showing a configuration of an electronic wind instrument according to the first embodiment.

【図3】 第1実施形態における電子管楽器の断面図で
ある。
FIG. 3 is a cross-sectional view of the electronic wind instrument according to the first embodiment.

【図4】 キーセンサの検出回路を示す図である。FIG. 4 is a diagram showing a detection circuit of a key sensor.

【図5】 第1実施形態で使用する運指表を示す図であ
る。
FIG. 5 is a diagram showing a fingering table used in the first embodiment.

【図6】 第1実施形態におけるCPU24の処理を示
すフローチャートである。
FIG. 6 is a flowchart showing the processing of the CPU 24 in the first embodiment.

【図7】 KP値とシフト量の関係を表すグラフであ
る。
FIG. 7 is a graph showing a relationship between a KP value and a shift amount.

【図8】 KP値の変化と、音高の変化を例示したグラ
フである。
FIG. 8 is a graph exemplifying a change in KP value and a change in pitch.

【図9】 第2実施形態におけるCPU24の処理を示
すフローチャートである。
FIG. 9 is a flowchart showing the processing of the CPU 24 in the second embodiment.

【図10】 第3実施形態における電子管楽器の外観構
成を示した図である。
FIG. 10 is a diagram showing an external configuration of an electronic wind instrument according to a third embodiment.

【図11】 演奏用キー2aおよび2bの機能を楽音制
御に用いる場合に使用する運指表を示す図である。
FIG. 11 is a diagram showing a fingering table used when the functions of the performance keys 2a and 2b are used for tone control.

【図12】 第3実施形態におけるCPU24の処理を
示すフローチャートである。
FIG. 12 is a flowchart showing the processing of the CPU 24 in the third embodiment.

【図13】 第3実施形態におけるCPU24の処理を
示すフローチャートである。
FIG. 13 is a flowchart showing the processing of the CPU 24 in the third embodiment.

【図14】 第3実施形態におけるディップスイッチ設
定処理を示すフローチャートである。
FIG. 14 is a flowchart showing a DIP switch setting process in the third embodiment.

【図15】 第4実施形態におけるCPU24の処理を
示すフローチャートである。
FIG. 15 is a flowchart showing processing of the CPU 24 in the fourth embodiment.

【図16】 第4実施形態におけるCPU24の処理を
示すフローチャートである。
FIG. 16 is a flowchart showing the processing of the CPU 24 in the fourth embodiment.

【図17】 第4実施形態におけるディップスイッチ設
定処理を示すフローチャートである。
FIG. 17 is a flowchart showing a DIP switch setting process in the fourth embodiment.

【図18】 各モードにおける処理に使用するテーブル
を示した図である。
FIG. 18 is a diagram showing a table used for processing in each mode.

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

1・・マウスピース、2a、2b、2c……2o、2p
・・演奏用キー、103・・機能切換えスイッチ、21
・・ブレスセンサ、2Sa、2Sb……2Sp・・キー
センサ、23・・A/D変換器、24・・CPU、25
・・ROM、3・・機能切換えスイッチ、31・・ボデ
ィ、33a・・キーシャフト、34a・・リターンスプ
リング、35a・・ロッド、41・・固定抵抗、42・
・アナログスイッチ、43・・ダイオード。
1 .... Mouthpieces 2a, 2b, 2c ... 2o, 2p
..Playing keys, 103..Function changeover switch, 21
..Breath sensor, 2Sa, 2Sb ... 2Sp .... Key sensor, 23 ... A / D converter, 24 ... CPU, 25
..ROM, 3 ..function changeover switch, 31..body, 33a..key shaft, 34a..return spring, 35a..rod, 41..fixing resistance, 42 ..
・ Analog switch, 43 ・ ・ Diode.

フロントページの続き (56)参考文献 特開 平2−40690(JP,A) 特開 平7−334156(JP,A) 特開 平2−269392(JP,A) 特開 平8−202368(JP,A) 特開 平2−163799(JP,A) 特開 平4−85594(JP,A) 特開 昭62−85294(JP,A) 実開 平3−108299(JP,U) 実開 平2−30996(JP,U) 実開 平3−110495(JP,U) (58)調査した分野(Int.Cl.7,DB名) G10H 1/00 - 7/12 Continuation of the front page (56) Reference JP-A-2-40690 (JP, A) JP-A-7-334156 (JP, A) JP-A-2-269392 (JP, A) JP-A-8-202368 (JP , A) JP 2-163799 (JP, A) JP 4-85594 (JP, A) JP 62-85294 (JP, A) Actual flat 3-108299 (JP, U) Actual flat 2-30996 (JP, U) Actual Kaihei 3-110495 (JP, U) (58) Fields investigated (Int.Cl. 7 , DB name) G10H 1/00-7/12

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 音高を決定するキーの各々について押下
状態を検出する押下状態検出手段と、 前記押下状態検出手段の検出値に基づいて前記各キー毎
にオン/オフを決定し、決定したオン/オフ状態に基づ
いて音高を決定する音高決定手段と、 前記音高決定手段が参照したキーのうち検出値が予め設
定した値より小さいものに対応するキーについては、前
記音高決定手段の決定に関わらず当該キーをオフと想定
した音高を求める次音高決定手段と、 前記次音高決定手段が決定した音高に向かって滑らかに
音高を変化させるためのピッチベンド情報を生成するス
ラー制御手段とを具備することを特徴とする電子管楽
器。
1. A pressed state detecting means for detecting a pressed state of each key for determining a pitch, and ON / OFF of each key is determined based on a detection value of the pressed state detecting means. For the pitch determining means for determining the pitch based on the ON / OFF state, and for the keys corresponding to the keys referred to by the pitch determining means whose detection values are smaller than a preset value, the pitch determination means Regardless of the determination of the means, a next pitch determining means for obtaining a pitch assuming that the key is off, and pitch bend information for smoothly changing the pitch toward the pitch determined by the next pitch determining means. An electronic wind instrument, comprising: a slur control means for generating the slur.
【請求項2】 前記スラー制御手段は、前記押下状態検
出手段が検出した検出値のうち、所定キーの検出値に基
づいて音高変化量を決定することを特徴とする請求項
記載の電子管楽器。
Wherein said slur control means of the detected values the depressed state detecting unit detects, claim 1, characterized in that to determine the pitch change amount based on a detection value of a predetermined key
Electronic wind instrument described.
JP28381297A 1997-06-17 1997-10-16 Electronic wind instrument Expired - Fee Related JP3427698B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP28381297A JP3427698B2 (en) 1997-06-17 1997-10-16 Electronic wind instrument
US09/098,131 US6002080A (en) 1997-06-17 1998-06-16 Electronic wind instrument capable of diversified performance expression

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP9-160243 1997-06-17
JP16024397 1997-06-17
JP28381297A JP3427698B2 (en) 1997-06-17 1997-10-16 Electronic wind instrument

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2002356944A Division JP2003162281A (en) 1997-06-17 2002-12-09 Electronic wind instrument

Publications (2)

Publication Number Publication Date
JPH1173183A JPH1173183A (en) 1999-03-16
JP3427698B2 true JP3427698B2 (en) 2003-07-22

Family

ID=26486802

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28381297A Expired - Fee Related JP3427698B2 (en) 1997-06-17 1997-10-16 Electronic wind instrument

Country Status (1)

Country Link
JP (1) JP3427698B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100490540B1 (en) * 2002-11-06 2005-05-17 삼성에스디아이 주식회사 Plasma display panel
KR101410579B1 (en) * 2013-10-14 2014-06-20 박재숙 Wind synthesizer controller
JP6760238B2 (en) * 2017-09-27 2020-09-23 カシオ計算機株式会社 Scale conversion device, electronic wind instrument, scale conversion method and scale conversion program
JP1675715S (en) * 2020-03-26 2021-01-04

Also Published As

Publication number Publication date
JPH1173183A (en) 1999-03-16

Similar Documents

Publication Publication Date Title
US6002080A (en) Electronic wind instrument capable of diversified performance expression
US6376759B1 (en) Electronic keyboard instrument
JPH0944150A (en) Electronic keyboard musical instrument
JP3427698B2 (en) Electronic wind instrument
JP2003162281A (en) Electronic wind instrument
US4699037A (en) Electronic musical instrument with glide function
JP3005915B2 (en) Electronic musical instrument
JP5391521B2 (en) Musical sound control device and musical sound control processing program
JP6023467B2 (en) Automatic accompaniment device for electronic keyboard instruments
JP3018357B2 (en) Electronic musical instrument
JP2009025503A (en) Electronic musical instrument
JP4497104B2 (en) Electronic keyboard instrument
JP2623174B2 (en) Automatic performance device
JP2005189793A (en) Electronic musical instrument
JP3407636B2 (en) Electronic wind instrument
US7834262B2 (en) Electronic keyboard instrument
JP2605456B2 (en) Electronic musical instrument
JP2900422B2 (en) Electronic musical instrument
US20230035440A1 (en) Electronic device, electronic musical instrument, and method therefor
JPH0734468Y2 (en) Electronic keyboard instrument
JPH02310594A (en) Electronic musical instrument having portamento effect
JP4253997B2 (en) Musical sound information conversion apparatus, control method therefor, and storage medium storing program for realizing the control method
JP3557474B2 (en) Tone generator
JP2526101B2 (en) Electronic wind instrument
JPH07191669A (en) Electronic musical instrument

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090516

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100516

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110516

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees