JP6786982B2 - An electronic musical instrument with a reed, how to control the electronic musical instrument, and a program for the electronic musical instrument. - Google Patents

An electronic musical instrument with a reed, how to control the electronic musical instrument, and a program for the electronic musical instrument. Download PDF

Info

Publication number
JP6786982B2
JP6786982B2 JP2016179660A JP2016179660A JP6786982B2 JP 6786982 B2 JP6786982 B2 JP 6786982B2 JP 2016179660 A JP2016179660 A JP 2016179660A JP 2016179660 A JP2016179660 A JP 2016179660A JP 6786982 B2 JP6786982 B2 JP 6786982B2
Authority
JP
Japan
Prior art keywords
detection unit
output value
center
gravity
lip
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.)
Active
Application number
JP2016179660A
Other languages
Japanese (ja)
Other versions
JP2018045087A (en
JP2018045087A5 (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2016179660A priority Critical patent/JP6786982B2/en
Publication of JP2018045087A publication Critical patent/JP2018045087A/en
Publication of JP2018045087A5 publication Critical patent/JP2018045087A5/ja
Application granted granted Critical
Publication of JP6786982B2 publication Critical patent/JP6786982B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、リードを備える電子楽器、その電子楽器の制御方法、及びその電子楽器用のプログラムに関する。 The present invention relates to an electronic musical instrument having a lead, a method for controlling the electronic musical instrument, and a program for the electronic musical instrument.

アコースティック管楽器(例えばサクソフォン、クラリネットのような、リードを用いる木管楽器)では、リードに触れる唇と舌の位置と圧力との変化が楽音の音色を変化させて多彩な演奏表現を実現している。 In acoustic wind instruments (woodwind instruments that use reeds, such as saxophones and clarinets), changes in the position and pressure of the lips and tongue that touch the reeds change the tone of the musical tones, realizing a variety of musical expressions.

特許文献1には、楽音を電子的に合成して出力する電子管楽器が開示されている。この電子管楽器は、感圧式のリップセンサ(感圧センサ)をリードに複数配置し、唇と舌との位置を検出して楽音制御している。 Patent Document 1 discloses an electronic wind instrument that electronically synthesizes and outputs musical tones. In this electronic wind instrument, a plurality of pressure-sensitive lip sensors (pressure-sensitive sensors) are arranged on the reed, and the positions of the lips and the tongue are detected to control the musical sound.

特開平7−72853号公報Japanese Unexamined Patent Publication No. 7-72853

ところで、リードを備える電子楽器では、リード上の唇(リップ)位置等を求めるためにリップの接触状態を検出する複数の検出部が設けられる。
この検出部が配置された領域をまたいで大きくはみ出すように、演奏者のリップが位置する場合には、検出部に接触しているリップの接触面積が少なくなり、検出部から出力される出力値が小さくなる。
By the way, in an electronic musical instrument including a lead, a plurality of detection units for detecting a contact state of the lip are provided in order to obtain a lip position or the like on the lead.
When the performer's lip is located so as to extend over the area where the detection unit is arranged, the contact area of the lip in contact with the detection unit is reduced, and the output value output from the detection unit is reduced. Becomes smaller.

このような状態のときに、ノイズ等の影響によって、リップが接触していない検出部から出力値が出力されると、相対的にノイズ等の影響によって出力された出力値の割合が多くなるため、リード上のどの位置にリップが位置しているかを求める計算に大きな誤差が発生し、演奏者の意図しない発音が行われる場合がある。 In such a state, if the output value is output from the detection unit where the lip is not in contact due to the influence of noise or the like, the ratio of the output value output due to the influence of noise or the like increases relatively. , A large error may occur in the calculation for determining the position of the lip on the lead, and the performer may make an unintended pronunciation.

本発明は、このような事情に鑑みてなされたものであり、演奏者のリップが、検出部が配置された領域をまたいで大きくはみ出している場合でもノイズの影響を受け難い電子楽器、その電子楽器の制御方法、及びその電子楽器用のプログラムを提供することを目的とする。 The present invention has been made in view of such circumstances, and is an electronic musical instrument that is not easily affected by noise even when the performer's lip greatly extends over the area where the detection unit is arranged. An object of the present invention is to provide a method for controlling a musical instrument and a program for the electronic musical instrument thereof.

上記目的を達成するために、本発明は、以下の構成により把握される。
本発明の電子楽器は、先端部から基端部に向かってリップの接触状態を検出する複数の検出部が設けられたリードと、前記検出部の出力値に基づき前記リード上での前記リップの重心位置を決定する制御部と、を備え、前記制御部は、閾値以上の前記出力値を出力している前記検出部を判定する第1処理と、前記第1処理によって前記閾値以上の前記出力値を出力していると判定された前記検出部の前記出力値に基づいて前記重心位置を決定する第2処理と、を含む処理を実行する。
In order to achieve the above object, the present invention is grasped by the following configuration.
The electronic musical instrument of the present invention has a lead provided with a plurality of detection units for detecting the contact state of the lip from the tip end portion to the base end portion, and the lip on the lead based on the output value of the detection unit. The control unit includes a control unit for determining the position of the center of gravity, and the control unit includes a first process of determining the detection unit that outputs the output value equal to or higher than the threshold value, and the output of the threshold value or higher by the first process. A process including a second process of determining the position of the center of gravity based on the output value of the detection unit determined to output a value is executed.

本発明に係る電子楽器の制御方法は、先端部から基端部に向かってリップの接触状態を検出する複数の検出部が設けられたリードを備える電子楽器の制御方法であって、閾値以上の出力値を出力している前記検出部を求める第1ステップと、前記第1ステップによって求めた前記検出部に対応する前記出力値を用いて、前記リード上での前記リップの重心位置を決定する第2ステップと、を含む。 The method for controlling an electronic musical instrument according to the present invention is a method for controlling an electronic musical instrument including a lead provided with a plurality of detection units for detecting a contact state of a lip from a tip portion to a base end portion, and is equal to or higher than a threshold value. The position of the center of gravity of the lip on the lead is determined by using the first step of obtaining the detection unit that outputs the output value and the output value corresponding to the detection unit obtained by the first step. Including the second step.

本発明に係る電子楽器用のプログラムは、先端部から基端部に向かってリップの接触状態を検出する複数の検出部が設けられたリードを備える電子楽器の制御部に、閾値以上の出力値を出力している前記検出部を求める第1処理と、前記第1処理によって求めた前記検出部に対応する前記出力値を用いて、前記リード上での前記リップの重心位置を決定する第2処理と、を含む処理を実行させる。 The program for an electronic musical instrument according to the present invention has an output value equal to or higher than a threshold value in a control unit of an electronic musical instrument including a lead provided with a plurality of detection units for detecting a contact state of a lip from a tip portion to a base end portion. The position of the center of gravity of the lip on the lead is determined by using the first process for obtaining the detection unit that outputs the above and the output value corresponding to the detection unit obtained by the first processing. The process and the process including the process are executed.

本発明によれば、演奏者のリップが、検出部が配置された領域をまたいで大きくはみ出している場合でもノイズの影響を受け難い電子楽器、その電子楽器の制御方法、及びその電子楽器用のプログラムを提供することができる。 According to the present invention, an electronic musical instrument that is not easily affected by noise even when the performer's lip greatly extends beyond the area where the detection unit is arranged, a control method for the electronic musical instrument, and the electronic musical instrument. A program can be provided.

(a)は本発明の実施形態に係る電子楽器の平面図、(b)は電子楽器の側面図である。(A) is a plan view of the electronic musical instrument according to the embodiment of the present invention, and (b) is a side view of the electronic musical instrument. 電子楽器の機能構成を示すブロック図である。It is a block diagram which shows the functional structure of an electronic musical instrument. (a)はマウスピースを示す断面図、(b)はマウスピースを示す下面図である。(A) is a cross-sectional view showing a mouthpiece, and (b) is a bottom view showing a mouthpiece. 演奏者Pの口腔とマウスピースとの接触状態を示す図である。It is a figure which shows the contact state between the oral cavity of the performer P and a mouthpiece. (a)はリップ接触範囲C1で接触したリードの下面図とセンサ出力値を示す図、(b)はリップ接触範囲C2で接触したリードの下面図とセンサ出力値を示す図、(c)はリップ接触範囲C2及びタン接触範囲C3で接触したリードの下面図とセンサ出力値を示す図である。(A) is a bottom view and a sensor output value of the reed contacted in the lip contact range C1, (b) is a bottom view and a sensor output value of the reed contacted in the lip contact range C2, and (c) is a diagram. It is a figure which shows the bottom view and the sensor output value of the reed which made contact in the lip contact range C2 and the tongue contact range C3. リードに含まれる検出部を模式的に示す図である。It is a figure which shows typically the detection part included in the lead. 第1実施形態においてノイズがない場合及びノイズがある場合における出力値及び重心位置の一例を示す表である。It is a table which shows an example of the output value and the position of the center of gravity when there is no noise and when there is noise in 1st Embodiment. 図7に対応するグラフである。It is a graph corresponding to FIG. 第1実施形態においてノイズがない場合及びノイズがある場合における出力値及び重心位置の他の例を示す表である。It is a table which shows other example of the output value and the position of the center of gravity in the case where there is no noise and when there is noise in 1st Embodiment. 図9に対応するグラフである。It is a graph corresponding to FIG. 第1実施形態においてノイズがない場合及びノイズがある場合における出力値及び重心位置の別の例を示す表である。It is a table which shows another example of the output value and the position of the center of gravity when there is no noise and when there is noise in 1st Embodiment. 図11に対応するグラフである。It is a graph corresponding to FIG. 第1実施形態において重心位置を決定する手順を示すフローチャートである。It is a flowchart which shows the procedure of determining the position of the center of gravity in 1st Embodiment. 第2実施形態においてリードに含まれる検出部及び仮想検出部を模式的に示す図である。It is a figure which shows typically the detection part and the virtual detection part included in the lead in 2nd Embodiment. 第2実施形態において仮想出力がない場合及び仮想出力がある場合における出力値及び重心位置の一例を示す表である。It is a table which shows an example of the output value and the position of the center of gravity when there is no virtual output and when there is a virtual output in the second embodiment. 図15に対応するグラフである。It is a graph corresponding to FIG. 第2実施形態において重心位置を決定する手順を示すフローチャートである。It is a flowchart which shows the procedure of determining the position of the center of gravity in 2nd Embodiment.

以下では、はじめに、本発明の実施形態において用いられる、電子楽器用のリード11(以下、単に、リード11ともいう)を含む電子楽器100の基本的な内容について説明を行い、その後、電子楽器用のリード11についての詳細な説明を行う。 In the following, first, the basic contents of the electronic musical instrument 100 including the lead 11 for the electronic musical instrument (hereinafter, also simply referred to as the lead 11) used in the embodiment of the present invention will be described, and then the basic contents for the electronic musical instrument will be described. The lead 11 of the above will be described in detail.

[電子楽器及び電子楽器用リード]
図1(a)は本発明の実施形態に係る電子楽器100の平面図、(b)は電子楽器100の側面図である。
[Electronic musical instruments and leads for electronic musical instruments]
FIG. 1A is a plan view of the electronic musical instrument 100 according to the embodiment of the present invention, and FIG. 1B is a side view of the electronic musical instrument 100.

電子楽器100は、リードを用いる木管楽器であるアコースティック管楽器の奏法(例えば、ピッチベンドやビブラート)に応じて演奏を表現する電子楽器である。 The electronic musical instrument 100 is an electronic musical instrument that expresses a performance according to the playing method (for example, pitch bend or vibrato) of an acoustic wind instrument which is a woodwind instrument using a lead.

本実施形態では、電子楽器100がサクソフォンである例を説明するが、これに限定されるものではなく、クラリネット等、リードを用いる他の管楽器の電子楽器に適用してもよい。 In the present embodiment, an example in which the electronic musical instrument 100 is a saxophone will be described, but the present invention is not limited to this, and the electronic musical instrument 100 may be applied to electronic musical instruments of other wind instruments using reeds such as a clarinet.

(電子楽器)
図1(a)、(b)に示すように、電子楽器100は、管体部100aを備え、管体部100a上の操作子1、サウンドシステム9と、マウスピース10と、を備える。
電子楽器100の形状は、アコースティック管楽器のサクソフォンの形状を模している。
(Electronic musical instrument)
As shown in FIGS. 1A and 1B, the electronic musical instrument 100 includes a tube body 100a, an operator 1, a sound system 9 on the tube body 100a, and a mouthpiece 10.
The shape of the electronic musical instrument 100 imitates the shape of a saxophone of an acoustic wind instrument.

管体部100aは、サクソフォンの管体部を模した形状を有する本体の筐体部である。
操作子1は、演奏者P(ユーザ)が指で操作する操作部であり、音高を決定する演奏キー、楽曲のキーに合わせて音高を変える機能、音高の微調整を行う機能等を設定する設定キーを含む。
The tube body portion 100a is a housing portion of the main body having a shape imitating the tube body portion of the saxophone.
The operator 1 is an operation unit operated by the performer P (user) with a finger, and is a performance key for determining the pitch, a function for changing the pitch according to the key of the music, a function for finely adjusting the pitch, and the like. Includes a setting key to set.

マウスピース10は、演奏者Pが口腔で操作する部品であり、詳細は後述する。
サウンドシステム9は、スピーカ等を有し、楽音出力を行う部品である。
The mouthpiece 10 is a component operated by the performer P in the oral cavity, and details will be described later.
The sound system 9 is a component that has a speaker or the like and outputs musical sounds.

また、図1(a)の電子楽器100の一部透視部分に示すように、管体部100a内部に設けられた基板上に、息圧検出部2、制御手段としてのCPU(Central Processing Unit)5、ROM(Read Only Memory)6、RAM(Random Access Memory)7、音源8が設けられている。 Further, as shown in a partially transparent portion of the electronic musical instrument 100 of FIG. 1A, a breath pressure detection unit 2 and a CPU (Central Processing Unit) as a control means are placed on a substrate provided inside the tube body 100a. 5, ROM (Read Only Memory) 6, RAM (Random Access Memory) 7, and sound source 8 are provided.

息圧検出部2は、演奏者Pからマウスピース10に吹き込まれた息の圧力(息圧)を検出するセンサである。
音源8は、楽音を生成する回路である。
CPU5、ROM6、及びRAM7については後述する。
The breath pressure detection unit 2 is a sensor that detects the breath pressure (breath pressure) blown into the mouthpiece 10 by the performer P.
The sound source 8 is a circuit that generates a musical tone.
The CPU 5, ROM 6, and RAM 7 will be described later.

次に、図2を参照して、電子楽器100の機能構成を説明する。図2は、電子楽器100の機能構成を示すブロック図である。 Next, the functional configuration of the electronic musical instrument 100 will be described with reference to FIG. FIG. 2 is a block diagram showing a functional configuration of the electronic musical instrument 100.

図2に示すように、電子楽器100は、操作子1と、息圧検出部2と、リップ検知部3と、タン検知部4と、CPU5と、ROM6と、RAM7と、音源8と、サウンドシステム9と、を備える。
リップ検知部3と、タン検知部4とは、マウスピース10に設けられるリード11に含まれる(図3参照)。
また、電子楽器100のサウンドシステム9を除く各部は、バス9aを介して互いに接続されている。
As shown in FIG. 2, the electronic musical instrument 100 includes an operator 1, a breath pressure detection unit 2, a lip detection unit 3, a tongue detection unit 4, a CPU 5, a ROM 6, a RAM 7, a sound source 8, and a sound. It includes a system 9.
The lip detection unit 3 and the tongue detection unit 4 are included in the lead 11 provided on the mouthpiece 10 (see FIG. 3).
Further, each part of the electronic musical instrument 100 except the sound system 9 is connected to each other via a bus 9a.

操作子1は、上述のとおり演奏キー、設定キー等の各種キーを有し、演奏者Pから各種キー操作を受け付けて、その操作情報をCPU5に出力する。
設定キーは、音色の設定機能、楽曲のキーに合わせて音高を変える機能、音高の微調整を行う機能を設定するとともに、リップ検知部3において検出されたリップLの接触位置及びリップLの接触面積に応じて微調整されるモードを楽音の音色、音量、高さの中から予め選択する機能を設定するキーである。
As described above, the operator 1 has various keys such as a performance key and a setting key, receives various key operations from the performer P, and outputs the operation information to the CPU 5.
The setting keys set the tone color setting function, the function of changing the pitch according to the key of the music, and the function of finely adjusting the pitch, and the contact position of the lip L and the lip L detected by the lip detection unit 3. It is a key to set the function to select in advance the mode to be finely adjusted according to the contact area of the music from the tone, volume, and pitch of the musical tone.

息圧検出部2は、演奏者Pからマウスピース10に吹き込まれた息の息圧を検出し、その息圧情報をCPU5に出力する。 The breath pressure detection unit 2 detects the breath pressure of the breath blown into the mouthpiece 10 by the performer P, and outputs the breath pressure information to the CPU 5.

リップ検知部3は、演奏者Pのリップ(唇)Lの接触を検出する静電容量方式のタッチセンサであり、タッチセンサにおけるリップLの接触位置及びリップLの接触面積に応じた静電容量をリップLの検出情報としてCPU5に出力する。
リップLの接触位置(重心位置)の算出については後述する。
The lip detection unit 3 is a capacitance type touch sensor that detects the contact of the lip (lips) L of the player P, and has a capacitance corresponding to the contact position of the lip L and the contact area of the lip L in the touch sensor. Is output to the CPU 5 as the detection information of the lip L.
The calculation of the contact position (center of gravity position) of the lip L will be described later.

タン検知部4は、演奏者Pのタン(舌)の接触を検出する静電容量方式のタッチセンサであり、タッチセンサにおけるタンの接触面積に応じた静電容量をタンの検出情報としてCPU5に出力する。 The tongue detection unit 4 is a capacitance type touch sensor that detects the contact of the tongue (tongue) of the player P, and the capacitance corresponding to the contact area of the tongue in the touch sensor is used as the tongue detection information in the CPU 5. Output.

CPU5は、電子楽器100の各部を制御する。
CPU5は、ROM6から指定されたプログラムを読み出してRAM7に展開し、展開されたプログラムと協働して各種処理を実行する。
The CPU 5 controls each part of the electronic musical instrument 100.
The CPU 5 reads a program designated from the ROM 6 and expands it into the RAM 7, and executes various processes in cooperation with the expanded program.

より具体的には、CPU5は、操作子1から入力された操作情報と、息圧検出部2から入力された息圧情報と、リップ検知部3から入力されたリップLの接触の検出情報と、タン検知部4から入力されたタンの接触の検出情報と、に基づいて、楽音の生成を音源8に指示する。 More specifically, the CPU 5 includes the operation information input from the operator 1, the breath pressure information input from the breath pressure detection unit 2, and the contact detection information of the lip L input from the lip detection unit 3. , Instructs the sound source 8 to generate a music sound based on the tongue contact detection information input from the tongue detection unit 4.

例えば、CPU5は、操作子1から入力された操作情報としての音高情報に基づいて、楽音の音高を設定し、息圧検出部2から入力された息圧情報に基づいて、楽音の音量を設定し、リップ検知部3から入力されたリップLの検出情報に基づくリップ接触位置及びリップ接触面積に応じた出力値(静電容量)に従い、楽音の音色、音量、高さの少なくとも1つを微調整し、タン検知部4から入力されたタン(舌)の接触の検出情報に基づいて、楽音のノートオン/オフを設定する。 For example, the CPU 5 sets the pitch of the musical tone based on the pitch information as the operation information input from the operator 1, and the volume of the musical tone is based on the breath pressure information input from the breath pressure detection unit 2. Is set, and at least one of the tone, volume, and pitch of the musical tone is set according to the output value (electrostatic capacity) according to the lip contact position and the lip contact area based on the detection information of the lip L input from the lip detection unit 3. Is finely adjusted, and the note on / off of the musical tone is set based on the contact detection information of the tongue (tongue) input from the tongue detection unit 4.

ROM6は、読み出し専用の半導体メモリであり、各種データ及び各種プログラムを記憶する。
RAM7は、揮発性の半導体メモリであり、データやプログラムを一時的に格納するワークエリアを有する。
The ROM 6 is a read-only semiconductor memory that stores various data and various programs.
The RAM 7 is a volatile semiconductor memory and has a work area for temporarily storing data and programs.

音源8は、シンセサイザであり、操作子1での操作情報や、リップ検知部3からのリップLの検出情報、タン検知部4からのタンの検出情報に基づいたCPU5の楽音の生成指示(楽音制御)に従い、楽音を生成して楽音信号をサウンドシステム9に出力する。
なお、音源8は、楽音信号をフィルタリングするLPFを有するが、LPFは、音源8とサウンドシステム9との間や、サウンドシステム9内に設けられてもよい。
The sound source 8 is a synthesizer, and is an instruction to generate a musical tone of the CPU 5 based on the operation information of the operator 1, the detection information of the lip L from the lip detection unit 3, and the detection information of the tongue from the tongue detection unit 4. Control), a musical tone is generated and a musical tone signal is output to the sound system 9.
The sound source 8 has an LPF that filters the musical sound signal, but the LPF may be provided between the sound source 8 and the sound system 9 or in the sound system 9.

サウンドシステム9は、音源8から入力された楽音信号に信号増幅等を施し、内蔵のスピーカから楽音として出力する。 The sound system 9 amplifies the musical sound signal input from the sound source 8 and outputs it as a musical sound from the built-in speaker.

(マウスピース及びリード)
次に、図3及び図4を参照して、マウスピース10の基本的な内容について説明する。
図3(a)はマウスピース10を示す断面図であり、(b)はマウスピース10を示す下面図である。
図3(a)において、マウスピース10の長手方向に沿って、演奏者Pの口側を「ティップ」(本発明の先端部に相当する)と称し、管体部100a側を「ヒール」(本発明の基端部に相当する)と称することとする。
(Mouthpiece and lead)
Next, the basic contents of the mouthpiece 10 will be described with reference to FIGS. 3 and 4.
FIG. 3A is a cross-sectional view showing the mouthpiece 10, and FIG. 3B is a bottom view showing the mouthpiece 10.
In FIG. 3A, the mouth side of the performer P is referred to as a “tip” (corresponding to the tip portion of the present invention) along the longitudinal direction of the mouthpiece 10, and the tube body portion 100a side is referred to as a “heel” ( It corresponds to the base end portion of the present invention).

図3(a)、(b)に示すように、マウスピース10は、マウスピース本体部10aと、電子楽器用のリード11と、固定金具12と、を有する。 As shown in FIGS. 3A and 3B, the mouthpiece 10 has a mouthpiece main body 10a, a reed 11 for an electronic musical instrument, and a fixing bracket 12.

マウスピース本体部10aは、演奏者Pが息を吹き込む開口部13を有するマウスピースの本体部品であり、管体部100aに接続される。 The mouthpiece body 10a is a body component of the mouthpiece having an opening 13 into which the performer P breathes, and is connected to the tube body 100a.

リード11は、マウスピース本体部10aの下方、つまり、アコースティック管楽器のリード位置に対応して設けられている。
リード11は、固定金具12によってマウスピース本体部10aに固定されている。
The reed 11 is provided below the mouthpiece main body 10a, that is, corresponding to the reed position of the acoustic wind instrument.
The lead 11 is fixed to the mouthpiece main body 10a by the fixing bracket 12.

図3(b)に示すように、リード11は、基板と基板に設けられた複数の検出部40,31〜39を有している。
そして、複数の検出部40,31〜39は、基板にティップからヒールに向かって整列した状態で設けられている。
検出部40は、タン検知部4が有する静電容量方式のタッチセンサS10の電極部である。
As shown in FIG. 3B, the lead 11 has a substrate and a plurality of detection units 40, 31 to 39 provided on the substrate.
The plurality of detection units 40, 31 to 39 are provided on the substrate in a state of being aligned from the tip to the heel.
The detection unit 40 is an electrode unit of the capacitance type touch sensor S10 included in the tongue detection unit 4.

検出部31〜39は、リップ検知部3が有する静電容量方式のタッチセンサS21〜S29の電極部である。
検出部31〜39は、リード11のティップ側からヒール側に向かってほぼ均等間隔で並び、ほぼ等しい幅を有している。
The detection units 31 to 39 are electrode units of the capacitance type touch sensors S21 to S29 included in the lip detection unit 3.
The detection units 31 to 39 are arranged at substantially equal intervals from the tip side of the lead 11 toward the heel side, and have substantially the same width.

図4は、演奏者Pの口腔とマウスピース10との接触状態を示す図である。
図4に示すように、演奏者Pは、電子楽器100の演奏時に、上側前歯E1をマウスピース本体部10aの上部に当て、下側前歯E2を下側のリップLで巻き込み、リード11に触れる。
このようにして、マウスピース10は、上側前歯E1とリップLとで保持される。
FIG. 4 is a diagram showing a contact state between the oral cavity of the performer P and the mouthpiece 10.
As shown in FIG. 4, when playing the electronic musical instrument 100, the performer P puts the upper front tooth E1 on the upper part of the mouthpiece main body 10a, winds the lower front tooth E2 with the lower lip L, and touches the lead 11. ..
In this way, the mouthpiece 10 is held by the upper anterior teeth E1 and the lip L.

演奏時の口腔内部のタンは、奏法により、リード11に触れている状態のタンT1(実線)と、リード11に触れていない状態のタンT2(破線)と、のいずれかとなる。
そして、タッチセンサS10,S21〜S29は、検出部40,31〜39に対するリップL及びタンの接触状態(タンT1:接触、又はタンT2:非接触)を検出し、検出情報をCPU5に対して出力する。
The tongue inside the oral cavity during performance is either a tongue T1 (solid line) in a state of touching the lead 11 or a tongue T2 (broken line) in a state of not touching the lead 11 depending on the playing method.
Then, the touch sensors S10, S21 to S29 detect the contact state of the lip L and the tongue (tan T1: contact or tongue T2: non-contact) with the detection units 40, 31 to 39, and transmit the detection information to the CPU 5. Output.

CPU5は、追って詳しく述べるように、タッチセンサS21〜S29から出力される検出情報に応じて、リード11におけるリップLの接触位置(重心位置)を算出する。
また、CPU5は、タンが接触したことをタッチセンサS10から出力される検出情報に基づいて判断する。
As will be described in detail later, the CPU 5 calculates the contact position (center of gravity position) of the lip L on the lead 11 according to the detection information output from the touch sensors S21 to S29.
Further, the CPU 5 determines that the tongue has touched based on the detection information output from the touch sensor S10.

(リップ検知部及びタン検知部の出力特性)
図5を参照して、リップ検知部3及びタン検知部4の出力特性を説明する。図5(a)はリップ接触範囲C1で接触したリード11の下面図とセンサ出力を示す図、(b)はリップ接触範囲C2で接触したリード11の下面図とセンサ出力を示す図、(c)はリップ接触範囲C2及びタン接触範囲C3で接触したリード11の下面図とセンサ出力を示す図である。
(Output characteristics of lip detector and tongue detector)
The output characteristics of the lip detection unit 3 and the tongue detection unit 4 will be described with reference to FIG. 5 (a) is a bottom view of the lead 11 contacted in the lip contact range C1 and a sensor output, and FIG. 5 (b) is a bottom view and a sensor output of the lead 11 contacted in the lip contact range C2, (c). ) Is a bottom view and a sensor output of the leads 11 that are in contact with each other in the lip contact range C2 and the tongue contact range C3.

図5(a)〜(c)においてセンサ出力を示すグラフでは、横軸にリード11上の位置をとり、縦軸に、検出部のそれぞれに対応するタッチセンサSの出力強度(出力電圧)を棒グラフ状に表している。
ただし、図5では、便宜上、検出部36〜39及びこれら検出部36〜39に対応する出力強度は省略されている。
In the graphs showing the sensor outputs in FIGS. 5A to 5C, the horizontal axis represents the position on the lead 11, and the vertical axis represents the output intensity (output voltage) of the touch sensor S corresponding to each of the detection units. It is represented in a bar graph.
However, in FIG. 5, for convenience, the detection units 36 to 39 and the output intensities corresponding to these detection units 36 to 39 are omitted.

図5(a)に示すように、演奏者PがリップLをリップ接触範囲C1に最も強く当てるように接触させると、リップ接触範囲C1に対応する検出部32におけるタッチセンサS22の出力強度が最大となる分布が得られる。 As shown in FIG. 5A, when the performer P contacts the lip L so as to hit the lip contact range C1 most strongly, the output intensity of the touch sensor S22 in the detection unit 32 corresponding to the lip contact range C1 becomes maximum. Is obtained.

また、図5(b)に示すように、演奏者PがリップLをリップ接触範囲C2に最も強く当てるように接触させると、リップ接触範囲C2に対応する検出部33,34におけるタッチセンサS23,S24の出力強度が最大となる分布が得られる。
ただし、図5(a)、図5(b)では、検出部40におけるタッチセンサS10の出力強度は得られていない。
Further, as shown in FIG. 5B, when the performer P contacts the lip L so as to hit the lip contact range C2 most strongly, the touch sensors S23, in the detection units 33 and 34 corresponding to the lip contact range C2, A distribution that maximizes the output intensity of S24 can be obtained.
However, in FIGS. 5A and 5B, the output intensity of the touch sensor S10 in the detection unit 40 is not obtained.

このように、静電容量方式のタッチセンサでは、リップ接触範囲C1,C2と重なる検出部だけでなく、当該重なる検出部に隣接する検出部も反応する。
そのため、後述するように、CPU5は、リップ接触範囲における接触中心、つまり重心位置をリップ接触位置として割り出すこととしている。
As described above, in the capacitance type touch sensor, not only the detection unit overlapping the lip contact ranges C1 and C2 but also the detection unit adjacent to the overlapping detection unit reacts.
Therefore, as will be described later, the CPU 5 determines the contact center in the lip contact range, that is, the position of the center of gravity as the lip contact position.

また、図5(c)に示すように、演奏者PがリップLをリップ接触範囲C2に接触させたまま、タンをタン接触範囲C3に接触させると、リップ接触範囲C2と重なる検出部33,34に対応するタッチセンサS23、S24の出力値が最大となる分布とともに、タン接触範囲C3と重なる検出部40に対応するタッチセンサS10に大きな出力値が得られる。 Further, as shown in FIG. 5C, when the performer P brings the tongue into contact with the tongue contact range C3 while keeping the lip L in contact with the lip contact range C2, the detection unit 33, which overlaps with the lip contact range C2, Along with the distribution in which the output values of the touch sensors S23 and S24 corresponding to 34 are maximized, a large output value can be obtained in the touch sensor S10 corresponding to the detection unit 40 overlapping the tongue contact range C3.

つまり、CPU5は、後述のようにしてリップ接触位置を決めるためにリップLの重心位置を算出するとともに、タン検知部4の検出情報としてのタッチセンサS10の出力値が所定の閾値以上か否かにより、タンが接触しているか又は接触していないかを判定する。 That is, the CPU 5 calculates the position of the center of gravity of the lip L in order to determine the lip contact position as described later, and whether or not the output value of the touch sensor S10 as the detection information of the tongue detection unit 4 is equal to or higher than a predetermined threshold value. To determine whether the tongue is in contact or not.

(リップLの重心位置の算出)
重心(重心位置)は、複数の検出部31〜39からの夫々の出力値と、複数の検出部31〜39の識別子(位置番号)とに基づいて算出され、以下、図6を参照して、具体的に、リップLの重心位置の算出手法を説明する。
図6は、リード11に含まれる検出部40,31〜39を模式的に示した図である。
図6では、以後の説明がわかりやすいようにするために、検出部31〜39の位置を、検出部31側からP1〜P9で表し、各位置に番号「1」〜「9」を付与している。
(Calculation of the position of the center of gravity of lip L)
The center of gravity (center of gravity position) is calculated based on the output values of the plurality of detection units 31 to 39 and the identifiers (position numbers) of the plurality of detection units 31 to 39. Hereinafter, with reference to FIG. Specifically, a method for calculating the position of the center of gravity of the lip L will be described.
FIG. 6 is a diagram schematically showing the detection units 40, 31 to 39 included in the lead 11.
In FIG. 6, in order to make the following explanation easy to understand, the positions of the detection units 31 to 39 are represented by P1 to P9 from the detection unit 31 side, and the numbers "1" to "9" are assigned to each position. There is.

そして、リップLのリード11への接触位置(重心位置xG)は、タッチセンサS21〜S29の出力値miと検出部31〜39の位置番号xiとを用いて、次式で算出することが出来る。 The contact position (center of gravity position xG) of the lip L with the lead 11 can be calculated by the following equation using the output values mi of the touch sensors S21 to S29 and the position numbers xi of the detection units 31 to 39. ..

Figure 0006786982
ここで、nはタッチセンサの数である。
なお、この式は一般に重心位置を算出するときに用いられる式である。
Figure 0006786982
Here, n is the number of touch sensors.
This formula is generally used when calculating the position of the center of gravity.

例えば、位置「P1」から「P9」に対応するタッチセンサS21〜S29の出力値が{0,0,0,0,90,120,150,120,90}である場合、リップLの重心位置xGは、 For example, when the output values of the touch sensors S21 to S29 corresponding to the positions "P1" to "P9" are {0,0,0,0,90,120,150,120,90}, the position of the center of gravity of the lip L xG is

Figure 0006786982

と算出される。
Figure 0006786982

Is calculated.

なお、装置としての処理では、リップLの重心位置xGを、例えば0から127までの整数値(7ビットの2進数)で表現して処理を行っている。
このようなビット表現への変換は、一般的なビット表現への変換と同様であるが、本実施形態では、検出部31〜39の位置番号xiが1から9になっているため、重心位置xGの最小数値が1となり0ではない。
In the processing as a device, the center of gravity position xG of the lip L is represented by, for example, an integer value (7-bit binary number) from 0 to 127 for processing.
Such conversion to bit representation is the same as conversion to general bit representation, but in the present embodiment, since the position numbers xi of the detection units 31 to 39 are changed from 1 to 9, the position of the center of gravity The minimum value of xG is 1, not 0.

このため、重心位置xGの最小数値が1のときに0を割り当てるために、重心位置xGから1を引いた値(つまり、上記例であれば、6.0)を用いてビット表現に変換、つまり、その6.0を電極数の最大数9で割った後、127を掛けるようにしている。 Therefore, in order to assign 0 when the minimum value of the center of gravity position xG is 1, the value obtained by subtracting 1 from the center of gravity position xG (that is, 6.0 in the above example) is used to convert to bit representation. That is, the 6.0 is divided by the maximum number of electrodes, 9, and then multiplied by 127.

[第1実施形態]
以上を踏まえ、第1実施形態に係る電子楽器、特に重心位置の算出について詳細に説明する。
なお、重心位置の算出は、制御部としてのCPU5がROM6に記憶されているプログラムを実行することによって実現される。
[First Embodiment]
Based on the above, the calculation of the position of the center of gravity of the electronic musical instrument according to the first embodiment will be described in detail.
The calculation of the position of the center of gravity is realized by the CPU 5 as a control unit executing the program stored in the ROM 6.

(センサ出力の態様と重心位置との関係)
図7〜図12を参照して、リップ検知部3のセンサの出力値の態様と重心位置との関係を説明する。
図7、図9、図11は、ノイズがない場合及びノイズがある場合におけるセンサの出力値及び重心位置の例を示す表である。
(Relationship between sensor output mode and center of gravity position)
The relationship between the aspect of the output value of the sensor of the lip detection unit 3 and the position of the center of gravity will be described with reference to FIGS. 7 to 12.
7, 9 and 11 are tables showing examples of the output value and the position of the center of gravity of the sensor when there is no noise and when there is noise.

図8、図10、図12は、それぞれ図7、図9、図11に対応するグラフであり、横軸はリード11上の位置を検出部31〜39に対応したP1〜P9で示しており、縦軸はセンサの出力値を、それぞれ示している。 8, 10, and 12 are graphs corresponding to FIGS. 7, 9, and 11, respectively, and the horizontal axis indicates the position on the lead 11 by P1 to P9 corresponding to the detection units 31 to 39. , The vertical axis shows the output value of the sensor, respectively.

まず、演奏者Pがリード11の中央付近を咥えた状態に対応するセンサの出力特性の一例を図11、図12に示す。
この例では、位置P4〜P8に亘って連続して比較的大きな出力値{128,255,255,255,128}が出力され、位置P1〜P3,P9の出力値はゼロであるか、又は無視し得るほど小さい。
First, FIGS. 11 and 12 show an example of the output characteristics of the sensor corresponding to the state in which the performer P holds the lead 11 near the center.
In this example, relatively large output values {128,255,255,255,128} are continuously output over positions P4 to P8, and the output values at positions P1 to P3 and P9 are zero or zero. Small enough to be ignored.

この状態では、位置P6を中心にして、位置P4,P5及び位置P7,P8の出力値が対称となるように分布することが多い。
したがって、この状態では、図12に例示するように、センサの出力値を示すグラフは全体として山形となる。
In this state, the output values of the positions P4, P5 and the positions P7 and P8 are often distributed symmetrically with the position P6 as the center.
Therefore, in this state, as illustrated in FIG. 12, the graph showing the output value of the sensor has a chevron shape as a whole.

この場合、図12(a)のようにノイズがなければ、重心位置は6.0と算出される。
他方、図12(b)のようにノイズがあると重心位置は例えば5.96と算出され、ノイズのない状態における重心位置から僅かにずれる。
ただし、このような重心位置のズレは、生成される楽音(高さ、大きさなど)に影響を及ぼすほどではないと考えられる。
つまり、ノイズが重心位置に与える影響は比較的小さいと言える。
In this case, if there is no noise as shown in FIG. 12A, the position of the center of gravity is calculated to be 6.0.
On the other hand, if there is noise as shown in FIG. 12B, the position of the center of gravity is calculated to be 5.96, for example, and is slightly deviated from the position of the center of gravity in the state without noise.
However, it is considered that such a shift in the position of the center of gravity does not affect the generated musical tone (pitch, loudness, etc.).
That is, it can be said that the influence of noise on the position of the center of gravity is relatively small.

次いで、演奏者Pがリード11を、検出部31〜39の範囲を超えて深く咥えた状態では、センサ出力は例えば図7、図8のように表れる。
この例では、最もヒール側の位置P9における出力値が比較的大きく、位置P1〜P8における出力値は無視し得るほど小さい。
つまり、リップセンサの出力値を示すグラフが全体として山形をなしていない場合である。
Next, when the performer P holds the reed 11 deeply beyond the range of the detection units 31 to 39, the sensor output appears as shown in FIGS. 7 and 8, for example.
In this example, the output value at the position P9 on the heel side is relatively large, and the output value at the positions P1 to P8 is negligibly small.
That is, the graph showing the output value of the lip sensor does not form a chevron as a whole.

この場合において、図8(a)のようにノイズがない、つまり位置P1〜P8の出力値がゼロであれば、重心位置は、上述した「数1」に基づき9.0と算出される。
他方、図8(b)のように位置P2,P4,P5においてノイズ{10,10,2}が生じれば、重心位置は8.1と算出され、ノイズのない状態における重心位置から0.9ほど大きくずれる。
In this case, if there is no noise as shown in FIG. 8A, that is, if the output values of the positions P1 to P8 are zero, the center of gravity position is calculated to be 9.0 based on the above-mentioned "Equation 1".
On the other hand, if noise {10,10,2} occurs at positions P2, P4, and P5 as shown in FIG. 8B, the center of gravity position is calculated to be 8.1, and the center of gravity position in the noise-free state is 0. There is a large deviation of about 9.

このように、ノイズを除く実質的な出力値が最もヒール側の1個の検出部に表れる場合、重心位置はノイズの影響を受けやすい。
なお、上記では、ヒール側で説明したが、最もティップ側の位置P1における出力値が比較的大きく、位置P2〜P9における出力値は無視し得るほど小さい場合にも、単に同じことがティップ側で起きているだけであるので、同様に、重心位置はノイズの影響を受けやすい。
As described above, when the substantial output value excluding noise appears in one detection unit on the heel side, the position of the center of gravity is easily affected by noise.
Although described above on the heel side, the same thing can be said on the tip side even when the output value at the position P1 on the tip side is relatively large and the output value at the positions P2 to P9 is negligibly small. Similarly, the position of the center of gravity is susceptible to noise because it is only awake.

また、演奏者Pがリード11のヒール側を咥えた状態では、例えば図9、図10のように、ヒール寄りの位置P6〜P9における出力値{128,255,255,255}が比較的大きく、位置P1〜P5における出力値は無視し得るほど小さくなる現象が生じ得る。
つまり、リップセンサの出力値を示すグラフが全体として山形をなしているものの、対称性を有していない場合である。
Further, when the performer P holds the heel side of the reed 11, the output values {128,255,255,255} at the positions P6 to P9 near the heel are relatively large, as shown in FIGS. 9 and 10, for example. , The output value at positions P1 to P5 may be negligibly small.
That is, the graph showing the output value of the lip sensor has a chevron shape as a whole, but does not have symmetry.

この場合において、図10(a)のようにノイズがない、つまり位置P1〜P5の出力値がゼロであれば、重心位置は7.7と算出される。他方、図10(b)のように位置P2,P4,P5においてノイズ{10,10,2}が生じれば、重心位置は7.6と算出され、ノイズのない状態における重心位置から0.1ほどずれる。 In this case, if there is no noise as shown in FIG. 10A, that is, if the output values of the positions P1 to P5 are zero, the center of gravity position is calculated to be 7.7. On the other hand, if noise {10,10,2} occurs at positions P2, P4, and P5 as shown in FIG. 10B, the center of gravity position is calculated to be 7.6, and the center of gravity position in the noise-free state is 0. It shifts by about 1.

このように、ノイズを除く実質的な出力値がヒール側の端の数個の検出部に表れる場合、重心位置は、図8との関連で説明した例(実質的な出力値が位置P9だけの場合)ほどではないにしても、ノイズの影響を受けることになる。
つまり、図8、図10及び図12を参照して説明したことをまとめると、リップLの接触による出力値が出力されている検出部の数がヒール側に片寄り、しかも、その検出部の数が少なくなるほど、重心位置の計算はノイズの影響を受けやすいことになる。
In this way, when the substantial output value excluding noise appears in several detection parts at the edge on the heel side, the position of the center of gravity is the example described in relation to FIG. 8 (the actual output value is only the position P9). (In the case of), it will be affected by noise, if not as much.
That is, to summarize what has been described with reference to FIGS. 8, 10 and 12, the number of detection units that output the output value due to the contact of the lip L is biased toward the heel side, and moreover, the detection units of the detection unit The smaller the number, the more susceptible the calculation of the center of gravity position to noise.

なお、上記ではヒール側で説明したが、ティップ側においても同様であり、リップLの接触による出力値が出力されている検出部の数がティップ側に片寄り、しかも、その検出部の数が少なくなるほど、重心位置の計算はノイズの影響を受けやすいことになる。 Although the description has been made on the heel side in the above, the same applies to the tip side, and the number of detection units for which the output value due to the contact of the lip L is output is biased to the tip side, and the number of the detection units is large. The smaller the number, the more susceptible the calculation of the center of gravity position to noise.

ここで、リップLがリード11上の中央近傍にある状態では(図11、図12参照)、ノイズを除く出力値は、一定数だけ連続する位置(例えば位置P4〜P8)に亘って観察されるとともに、出力値を示すグラフは、対称性を有する山形となることが多い。 Here, in a state where the lip L is near the center on the lead 11 (see FIGS. 11 and 12), the output value excluding noise is observed over a certain number of continuous positions (for example, positions P4 to P8). In addition, the graph showing the output value often has a chevron shape with symmetry.

また、ノイズを除く出力値が観察される位置が連続する一定数は、リード11が有する検出部全体の数や、個々の検出部の形状により変わり得るが、例えば図6のように、リード11が9個の検出部を有する場合、上述した一定数は5個又は6個であることが多い。 Further, the constant number of continuous positions where the output value excluding noise is observed may vary depending on the total number of detection units of the lead 11 and the shape of each detection unit. For example, as shown in FIG. 6, the lead 11 When has 9 detectors, the above-mentioned fixed number is often 5 or 6.

一方、リップLの位置がヒール側に寄りすぎると(図7〜図10参照)、リップセンサの出力値を示すグラフは非対称となる。
この現象は、仮にヒール側の位置に更なる検出部をリード11が有しているとするならば出力されたであろう出力値が欠けるために生ずる。
なお、リップLの位置がティップ側に寄りすぎた場合にも同様である。
On the other hand, if the position of the lip L is too close to the heel side (see FIGS. 7 to 10), the graph showing the output value of the lip sensor becomes asymmetric.
This phenomenon occurs because the output value that would have been output if the lead 11 had a further detection unit at the heel side position was lacking.
The same applies when the position of the lip L is too close to the tip side.

つまり、ヒール側やティップ側に、さらに、検出部があったとすれば、リップLの接触による出力値を出力する検出部の数がもっと多かったと予想される程度に出力値を出力している検出部の数が少なく、そのリップLの接触による出力値が出力されていると予想される検出部がヒール側又はティップ側に片寄って、全体で見たときに非対称な山形になっている場合には、ノイズは重心位置の計算に少なからず影響を及ぼすといえる。 That is, if there are further detection units on the heel side and tip side, the detection that outputs the output value to the extent that it is expected that the number of detection units that output the output value due to the contact of the lip L is larger. When the number of parts is small and the detection part where the output value due to the contact of the lip L is expected to be output is offset to the heel side or the tip side and has an asymmetrical chevron shape when viewed as a whole. It can be said that noise has a considerable effect on the calculation of the position of the center of gravity.

特に、ノイズを除く出力値が、最もティップ側又は最もヒール側に位置する検出部(例えば、位置P1又はP9に対応する検出部31又は39)のみから出力される場合には、ノイズの影響が大きくなる傾向にある。 In particular, when the output value excluding noise is output only from the detection unit located on the tip side or the heel side (for example, the detection unit 31 or 39 corresponding to the position P1 or P9), the influence of noise is affected. It tends to grow.

(重心位置の算出手順)
上述したセンサ出力の態様と重心位置との関係性を踏まえて、第1実施形態では、CPU5は、一定の条件の下で、閾値以上の出力値に基づいて重心位置を決定する。
(Procedure for calculating the position of the center of gravity)
Based on the relationship between the sensor output mode and the center of gravity position described above, in the first embodiment, the CPU 5 determines the center of gravity position based on the output value equal to or higher than the threshold value under certain conditions.

以下、図13に示すフローチャートを参照しながら、重心位置の決定に関する処理を説明する。
電子楽器100の電源が投入されると、CPU5は、ST11において、リップ検知部3に含まれる検出部31〜39の出力値を更新する処理を行う。
Hereinafter, processing related to determination of the position of the center of gravity will be described with reference to the flowchart shown in FIG.
When the power of the electronic musical instrument 100 is turned on, the CPU 5 performs a process of updating the output values of the detection units 31 to 39 included in the lip detection unit 3 in ST11.

次いで、CPU5は、ステップST12において、最もティップ側又は最もヒール側に位置する検出部31又は検出部39の出力値が、予め設定された閾値以上であるかどうかを判定する。
この処理は、本発明の第3処理に対応し、リップLがティップ側又はヒール側に片寄った位置に位置している可能性を判断するための1つの指標となる処理である。
Next, in step ST12, the CPU 5 determines whether or not the output value of the detection unit 31 or the detection unit 39 located on the tip side or the heel side is equal to or higher than a preset threshold value.
This process corresponds to the third process of the present invention, and is a process that serves as an index for determining the possibility that the lip L is located at a position offset to the tip side or the heel side.

ここで閾値は、例えば「100」のように具体的な数値で設定されてもよいし、1個の検出部から出力される最大の出力値のうちの一定割合(例えば10%や20%)と設定されてもよい。
また、閾値は、最もティップ側の検出部31と最もヒール側の検出部39とのそれぞれについて別個に設定されてもよい。
ただし、閾値は、ノイズと評価される出力値をほぼ除去することができ、かつ、有効と評価される出力値を除去しないように、設定されることが望ましい。
Here, the threshold value may be set by a specific numerical value such as "100", or a fixed ratio (for example, 10% or 20%) of the maximum output value output from one detection unit. May be set.
Further, the threshold value may be set separately for each of the detection unit 31 on the most tip side and the detection unit 39 on the heel side.
However, it is desirable that the threshold value is set so that the output value evaluated as noise can be substantially removed and the output value evaluated as valid is not removed.

ステップST12に関わる処理において、最もティップ側又は最もヒール側に位置する検出部31又は検出部39の出力値が閾値以上であると判定されると、CPU5における処理は、ステップST13に進む。
一方、検出部31又は検出部39の出力値が閾値未満であると判定されると、リップLの位置はティップ側又はヒール側に著しく片寄った位置にいないと考えられるため、通常の処理を実施すべく、CPU5における処理は、ステップST15に進む。
In the process related to step ST12, when it is determined that the output value of the detection unit 31 or the detection unit 39 located on the tip side or the heel side is equal to or greater than the threshold value, the process in the CPU 5 proceeds to step ST13.
On the other hand, if it is determined that the output value of the detection unit 31 or the detection unit 39 is less than the threshold value, it is considered that the position of the lip L is not significantly offset to the tip side or the heel side, so that normal processing is performed. Therefore, the process in the CPU 5 proceeds to step ST15.

次に、ステップST13に進むと、ステップST13では、CPU5は、最もティップ側又は最もヒール側に位置する検出部31又は検出部39から、閾値以上の出力値を出力している検出部がいくつ連続しているかを求め、求められた検出部の数が設定値数未満であるかどうかを判定する。 Next, when the process proceeds to step ST13, in step ST13, the CPU 5 has several consecutive detection units that output an output value equal to or higher than the threshold value from the detection unit 31 or the detection unit 39 located on the tip side or the heel side. It is determined whether or not the obtained number of detection units is less than the set value number.

この処理は、本発明の第1処理及び第4処理に相当し、上述したように、リップLの位置がティップ側又はヒール側に片寄っている可能性がある状態において、リップLの接触によると思われる出力値が出力されている検出部の数を確認することでノイズの影響が問題となるほどにリップLがティップ側又はヒール側に片寄っている、つまり、リップLの接触によって反応している検出部の数が少なすぎる状態であるか否かを判断するための処理である。 This treatment corresponds to the first treatment and the fourth treatment of the present invention, and as described above, in a state where the position of the lip L may be biased to the tip side or the heel side, according to the contact of the lip L. By checking the number of detectors that output the expected output value, the lip L is offset to the tip side or heel side so that the influence of noise becomes a problem, that is, it reacts by the contact of the lip L. This is a process for determining whether or not the number of detection units is too small.

ここで、設定値は、予め設定される値であり、リップLがリード11上の中央近傍に位置する状態のときに見られる、リード11の長手方向に連続する閾値以上の検出部の数(図12の例では「5」)以下に設定される。
つまり、リップLが、検出部の存在する領域からはみ出していないときに出力値が観測される検出部の数以下の場合には、出力値を出力している検出部の数が通常よりも少ないことを意味するため、その通常の数を設定値にすることで、その設定値以下である場合にはティップ側又はヒール側にリップLが片寄りすぎており、出力値が得られる検出部の数が少なくなりすぎていると判断することができる。
Here, the set value is a preset value, and is the number of detection units equal to or greater than the threshold value continuous in the longitudinal direction of the reed 11 which is observed when the lip L is located near the center on the reed 11. In the example of FIG. 12, it is set to "5") or less.
That is, when the lip L is less than or equal to the number of detectors whose output value is observed when the lip L does not extend beyond the area where the detector exists, the number of detectors outputting the output value is smaller than usual. Therefore, by setting the normal number to the set value, if it is less than the set value, the lip L is too biased to the tip side or the heel side, and the output value can be obtained. It can be judged that the number is too small.

なお、ノイズの影響を極力小さくすることを重視する場合には、設定値はリップLがティップ側又はヒール側に片寄っていないときに出力値を出力している検出部の数に等しくすることが好ましい。 If it is important to minimize the influence of noise, the set value should be equal to the number of detectors that output the output value when the lip L is not offset to the tip side or heel side. preferable.

一方、重心位置の大幅な移動を回避することで足りる場合、例えば、ノイズの影響を受けたときに、図10を参照して説明した程度の重心位置のズレであれば問題ないような場合には、通常、リップLの接触によって出力値を出力している検出部の数が5(図12の状態)であるのに対して、それよりも少ない数である3を設定値に設定して、図10に示すリップLの接触によって出力値を出力している検出部の数が4である場合までを許容するように設定値を通常の数よりも小さく設定してもよい。 On the other hand, when it is sufficient to avoid a large movement of the center of gravity position, for example, when there is no problem if the center of gravity position is deviated to the extent explained with reference to FIG. 10 when affected by noise. Normally, the number of detectors that output the output value by the contact of the lip L is 5 (state in FIG. 12), whereas the number 3 which is smaller than that is set as the set value. , The set value may be set smaller than the normal number so as to allow the case where the number of detection units that output the output value by the contact of the lip L shown in FIG. 10 is 4.

ステップST13において、上述した連続する検出部の数が設定値未満であると判定されると、CPU5における処理はステップST14に進む。
上述した連続する検出部の数が設定値以上であると判定されると、CPU5における処理はステップST15に進む。
If it is determined in step ST13 that the number of continuous detection units described above is less than the set value, the process in the CPU 5 proceeds to step ST14.
When it is determined that the number of continuous detection units described above is equal to or greater than the set value, the process in the CPU 5 proceeds to step ST15.

ステップST14では、CPU5は、閾値以上の出力値を出力すると判定した検出部の出力値に基づいて重心位置を決定する。
この場合、CPU5は、閾値未満の出力値を有する検出部の出力値をゼロとして扱うことになる。
この処理は、本発明の第2処理に相当する。
In step ST14, the CPU 5 determines the position of the center of gravity based on the output value of the detection unit determined to output the output value equal to or higher than the threshold value.
In this case, the CPU 5 treats the output value of the detection unit having an output value less than the threshold value as zero.
This process corresponds to the second process of the present invention.

ステップST14に進んでいることは、リップLの位置がティップ側又はヒール側に片寄りすぎた結果、リップLの接触による出力値が得られる検出部の数が少なく、ノイズの影響を受けやすい状態であることから、ステップST14では、閾値以上の出力値を出力している検出部のみによってリップLの重心位置を求める処理を実施し、ノイズの影響を受けることを回避している。 Proceeding to step ST14 means that the position of the lip L is too biased toward the tip side or the heel side, and as a result, the number of detectors from which the output value due to the contact of the lip L is obtained is small, and it is easily affected by noise. Therefore, in step ST14, the process of obtaining the position of the center of gravity of the lip L is performed only by the detection unit that outputs the output value equal to or higher than the threshold value, and the influence of noise is avoided.

その後、ステップST15において、CPU5は、決定した重心位置を音に反映させる。 After that, in step ST15, the CPU 5 reflects the determined position of the center of gravity in the sound.

一方、ステップST12,ST13から直ちにステップST15に進む場合には、ステップST15の処理を実行する前に、全ての検出部の出力値を用いて重心位置を求める処理が行われる。 On the other hand, when the process immediately proceeds from step ST12 and ST13 to step ST15, the process of obtaining the position of the center of gravity is performed using the output values of all the detection units before executing the process of step ST15.

ステップST12,ST13から直ちにステップST15に進む場合にも、閾値によってノイズと思われる出力値を出力している検出部を見極めてその検出部の出力値を計算に利用しないようにするほうが一見よいように感じるかもしれないが、ノイズによる出力であるのかリップLの接触による出力であるのかの境目になるような出力値である場合には、本来、ノイズとして扱われるべきところが、リップLの接触による出力とされたり、逆に、リップLの接触による出力であるにも関わらず、ノイズによる出力として扱われる場合があり得る。 Even when proceeding from steps ST12 and ST13 to step ST15 immediately, it seems better to identify the detection unit that outputs the output value that seems to be noise by the threshold value and not to use the output value of the detection unit for calculation. However, if the output value is such that it is the boundary between the output due to noise and the output due to the contact of the lip L, what should be treated as noise should be due to the contact of the lip L. It may be an output, or conversely, it may be treated as an output due to noise even though it is an output due to the contact of the lip L.

より具体的に説明すると、閾値が小さければ、ノイズであるにも関わらずノイズと判断されない確率が高くなり、逆に、閾値が大きければ、ノイズではないにも関わらずノイズと判断される確率が高くなる。 More specifically, if the threshold value is small, the probability that it is not judged as noise even though it is noise is high, and conversely, if the threshold value is large, the probability that it is judged as noise even though it is not noise is high. It gets higher.

一方、ステップST12,ST13から直ちにステップST15に進む場合には、リップLが多くの検出部に接触している状態にあるといえ、重心位置の計算は図12を参照して説明したように、ノイズの影響を受け難い状態にあるため、閾値で判断するよりも、通常の計算を実行するほうがよい場合も少なくなく、このため、本実施形態では、ステップST12,ST13から直ちにステップST15に進む場合には、ステップST15の処理を実行する前に、全ての検出部の出力値を用いて重心位置を求める処理を行うようにしている。 On the other hand, when the process immediately proceeds from step ST12 and ST13 to step ST15, it can be said that the lip L is in contact with many detection units, and the calculation of the center of gravity position is performed with reference to FIG. Since it is in a state where it is not easily affected by noise, it is often better to execute a normal calculation than to judge by a threshold value. Therefore, in the present embodiment, when the process immediately proceeds from steps ST12 and ST13 to step ST15. Is set to perform a process of obtaining the position of the center of gravity using the output values of all the detection units before executing the process of step ST15.

ただし、確実にノイズであるか否かを判別できる適切な閾値を与えることができる状況である場合は、ステップST12,ST13から直ちにステップST15に進む場合でも、ステップST14と同様の処理を行うようにしてもよい。
つまり、常に、閾値以上の出力値を出力している検出部だけに制限してリップLの重心位置を計算するようにしてもよい。
However, if it is possible to give an appropriate threshold value that can reliably determine whether or not noise is present, the same processing as in step ST14 should be performed even when the process immediately proceeds from steps ST12 and ST13 to step ST15. You may.
That is, the position of the center of gravity of the lip L may always be calculated by limiting the output value to the detection unit that outputs the threshold value or more.

そして、CPU5は、上述したステップST11〜ステップST15を繰り返し実行する。 Then, the CPU 5 repeatedly executes the above-mentioned steps ST11 to ST15.

このように、第1実施形態では、ノイズではないと評価される出力値がティップ側又はヒール側に偏って表れており、かつ、ノイズではないと評価される出力値を出力している検出部の数が設定値未満であるというノイズの影響で重心位置の計算結果に大きな誤差が出やすい状況であっても、ノイズの影響を受けていない確からしい重心位置を決定することができる。
そのため、リード11上のリップLの物理的な位置と求めたリップLの重心位置との間の乖離が少なくでき、演奏者Pの意図により近い楽音の生成が可能となる。
As described above, in the first embodiment, the output value evaluated as not noise appears biased toward the tip side or the heel side, and the detection unit outputs the output value evaluated as not noise. Even in a situation where a large error is likely to occur in the calculation result of the center of gravity position due to the influence of noise that the number of is less than the set value, it is possible to determine a probable center of gravity position that is not affected by noise.
Therefore, the dissociation between the physical position of the lip L on the lead 11 and the obtained center of gravity position of the lip L can be reduced, and a musical tone closer to the intention of the performer P can be generated.

[第2実施形態]
図14〜図17を参照して、本発明の第2実施形態に係る電子楽器を説明する。
第2実施形態に係る電子楽器の物理的及び機能的な内容は、第1実施形態に係る電子楽器100と同様である。
ただし、制御手段としてのCPU5が実行する処理の内容、特に重心位置の算出手法が、第1実施形態と異なっている。
したがって、以下、重心位置の算出手法を中心に説明する。
[Second Embodiment]
An electronic musical instrument according to a second embodiment of the present invention will be described with reference to FIGS. 14 to 17.
The physical and functional contents of the electronic musical instrument according to the second embodiment are the same as those of the electronic musical instrument 100 according to the first embodiment.
However, the content of the process executed by the CPU 5 as the control means, particularly the method of calculating the position of the center of gravity is different from that of the first embodiment.
Therefore, the method of calculating the position of the center of gravity will be mainly described below.

(仮想検出部及び仮想出力値)
図14は、仮想検出部の一例を示す図である。また、図15は、仮想検出部を加えていない場合と加えている場合の出力値及び重心位置の例を示す表であり、図16は、図15に対応するグラフであり、横軸はリード11上の位置を検出部31〜39に対応したP1〜P9で示しており、縦軸はセンサの出力値を、それぞれ示している。
なお、以降では、グラフ等と検出部との関係がわかりやすいように、検出部に対する符号としてもP1〜P13との表記を用いる。
(Virtual detector and virtual output value)
FIG. 14 is a diagram showing an example of a virtual detection unit. Further, FIG. 15 is a table showing an example of the output value and the position of the center of gravity when the virtual detection unit is not added and when it is added, FIG. 16 is a graph corresponding to FIG. 15, and the horizontal axis is the lead. The positions on 11 are indicated by P1 to P9 corresponding to the detection units 31 to 39, and the vertical axis indicates the output value of the sensor, respectively.
In the following, the notation P1 to P13 will be used as the reference numerals for the detection unit so that the relationship between the graph and the detection unit can be easily understood.

リード11上の検出部31〜39の物理的な個数は変わらないが、CPU5は、一定の条件下で、例えば図14に破線で示すように物理的にある最もヒール側の検出部39(以下、単に最もヒール側の検出部という場合がある)の更にヒール側に仮想的な仮想出力値を有する仮想検出部(本例では仮想検出部P10〜P13)を生成する。
この仮想検出部を生成する処理は、本発明の第5処理に相当する。
Although the physical number of detection units 31 to 39 on the lead 11 does not change, the CPU 5 has the most heel side detection unit 39 (hereinafter, as shown by the broken line in FIG. 14) under certain conditions. , A virtual detection unit (virtual detection units P10 to P13 in this example) having a virtual virtual output value is generated on the heel side of the detection unit on the most heel side.
The process of generating this virtual detection unit corresponds to the fifth process of the present invention.

なお、以下では、ヒール側で説明するが、第1実施形態でも述べたように、同様の状況はティップ側でも起こるため、CPU5は、条件に応じて、物理的に最もティップ側の検出部31(以下、単に最もティップ側の検出部という場合がある)の更にティップ側に仮想検出部を生成する。 In the following description, the heel side will be described, but as described in the first embodiment, the same situation also occurs on the tip side. Therefore, the CPU 5 physically determines the tip side detection unit 31 according to the conditions. (Hereinafter, it may be simply referred to as the detection unit on the tip side), and a virtual detection unit is generated on the tip side.

そして、CPU5は、このような仮想検出部に対して後述するような仮想的な出力値(以下、仮想出力値ともいう)を割り当て、この仮想出力値を有する仮想検出部を含めて上述した重心位置を算出する。 Then, the CPU 5 assigns a virtual output value (hereinafter, also referred to as a virtual output value) as described later to such a virtual detection unit, and includes the virtual detection unit having this virtual output value as described above. Calculate the position.

このような仮想検出部及び仮想出力値が生成されるための条件は、最もティップ側又は最もヒール側の検出部が閾値以上の出力値を出力していること、かつ、最もティップ側又は最もヒール側の検出部から閾値以上の出力値を出力している検出部が連続する数が設定値未満であること、である。 The conditions for generating such a virtual detection unit and a virtual output value are that the detection unit on the most tip side or the most heel side outputs an output value equal to or higher than the threshold value, and the most tip side or the most heel side. The number of consecutive detection units that output an output value equal to or greater than the threshold value from the side detection unit is less than the set value.

この条件は、既に、第1実施形態で説明したとおり、リップLの位置がティップ側又はヒール側に片寄った位置にあり、リップLが接触している検出部の数が少ない状況に当たる条件であり、設定値及び閾値は、第1実施形態において説明したのと同様に設定される。 This condition is a condition in which the position of the lip L is already offset to the tip side or the heel side as described in the first embodiment, and the number of detection portions in contact with the lip L is small. , The set value and the threshold value are set in the same manner as described in the first embodiment.

そして、以下で説明するように、いくつの仮想検出部を生成するかは、設定値を基準として定められ、仮想検出部に割り当てる仮想出力値は、リップLがティップ側やヒール側に片寄った位置にいないときに見られる通常の状態である対称性を有する山形の出力値を再現できるように決められる。 Then, as described below, how many virtual detection units are generated is determined based on the set value, and the virtual output value assigned to the virtual detection unit is the position where the lip L is offset to the tip side or the heel side. It is determined so that the output value of the chevron with symmetry, which is the normal state seen when not in, can be reproduced.

具体的に、図を参照しながら説明する。例えば図16(a)では、位置P7〜P9に対応する出力値が{128,255,255}であり、他の位置P1〜P6の出力値が{0}である。 Specifically, it will be described with reference to the figure. For example, in FIG. 16A, the output values corresponding to the positions P7 to P9 are {128,255,255}, and the output values of the other positions P1 to P6 are {0}.

一方、このようにヒール側に片寄っていない場合には、図12に示したように閾値が例えば「100」であれば、閾値以上の検出部の数としては5つであり、第1実施形態で述べたように、設定値としては、この通常の状態における閾値以上の検出部の数が設定されているため、図16(a)に示す場合、設定値よりも2つ不足している状態にあることがわかる。 On the other hand, in the case where the heel side is not biased in this way, if the threshold value is, for example, "100" as shown in FIG. 12, the number of detection units equal to or greater than the threshold value is 5, and the first embodiment As described in FIG. 16A, since the number of detection units equal to or greater than the threshold value in this normal state is set as the set value, in the case shown in FIG. 16A, the state is two short of the set value. You can see that it is in.

なお、この不足数は、最もヒール側の検出部P9からティップ側に閾値以上の出力値を出力している検出部の数を検出部P9を含めて数えれば3つとして求められ、設定値の数5と差分をとることで求めることが可能である。 The number of shortages can be obtained as three by counting the number of detection units that output an output value equal to or higher than the threshold value from the detection unit P9 on the heel side to the tip side, including the detection unit P9. It can be obtained by taking the difference from the number 5.

ここで、この検出部の数の不足は、リップLがヒール側に寄りすぎた位置にあることが原因のため、検出部P9よりも更にヒール側に2つの検出部が存在したと考えたときに、その2つの検出部の出力値を加えた出力値の山形状は、通常の出力値のときに見られる図12(a)に示すような出力値の山形状、つまり、対称性を有する山形の出力値になるものと考えられる。 Here, when it is considered that the insufficient number of detection units is caused by the lip L being located too close to the heel side, and therefore there are two detection units further on the heel side than the detection unit P9. The mountain shape of the output value, which is the sum of the output values of the two detection units, has a mountain shape of the output value as shown in FIG. 12A, that is, symmetry, which is seen at the time of a normal output value. It is thought that the output value will be Yamagata.

このことから、検出部P9よりも更にヒール側に2つの検出部が存在したと考えたときに、その追加した仮想検出部P10,P11の仮想的な仮想出力値が、全体で見たときに、図16(b)に示すような対称性を有する山形となるようにするのが自然であると考えられる。 From this, when it is considered that there are two detection units on the heel side of the detection unit P9, the virtual virtual output values of the added virtual detection units P10 and P11 are viewed as a whole. , It is considered natural to have a chevron shape having symmetry as shown in FIG. 16 (b).

したがって、対称性を有する山形となるように、仮想検出部P10,P11に対して、閾値以上の出力値を出力している検出部P7,P8,P9(以下、実有効検出部という)を含めて対称性を有する山形とするために、実有効検出部(検出部のP7,P8,P9)と仮想検出部P10,P11をまとめて有効検出部として取り扱い、この有効検出部(検出部のP7,P8,P9及び仮想検出部P10,P11)の中央の検出部(検出部P8)を基準に出力値の山形状が対称となるように、仮想検出部P10,P11に仮想出力値を設定する(図16(b)参照)。 Therefore, the detection units P7, P8, and P9 (hereinafter referred to as actual effective detection units) that output an output value equal to or higher than the threshold value are included with respect to the virtual detection units P10 and P11 so as to form a chevron with symmetry. In order to form a chevron with symmetry, the actual effective detection unit (P7, P8, P9 of the detection unit) and the virtual detection units P10, P11 are collectively treated as the effective detection unit, and this effective detection unit (P7 of the detection unit) is handled. , P8, P9 and virtual detection units P10, P11) Set virtual output values in virtual detection units P10, P11 so that the mountain shape of the output value is symmetrical with respect to the central detection unit (detection unit P8). (See FIG. 16 (b)).

つまり、図16の例でいえば、2個の仮想検出部P11,P12に対して、それぞれ{255,128}の仮想出力値を割り当てるようにして、図16(b)のようにする。
なお、本説明はヒール側で行っているが、ティップ側であっても同様である。
That is, in the example of FIG. 16, the virtual output values of {255,128} are assigned to the two virtual detection units P11 and P12, respectively, as shown in FIG. 16B.
Although this explanation is given on the heel side, the same applies to the tip side.

そして、仮想的な位置P10,P11に番号「10」、「11」を割り当てるとすると、実有効検出部及び仮想検出部(有効検出部)の出力値に基づいて算出される重心位置は、次式のとおり9.0となる。 Then, assuming that the numbers "10" and "11" are assigned to the virtual positions P10 and P11, the position of the center of gravity calculated based on the output values of the actual effective detection unit and the virtual detection unit (effective detection unit) is as follows. As shown in the formula, it becomes 9.0.

Figure 0006786982

これに対して、仮想検出部の仮想出力値を考慮することなく算出された重心位置は、図15、図16(a)に示すように8.2である。
したがって、仮想検出部の仮想出力値にも基づいて重心位置を計算することで、算出結果が理想的な重心位置に近づくことが期待される。
Figure 0006786982

On the other hand, the position of the center of gravity calculated without considering the virtual output value of the virtual detection unit is 8.2 as shown in FIGS. 15 and 16A.
Therefore, by calculating the center of gravity position based on the virtual output value of the virtual detection unit, it is expected that the calculation result approaches the ideal center of gravity position.

ところで、仮想出力値も用いて決定した重心位置が、実際にあり得る最もヒール側の重心位置よりも更にヒール側に算出される場合があり得るが、このような重心位置は現実的ではないため、この場合には、CPU5は、重心位置を、実際にあり得る最もヒール側の位置(例えば図14の位置P9)に決定する処理を行う。 By the way, the position of the center of gravity determined by using the virtual output value may be calculated further to the heel side than the actual possible position of the center of gravity on the heel side, but such a position of the center of gravity is not realistic. In this case, the CPU 5 performs a process of determining the position of the center of gravity at the most possible heel-side position (for example, the position P9 in FIG. 14).

なお、ティップ側であっても、同様のこと、つまり、仮想出力値も用いて決定した重心位置が、実際にあり得る最もティップ側の重心位置よりも更にティップ側に算出される場合があるが、この場合にも、CPU5は、重心位置を、実際にあり得る最もティップ側の位置(例えば図14の位置P1)に決定する処理を行う。 Even on the tip side, the same thing, that is, the position of the center of gravity determined by using the virtual output value may be calculated on the tip side more than the position of the center of gravity on the most possible tip side. In this case as well, the CPU 5 performs a process of determining the position of the center of gravity at the most possible tip-side position (for example, the position P1 in FIG. 14).

このような物理的な検出部が存在する位置よりも外側に重心位置があると算出されたときに、最も外側に位置する検出部の位置を重心位置とする処理は、本発明の第6処理に相当する。 When it is calculated that the position of the center of gravity is outside the position where such a physical detection unit exists, the process of setting the position of the detection unit located on the outermost side as the center of gravity is the sixth process of the present invention. Corresponds to.

(重心位置の算出手順)
図17に示すフローチャートを参照しながら、第2実施形態における重心位置の決定に関する処理を説明する。
(Procedure for calculating the position of the center of gravity)
The process of determining the position of the center of gravity in the second embodiment will be described with reference to the flowchart shown in FIG.

第2実施形態における重心位置の決定手順は、基本的に第1実施形態における重心位置の決定手順と同様である。
異なる手順は、ステップST24において重心位置が決定される際に、実有効検出部の出力値に加えて仮想検出部の仮想出力値を(つまり、有効検出部の出力値を)使用することである。
The procedure for determining the position of the center of gravity in the second embodiment is basically the same as the procedure for determining the position of the center of gravity in the first embodiment.
A different procedure is to use the virtual output value of the virtual detection unit (that is, the output value of the effective detection unit) in addition to the output value of the actual effective detection unit when the position of the center of gravity is determined in step ST24. ..

ただし、仮想出力値に基づいて算出された重心位置が、現実的にとり得る位置(図14ではP1〜P9)の範囲から外れる場合には、上述した第6処理に相当する処理が行われ、重心位置が現実的にとり得る最もティップ側又はヒール側の位置に決定されることになる。
これにより、よりもっともらしい重心位置を算出することが可能となる。
However, if the position of the center of gravity calculated based on the virtual output value is out of the range of realistically possible positions (P1 to P9 in FIG. 14), a process corresponding to the above-mentioned sixth process is performed and the center of gravity is performed. The position will be determined to be the most tip-side or heel-side position that can be realistically taken.
This makes it possible to calculate a more plausible center of gravity position.

実際には、重心位置は小数点以下の数値を有する形で算出される、つまり、いずれかの検出部の番号に合わせているわけではなく、計算としては、2つの検出部の間にリップLの重心位置が存在するような状況も算出されるようになっているため、上記のような仮想検出部を想定して計算を行うほうが、第1実施形態よりも、より高い精度で重心位置を求めることができる。 Actually, the position of the center of gravity is calculated in the form of having a numerical value after the decimal point, that is, it does not match the number of one of the detection units, and the calculation is that the lip L is between the two detection units. Since the situation where the center of gravity position exists is also calculated, it is better to calculate by assuming the virtual detection unit as described above to obtain the center of gravity position with higher accuracy than in the first embodiment. be able to.

なお、ステップST22,ST23から直ちにステップST25に進む場合には、第1実施形態と同様に、ステップST25の処理を実行する前に、全ての検出部の出力値を用いて重心位置を求める処理を行っている。 When proceeding to step ST25 immediately from steps ST22 and ST23, as in the first embodiment, before executing the process of step ST25, a process of obtaining the position of the center of gravity using the output values of all the detection units is performed. Is going.

このように、第2実施形態では、重心位置を決定する際に有効検出部の出力値を用いるため、よりもっともらしい重心位置を得ることができる。その結果、演奏者Pがティップ側又はヒール側を咥えたときにも、演奏者Pの意図により近い楽音を生成することが可能となる。 As described above, in the second embodiment, since the output value of the effective detection unit is used when determining the position of the center of gravity, a more plausible position of the center of gravity can be obtained. As a result, even when the performer P holds the tip side or the heel side, it is possible to generate a musical tone closer to the intention of the performer P.

以上、具体的な実施形態に基づいて本発明の電子楽器用リード及び電子楽器について説明してきたが、本発明は、上記の具体的な実施形態に限定されるものではなく、本発明の技術的範囲には、本発明の目的が達成される範囲での様々な変形や改良などが含まれるものであり、そのことは当業者にとって特許請求の範囲の記載から明らかである。 Although the lead for an electronic musical instrument and the electronic musical instrument of the present invention have been described above based on the specific embodiments, the present invention is not limited to the above-mentioned specific embodiments, and the technical aspects of the present invention are not limited to the above. The scope includes various modifications and improvements within the scope of achieving the object of the present invention, which is clear to those skilled in the art from the description of the scope of claims.

以下に、この出願の願書に最初に添付した特許請求の範囲に記載した発明を付記する。付記に記載した請求項の項番は、この出願の願書に最初に添付した特許請求の範囲の通りである。
<請求項1>
先端部から基端部に向かってリップの接触状態を検出する複数の検出部が設けられたリードと、
前記検出部の出力値に基づき前記リード上での前記リップの重心位置を決定する制御部と、を備え、
前記制御部は、
閾値以上の前記出力値を出力している前記検出部を判定する第1処理と、
前記第1処理によって前記閾値以上の前記出力値を出力していると判定された前記検出部の前記出力値に基づいて前記重心位置を決定する第2処理と、を含む処理を実行することを特徴とする電子楽器。
<請求項2>
前記制御部は、最も先端部側又は基端部側に位置する前記検出部が前記閾値以上の前記出力値を出力しているかを判定する第3処理と、
前記第3処理によって最も先端部側又は基端部側に位置する前記検出部が前記閾値以上の前記出力値を出力していると判定された場合に、その最も先端部側又は基端部側に位置する前記検出部から前記閾値以上の前記出力値を出力している前記検出部が連続していくつあるかを求める第4処理と、
前記第4処理によって求められた前記検出部の数が予め設定された数未満である場合に仮想出力値を有する仮想検出部を設定する第5処理と、を実行し、
前記仮想出力値も用いるようにして前記第2処理を実行することを特徴とする請求項1に記載の電子楽器。
<請求項3>
前記第5処理は、前記第3処理で基端部側に位置する前記検出部が前記閾値以上の前記出力値を出力していると判定され、前記第4処理によって求められた前記検出部の数が予め設定された数未満である場合に、その不足する数の前記仮想検出部が最も基端部側に位置する前記検出部から、さらに、基端部側に存在するものとするとともに、最も基端部側に位置する前記検出部から連続して前記閾値以上の前記出力値を出力している前記検出部を実有効検出部とし、前記実有効検出部と前記仮想検出部とを含めた検出部を有効検出部として、前記実有効検出部の前記出力値を用いて、前記有効検出部の中央に位置する検出部を基準に前記出力値が対称状態となるように前記仮想検出部に前記仮想出力値を設定する処理であることを特徴とする請求項2に記載の電子楽器。
<請求項4>
前記制御部は、前記仮想出力値も用いるようにして前記第2処理を実行して決定した前記重心位置が、実際にあり得る最も基端部側の前記重心位置よりも、さらに、基端部側である場合に、前記重心位置を実際にあり得る最も基端部側の前記重心位置とする第6処理を実行することを特徴とする請求項3に記載の電子楽器。
<請求項5>
前記第5処理は、前記第3処理で先端部側に位置する前記検出部が前記閾値以上の前記出力値を出力していると判定され、前記第4処理によって求められた前記検出部の数が予め設定された数未満である場合に、その不足する数の前記仮想検出部が最も先端部側に位置する前記検出部から、さらに、先端部側に存在するものとするとともに、最も先端部側に位置する前記検出部から連続して前記閾値以上の前記出力値を出力している前記検出部を実有効検出部とし、前記実有効検出部と前記仮想検出部とを含めた検出部を有効検出部として、前記実有効検出部の前記出力値を用いて、前記有効検出部の中央に位置する検出部を基準に前記出力値が対称状態となるように前記仮想検出部に前記仮想出力値を設定する処理であることを特徴とする請求項2に記載の電子楽器。
<請求項6>
前記制御部は、前記仮想出力値も用いるようにして前記第2処理を実行して決定した前記重心位置が、実際にあり得る最も先端部側の前記重心位置よりも、さらに、先端部側である場合に、前記重心位置を実際にあり得る最も先端部側の前記重心位置とする第6処理を実行することを特徴とする請求項5に記載の電子楽器。
<請求項7>
先端部から基端部に向かってリップの接触状態を検出する複数の検出部が設けられたリードを備える電子楽器の制御方法であって、
閾値以上の出力値を出力している前記検出部を求める第1ステップと、
前記第1ステップによって求めた前記検出部に対応する前記出力値を用いて、前記リード上での前記リップの重心位置を決定する第2ステップと、を含むことを特徴とする電子楽器の制御方法。
<請求項8>
先端部から基端部に向かってリップの接触状態を検出する複数の検出部が設けられたリードを備える電子楽器の制御部に、
閾値以上の出力値を出力している前記検出部を求める第1処理と、
前記第1処理によって求めた前記検出部に対応する前記出力値を用いて、前記リード上での前記リップの重心位置を決定する第2処理と、を含む処理を実行させることを特徴とする電子楽器用のプログラム。
The inventions described in the claims originally attached to the application of this application are added below. The claims in the appendix are as specified in the claims originally attached to the application for this application.
<Claim 1>
A lead provided with a plurality of detectors for detecting the contact state of the lip from the tip to the base,
A control unit that determines the position of the center of gravity of the lip on the lead based on the output value of the detection unit is provided.
The control unit
The first process of determining the detection unit that outputs the output value equal to or higher than the threshold value, and
The process including the second process of determining the position of the center of gravity based on the output value of the detection unit determined to output the output value equal to or higher than the threshold value by the first process is executed. A characteristic electronic musical instrument.
<Claim 2>
The control unit has a third process of determining whether the detection unit located closest to the tip end side or the base end portion side outputs the output value equal to or higher than the threshold value.
When it is determined by the third process that the detection unit located on the most tip side or the base end side outputs the output value equal to or higher than the threshold value, the most tip side or the base end side thereof. The fourth process of determining how many consecutive detection units are outputting the output value equal to or higher than the threshold value from the detection unit located at
When the number of the detection units obtained by the fourth process is less than the preset number, the fifth process of setting the virtual detection unit having the virtual output value is executed.
The electronic musical instrument according to claim 1, wherein the second process is executed by using the virtual output value as well.
<Claim 3>
In the fifth process, it is determined that the detection unit located on the proximal end side in the third process outputs the output value equal to or higher than the threshold value, and the detection unit obtained by the fourth process When the number is less than a preset number, it is assumed that the insufficient number of the virtual detection units exists from the detection unit located closest to the base end side to the base end side. The detection unit that continuously outputs the output value equal to or higher than the threshold value from the detection unit located on the most proximal end side is defined as an actual effective detection unit, and includes the actual effective detection unit and the virtual detection unit. Using the output value of the actual effective detection unit as the effective detection unit, the virtual detection unit so that the output value becomes symmetrical with respect to the detection unit located at the center of the effective detection unit. The electronic musical instrument according to claim 2, wherein the process is for setting the virtual output value.
<Claim 4>
In the control unit, the position of the center of gravity determined by executing the second process so as to use the virtual output value is further higher than the position of the center of gravity on the most possible base end side. The electronic musical instrument according to claim 3, wherein when the side is on the side, the sixth process is performed so that the position of the center of gravity is actually the position of the center of gravity on the most proximal end side.
<Claim 5>
In the fifth process, it is determined that the detection unit located on the tip end side in the third process outputs the output value equal to or higher than the threshold value, and the number of the detection units obtained by the fourth process is obtained. When is less than a preset number, it is assumed that the insufficient number of the virtual detection units is present from the detection unit located closest to the tip side to the tip side, and the most tip portion. The detection unit that continuously outputs the output value equal to or higher than the threshold value from the detection unit located on the side is used as the actual effective detection unit, and the detection unit including the actual effective detection unit and the virtual detection unit is used. As the effective detection unit, the output value of the actual effective detection unit is used, and the virtual output is output to the virtual detection unit so that the output value becomes symmetrical with respect to the detection unit located at the center of the effective detection unit. The electronic musical instrument according to claim 2, wherein the process is for setting a value.
<Claim 6>
In the control unit, the position of the center of gravity determined by executing the second process so as to use the virtual output value is further on the tip side than the position of the center of gravity on the most tip side that is actually possible. The electronic musical instrument according to claim 5, wherein in some cases, the sixth process is performed in which the position of the center of gravity is set to the position of the center of gravity on the most tip side that can actually be located.
<Claim 7>
It is a control method of an electronic musical instrument including a lead provided with a plurality of detection parts for detecting a contact state of a lip from a tip portion to a base end portion.
The first step of obtaining the detection unit that outputs an output value equal to or higher than the threshold value, and
A method for controlling an electronic musical instrument, which comprises a second step of determining the position of the center of gravity of the lip on the lead by using the output value corresponding to the detection unit obtained in the first step. ..
<Claim 8>
A control unit of an electronic musical instrument having a lead provided with a plurality of detection units for detecting a contact state of a lip from a tip portion to a base end portion.
The first process for obtaining the detection unit that outputs an output value equal to or higher than the threshold value, and
An electron characterized in that a process including a second process of determining the position of the center of gravity of the lip on the lead is executed by using the output value corresponding to the detection unit obtained by the first process. Program for musical instruments.

100 電子楽器
3 リップ検知部
5 CPU(制御部)
10 マウスピース
11 電子楽器用リード(リード)
31〜39 検出部
S11〜S19 タッチセンサ
100 Electronic musical instrument 3 Lip detection unit 5 CPU (control unit)
10 Mouthpiece 11 Lead for electronic musical instruments
31-39 Detection unit S11-S19 Touch sensor

Claims (8)

先端部から基端部に向かってリップの接触状態を検出する複数の検出部が設けられたリードと、
前記検出部の出力値に基づき前記リード上での前記リップの重心位置を決定する制御部と、を備え、
前記制御部は、
閾値以上の前記出力値を出力している前記検出部を判定する第1処理と、
前記第1処理によって前記閾値以上の前記出力値を出力していると判定された前記検出 の前記出力値に基づいて前記重心位置を決定する第2処理と、を含む処理を実行するこ とを特徴とする電子楽器。
A lead provided with a plurality of detectors for detecting the contact state of the lip from the tip to the base,
A control unit that determines the position of the center of gravity of the lip on the lead based on the output value of the detection unit is provided.
The control unit
The first process of determining the detection unit that outputs the output value equal to or higher than the threshold value, and
A process including a second process of determining the position of the center of gravity based on the output value of the detection determined to be outputting the output value equal to or higher than the threshold value by the first process is executed. A characteristic electronic musical instrument.
前記制御部は、最も先端部側又は基端部側に位置する前記検出部が前記閾値以上の前記出力値を出力しているかを判定する第3処理と、
前記第3処理によって最も先端部側又は基端部側に位置する前記検出部が前記閾値以上の前記出力値を出力していると判定された場合に、その最も先端部側又は基端部側に位置する前記検出部から前記閾値以上の前記出力値を出力している前記検出部が連続していくつあるかを求める第4処理と、
前記第4処理によって求められた前記検出部の数が予め設定された数未満である場合に仮想出力値を有する仮想検出部を設定する第5処理と、を実行し、
前記仮想出力値も用いるようにして前記第2処理を実行することを特徴とする請求項1に記載の電子楽器。
The control unit has a third process of determining whether the detection unit located closest to the tip end side or the base end portion side outputs the output value equal to or higher than the threshold value.
When it is determined by the third process that the detection unit located on the most tip side or the base end side outputs the output value equal to or higher than the threshold value, the most tip side or the base end side thereof. The fourth process of determining how many consecutive detection units are outputting the output value equal to or higher than the threshold value from the detection unit located at
When the number of the detection units obtained by the fourth process is less than the preset number, the fifth process of setting the virtual detection unit having the virtual output value is executed.
The electronic musical instrument according to claim 1, wherein the second process is executed by using the virtual output value as well.
前記第5処理は、前記第3処理で基端部側に位置する前記検出部が前記閾値以上の前記出力値を出力していると判定され、前記第4処理によって求められた前記検出部の数が予め設定された数未満である場合に、その不足する数の前記仮想検出部が最も基端部側に位置する前記検出部から、さらに、基端部側に存在するものとするとともに、最も基端部側に位置する前記検出部から連続して前記閾値以上の前記出力値を出力している前記検出部を実有効検出部とし、前記実有効検出部と前記仮想検出部とを含めた検出部を有効検出部として、前記実有効検出部の前記出力値を用いて、前記有効検出部の中央に位置する検出部を基準に前記出力値が対称状態となるように前記仮想検出部に前記仮想出力値を設定する処理であることを特徴とする請求項2に記載の電子楽器。 In the fifth process, it is determined that the detection unit located on the proximal end side in the third process outputs the output value equal to or higher than the threshold value, and the detection unit obtained by the fourth process When the number is less than a preset number, it is assumed that the insufficient number of the virtual detection units exists from the detection unit located closest to the base end side to the base end side. The detection unit that continuously outputs the output value equal to or higher than the threshold value from the detection unit located on the most proximal end side is defined as an actual effective detection unit, and includes the actual effective detection unit and the virtual detection unit. Using the output value of the actual effective detection unit as the effective detection unit, the virtual detection unit so that the output value becomes symmetrical with respect to the detection unit located at the center of the effective detection unit. The electronic musical instrument according to claim 2, wherein the process is for setting the virtual output value. 前記制御部は、前記仮想出力値も用いるようにして前記第2処理を実行して決定した前記重心位置が、実際にあり得る最も基端部側の前記重心位置よりも、さらに、基端部側である場合に、前記重心位置を実際にあり得る最も基端部側の前記重心位置とする第6処理を実行することを特徴とする請求項3に記載の電子楽器。 In the control unit, the position of the center of gravity determined by executing the second process so as to use the virtual output value is further higher than the position of the center of gravity on the most possible base end side. The electronic musical instrument according to claim 3, wherein when the side is on the side, the sixth process is performed so that the position of the center of gravity is actually the position of the center of gravity on the most proximal end side. 前記第5処理は、前記第3処理で先端部側に位置する前記検出部が前記閾値以上の前記出力値を出力していると判定され、前記第4処理によって求められた前記検出部の数が予め設定された数未満である場合に、その不足する数の前記仮想検出部が最も先端部側に位置する前記検出部から、さらに、先端部側に存在するものとするとともに、最も先端部側に位置する前記検出部から連続して前記閾値以上の前記出力値を出力している前記検出部を実有効検出部とし、前記実有効検出部と前記仮想検出部とを含めた検出部を有効検出部として、前記実有効検出部の前記出力値を用いて、前記有効検出部の中央に位置する検出部を基準に前記出力値が対称状態となるように前記仮想検出部に前記仮想出力値を設定する処理であることを特徴とする請求項2に記載の電子楽器。 In the fifth process, it is determined that the detection unit located on the tip end side in the third process outputs the output value equal to or higher than the threshold value, and the number of the detection units obtained by the fourth process is obtained. When is less than a preset number, it is assumed that the insufficient number of the virtual detection units is present from the detection unit located closest to the tip side to the tip side, and the most tip portion. The detection unit that continuously outputs the output value equal to or higher than the threshold value from the detection unit located on the side is used as the actual effective detection unit, and the detection unit including the actual effective detection unit and the virtual detection unit is used. As the effective detection unit, the output value of the actual effective detection unit is used, and the virtual output is output to the virtual detection unit so that the output value becomes symmetrical with respect to the detection unit located at the center of the effective detection unit. The electronic musical instrument according to claim 2, wherein the process is for setting a value. 前記制御部は、前記仮想出力値も用いるようにして前記第2処理を実行して決定した前記重心位置が、実際にあり得る最も先端部側の前記重心位置よりも、さらに、先端部側である場合に、前記重心位置を実際にあり得る最も先端部側の前記重心位置とする第6処理を実行することを特徴とする請求項5に記載の電子楽器。 In the control unit, the position of the center of gravity determined by executing the second process so as to use the virtual output value is further on the tip side than the position of the center of gravity on the most tip side that is actually possible. The electronic musical instrument according to claim 5, wherein in some cases, the sixth process is performed in which the position of the center of gravity is set to the position of the center of gravity on the most tip side that can actually be located. 先端部から基端部に向かってリップの接触状態を検出する複数の検出部が設けられたリードを備える電子楽器の制御方法であって、
閾値以上の出力値を出力している前記検出部を求める第1ステップと、
前記第1ステップによって求めた前記検出部に対応する前記出力値を用いて、前記リード上での前記リップの重心位置を決定する第2ステップと、を含むことを特徴とする電子楽器の制御方法。
It is a control method of an electronic musical instrument including a lead provided with a plurality of detection parts for detecting a contact state of a lip from a tip portion to a base end portion.
The first step of obtaining the detection unit that outputs an output value equal to or higher than the threshold value, and
A method for controlling an electronic musical instrument, which comprises a second step of determining the position of the center of gravity of the lip on the lead by using the output value corresponding to the detection unit obtained in the first step. ..
先端部から基端部に向かってリップの接触状態を検出する複数の検出部が設けられたリードを備える電子楽器の制御部に、
閾値以上の出力値を出力している前記検出部を求める第1処理と、
前記第1処理によって求めた前記検出部に対応する前記出力値を用いて、前記リード上での前記リップの重心位置を決定する第2処理と、を含む処理を実行させることを特徴とする電子楽器用のプログラム。
A control unit of an electronic musical instrument having a lead provided with a plurality of detection units for detecting a contact state of a lip from a tip portion to a base end portion.
The first process for obtaining the detection unit that outputs an output value equal to or higher than the threshold value, and
An electron characterized by executing a process including a second process of determining the position of the center of gravity of the lip on the lead using the output value corresponding to the detection unit obtained by the first process. Program for musical instruments.
JP2016179660A 2016-09-14 2016-09-14 An electronic musical instrument with a reed, how to control the electronic musical instrument, and a program for the electronic musical instrument. Active JP6786982B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016179660A JP6786982B2 (en) 2016-09-14 2016-09-14 An electronic musical instrument with a reed, how to control the electronic musical instrument, and a program for the electronic musical instrument.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016179660A JP6786982B2 (en) 2016-09-14 2016-09-14 An electronic musical instrument with a reed, how to control the electronic musical instrument, and a program for the electronic musical instrument.

Publications (3)

Publication Number Publication Date
JP2018045087A JP2018045087A (en) 2018-03-22
JP2018045087A5 JP2018045087A5 (en) 2019-09-05
JP6786982B2 true JP6786982B2 (en) 2020-11-18

Family

ID=61693067

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016179660A Active JP6786982B2 (en) 2016-09-14 2016-09-14 An electronic musical instrument with a reed, how to control the electronic musical instrument, and a program for the electronic musical instrument.

Country Status (1)

Country Link
JP (1) JP6786982B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0546170A (en) * 1991-08-15 1993-02-26 Yamaha Corp Wind instrument type sensor
JPH0772853A (en) * 1993-06-29 1995-03-17 Yamaha Corp Electronic wind instrument
US8058937B2 (en) * 2007-01-30 2011-11-15 Cypress Semiconductor Corporation Setting a discharge rate and a charge rate of a relaxation oscillator circuit
JP6350310B2 (en) * 2015-01-29 2018-07-04 株式会社デンソー Operating device

Also Published As

Publication number Publication date
JP2018045087A (en) 2018-03-22

Similar Documents

Publication Publication Date Title
JP6740832B2 (en) Electronic musical instrument lead and electronic musical instrument having the electronic musical instrument lead
JP6760222B2 (en) Detection device, electronic musical instrument, detection method and control program
JP2016177026A (en) Electronic musical instrument
JP6825499B2 (en) Electronic wind instruments, control methods for the electronic wind instruments, and programs for the electronic wind instruments
CN109215624B (en) Electronic wind instrument, method for controlling electronic wind instrument, and storage medium
JP6589413B2 (en) Lead member, mouthpiece and electronic wind instrument
US11749239B2 (en) Electronic wind instrument, electronic wind instrument controlling method and storage medium which stores program therein
JP6786982B2 (en) An electronic musical instrument with a reed, how to control the electronic musical instrument, and a program for the electronic musical instrument.
JP6923047B2 (en) Musical tone control device, electronic musical instrument, control method of musical tone control device, and program of musical tone control device
JP6724465B2 (en) Musical tone control device, electronic musical instrument, musical tone control device control method, and musical tone control device program
JP2018045108A (en) Electronic musical instrument, method of controlling the same, and program for the same
JP6760238B2 (en) Scale conversion device, electronic wind instrument, scale conversion method and scale conversion program
JP7008941B2 (en) Detection device, electronic musical instrument, detection method and control program
JP2018155797A (en) Electronic wind instrument, control method of electronic wind instrument, and program for electronic wind instrument
JP2022046211A (en) Electronic musical instrument, and control method and program for electronic musical instrument
JP7423952B2 (en) Detection device, electronic musical instrument, detection method and program
JP2019008122A (en) Detector, electronic musical instrument, detection method and control program
JP6710432B2 (en) Musical tone control device, electronic musical instrument, musical tone control method and program
JP2017173654A (en) Electronic breath instrument, key operation determination device, control method of electronic musical instrument, and program of electronic musical instrument
JP2023045357A (en) Electronic music instrument, method and program
JP2022046851A (en) Electronic musical instrument, control method of electronic musical instrument, and program

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190725

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190725

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200312

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200616

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200731

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200929

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201012

R150 Certificate of patent or registration of utility model

Ref document number: 6786982

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150