JP2017173654A - Electronic breath instrument, key operation determination device, control method of electronic musical instrument, and program of electronic musical instrument - Google Patents
Electronic breath instrument, key operation determination device, control method of electronic musical instrument, and program of electronic musical instrument Download PDFInfo
- Publication number
- JP2017173654A JP2017173654A JP2016061122A JP2016061122A JP2017173654A JP 2017173654 A JP2017173654 A JP 2017173654A JP 2016061122 A JP2016061122 A JP 2016061122A JP 2016061122 A JP2016061122 A JP 2016061122A JP 2017173654 A JP2017173654 A JP 2017173654A
- Authority
- JP
- Japan
- Prior art keywords
- period
- breath
- tongue
- key
- musical instrument
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Electrophonic Musical Instruments (AREA)
Abstract
Description
本発明は、電子管楽器、キー操作確定装置、電子楽器の制御方法、及び電子楽器のプログラムに関する。 The present invention relates to an electronic wind instrument, a key operation confirmation device, an electronic musical instrument control method, and an electronic musical instrument program.
管楽器の楽音を電子的に合成して出力する電子管楽器が知られている。この電子管楽器は、感圧式のリップ検出部をリードに複数配置し、唇と舌との位置を検出して楽音制御することが知られている(特許文献1参照)。 There is known an electronic wind instrument that electronically synthesizes and outputs the musical sounds of wind instruments. In this electronic wind instrument, it is known that a plurality of pressure-sensitive lip detectors are arranged on the lead, and the position of the lips and tongue is detected to control the sound (see Patent Document 1).
このような楽音制御は、電子管楽器に内蔵されたCPUが、息圧センサの出力に応じた発音処理、演奏操作子の操作に応じた音高処理、及び、その他の処理を含むメインルーチンを繰り返し実行することによって行われる。つまり、1つのCPUが、通信処理、音源による発音、キー入力、センサ制御、LCD制御などのタスク処理を行っている。 In such musical tone control, the CPU built in the electronic wind instrument repeats a main routine including sound generation processing according to the output of the breath pressure sensor, pitch processing according to the operation of the performance operator, and other processing. Done by running. That is, one CPU performs task processing such as communication processing, sound generation by a sound source, key input, sensor control, and LCD control.
各タスクは、その性質に応じて一定の周期で処理が開始されるように定義されている。そのため、高負荷なタスクが連続すると、CPUは想定した時間で処理を完了させる事ができず、規定されているウェイト数以上のウェイトが生じる。特に音源からの発音は、CPUにおける演算を多く必要とするため、選択した音源によっては高負荷になることが知られている。その結果、音の途切れ、キー入力の取りこぼしなどが発生するおそれがある。 Each task is defined so that processing is started at a constant cycle according to its property. For this reason, if a task with a high load continues, the CPU cannot complete the process in an assumed time, and a weight greater than the prescribed number of waits is generated. In particular, sound generation from a sound source requires a large amount of computation in the CPU, and it is known that depending on the selected sound source, the load is high. As a result, the sound may be interrupted or the key input may be missed.
本発明は、このような事情に鑑みなされたものであり、CPUの過負荷に伴う音の途切れ、キー入力の取りこぼしを抑制することのできる電子楽器、電子楽器の制御方法、及び電子楽器のプログラムを提供することを目的とする。 The present invention has been made in view of such circumstances, and an electronic musical instrument, an electronic musical instrument control method, and an electronic musical instrument program capable of suppressing sound interruption and key input omission due to an overload of a CPU. The purpose is to provide.
上記目的を達成するために、本発明は、以下の構成により把握される。
本発明の電子楽器は、音高を決めるために操作される複数のキーと、吹き込まれる息の状態を検出する息状態検出部と、音源に対して楽音の発生を指示する楽音指示部と、少なくとも1つ以上の第1の期間を含む第2の期間内に、前記第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 includes a plurality of keys that are operated to determine a pitch, a breath state detection unit that detects a state of a breath to be blown, a musical sound instruction unit that instructs a sound source to generate a musical sound, Based on the breath information obtained from the breath state detection unit when it is determined that the key is operated for each of the first periods within a second period including at least one first period. A determination unit that performs determination to change at least one of the first period and the second period.
本発明のキー操作確定装置は、少なくとも1つ以上の第1の期間を含む第2の期間内に、前記第1の期間毎にキーが操作されたと判別された場合に、外部より供給される信号に基づいて、前記第1の期間及び前記第2の期間の少なくとも一方を変更する判断を行う判断部と、を備える。 The key operation confirmation device of the present invention is supplied from the outside when it is determined that the key is operated every first period within a second period including at least one first period. And a determination unit that determines to change at least one of the first period and the second period based on the signal.
本発明の電子楽器の制御方法は、音高を決めるために操作される複数のキーと、吹き込まれる息の状態を検出する息状態検出部と、音源に対して楽音の発生を指示する楽音指示部と、を備える電子楽器の制御方法であって、少なくとも1つ以上の第1の期間を含む第2の期間内に、前記第1の期間毎に前記キーが操作されたと判別された場合に、前記息状態検出部から得られる息情報に基づいて、前記第1の期間及び前記第2の期間の少なくとも一方を変更する判断を行うステップと、を含む。 The electronic musical instrument control method according to the present invention includes a plurality of keys operated to determine a pitch, a breath state detection unit that detects a state of a breath to be blown, and a musical sound instruction that instructs a sound source to generate a musical sound. A control method for an electronic musical instrument comprising: a first control unit, wherein the key is operated for each first period within a second period including at least one first period. And determining to change at least one of the first period and the second period based on the breath information obtained from the breath state detection unit.
本発明の電子楽器のプログラムは、音高を決めるために操作される複数のキーと、吹き込まれる息の状態を検出する息状態検出部と、音源に対して楽音の発生を指示する楽音指示部と、を備える電子楽器の制御部に、少なくとも1つ以上の第1の期間を含む第2の期間内に、前記第1の期間毎に前記キーが操作されたと判別された場合に、前記息状態検出部から得られる息情報に基づいて、前記第1の期間及び前記第2の期間の少なくとも一方を変更する判断を行う処理と、を実現する。 An electronic musical instrument program according to the present invention includes a plurality of keys operated to determine a pitch, a breath state detection unit that detects a state of a breath to be blown, and a tone instruction unit that instructs a sound source to generate a tone And when the control unit of the electronic musical instrument includes a second period including at least one or more first periods, and determines that the key has been operated for each of the first periods. And a process of making a determination to change at least one of the first period and the second period based on the breath information obtained from the state detection unit.
本発明によれば、CPUの過負荷に伴う音の途切れ、キー入力の取りこぼしを抑制することのできる電子楽器、電子楽器の制御方法、及び電子楽器のプログラムを提供することができる。 According to the present invention, it is possible to provide an electronic musical instrument, an electronic musical instrument control method, and an electronic musical instrument program capable of suppressing sound interruption and key input omission due to CPU overload.
以下、添付図面を参照して、本発明に係る実施形態を説明する。本実施形態に係る電子楽器は、リードを用いる木管楽器であるアコースティック管楽器の奏法(例えば、ピッチベンドやビブラート)に応じて演奏を表現する電子楽器である。ここでは、電子楽器がサクソフォンである例を説明する。もっとも、本発明はこれに限定されるものではなく、クラリネット等、他の管楽器を模した電子楽器に適用してもよい。なお、実施形態の説明の全体を通して同じ要素には同じ符号を付している。 Embodiments according to the present invention will be described below with reference to the accompanying drawings. The electronic musical instrument according to the present embodiment is an electronic musical instrument that represents a performance in accordance with a performance method (for example, pitch bend or vibrato) of an acoustic wind instrument that is a woodwind instrument using a lead. Here, an example in which the electronic musical instrument is a saxophone will be described. However, the present invention is not limited to this, and may be applied to an electronic musical instrument imitating other wind instruments such as a clarinet. In addition, the same code | symbol is attached | subjected to the same element through the whole description of embodiment.
[電子楽器の構成]
(電子楽器の基本構成)
図1を参照して、本実施形態に係る電子楽器の基本構成を説明する。図1(a)は電子楽器の平面図であり、図1(b)は電子楽器の側面図である。図1(a)、(b)に示すように、電子楽器100は、アコースティック管楽器であるサクソフォンを模した外形を有し、管体部100aと、演奏キー1と、サウンドシステム9と、マウスピース10と、を備える。
管体部100aは、サクソフォンの管体部を模した形状を有する本体の筐体部である。
[Configuration of electronic musical instrument]
(Basic configuration of electronic musical instrument)
A basic configuration of the electronic musical instrument according to the present embodiment will be described with reference to FIG. FIG. 1A is a plan view of the electronic musical instrument, and FIG. 1B is a side view of the electronic musical instrument. As shown in FIGS. 1A and 1B, an electronic
The
演奏キー1は、管体部100a上に配置され、音高を決定するために演奏者P(ユーザ)が指で操作する操作部である。演奏キー1は、演奏者Pからキー操作を受け付け、操作情報としての音高情報を後述のCPU5に出力する。なお、管体部100a上には、楽曲のキーに合わせて音高を変える機能や、音高の微調整を行う機能等を設定する設定キーが設けられてもよい。
The
マウスピース10は、管体部100aに接続されるとともに、演奏者Pが口腔で操作する。マウスピース10には、追って詳述するように、リード11が取り付けられる。
The
サウンドシステム9は、スピーカ等を有し、楽音出力を行う。より具体的には、サウンドシステム9は、音源8から入力された楽音信号に信号増幅等を施し、内蔵のスピーカから楽音として出力する。
The sound system 9 has a speaker or the like and outputs a musical sound. More specifically, the sound system 9 performs signal amplification or the like on the musical tone signal input from the
また、図1(a)に一部透視部分として示すように、管体部100aに内蔵された基板上に、息圧検出部2、制御手段としてのCPU(Central Processing Unit)5、ROM(Read Only Memory)6、RAM(Random Access Memory)7、音源8が設けられている。
Further, as shown in FIG. 1A as a partially transparent portion, a
息圧検出部2は、演奏者Pからマウスピース10に吹き込まれた息の圧力(息圧)を検出し、息圧情報(息情報)をCPU5に出力するセンサである。息圧情報がCPU5によってどのように利用されるかについては追って述べる。音源8は、楽音を生成する回路であり、音源8の出力に応じてサウンドシステム9は動作する。CPU5、ROM6、RAM7については後述する。
The breath
(電子楽器の機能構成)
図2を参照して、電子楽器100の機能構成を説明する。図2は、電子楽器100の機能構成を示すブロック図である。図2に示すように、電子楽器100は、上述した演奏キー1と、上述した息圧検出部(息状態検出部)2と、リップ検出部3と、タン検出部(舌状態検出部)4と、CPU5と、ROM6と、RAM7と、上述した音源8と、上述したサウンドシステム9と、を備える。サウンドシステム9を除く電子楽器100の上記各部は、バス9aを介して互いに接続されている。
(Functional configuration of electronic musical instrument)
A functional configuration of the electronic
リップ検出部3は、リード11に設けられ、演奏者Pのリップ(下唇)Lの接触を検知する静電容量方式のタッチセンサである。リップ検出部3は、タッチセンサにおけるリップLの接触位置及びリップLの接触面積に応じた静電容量を、リップLの検出情報としてCPU5に出力する。
The
タン検出部4は、リード11に設けられ、演奏者Pのタン(舌)の接触を検出する静電容量方式のタッチセンサである。タン検出部4は、タッチセンサにおけるタンの接触面積に応じた静電容量をタンの検出情報(舌情報)としてCPU5に出力する。タンの検出情報がCPU5によってどのように利用されるかについては追って述べる。
The tongue detection unit 4 is a capacitance type touch sensor that is provided on the
CPU5は、電子楽器100の各部を制御する制御部である。CPU5は、ROM6から指定されたプログラムを読み出して後述する各種処理を実行する。
The
より具体的には、CPU5は、演奏キー1から入力された音高情報と、息圧検出部2から入力された息圧情報と、リップ検出部3から入力されたリップLの検出情報と、タン検出部4から入力されたタンの検出情報と、に基づいて、楽音の生成を音源8に指示する。
More specifically, the
例えば、CPU5は、演奏キー1から入力された音高情報に基づいて、楽音の音高を設定する。また、CPU5は、息圧検出部2から入力された息圧情報に基づいて、楽音の音量を設定する。更に、CPU5は、リップ検出部3から入力されたリップLの検出情報に応じて、発生する楽音の音色、音量、高さの少なくとも1つを微調整する。CPU5はまた、タン検出部4から入力されたタン(舌)の接触の検出情報に基づいて、楽音のノートオン/オフを設定する。
For example, the
CPU5は、これら処理を、処理内容に応じて設定された周期で繰り返し実行する。例えば、CPU5は、演奏キー1が操作された否かを所定の周期で繰り返し判定し、演奏キー1が操作されたと判定する度に操作に応じた発音処理を行う。しかし、このような動作は時としてCPU5に大きな負荷となる。そこで、本実施形態では、追って詳述するように、状況に応じて周期を通常設定される周期より長くすることで、CPU5の負担を軽減している。
The
ROM6は、各種データ及び各種プログラムを記憶する。RAM7は、処理された各種データを一時的に格納するワークエリアを有する。
The
音源8は、シンセサイザであり、CPU5の楽音の生成指示(楽音制御)に従い、楽音を生成して楽音信号をサウンドシステム9に出力する。
The
(マウスピースの詳細)
図3及び図4を参照して、マウスピース10の構成を説明する。図3(a)はマウスピース10を示す断面図であり、(b)はマウスピース10を示す下面図である。図3(a)においては、マウスピース10の軸方向に沿って、開口部13側を「ティップ」とし、管体部100a側を「ヒール」とする。
(Details of mouthpiece)
With reference to FIG.3 and FIG.4, the structure of the
図3(a)、(b)に示すように、マウスピース10は、マウスピース本体部10aと、リード11と、固定金具12と、を有する。マウスピース本体部10aは、マウスピース10の本体部品であり、演奏者Pが息を吹き込むための開口部13を有する。リード11は、マウスピース本体部10aの下方、つまり、アコースティック管楽器のリード位置に対応して設けられている。固定金具12は、リード11をマウスピース本体部10aに取り付けるための金具である。
As shown in FIGS. 3A and 3B, the
図3(b)に示すように、リード11には、複数の電極部40,30〜39が、ティップ側からヒール側に向かって所定の間隔で配置されている。
As shown in FIG. 3B, the
電極部40は、タン検出部4を構成する静電容量方式のタッチセンサS10の電極部である。また、電極部30〜39は、リップ検出部3を構成する静電容量方式のタッチセンサS20〜S29の電極部である。本実施形態では、リップ検出部3及びタン検出部4は1つの部品として構成されているが、別個の部品として構成されてもよい。また、電極部40,30〜39の形状は、図3(b)のような長方形状に限定されるものではない。
The
上述したマウスピース10が演奏者Pによってどのように操作されるかを、図4を参照して説明する。図4は、演奏者Pの口腔とマウスピース10との接触状態を示す図である。図4に示すように、演奏者Pは、電子楽器100の演奏時に、上側前歯E1をマウスピース本体部10aの上部に当て、下側の前歯E2を下側のリップLで巻き込み、リード11に触れる。このようにして、マウスピース10は、上側前歯E1とリップLとで保持される。
How the
演奏時における口腔内部のタンは、奏法により、リード11に触れている状態のタンT1(実線)と、リード11に触れていない状態のタンT2(破線)と、のいずれかとなる。ここで、演奏者Pは、通常、楽器の発音を抑制することを意図してタンをリード11に接触させることが知られている。かかる演奏者Pの所作に対応するために、上述したタッチセンサS10は、電極部40に対するタンの接触状態を検出する。例えば、図4において実線で示されるタンT1は、リード11に接触した状態を示し、図4に一点鎖線で示されるタンT2は、リード11から離れた状態を示す。そして、タッチセンサS10は、検出情報をCPU5に対して出力する。
The tongue inside the oral cavity at the time of performance is either a tongue T1 (solid line) in a state where the
また、演奏者Pは、通常、発音時にはリップLをマウスピース10に接触している。この場合、演奏者Pは、リップLの接触位置及び接触面積(接触圧力)を操作して、音を変化させることがある。他方、演奏者Pは、発音を弱めるか、発音を停止させることを意図して、リップLをマウスピース10から離すことが多い。このような奏法に対応して、タッチセンサS20〜S29は、電極部30〜39に対するリップLの接触状態を検出する。そして、タッチセンサS20〜S29は、それぞれの検出情報をCPU5に対して出力する。
In addition, the player P usually touches the
CPU5は、タッチセンサS20〜S29から出力される検出情報に応じて、リード11におけるリップLの接触位置(例えば、重心位置)や接触面積を算出する。また、CPU5は、タッチセンサS10から出力される検出情報に基づいて、タンの接触状態(T1,T2)を判断する。
The
なお、リップ検出部3及びタン検出部4を構成する11個のタッチセンサS10,S20〜S29の電極部として、11個の電極部40,30〜39の配置を説明したが、これに限定されるものではない。リップ検出部3及びタン検出部4を構成するタッチセンサ及び電極部の数量、配置、形状については、仕様に応じて任意に設定されうる。
In addition, although arrangement | positioning of 11
(キースキャン周期及びキー操作確定周期)
上述したように、CPU5は、各種処理を所定の設定周期で繰り返し実行する。特に発音処理は時としてCPU5に大きな負荷となるので、一定の条件下で設定周期を長くすることで、CPU5の負荷を軽減している。
(Key scan cycle and key operation confirmation cycle)
As described above, the
かかる周期の設定処理は、CPU5が、所定のスキャン周期で演奏キー1の操作を確認し、所定のキー操作確定周期の間、演奏キー1の操作が確認されると演奏キー1が操作されたものと判断する処理と、CPU5が、キー操作確定周期ごとに、タン検出部4及び息圧検出部2の検出結果に基づき、スキャン周期及びキー操作確定周期を通常設定される周期よりも長い周期に設定する処理と、を含む。ここで、キースキャン周期は、CPU5が、演奏キー1が操作されたかどうかを確認する周期である。また、キー操作確定周期は、特定の演奏キー1が操作され続けることで当該演奏キー1が演奏者Pによって操作されたと判定する周期である。
In this cycle setting process, the
上記処理を、図5に示す例で具体的に説明する。図5(a)は通常設定されるキースキャン周期(第1の期間)及びキー操作確定周期(第2の期間)の一例を示す図、図5(b)は、タンの接触が検出された場合のキースキャン周期(第3の期間)及びキー操作確定周期(第4の期間)の一例を示す図、図5(c)は息の吹込み量が少ないことが検出された場合のキースキャン周期(第3の期間)及びキー操作確定周期(第4の期間)の一例を示す図である。図5において、横軸は時間軸であり、縦軸は、CPU5が演奏キー1をスキャンするための時間を「high」で、CPU5がその他の処理を行うことが可能な時間を「low」で示している。
The above process will be specifically described with reference to an example shown in FIG. FIG. 5A is a diagram illustrating an example of a key scan period (first period) and a key operation confirmation period (second period) that are normally set, and FIG. 5B is a diagram in which contact with a tongue is detected. FIG. 5C shows an example of the key scan period (third period) and the key operation confirmation period (fourth period), and FIG. 5C shows the key scan when it is detected that the amount of breath blowing is small It is a figure which shows an example of a period (3rd period) and a key operation fixed period (4th period). In FIG. 5, the horizontal axis is the time axis, and the vertical axis is “high” for the time for the
・ 通常設定されるキースキャン周期及びキー操作確定周期:図5(a)
通常の動作状況では、タンギング(タンのリード11への接触)をしておらず、かつ、息の吹込み量もそれなりに多い(息圧が高い)。この状況下では、演奏キー1の素早い操作が行われる可能性があるため、演奏キー1のスキャン周期を、音飛びしない程度の周期に設定することが妥当である。
-Normally set key scan cycle and key operation confirmation cycle: Fig. 5 (a)
Under normal operating conditions, there is no tangging (contact of the tongue with the lead 11), and the amount of breath blowing is large (the breath pressure is high). Under this circumstance, there is a possibility that a quick operation of the
よって、本実施形態では、キースキャン周期Ps1は例えば1msに、キー操作確定周期Po1は例えば30msに、それぞれ設定されている。したがって、1ms毎にスキャンされた結果、30回連続して(つまり30ms継続して)演奏キー1の操作が検出されると、演奏キー1が演奏者Pによって操作されたと判定されて、発音処理が行われる。逆に、30msを経過する前に演奏キー1の操作状態が変更されると、カウンタがリセットされ、再度1msからカウントが開始される。
Therefore, in this embodiment, the key scan cycle Ps1 is set to 1 ms, for example, and the key operation confirmation cycle Po1 is set to 30 ms, for example. Therefore, if the operation of the
この場合、キースキャン周期Ps1から、CPU5が演奏キー1のスキャンを実行する時間Tsを除いた時間(Ps1−Ts)が、CPU5が他の処理を実行することが可能な時間To1となる。
In this case, a time (Ps1-Ts) obtained by excluding the time Ts when the
・ タンの接触が検出された場合のキースキャン周期及びキー操作確定周期:図5(b)
CPU5は、タン検出部4によってタンの接触が有ることが検出された場合、通常設定される周期よりも長い周期(第1周期)に設定する。ここで、タンの接触があるとは、タン検出部4の検出信号が所定の閾値th1より大きいことである。上述したようにリード11にタンを接触させる動作(タンギング)は発音を抑止する意思の表れであり、そのような状況の下では通常、演奏キー1の素早い操作が行われる可能性は小さい。よって、通常の周期よりも長い周期を設定しても音質への影響は軽微であると考えられる。
-Key scan cycle and key operation confirmation cycle when the contact of the tongue is detected: FIG. 5 (b)
When it is detected by the tongue detection unit 4 that the tongue is in contact, the
具体的には、CPU5は、通常設定されるキースキャン周期Ps1よりも長いキースキャン周期Ps2に設定するとともに、通常設定されるキー操作確定周期Po1よりも長いキー操作確定周期Po2に設定する。図5の例では、キースキャン周期Ps2は2msであり、キー操作確定周期Po2は50msである。
Specifically, the
この場合、2ms毎にスキャンされた結果、25回連続して(つまり50ms継続して)演奏キー1の操作が検出されて初めて、演奏キー1が演奏者Pによって操作されたと判定され、発音処理が行われることになる。このように、通常の周期に比べて発音処理の頻度が減少することで、CPU5の負荷が軽減される。
In this case, as a result of scanning every 2 ms, it is determined that the
また、CPU5がキースキャンを実行する時間Tsを一定とすると、キースキャン周期Ps2から時間Tsを除いた時間(Ps2−Ts)が、CPU5が他の処理を実行することが可能な時間To2となる。例えば、比較可能なように2msの時間内で考えると、To2>2×To1であるから、CPU5が、例えば貯まったタスクの処理を促進することにつながる。
If the time Ts for the
・ 息の吹込み量が少ないことが検出された場合のキースキャン周期及びキー操作確定周期:図5(c)
CPU5は、息圧検出部2によって息の吹込み量が少ないことが検出された場合、通常設定される周期よりも長い周期(第2周期)に設定する。ここで、息の吹込み量が少ないとは、息圧検出部2の検出信号が所定の閾値th2より小さいことである。この場合、演奏者Pはゆっくりとした曲を演奏していることが多いため、通常の周期よりも長い周期を設定しても音質への影響は軽微であると考えられる。なお、この処理は、タン検出部4によってタンの接触がないことが検出されることを条件としてもよい。
-Key scan cycle and key operation confirmation cycle when it is detected that the amount of breath blowing is small: FIG. 5 (c)
When it is detected by the breath
具体的には、CPU5は、通常設定されるキースキャン周期Ps1よりも長いキースキャン周期Ps3に設定するとともに、通常設定されるキー操作確定周期Po1よりも長いキー操作確定周期Po3に設定する。ただし、この状況では発音処理が行われているから、キースキャン周期Ps3はキースキャン周期Ps2と同じか、短いことが好ましく、また、キー操作確定周期Po3はキー操作確定周期Po2と同じか、短いことが好ましい。図5の例では、キースキャン周期Ps3は、キースキャン周期Ps2と同様に2msであり、キー操作確定周期Po3は、キー操作確定周期Po2よりも短い40msである。
Specifically, the
したがって、2ms毎にスキャンされた結果、20回連続して(つまり40ms継続して)演奏キー1の操作が検出されて初めて、演奏キー1が演奏者Pによって操作されたと判定され、発音処理が行われることになる。このように、通常の周期に比べて発音処理の頻度が減少することで、CPU5の負荷が軽減される。
Therefore, as a result of scanning every 2 ms, it is determined that the
また、キースキャン周期Ps3から、CPU5がキースキャンを実行する時間Tsを除いた時間(Ps3−Ts)が、CPU5が他の処理を実行することが可能な時間To3となる。先ほどと同様に2msの時間内で考えると、To2>2×To1であるから、やはり、CPU5が例えば貯まったタスクの処理を促進することにつながる。
Further, a time (Ps3-Ts) obtained by excluding the time Ts when the
なお、上述した周期の設定パターンは一例であり、他の設定パターンが採用されてもよい。例えば、タン検出部4や息圧検出部2の検出結果をより細かく場合分けすることで、設定パターンを増やしてもよい。あるいは、他のセンサ(例えばリップ検出部3)の検出結果を加えることで設定パターンを増加させてもよい。
The cycle setting pattern described above is merely an example, and other setting patterns may be employed. For example, the setting pattern may be increased by dividing the detection results of the tongue detection unit 4 and the breath
[電子楽器の動作]
図6及び図7を参照して、上述した構成を有する電子楽器100の動作を説明する。図6は、メインルーチンを示すフローチャートである。図7は、スキャン速度を決定するための処理の流れを示すフローチャートである。
[Operation of electronic musical instrument]
The operation of the electronic
(メインルーチン)
図6を参照して、電子楽器100の主たる動作、ないし電子楽器100の制御手法を説明する。
(Main routine)
With reference to FIG. 6, the main operation | movement of the electronic
電源が入ると、ステップS11においてイニシャライズ処理が行われる。かかる処理は、例えば各種設定の初期化である。 When the power is turned on, initialization processing is performed in step S11. Such processing is, for example, initialization of various settings.
次いで、ステップS12において、リップ検出部3及びタン検出部4の処理が行われる。このステップは、上述したリップL及びタンのリード11への接触状態の検出処理である。
Next, in step S12, processing of the
そして、ステップS13において、息圧検出部2の処理が行われる。かかるステップは、上述した息吹込み量(息圧)の検出処理である。
In step S13, the processing of the breath
次いで、ステップS14において、キー操作確定周期が開始するタイミングかどうかが判定される。かかるステップは、CPU5によって実行される。キー操作確定周期が開始するタイミングであると判定されると、処理はステップS15に進み、キー操作確定周期の途中であると判定されると、処理はステップS16に進む。
Next, in step S14, it is determined whether or not it is time to start the key operation confirmation cycle. Such steps are executed by the
ステップS15は、周期設定処理であり、追って詳細に説明される。また、ステップS16では、キースイッチ処理が行われる。キースイッチ処理では、ステップS15で設定された周期に基づいて、キースキャンがされ、CPU5は、演奏キー1の操作情報に応じたキーコードを発生させ、音源8に供給する。
Step S15 is a cycle setting process and will be described in detail later. In step S16, key switch processing is performed. In the key switch processing, key scanning is performed based on the cycle set in step S15, and the
次いで、ステップS17において、発音処理が行われる。かかる処理では、音源8は、受信したキーコードなどに基づいてサウンドシステム9を動作させる。
Next, in step S17, sound generation processing is performed. In such processing, the
ステップS17の後、ステップS18において、その他必要な処理が行われ、一通りの処理手順が終了する。そして、上述したステップS12からステップS18が繰り返される。 After step S17, other necessary processing is performed in step S18, and the entire processing procedure is completed. And step S12 to step S18 mentioned above are repeated.
(周期の設定処理)
図7を参照して、キー操作確定周期及びキースキャン周期の設定に関する処理を詳述する。かかる処理はCPU5において行われる。つまり、CPU5が、タン検出部4や息圧検出部2からの検出値に基づいて、キー操作確定周期及びキースキャン周期の設定を変更する判断を行う判断部として機能するとともに、設定を変更する設定部として機能することで処理が行われる。
(Cycle setting process)
With reference to FIG. 7, the process regarding the setting of the key operation confirmation cycle and the key scan cycle will be described in detail. Such processing is performed in the
まず、ステップS21において、タン検出部4の検出値が所定の閾値th1と比較される。つまり、タンがリード11に接触しているかどうかが判定される。そして、タン検出部4の検出値が所定の閾値th1より大きいと判定されると、ステップS22において、例えば図5(b)に示される周期が新たに設定され、メインルーチンに戻される。
First, in step S21, the detection value of the tongue detection unit 4 is compared with a predetermined threshold th1. That is, it is determined whether or not the tongue is in contact with the
他方、タン検出部4の検出値が所定の閾値th1以下であると判定されると、ステップS23において、息圧検出部2の検出値が閾値th2と比較される。かかるステップにおいて、息圧検出部2の検出値が閾値th2以下であると判定されると、つまり、息の吹込み量が少ないと判定されると、ステップS24において、例えば図5(c)に示される周期が新たに設定され、メインルーチンに戻される。
On the other hand, if it is determined that the detection value of the tongue detection unit 4 is equal to or less than the predetermined threshold th1, the detection value of the breath
また、ステップS23において、息圧検出部2の検出値が閾値th2より大きいと判定されると、つまり、息の吹込み量が多いと判定されると、ステップS25において、例えば図5(a)に示される周期が設定され、メインルーチンに戻される。
なお、キースキャン中の途中では、周期を変えることができないので、キー操作確定周期Po1の開始時タイミングで、決定された周期に設定する。
If it is determined in step S23 that the detection value of the breath
Since the cycle cannot be changed during the key scan, the determined cycle is set at the start timing of the key operation confirmation cycle Po1.
なお、本実施形態では、タンのリード11への接触状態、及び、息の吹込み量の両方に基づいて、キー操作確定周期及びキースキャン周期を設定しているが、タンの接触状態及び息の吹込み量のいずれか一方に基づいてキー操作確定周期及びキースキャン周期を設定してもよい。
本実施形態では、タンのリード11への接触状態が第1の条件を満たす場合(例えば、ステップS21の場合)、キースキャンの周期を第1の周期(例えば、図5(b))に設定し(ステップS22)、息の吹込み状態が第2の条件を満たす場合(例えば、ステップS23の場合)、キースキャンの周期を第2の周期(例えば、図5(c))に設定し(ステップS24)、タンのリード11への接触状態が第1の条件を満たさず、息の吹込み状態も第2の条件を満たさない場合は、キースキャンの周期を第3の周期(例えば、図5(a))に設定する(ステップS25)ようにした。このように、タンのリード11への接触状態、及び、息の吹込み状態に応じて、キースキャンの周期を長くしたり、短くしたりすることが可能となる。
さらに、タンのリード11への接触状態、及び、息の吹込み量の両方の結果の組み合わせに基づいて、キー操作確定周期及びキースキャン周期を設定してもよい。
例えば、(1)タンの検出があり・吹き込み量が強い(2)タンの検出があり・吹き込み量が弱い(3)タンの検出が無い・吹き込み量が強い(4)タンの検出が無い・吹き込み量が弱い、4つの状態かどうかを判断し、各状態に応じたキー操作確定周期及びキースキャン周期を設定してもよい。
In this embodiment, the key operation confirmation cycle and the key scan cycle are set based on both the contact state of the tongue to the
In the present embodiment, when the contact state of the tongue with the
Furthermore, the key operation confirmation cycle and the key scan cycle may be set based on the combination of the results of both the contact state of the tongue with the
For example, (1) There is a detection of tan, ・ Blowing amount is strong. (2) There is a detection of tan. ・ Blowing amount is weak. (3) There is no detection of tan. It may be determined whether there are four states where the blowing amount is weak, and a key operation confirmation cycle and a key scan cycle corresponding to each state may be set.
このように、本実施形態では、タンのリード11への接触状態、及び、息の吹込み量(状態)に応じて、キー操作確定周期及びキースキャン周期を通常設定される周期よりも長い周期に設定することで、CPU5の負荷を軽減させている。これにより、音の途切れやキー入力の取りこぼしを抑制することが可能となる。
As described above, in this embodiment, the key operation confirmation cycle and the key scan cycle are longer than the cycle that is normally set according to the contact state of the tongue with the
また、CPU5のタスク減少は、消費電力の抑制につながる。よって、電源として電池が用いられる場合に、電池を長持ちさせることができるから、電子楽器100の動作時間を延ばすことが可能となる。
Further, the task reduction of the
以上、具体的な実施形態に基づいて本発明の電子楽器について説明してきたが、本発明は、上記の具体的な実施形態に限定されるものではなく、本発明の技術的範囲には、本発明の目的が達成される範囲での様々な変形や改良などが含まれるものであり、そのことは当業者にとって特許請求の範囲の記載から明らかである。 The electronic musical instrument of the present invention has been described above based on the specific embodiments. However, the present invention is not limited to the specific embodiments described above, and the technical scope of the present invention includes the present invention. The present invention includes various modifications and improvements as long as the object of the invention can be achieved, which will be apparent to those skilled in the art from the claims.
以下に、この出願の願書に最初に添付した特許請求の範囲に記載した発明を付記する。付記に記載した請求項の項番は、この出願の願書に最初に添付した特許請求の範囲の通りである。
<請求項1>
音高を決めるために操作される複数のキーと、
吹き込まれる息の状態を検出する息状態検出部と、
音源に対して楽音の発生を指示する楽音指示部と、
少なくとも1つ以上の第1の期間を含む第2の期間内に、前記第1の期間毎に前記キーが操作されたと判別された場合に、前記息状態検出部から得られる息情報に基づいて、前記第1の期間及び前記第2の期間の少なくとも一方を変更する判断を行う判断部と、
を備えることを特徴とする電子管楽器。
<請求項2>
前記息情報の値が、第1の閾値より大きい場合、前記第1の期間を前記第1の期間よりも長い第3の期間に変更すること及び、前記第2の期間を前記第2の期間よりも長い第4の期間に変更することの少なくとも一方を変更する設定部を備えることを特徴とする請求項1に記載の電子管楽器。
<請求項3>
リードに対しての舌の接触の有無を検出する舌検出部を備え、
前記判断部は、前記舌検出部から得られる舌情報に基づいて、前記第1の期間及び前記第2の期間の少なくとも一方を変更する判断を行うことを特徴とする請求項1又は2に記載の電子管楽器。
<請求項4>
前記設定部は、前記舌情報の値が、第2の閾値より大きい場合、前記第1の期間を前記第1の期間よりも長い第3の周期に設定変更すること及び、前記第2の期間を前記第2の期間よりも長い第4の期間の少なくとも一方変更することを特徴とする請求項3に記載の電子管楽器。
<請求項5>
少なくとも1つ以上の第1の期間を含む第2の期間内に、前記第1の期間毎にキーが操作されたと判別された場合に、外部より供給される信号に基づいて、前記第1の期間及び前記第2の期間の少なくとも一方を変更する判断を行う判断部と、
を備えることを特徴とするキー操作確定装置。
<請求項6>
前記信号は、リードに対しての舌の接触の有無を示す舌情報及び、吹き込まれる息の状態を示す息情報の少なくとも一方に基づく信号であることを特徴とする請求項5に記載のキー操作確定装置。
<請求項7>
音高を決めるために操作される複数のキーと、吹き込まれる息の状態を検出する息状態検出部と、音源に対して楽音の発生を指示する楽音指示部と、を備える電子楽器の制御方法であって、
少なくとも1つ以上の第1の期間を含む第2の期間内に、前記第1の期間毎に前記キーが操作されたと判別された場合に、前記息状態検出部から得られる息情報に基づいて、前記第1の期間及び前記第2の期間の少なくとも一方を変更する判断を行うステップと、
を含むことを特徴とする電子楽器の制御方法。
<請求項8>
リードに対しての舌の接触の有無を検出する舌検出部を備える電子楽器の制御方法であって、
前記舌検出部から得られる舌情報に基づいて、前記第1の期間及び前記第2の期間の少なくとも一方を変更するステップを、を実行することを特徴とする請求項7に記載の電子楽器の制御方法。
<請求項9>
音高を決めるために操作される複数のキーと、吹き込まれる息の状態を検出する息状態検出部と、音源に対して楽音の発生を指示する楽音指示部と、を備える電子楽器の制御部に、
少なくとも1つ以上の第1の期間を含む第2の期間内に、前記第1の期間毎に前記キーが操作されたと判別された場合に、前記息状態検出部から得られる息情報に基づいて、前記第1の期間及び前記第2の期間の少なくとも一方を変更する判断を行う処理と、
を実現することを特徴とする電子楽器のプログラム。
<請求項10>
リードに対しての舌の接触の有無を検出する舌検出部を備える電子楽器の前記制御部に、
前記舌検出部から得られる舌情報に基づいて、前記第1の期間及び前記第2の期間の少なくとも一方を変更する変更処理を、を実現することを特徴とする請求項9に記載の電子楽器のプログラム。
The invention described in the scope of claims attached to the application of this application will be added below. The item numbers of the claims described in the appendix are as set forth in the claims attached to the application of this application.
<Claim 1>
Multiple keys operated to determine the pitch,
A breath state detector for detecting the state of the breath being breathed;
A musical sound instruction section for instructing the sound source to generate a musical sound;
Based on the breath information obtained from the breath state detection unit when it is determined that the key is operated for each of the first periods within a second period including at least one first period. A determination unit that determines to change at least one of the first period and the second period;
An electronic wind instrument comprising:
<Claim 2>
When the value of the breath information is larger than a first threshold, changing the first period to a third period longer than the first period, and changing the second period to the second period The electronic wind instrument according to
<Claim 3>
Provided with a tongue detector that detects the presence or absence of tongue contact with the lead,
3. The determination unit according to
<Claim 4>
When the value of the tongue information is larger than a second threshold, the setting unit changes the setting of the first period to a third period longer than the first period, and the second period The electronic wind instrument according to
<Claim 5>
When it is determined that a key has been operated for each of the first periods within a second period including at least one first period, based on a signal supplied from the outside, the first A determination unit that determines to change at least one of a period and the second period;
A key operation confirmation device comprising:
<Claim 6>
6. The key operation according to
<Claim 7>
Electronic musical instrument control method comprising: a plurality of keys operated to determine a pitch; a breath state detection unit that detects a state of a breath to be blown; and a musical sound instruction unit that instructs a sound source to generate a musical sound Because
Based on the breath information obtained from the breath state detection unit when it is determined that the key is operated for each of the first periods within a second period including at least one first period. Making a decision to change at least one of the first period and the second period;
A method for controlling an electronic musical instrument comprising:
<Claim 8>
A control method for an electronic musical instrument comprising a tongue detection unit for detecting presence or absence of tongue contact with a lead,
The electronic musical instrument according to
<Claim 9>
A control unit for an electronic musical instrument comprising a plurality of keys operated to determine a pitch, a breath state detection unit for detecting a breath state to be blown, and a musical sound instruction unit for instructing the sound source to generate a musical sound In addition,
Based on the breath information obtained from the breath state detection unit when it is determined that the key is operated for each of the first periods within a second period including at least one first period. A process of making a determination to change at least one of the first period and the second period;
An electronic musical instrument program characterized by realizing the above.
<Claim 10>
In the control unit of the electronic musical instrument provided with a tongue detection unit for detecting the presence or absence of contact of the tongue with the lead,
10. The electronic musical instrument according to claim 9, wherein a changing process for changing at least one of the first period and the second period is realized based on tongue information obtained from the tongue detection unit. Program.
100 電子楽器
100a 管本体
1 演奏キー
2 息圧検出部
3 リップ検出部
4 タン検出部
5 CPU
6 ROM
7 RAM
8 音源
9 サウンドシステム
9a バス
10 マウスピース
10a マウスピース本体部
11 リード
12 固定金具
13 開口部
P 演奏者
L リップ
40,30〜39 電極部
S10,S20〜29 タッチセンサ
E1 上側前歯
E2 下側前歯
100
6 ROM
7 RAM
8 Sound source 9
Claims (10)
吹き込まれる息の状態を検出する息状態検出部と、
音源に対して楽音の発生を指示する楽音指示部と、
少なくとも1つ以上の第1の期間を含む第2の期間内に、前記第1の期間毎に前記キーが操作されたと判別された場合に、前記息状態検出部から得られる息情報に基づいて、前記第1の期間及び前記第2の期間の少なくとも一方を変更する判断を行う判断部と、
を備えることを特徴とする電子管楽器。 Multiple keys operated to determine the pitch,
A breath state detector for detecting the state of the breath being breathed;
A musical sound instruction section for instructing the sound source to generate a musical sound;
Based on the breath information obtained from the breath state detection unit when it is determined that the key is operated for each of the first periods within a second period including at least one first period. A determination unit that determines to change at least one of the first period and the second period;
An electronic wind instrument comprising:
前記判断部は、前記舌検出部から得られる舌情報に基づいて、前記第1の期間及び前記第2の期間の少なくとも一方を変更する判断を行うことを特徴とする請求項1又は2に記載の電子管楽器。 Provided with a tongue detector that detects the presence or absence of tongue contact with the lead,
3. The determination unit according to claim 1, wherein the determination unit performs determination to change at least one of the first period and the second period based on tongue information obtained from the tongue detection unit. Electronic wind instrument.
を備えることを特徴とするキー操作確定装置。 When it is determined that a key has been operated for each of the first periods within a second period including at least one first period, based on a signal supplied from the outside, the first A determination unit that determines to change at least one of a period and the second period;
A key operation confirmation device comprising:
少なくとも1つ以上の第1の期間を含む第2の期間内に、前記第1の期間毎に前記キーが操作されたと判別された場合に、前記息状態検出部から得られる息情報に基づいて、前記第1の期間及び前記第2の期間の少なくとも一方を変更する判断を行うステップと、
を含むことを特徴とする電子楽器の制御方法。 Electronic musical instrument control method comprising: a plurality of keys operated to determine a pitch; a breath state detection unit that detects a state of a breath to be blown; and a musical sound instruction unit that instructs a sound source to generate a musical sound Because
Based on the breath information obtained from the breath state detection unit when it is determined that the key is operated for each of the first periods within a second period including at least one first period. Making a decision to change at least one of the first period and the second period;
A method for controlling an electronic musical instrument comprising:
前記舌検出部から得られる舌情報に基づいて、前記第1の期間及び前記第2の期間の少なくとも一方を変更するステップを、を実行することを特徴とする請求項7に記載の電子楽器の制御方法。 A control method for an electronic musical instrument comprising a tongue detection unit for detecting presence or absence of tongue contact with a lead,
The electronic musical instrument according to claim 7, wherein the step of changing at least one of the first period and the second period is performed based on tongue information obtained from the tongue detection unit. Control method.
少なくとも1つ以上の第1の期間を含む第2の期間内に、前記第1の期間毎に前記キーが操作されたと判別された場合に、前記息状態検出部から得られる息情報に基づいて、前記第1の期間及び前記第2の期間の少なくとも一方を変更する判断を行う処理と、
を実現することを特徴とする電子楽器のプログラム。 A control unit for an electronic musical instrument comprising a plurality of keys operated to determine a pitch, a breath state detection unit for detecting a breath state to be blown, and a musical sound instruction unit for instructing the sound source to generate a musical sound In addition,
Based on the breath information obtained from the breath state detection unit when it is determined that the key is operated for each of the first periods within a second period including at least one first period. A process of making a determination to change at least one of the first period and the second period;
An electronic musical instrument program characterized by realizing the above.
前記舌検出部から得られる舌情報に基づいて、前記第1の期間及び前記第2の期間の少なくとも一方を変更する変更処理を、を実現することを特徴とする請求項9に記載の電子楽器のプログラム。 In the control unit of the electronic musical instrument provided with a tongue detection unit for detecting the presence or absence of contact of the tongue with the lead,
10. The electronic musical instrument according to claim 9, wherein a changing process for changing at least one of the first period and the second period is realized based on tongue information obtained from the tongue detection unit. Program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016061122A JP2017173654A (en) | 2016-03-25 | 2016-03-25 | Electronic breath instrument, key operation determination device, control method of electronic musical instrument, and program of electronic musical instrument |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016061122A JP2017173654A (en) | 2016-03-25 | 2016-03-25 | Electronic breath instrument, key operation determination device, control method of electronic musical instrument, and program of electronic musical instrument |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2017173654A true JP2017173654A (en) | 2017-09-28 |
Family
ID=59971143
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016061122A Pending JP2017173654A (en) | 2016-03-25 | 2016-03-25 | Electronic breath instrument, key operation determination device, control method of electronic musical instrument, and program of electronic musical instrument |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2017173654A (en) |
-
2016
- 2016-03-25 JP JP2016061122A patent/JP2017173654A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109256111B (en) | Detection device, electronic musical instrument and detection method | |
JP6825499B2 (en) | Electronic wind instruments, control methods for the electronic wind instruments, and programs for the electronic wind instruments | |
JP2016177026A (en) | Electronic musical instrument | |
US10297239B2 (en) | Electronic wind instrument capable of performing a tonguing process | |
US11749239B2 (en) | Electronic wind instrument, electronic wind instrument controlling method and storage medium which stores program therein | |
JP2017173654A (en) | Electronic breath instrument, key operation determination device, control method of electronic musical instrument, and program of 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 | |
JP6565225B2 (en) | Electronic musical instrument, volume control method and program | |
US10522127B2 (en) | Conversion-to-note apparatus, electronic wind instrument and conversion-to-note method | |
JP2022001950A (en) | Parameter controller, electronic music instrument, parameter control method and control program | |
JP2017167177A (en) | Musical sound generation instructing device, musical sound generation instructing method, program for musical sound generation instructing device and electronic musical instrument having musical sound generation instructing device | |
JP6724465B2 (en) | Musical tone control device, electronic musical instrument, musical tone control device control method, and musical tone control device program | |
JP7008941B2 (en) | Detection device, electronic musical instrument, detection method and control program | |
JP6786982B2 (en) | An electronic musical instrument with a reed, how to control the electronic musical instrument, and a program for the electronic musical instrument. | |
JP5434395B2 (en) | Electronic percussion instrument | |
JP2018045108A (en) | Electronic musical instrument, method of controlling the same, and program for the same | |
JP2019008122A (en) | Detector, electronic musical instrument, detection method and control program | |
JP2007279490A (en) | Electronic musical instrument | |
JP6710432B2 (en) | Musical tone control device, electronic musical instrument, musical tone control method and program | |
KR100887980B1 (en) | Rooters tool and control method for the same | |
JP2020169941A (en) | Electronic apparatus | |
ITBO20120173A1 (en) | METHOD OF CONTROL OF AN AUTOMATIC ACCOMPANYING IN A KEYBOARD ELECTRONIC MUSICAL INSTRUMENT | |
JP2017062325A (en) | Electronic wind instrument, musical sound generation method, and program | |
JP2017173610A5 (en) | ||
JP2017227758A (en) | Signal transmitting/receiving system, signal transmitter, method for controlling them, and program |