JP5434393B2 - Electronic percussion instrument - Google Patents

Electronic percussion instrument Download PDF

Info

Publication number
JP5434393B2
JP5434393B2 JP2009202646A JP2009202646A JP5434393B2 JP 5434393 B2 JP5434393 B2 JP 5434393B2 JP 2009202646 A JP2009202646 A JP 2009202646A JP 2009202646 A JP2009202646 A JP 2009202646A JP 5434393 B2 JP5434393 B2 JP 5434393B2
Authority
JP
Japan
Prior art keywords
pad
striking
sound generation
hpi
rpi
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
JP2009202646A
Other languages
Japanese (ja)
Other versions
JP2011053463A (en
Inventor
英昭 竹久
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP2009202646A priority Critical patent/JP5434393B2/en
Publication of JP2011053463A publication Critical patent/JP2011053463A/en
Application granted granted Critical
Publication of JP5434393B2 publication Critical patent/JP5434393B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、打面を有する演奏操作子の演奏操作に対して電子的な演奏音を発生させる電子打楽器に関する。   The present invention relates to an electronic percussion instrument that generates an electronic performance sound in response to a performance operation of a performance operator having a hitting surface.

従来、打面を有するパッド状の演奏操作子(以下、単に「パッド」と称すことがある。)を備え、該演奏操作子に対する打撃操作に応じてドラムやシンバルなどの打楽器を模擬した演奏音を発生させる電子打楽器がある。このような電子打楽器では、スティック又は手などでパッドが打撃されることで、当該打撃されたパッドに対応付けられた演奏情報が読み出され、それに応じて演奏音や短いフレーズの発音が行われるようになっている。   Conventionally, a performance sound simulating a percussion instrument such as a drum or a cymbal according to a striking operation with respect to the performance manipulator has been conventionally provided with a pad-shaped performance manipulator having a striking surface (hereinafter sometimes simply referred to as a “pad”). There are electronic percussion instruments that generate In such an electronic percussion instrument, when a pad is hit with a stick or a hand, performance information associated with the hit pad is read, and a performance sound or a short phrase is generated accordingly. It is like that.

そして、このような電子打楽器は、パッドに対する打撃操作に応じた打撃力に関する信号を検出する打撃力検出手段と、当該打撃力検出手段の検出に基づいて発音処理を行う制御手段とを備えており、打撃力検出手段の検出に基づいて、制御手段でパッドに対する打撃に応じた発音処理を行うように構成されている。なお、上記の打撃力検出手段は、パッドの打撃による振動を検出して電気信号を出力するピエゾ素子などで構成されている。   Such an electronic percussion instrument includes a striking force detection unit that detects a signal related to a striking force according to a striking operation on the pad, and a control unit that performs sound generation processing based on the detection of the striking force detection unit. Based on the detection of the striking force detection means, the control means performs sound generation processing corresponding to the striking against the pad. The striking force detection means includes a piezo element that detects vibration caused by striking the pad and outputs an electrical signal.

従来の電子打楽器では、発音処理の際、上記のような打撃力検出手段で検出した打撃力信号のみを発音判定の材料として用いるものが主流であった。ところが、このような電子打楽器には、互いに隣接して配置された複数個のパッドを備えたマルチパッド形式のものがある。このようなマルチパッド形式の電子打楽器では、各パッドが近接して配置されているため、隣接する他のパッドの打撃による打撃力信号の飛び付き(クロストーク)が発生する場合があった。これにより、打撃力検出手段で実際には打撃されていないパッドの打撃力信号を検出してしまうことがあった。そのため、打撃されたパッドを常に正確に特定することが困難であるという問題があった   Conventional electronic percussion instruments mainly use only the striking force signal detected by the striking force detecting means as described above as a material for sound generation determination during sound generation processing. However, there is a multi-pad type electronic percussion instrument having a plurality of pads arranged adjacent to each other. In such a multi-pad type electronic percussion instrument, since the pads are arranged close to each other, a hitting force signal jump (crosstalk) may occur due to the hitting of another adjacent pad. As a result, the hitting force detection means may detect the hitting force signal of the pad that is not actually hit. Therefore, there is a problem that it is difficult to always accurately identify the hit pad.

そこで、マルチパッド形式の電子打楽器では、例えば、特許文献1に示すように、上記の打撃力検出手段に加えて、パッドに対する打撃操作の位置に関する信号を検出する打撃位置検出手段を備え、これら打撃力検出手段と打撃位置検出手段との検出に基づいて発音処理を行うように構成したものがある。打撃位置検出手段は、パッドの裏面側に貼付された接触センサなどで構成されており、各パッドそれぞれに対応するものが別個に設けられている。   In view of this, the multi-pad electronic percussion instrument includes, for example, a hitting position detection means for detecting a signal related to the position of the hitting operation on the pad, in addition to the hitting force detection means described above, as shown in Patent Document 1, Some are configured to perform sound generation processing based on detection by the force detection means and the hitting position detection means. The hitting position detecting means is configured by a contact sensor or the like attached to the back side of the pad, and a corresponding one for each pad is provided separately.

特開2003−108140号公報JP 2003-108140 A

ところで、上記のような電子打楽器では、演奏操作性を考慮して、パッドの打面がゴムなど柔軟性を有する材料で構成されている場合が多い。そのため、パッドが強い力で打撃された場合、当該パッドの打面に変形が生じるようになっている。このような強打による打面の変形は、隣接して配置された他のパッドに伝播する。これにより、接触センサ(打撃位置検出手段)においても、実際には打撃されていないパッドの入力信号を検出してしまうクロストークが発生するという問題があった。特に、連続する一の打面を複数区画に分割してなるパッドを有する電子打楽器では、一のパッドで生じた打面の変形が隣接するパッドに伝播し易いため、一の打面を強打した場合、他の打面に対応する接触センサでこのような誤検出が生じ易くなる。そうすると、実際には打撃されていないパッドに対する打撃有りと誤判断することで、誤発音が生じてしまうという問題があった。   By the way, in the electronic percussion instrument as described above, in consideration of performance operability, the pad hitting surface is often made of a flexible material such as rubber. Therefore, when the pad is hit with a strong force, the hitting surface of the pad is deformed. The deformation of the hitting surface due to such a strong hit propagates to other pads arranged adjacent to each other. As a result, even in the contact sensor (striking position detecting means), there is a problem in that crosstalk occurs that detects an input signal of a pad that is not actually struck. In particular, in an electronic percussion instrument having a pad formed by dividing one continuous hitting surface into a plurality of sections, the deformation of the hitting surface generated by one pad is easy to propagate to the adjacent pad, so that one hitting surface was hit hard. In such a case, such erroneous detection is likely to occur with a contact sensor corresponding to another hitting surface. In this case, there is a problem that erroneous pronunciation occurs by erroneously determining that there is a hit on a pad that is not actually hit.

本発明は上述の点に鑑みてなされたものであり、その目的は、打面を有する演奏操作子を備えた電子打楽器において、実際に打撃されていない演奏操作子に打撃有りと誤判断することを抑制できるようにして、誤発音の発生を防止することにある。   The present invention has been made in view of the above points, and an object of the present invention is to erroneously determine that a performance operator that is not actually hit is hit with an electronic percussion instrument having a performance operator having a hitting surface. Is to prevent the occurrence of erroneous pronunciation.

上記課題を解決するため、本発明にかかる電子打楽器は、打面を有する複数の演奏操作子(HPi,RPi)と、演奏操作子(HPi,RPi)に対する打撃操作の位置に関する信号を検出する打撃位置検出手段(SW)と、演奏操作子(HPi,RPi)に対する打撃操作に応じた打撃力に関する信号(PiLevel)を検出する打撃力検出手段(AD)と、打撃位置検出手段(SW)及び打撃力検出手段(AD)の検出に基づいて、演奏操作子(HPi,RPi)に対する打撃操作に応じた発音処理を行う制御手段(45)と、を備え、制御手段(45)は、打撃位置検出手段(SW)が受けた入力信号を一定間隔ごとにスキャンし、所定回数(N1又はN2)以上連続して入力信号を検出した場合に演奏操作子(HPi,RPi)に対する打撃判定フラグをオンし、当該打撃判定フラグをオンした演奏操作子(HPi,RPi)に対応する楽音を打撃力検出手段(AD)で検出した打撃力(PiLevel)に基づいて発生させる発音処理を連続して行い、その際に、前回の発音処理に用いた打撃力(PiLevel)が所定の閾値(Hth,Rth)より小さいとき(ST4−5,ST4−15でNO)は、所定回数である第1の回数(N1)連続して入力信号を検出した場合に演奏操作子(HPi,RPi)に対する打撃判定フラグをオンする通常検出処理を行う(ST4−8,ST4−18)一方、前回の発音処理に用いた打撃力(PiLevel)が所定の閾値(Hth,Rth)以上であるとき(ST4−5,ST4−15でYES)は、その後、所定期間(Ts)が経過するまでの間(ST4−6,ST4−16でYES)は、所定回数である第1の回数(N1)より多い第2の回数(N2又はN3)連続して入力信号を検出した場合に演奏操作子(HPi,RPi)に対する打撃判定フラグをオンするクロストークキャンセル処理を行う(ST4−7,ST4−17)ことを特徴とする。   In order to solve the above-described problems, an electronic percussion instrument according to the present invention is a batting that detects a plurality of performance operators (HPi, RPi) having a striking surface and a signal relating to the position of the batting operation on the performance operators (HPi, RPi). Position detecting means (SW), striking force detecting means (AD) for detecting a signal (PiLevel) relating to striking force according to the striking operation on the performance operator (HPi, RPi), striking position detecting means (SW) and striking Control means (45) for performing sound generation processing corresponding to the hitting operation on the performance operator (HPi, RPi) based on the detection of the force detecting means (AD), and the control means (45) detects the hitting position. When the input signal received by the means (SW) is scanned at regular intervals and the input signal is detected continuously for a predetermined number of times (N1 or N2), the performance operator (HPi, RPi) is detected. A sound generation process for generating a musical tone corresponding to the performance operator (HPi, RPi) with the hit determination flag turned on based on the hit force (PiLevel) detected by the hit force detecting means (AD). When the striking force (PiLevel) used in the previous sound generation process is smaller than a predetermined threshold (Hth, Rth) (NO in ST4-5 and ST4-15), the number of times is predetermined. When the input signal is detected for the first number of times (N1) continuously, a normal detection process is performed to turn on the hit determination flag for the performance operator (HPi, RPi) (ST4-8, ST4-18). When the striking force (PiLevel) used in the sound generation process is equal to or greater than a predetermined threshold (Hth, Rth) (YES in ST4-5 and ST4-15), a predetermined period (Ts) is thereafter passed ( ST 4-6, YES in ST4-16) is a performance operator (HPi,) when an input signal is detected continuously for a second number of times (N2 or N3) greater than the predetermined number of times (N1). Crosstalk cancellation processing for turning on the hit determination flag for RPi) is performed (ST4-7, ST4-17).

本発明にかかる電子打楽器によれば、前回の発音処理に用いた打撃力が所定の閾値より大きいか小さいかに応じて、演奏操作子に対する打撃判定フラグをオンする基準が互いに異なる通常検出処理とクロストークキャンセル処理とを切り替えて行うように構成している。すなわち、前回の発音処理に用いた打撃力が所定の閾値より小さい場合には、演奏操作子に対する打撃判定フラグをオンする打撃位置検出手段への入力信号の連続検出回数が少ない通常検出処理を行う一方、前回の発音処理に用いた打撃力が所定の閾値以上である場合には、演奏操作子に対する打撃判定フラグをオンする打撃位置検出手段への入力信号の連続検出回数が多いクロストークキャンセル処理を行う。   According to the electronic percussion instrument of the present invention, the normal detection process with different criteria for turning on the hit determination flag for the performance operator is different depending on whether the hitting force used in the previous sound generation process is larger or smaller than a predetermined threshold. It is configured to switch between the crosstalk cancellation processing. That is, when the striking force used in the previous sound generation process is smaller than the predetermined threshold value, the normal detection process is performed in which the number of continuous detections of the input signal to the striking position detection means for turning on the striking determination flag for the performance operator is small. On the other hand, when the striking force used in the previous sound generation process is equal to or greater than a predetermined threshold, the crosstalk canceling process has a large number of continuous detections of the input signal to the striking position detection means for turning on the striking determination flag for the performance operator. I do.

このように構成したことで、打撃位置検出手段への入力信号の飛び付きが生じるような強い打撃が行われた後は、所定期間が経過するまでの間、上記の通常打撃処理ではなくクロストークキャンセル処理が行われるようになる。これにより、実際に打撃されていない演奏操作子に対応する打撃位置検出手段で飛び付き(クロストーク)による入力信号が検出された場合でも、当該演奏操作子に対する打撃有りと誤判断することを防止できる。したがって、一の演奏操作子の強い打撃があった後に他の演奏操作子に対する誤発音が発生することを効果的に防止できるようになる。   With this configuration, after a strong hit that causes a jump in the input signal to the hitting position detecting means is performed, until the predetermined period elapses, crosstalk cancellation is performed instead of the normal hitting process described above. Processing is performed. Thereby, even when an input signal due to a jump (crosstalk) is detected by the striking position detection means corresponding to the performance operator that is not actually hit, it is possible to prevent erroneous determination that there is a hit on the performance operator. . Accordingly, it is possible to effectively prevent the occurrence of erroneous sound generation with respect to other performance operators after a strong blow of one performance operator.

また、上記の電子打楽器では、演奏操作子(HPi,RPi)は、互いに隣接して配置された少なくとも一組の立体形状の打面を有する立体パッド(RPi)と平面形状の打面を有する平面パッド(HPi)とを含み、打撃位置検出手段(SW)は、立体パッド(RPi)と平面パッド(HPi)それぞれに対する打撃操作を検出するもの(SWri,SWhi)が別個に設けられており、打撃力検出手段(AD)は、一組の立体パッド(RPi)と平面パッド(HPi)両方の打撃力(PiLevel)を検出するもの(ADi)が共用で設けられているとよい。   In the electronic percussion instrument described above, the performance operators (HPi, RPi) have a solid pad (RPi) having at least one set of three-dimensional striking surfaces arranged adjacent to each other and a plane having a planar striking surface. The impact position detecting means (SW) includes a pad (HPi), and the impact position detection means (SW) is provided with a separate one (Sri, SWhi) for detecting an impact operation on the solid pad (RPi) and the planar pad (HPi). As the force detection means (AD), it is preferable that the one (ADi) for detecting the striking force (PiLevel) of both the pair of solid pads (RPi) and the flat pad (HPi) is provided in common.

このように立体形状の打面を有する立体パッドと平面形状の打面を有する平面パッドとを備えたいわゆるマルチパッド形式の電子打楽器では、立体パッドと平面パッドとでパッド面の形状が異なるゆえに、それらに対する打撃操作の態様が異なる場合が多い。この具体例を挙げると、平面パッドは、スティックの先端で真上から打撃されることが多いが、立体パッドは、スティックの腹部分で斜め上方から打撃されることが多い。そのため、パッドの打面がゴムなど柔軟性を有する材料で構成されていると、特に、立体パッドが打撃された場合、平面パッドが打撃された場合と比べて打撃力が斜め方向に作用することで、打面の変形が広範囲に伝播し易くなる。したがって、立体パッドの打撃によって、実際に打撃されていない隣接する平面パッドに打撃有りと誤検出されることが起こり易くなる。
これに対して、本発明にかかる電子打楽器では、実際には打撃されていない演奏操作子の打面に変形が生じることで、対応する打撃位置検出手段で飛び付きによる入力信号が検出された場合でも、上記のクロストークキャンセル処理によって、当該演奏操作子に対する打撃有りと誤判断することを抑制できるので、立体パッドの打撃によって隣接する平面パッドに打撃有りと誤検出することを効果的に防止できるようになる。すなわち、本発明によれば、隣接する立体パッドと平面パッドを有するマルチパッド形式の電子打楽器に特有のクロストーク現象を抑制できるので、マルチパッド形式の電子打楽器における誤発音の発生を効果的に防止することができる。
Thus, in the so-called multipad electronic percussion instrument having a solid pad having a three-dimensional striking surface and a flat pad having a flat striking surface, the shape of the pad surface differs between the three-dimensional pad and the flat pad. In many cases, the mode of the batting operation on them is different. In this specific example, the flat pad is often struck from directly above at the tip of the stick, while the three-dimensional pad is often struck from diagonally above at the belly portion of the stick. Therefore, when the striking surface of the pad is made of a flexible material such as rubber, the striking force acts in an oblique direction, particularly when a three-dimensional pad is struck, compared to when a flat pad is struck. Thus, the deformation of the hitting surface is easily propagated over a wide range. Therefore, it is likely that a hit with a solid pad is erroneously detected as being hit on an adjacent flat pad that is not actually hit.
On the other hand, in the electronic percussion instrument according to the present invention, even if an input signal due to a jump is detected by the corresponding hitting position detecting means, the hitting surface of the performance operator that is not actually hit is deformed. Since the crosstalk canceling process described above can suppress erroneous determination that the performance operator is hit, it can effectively prevent erroneous detection that there is a hit on an adjacent plane pad by hitting a solid pad. become. That is, according to the present invention, the crosstalk phenomenon peculiar to the multi-pad electronic percussion instrument having the adjacent three-dimensional pad and the flat pad can be suppressed, so that it is possible to effectively prevent the occurrence of erroneous sound in the multi-pad electronic percussion instrument can do.

また、上記の電子打楽器では、制御手段(45)は、前回の発音処理で発生させた楽音が立体パッド(RPi)に対応する楽音であるときは、前回の発音処理に用いた打撃力(PiLevel)が第1の閾値(Rth)以上である場合にクロストークキャンセル処理を行う一方、前回の発音処理で発生させた楽音が平面パッド(HPi)に対応する楽音であるときは、前回の発音処理に用いた打撃力(PiLevel)が第1の閾値(Rth)とは異なる第2の閾値(Hth)以上である場合にクロストークキャンセル処理を行うようにするとよい。すなわちここでは、立体パッドに対する打撃があった場合と平面パッドに対する打撃があった場合とで通常検出処理とクロストークキャンセル処理とを切り替えるための打撃力の閾値を異ならせるようにしている。なお、この場合、立体パッドに対する第1の閾値(Rth)よりも平面パッドに対する第2の閾値(Hth)の方が大きな値となるように設定することが望ましい。こうすれば、立体パッドの打撃に対しては、比較的弱い打撃でクロストークキャンセル処理を行うことができるので、入力信号の誤検出が生じ易い立体パッドの打撃操作に対して、隣接する平面パッドに打撃有りと誤判断することを効果的に抑制できる。これにより、打撃操作の態様が異なる平面パッドと立体パッドそれぞれに対して、他のパッドへの入力信号の飛び付きが発生するような強い打撃操作があった場合でも、実際に打撃されていない他のパッドに打撃有りとの誤判断が生じることを適切に防止できるようになる。   In the electronic percussion instrument, when the musical sound generated in the previous sound generation process is a musical sound corresponding to the three-dimensional pad (RPi), the control means (45) uses the striking force (PiLevel) used in the previous sound generation process. ) Is greater than or equal to the first threshold value (Rth), the crosstalk canceling process is performed. On the other hand, if the musical sound generated in the previous sounding process is a musical sound corresponding to the flat pad (HPi), the previous sounding process is performed. The crosstalk cancellation process may be performed when the striking force (PiLevel) used in is equal to or greater than a second threshold (Hth) different from the first threshold (Rth). That is, here, the threshold value of the striking force for switching between the normal detection process and the crosstalk canceling process is different depending on whether a solid pad is hit or a flat pad is hit. In this case, it is desirable to set the second threshold value (Hth) for the planar pad to be larger than the first threshold value (Rth) for the three-dimensional pad. In this way, since it is possible to perform the crosstalk canceling process with a relatively weak strike against the strike of the solid pad, the adjacent flat pad can be used for the strike operation of the solid pad that is likely to cause an erroneous detection of the input signal. It is possible to effectively suppress the erroneous determination that there is a hit. As a result, even if there is a strong striking operation that causes a jump of the input signal to the other pad for each of the flat pad and the three-dimensional pad having different striking operation modes, It is possible to appropriately prevent the erroneous determination that the pad is hit.

また、上記の電子打楽器では、制御手段(45)は、前回の発音処理で発生させた楽音が立体パッド(RPi)に対応する楽音であるときは、前回の発音処理に用いた打撃力(PiLevel)が所定の閾値(Rth)より大きい場合、その後、第1の期間(Tsr)が経過するまでの間、クロストークキャンセル処理を行う一方、前回の発音処理で発生させた楽音が平面パッド(HPi)に対応する楽音であるときは、前回の発音処理に用いた打撃力(PiLevel)が所定の閾値(Hth)より大きい場合、その後、第1の期間(Tsr)とは異なる第2の所定期間(Tsh)が経過するまでの間、クロストークキャンセル処理を行うようにするとよい。すなわちここでは、立体パッドに対する打撃操作があった場合と平面パッドに対する打撃操作があった場合とでクロストークキャンセル処理の実行期間を異ならせるようにしている。なお、この場合、クロストークキャンセル処理の実行期間は、平面パッドの打撃に対する実行期間(Tsh)よりも、立体パッドの打撃に対する実行期間(Tsr)の方が長くなるように設定することが望ましい。こうすれば、立体パッドの打撃に対しては、より高い確率でクロストークキャンセル処理を行うことができるので、立体パッドの打撃操作に対して隣接する平面パッドに打撃有りと誤判断することを効果的に抑制できる。   In the electronic percussion instrument, when the musical sound generated in the previous sound generation process is a musical sound corresponding to the three-dimensional pad (RPi), the control means (45) uses the striking force (PiLevel) used in the previous sound generation process. ) Is greater than a predetermined threshold value (Rth), and thereafter, until the first period (Tsr) elapses, the crosstalk cancellation process is performed, while the musical sound generated in the previous sound generation process is detected by the flat pad (HPi). ), When the striking force (PiLevel) used in the previous sound generation process is greater than a predetermined threshold value (Hth), then a second predetermined period different from the first period (Tsr) It is preferable to perform the crosstalk cancellation process until (Tsh) elapses. That is, here, the execution period of the crosstalk canceling process is different depending on whether or not there is a striking operation on the three-dimensional pad and a striking operation on the flat pad. In this case, it is desirable to set the execution period of the crosstalk cancellation process so that the execution period (Tsr) for striking the solid pad is longer than the execution period (Tsh) for striking the flat pad. In this way, it is possible to perform the crosstalk canceling process with a higher probability for the hitting of the three-dimensional pad. Therefore, it is effective to erroneously determine that there is a hit on the adjacent plane pad for the hitting operation of the three-dimensional pad. Can be suppressed.

また、上記の電子打楽器では、制御手段(45)は、前回の発音処理で発生させた楽音が立体パッド(RPi)に対応する楽音であるときは、クロストークキャンセル処理において、打撃位置検出手段(SW)に対する入力信号が第2の回数である所定回数(N2)連続して検出されたときに立体パッド(RPi)に対する打撃判定フラグをオンする一方、前回の発音処理で発生させた楽音が平面パッド(HPi)に対応する楽音であるときは、クロストークキャンセル処理において、打撃位置検出手段(SW)に対する入力信号が上記の所定回数(N2)とは異なる他の所定回数(N3)連続して検出されたときに平面パッド(HPi)に対する打撃判定フラグをオンすることができる。すなわちここでは、立体パッドと平面パッドとでクロストークキャンセル処理において打撃判定フラグをオンするための打撃位置検出手段への入力信号の連続検出回数を異ならせるようにしている。なお、この場合、平面パッドの打撃に対する入力信号の連続検出回数(N3)よりも、立体パッドの打撃に対する入力信号の連続検出回数(N2)の方が少ない回数となるように設定することが望ましい。これにより、立体パッドの打撃に対しては、より高い確率でクロストークキャンセル処理を行うことができるので、立体パッドの打撃操作に対して隣接する平面パッドに打撃有りと誤判断することを効果的に抑制できる。
なお、上記の括弧内の符号は、後述する実施形態の説明において対応する構成要素又は処理に付した符号を本発明の一例として示したものである。
In the electronic percussion instrument described above, the control means (45), when the musical sound generated in the previous sound generation process is a musical sound corresponding to the three-dimensional pad (RPi), in the crosstalk cancellation process, When the input signal for SW) is continuously detected for a predetermined number of times (N2), which is the second number of times, the hit determination flag for the solid pad (RPi) is turned on, while the musical sound generated in the previous sound generation process is flat. When the musical sound corresponds to the pad (HPi), in the crosstalk cancellation process, the input signal to the striking position detection means (SW) is continuously different from the above predetermined number (N2) for another predetermined number (N3). When detected, the hit determination flag for the flat pad (HPi) can be turned on. That is, here, the number of continuous detections of the input signal to the striking position detecting means for turning on the striking determination flag in the crosstalk canceling process is different between the solid pad and the flat pad. In this case, it is desirable to set the number of continuous detections of the input signal (N2) for the strike of the three-dimensional pad to be smaller than the number of continuous detections of the input signal (N3) for the strike of the flat pad. . As a result, it is possible to perform the crosstalk canceling process with a higher probability for the hitting of the three-dimensional pad, so it is effective to erroneously determine that there is a hit on the adjacent planar pad for the hitting operation of the three-dimensional pad. Can be suppressed.
In addition, the code | symbol in said parenthesis shows the code | symbol attached | subjected to the corresponding component or process in description of embodiment mentioned later as an example of this invention.

本発明によれば、打面を有する複数の演奏操作子を備えた電子打楽器において、実際に打撃されていない演奏操作子に打撃有りと誤判断することを抑制でき、誤発音の発生を効果的に防止できる。   According to the present invention, in an electronic percussion instrument having a plurality of performance operators having a striking surface, it is possible to suppress erroneously determining that a performance operator that is not actually hit is hit, and effectively generating erroneous pronunciation. Can be prevented.

本発明の一実施形態にかかる電子打楽器の概略平面図である。1 is a schematic plan view of an electronic percussion instrument according to an embodiment of the present invention. 電子打楽器の概略構成例を示す図で、(a)は、電子打楽器の側面図、(b)は、電子打楽器が備える一組の平面パッドとリムパッドの側断面図、(c)は、演奏操作子の平面図である。It is a figure which shows schematic structural example of an electronic percussion instrument, (a) is a side view of an electronic percussion instrument, (b) is a sectional side view of a pair of plane pads and rim pads provided in the electronic percussion instrument, and (c) is a performance operation It is a top view of a child. 電子打楽器の機能構成を示すブロック図である。It is a block diagram which shows the function structure of an electronic percussion instrument. 電子打楽器による処理の流れを示すフローチャート(メインフロー)である。It is a flowchart (main flow) which shows the flow of the process by an electronic percussion instrument. タイマー割込み処理を示すフローチャートである。It is a flowchart which shows a timer interruption process. 打撃検出処理及び発音制御処理を行うための機能構成を示す概略のブロック図である。It is a schematic block diagram which shows the function structure for performing a hit | damage detection process and a sound generation control process. 打撃検出処理のサブルーチンを示すフローチャートである。It is a flowchart which shows the subroutine of a hit | damage detection process. 打撃位置検出処理のサブルーチンを示すフローチャートである。It is a flowchart which shows the subroutine of an impact position detection process. 接触センサによる打撃検出の具体例を模式的に示す図で、(a)は、通常検出処理時に打撃判定フラグをオンする場合、(b)は、クロストークキャンセル処理時に打撃判定フラグをオンする場合を示す。The figure which shows typically the specific example of the hit detection by a contact sensor, (a) when turning on a hit determination flag at the time of a normal detection process, (b) when turning on a hit determination flag at the time of a crosstalk cancellation process Indicates. 打撃力検出処理のサブルーチンを示すフローチャートである。It is a flowchart which shows the subroutine of a striking force detection process. 発音制御処理のサブルーチンを示すフローチャートである。It is a flowchart which shows the subroutine of sound generation control processing.

以下、添付図面を参照して本発明の実施形態を詳細に説明する。なお、以下の説明で前後方向もしくは手前側及び奥側というときは、後述する電子打楽器1の演奏者側から見た前後方向もしくは手前側及び奥側を示し、左右(横)方向というときは、演奏者側から見た左右(横)方向を示すものとする。図1及び図2は、本発明の一実施形態にかかる電子打楽器1の概略構成例を示す図で、図1は、電子打楽器1の平面図、図2(a)は、電子打楽器1の側面図、(b)は、後述する一組の平面パッドHPi及びリムパッドRPiの側断面図、(c)は、演奏操作子10(平面パッドHPi及びリムパッドRPi)の平面図である。電子打楽器1は、卓上型の電子楽器であり、概略平板形状に形成されたケース2に収容されている。ケース2の上面の奥側には、演奏操作を行うための複数のパッドPで構成された演奏操作子10が配置されており、手前側の角部には、電子打楽器1の設定操作を行うための設定操作部30が設置されている。また、図2(a)に示すように、ケース2の後面には、電源接続用あるいは外部機器接続用の複数の端子を備えた端子部3が設けられている。   Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description, when referring to the front-rear direction or the front side and the back side, it indicates the front-rear direction or the front side and the back side as viewed from the player side of the electronic percussion instrument 1 described later, and when referring to the left-right (lateral) direction, It shall indicate the left and right (lateral) direction as seen from the performer side. 1 and 2 are diagrams showing a schematic configuration example of an electronic percussion instrument 1 according to an embodiment of the present invention. FIG. 1 is a plan view of the electronic percussion instrument 1. FIG. 2 (a) is a side view of the electronic percussion instrument 1. FIGS. 2B and 2B are side sectional views of a pair of plane pads HPi and rim pads RPi described later, and FIG. 3C is a plan view of the performance operator 10 (plane pads HPi and rim pads RPi). The electronic percussion instrument 1 is a desktop electronic musical instrument and is accommodated in a case 2 formed in a substantially flat plate shape. A performance operator 10 composed of a plurality of pads P for performing a performance operation is disposed on the back side of the upper surface of the case 2, and a setting operation of the electronic percussion instrument 1 is performed at a corner on the front side. A setting operation unit 30 is installed. As shown in FIG. 2A, a terminal portion 3 having a plurality of terminals for connecting a power source or connecting an external device is provided on the rear surface of the case 2.

演奏操作子10は、図1に示すように、外形が略長方形状で、演奏者側(手前側)から見た前後方向と左右方向に沿って格子状に区画されている。本実施形態では、演奏操作子10は、前後方向が4列、左右方向が3列に分割されており、合計12個のパッドPが配列されている。   As shown in FIG. 1, the performance operator 10 has a substantially rectangular outer shape, and is partitioned in a lattice shape along the front-rear direction and the left-right direction as viewed from the performer side (front side). In the present embodiment, the performance operator 10 is divided into four rows in the front-rear direction and three rows in the left-right direction, and a total of twelve pads P are arranged.

演奏操作子10を構成する奥側の横一列に配列された3個のパッドPと、手前側の横一列に配列された3個のパッドPはいずれも、図1に示すように、平面視の外形が横長の長方形状であり、かつ、図2(a)に示すように、左右方向を軸方向とする略円筒面状に隆起した立体形状の打面Vを有している。以下では、これら6個のパッドをリムパッド(立体パッド)RPi(i=1〜6)と称す。そして、奥側に配列された3個のリムパッドRPiを左から順にリムパッドRP1、リムパッドRP2、リムパッドRP3とし、手前側に配列された3個のリムパッドRPiを左から順にリムパッドRP4、リムパッドRP5、リムパッドRP6とする。   As shown in FIG. 1, the three pads P that are arranged in a horizontal row on the back side and the three pads P that are arranged in a horizontal row on the front side are a plan view. As shown in FIG. 2 (a), the outer shape is a three-dimensional striking surface V that is raised in a substantially cylindrical surface with the left-right direction as the axial direction. Hereinafter, these six pads are referred to as rim pads (three-dimensional pads) RPi (i = 1 to 6). Then, the three rim pads RPi arranged on the back side are designated as rim pad RP1, rim pad RP2, and rim pad RP3 in this order from the left, and the three rim pads RPi arranged on the near side are rim pad RP4, rim pad RP5, and rim pad RP6 in order from the left. And

また、前後方向でリムパッドRP1〜RP3とリムパッドRP4〜RP6との間に配置された6個のパッドPはいずれも、図1に示すように、平面視の外形が略正方形状で、かつ、図2(a)に示すように、平面形状の打面Vを有している。以下では、これら6個のパッドを平面パッドHPi(i=1〜6)と称す。そして、前後2列に配列された6個の平面パッドHPiのうち、奥側に配列された3個のパッドHPiを左から順にHP1,HP2,HP3とし、手前側に配列された3個のパッドHPiを左から順にHP4,HP5,HP6とする。   Further, as shown in FIG. 1, all six pads P arranged between the rim pads RP1 to RP3 and the rim pads RP4 to RP6 in the front-rear direction have a substantially square shape in plan view. As shown in FIG. 2 (a), it has a planar hitting surface V. Hereinafter, these six pads are referred to as planar pads HPi (i = 1 to 6). Of the six flat pads HPi arranged in two rows in the front and rear, the three pads HPi arranged on the back side are designated HP1, HP2, HP3 in order from the left, and the three pads arranged on the front side. HPi is HP4, HP5 and HP6 in order from the left.

また、演奏操作子10は、図2(a)に示すように、段差Tを境界として、その奥側の面が手前側の面よりも一段高くなっている。そして、奥側の面(上段側の面)にリムパッドRP1〜RP3と平面パッドHP1〜HP3とが配列されており、手前側の面(下段側の面)に平面パッドHP4〜HP6とリムパッドRP4〜RP6とが配列されている。そして、上段側の平面パッドHP1とリムパッドRP1、平面パッドHP2とリムパッドRP2、平面パッドHP3とリムパッドRP3がそれぞれ前後に隣接して配置されており、下段側のリムパッドRP4と平面パッドHP4、リムパッドRP5と平面パッドHP5、リムパッドRP6と平面パッドHP6がそれぞれ前後に隣接して配置されている。   Further, as shown in FIG. 2A, the performance operator 10 has a step T as a boundary, and the back surface thereof is higher than the front surface. The rim pads RP1 to RP3 and the flat pads HP1 to HP3 are arranged on the rear surface (upper surface), and the flat pads HP4 to HP6 and rim pads RP4 to RP4 are arranged on the front surface (lower surface). RP6 is arranged. Then, the upper side flat pad HP1 and the rim pad RP1, the flat pad HP2 and the rim pad RP2, the flat pad HP3 and the rim pad RP3 are arranged adjacent to each other in the front and rear, and the lower rim pad RP4, the flat pad HP4, and the rim pad RP5 The planar pad HP5, the rim pad RP6, and the planar pad HP6 are arranged adjacent to each other in the front-rear direction.

リムパッドRPiは、円筒面状に隆起した打面Vを図示しないスティックの腹部(側面)で打撃する演奏操作に適している。このようなリムパッドRPiに対する演奏操作では、スティックが振り下ろされる角度の都合上、リムパッドRPiが手前側の上方から下方に向かって斜め方向に打撃される場合が多くなる。一方、平面パッドHPiは、平面状の打面Vをスティックの先端で打撃する演奏操作に適している。このような演奏操作では、平面パッドHPiが真上から下方に向かって打面Vに対して垂直方向に打撃される場合が多くなる。なお、リムパッドRPi及び平面パッドHPiに対する演奏操作は、スティックによる打撃には限らず、手など身体の一部で行う打撃でも良いし、打撃以外にも、打面Vを手などで押える演奏操作などを行うことも可能である。   The rim pad RPi is suitable for a performance operation of striking the striking surface V raised in a cylindrical surface with the abdomen (side surface) of a stick (not shown). In such performance operation with respect to the rim pad RPi, the rim pad RPi is often hit in an oblique direction from the upper side toward the lower side due to the angle at which the stick is swung down. On the other hand, the flat pad HPi is suitable for a performance operation of hitting a flat hitting surface V with the tip of a stick. In such a performance operation, the flat pad HPi is often struck in a direction perpendicular to the hitting surface V from directly above to below. Note that the performance operation for the rim pad RPi and the flat pad HPi is not limited to the impact with a stick, but may be an impact performed with a part of the body such as a hand, or a performance operation for pressing the strike surface V with a hand or the like in addition to the impact. It is also possible to perform.

各平面パッドHPi及びリムパッドRPiの打面Vは、図2(b)に示すように、硬質ゴムなどの弾性材料からなるシート状の表面材21で構成されている。各平面パッドHPi及びリムパッドRPiの間には、格子状の溝部12が設けられている。溝部12によって各リムパッドRPi及び平面パッドHPiが区画されている。また、表面材21の裏側には、ゴムなどからなる平板状の弾性部材25が設置されており、弾性部材25の下面には、補強板(パッドボディ)23の上に載置された接触センサ(打撃位置検出手段)SWが設けられている。接触センサSWは、フィルム状のスイッチ(シート状の感圧センサ)からなる。この接触センサSWは、図2(b)及び(c)に示すように、各リムパッドRPiの下面側に設置された接触センサSWri(i=1〜6)と、各平面パッドHPiの下面側に設置された接触センサSWhi(i=1〜6)からなり、合計12個が設置されている。したがって、平面パッドHPi又はリムパッドRPiのいずれかに対する打撃操作に応じて打面Vの変形が生じた場合、対応する接触センサSWhi又は接触センサSWriがスイッチオンするようになっている。   As shown in FIG. 2B, the striking surface V of each flat pad HPi and rim pad RPi is composed of a sheet-like surface material 21 made of an elastic material such as hard rubber. Between each planar pad HPi and the rim pad RPi, a lattice-like groove 12 is provided. Each rim pad RPi and planar pad HPi are partitioned by the groove portion 12. A flat elastic member 25 made of rubber or the like is installed on the back side of the surface material 21, and a contact sensor placed on a reinforcing plate (pad body) 23 on the lower surface of the elastic member 25. (Blow position detection means) SW is provided. The contact sensor SW is composed of a film-like switch (sheet-like pressure sensor). As shown in FIGS. 2B and 2C, the contact sensor SW is connected to the contact sensor SWri (i = 1 to 6) installed on the lower surface side of each rim pad RPi and the lower surface side of each planar pad HPi. It is composed of installed contact sensors SWhi (i = 1 to 6), and a total of 12 sensors are installed. Therefore, when the hitting surface V is deformed in response to the hitting operation on either the flat pad HPi or the rim pad RPi, the corresponding contact sensor SWhi or contact sensor SWri is switched on.

接触センサSWhi又は接触センサSWriがスイッチオンする時間(スイッチオンの継続時間)は、平面パッドHPi又はリムパッドRPiに生じる打面Vの変形の大きさ(変形量)に応じて決まるようになっている。すなわち、平面パッドHPi又はリムパッドRPiに生じる打面Vの変形が大きい場合は、接触センサSWhi又は接触センサSWriのスイッチオン継続時間が長くなり、当該打面Vの変形が小さい場合は、接触センサSWhi又は接触センサSWriのスイッチオン継続時間が短くなる。そして、後述する制御部45は、接触センサSWが受ける上記スイッチオンの有無を所定時間(一例として10ms〜30ms程度)ごとに連続してスキャンするように構成されており、当該スキャンの結果、接触センサSWのスイッチオンが所定回数連続して検出された場合、対応する平面パッドHPi又はリムパッドRPiに対する打撃判定フラグをオンする処理を行うようになっている。   The time for which the contact sensor SWhi or the contact sensor SWri is switched on (switch-on duration) is determined according to the deformation size (deformation amount) of the striking surface V generated in the flat pad HPi or the rim pad RPi. . That is, when the deformation of the hitting surface V generated on the flat pad HPi or the rim pad RPi is large, the switch-on duration of the contact sensor SWhi or the contact sensor SWri becomes long, and when the deformation of the hitting surface V is small, the contact sensor SWhi. Alternatively, the switch-on continuation time of the contact sensor SWri is shortened. And the control part 45 mentioned later is comprised so that the presence or absence of the said switch-on which the contact sensor SW receives may be continuously scanned for every predetermined time (for example, about 10 ms-30 ms), and, as a result of the said scan, contact When the switch-on of the sensor SW is detected continuously for a predetermined number of times, a process for turning on the hit determination flag for the corresponding flat pad HPi or rim pad RPi is performed.

また、接触センサSWを載置している補強板23の下面側には、平面パッドHPi又はリムパッドRPiの上面側から延びた表面材21の端辺21aが巻き込まれた状態で敷設されている。これにより、補強板23が演奏操作子10の下方に設置した基部24(ケース2の一部などで構成されている)上に表面材21の端辺21aを介して弾性的に支持されている。   Further, on the lower surface side of the reinforcing plate 23 on which the contact sensor SW is placed, an end side 21a of the surface material 21 extending from the upper surface side of the planar pad HPi or the rim pad RPi is laid in a wound state. As a result, the reinforcing plate 23 is elastically supported via the end 21 a of the surface material 21 on the base 24 (configured by a part of the case 2) installed below the performance operator 10. .

そして、補強板23の下面側には、補強板23に対して面接触する小板状に形成された打撃センサ(打撃力検出手段)ADが設置されている。打撃センサADは、平面パッドHPi及びリムパッドRPiに対する打撃による振動を検出して電気信号を出力するピエゾ素子などで構成されている。打撃センサADは、補強板23の下面にピエゾテープ(クッション材)26aで貼付されており、平面パッドHPi又はリムパッドRPiに対する打撃操作が行われた場合の打撃強さ(打撃力)を検出することができる。図2(b)及び(c)に示すように、打撃センサADは、各平面パッドHPi(i=1〜6)に対応する位置の下面側にそれぞれ設置された打撃センサADi(i=1〜6)からなり、合計6個が設置されている。各打撃センサADiは、対応する平面パッドHP1〜HP6の打撃力を検出するとともに、平面パッドHPiそれぞれに隣接する同じ番号のリムパッドRPiの打撃力もあわせて検出するようになっている。すなわち、6個の打撃センサADi(i=1〜6)はそれぞれ、平面パッドHP1とリムパッドRP1、平面パッドHP2とリムパッドRP2・・・平面パッドHP6とリムパッドRP6で共用されるようになっている。   On the lower surface side of the reinforcing plate 23, an impact sensor (striking force detecting means) AD formed in a small plate shape that comes into surface contact with the reinforcing plate 23 is installed. The striking sensor AD is configured by a piezo element that detects vibration caused by striking the flat pad HPi and the rim pad RPi and outputs an electrical signal. The striking sensor AD is affixed to the lower surface of the reinforcing plate 23 with a piezo tape (cushion material) 26a, and detects the striking strength (striking force) when a striking operation is performed on the flat pad HPi or the rim pad RPi. Can do. As shown in FIGS. 2B and 2C, the impact sensor AD is provided on the lower surface side of the position corresponding to each planar pad HPi (i = 1 to 6). 6), a total of 6 are installed. Each striking sensor ADi detects the striking force of the corresponding flat pads HP1 to HP6 and also detects the striking force of the rim pad RPi of the same number adjacent to each flat pad HPi. That is, the six impact sensors ADi (i = 1 to 6) are shared by the plane pad HP1 and the rim pad RP1, the plane pad HP2 and the rim pad RP2,..., The plane pad HP6 and the rim pad RP6, respectively.

一方、図1に示すように、設定操作部30のパネル面31には、カーソルスイッチや入力スイッチなどを備えた各種操作キー32、ボリューム調節用のつまみ33、液晶パネルからなる表示部34、演奏操作の状態を点灯表示するLED36などが配列されている。また、パネル面31の近傍には、演奏音などの各種音声を出力するためのスピーカが内蔵された音声出力部(図示せず)も配置されている。表示部34には、各種の設定操作を行うための設定操作画面などが表示される。   On the other hand, as shown in FIG. 1, on the panel surface 31 of the setting operation unit 30, various operation keys 32 including a cursor switch and an input switch, a volume adjustment knob 33, a display unit 34 including a liquid crystal panel, a performance An LED 36 and the like for lighting the operation state are arranged. In addition, an audio output unit (not shown) including a speaker for outputting various sounds such as performance sounds is also arranged near the panel surface 31. The display unit 34 displays a setting operation screen for performing various setting operations.

図3は、電子打楽器1の機能構成を示すブロック図である。電子打楽器1は、演奏操作子10、設定操作部30、音源(音源回路)41、サウンドシステム42、ROM43、RAM44、主制御部(CPU)45、タイマー46、記憶部47、表示部34、インターフェース(I/F)48の各部を備えており、これら各部はバス50を介して互いに接続されている。   FIG. 3 is a block diagram showing a functional configuration of the electronic percussion instrument 1. The electronic percussion instrument 1 includes a performance operator 10, a setting operation unit 30, a sound source (sound source circuit) 41, a sound system 42, a ROM 43, a RAM 44, a main control unit (CPU) 45, a timer 46, a storage unit 47, a display unit 34, and an interface. (I / F) 48 are provided, and these units are connected to each other via a bus 50.

演奏操作子10は、上記構成の6個の平面パッドHPiと6個のリムパッドRPi(i=1〜6)を備えて構成されており、これら平面パッドHPi及びリムパッドRPiには、合計12個の接触センサSWhi,SWriと、合計6個の打撃センサADi(i=1〜6)とが取り付けられている。この演奏操作子10は、操作インターフェース13を介してバス50に接続されている。主制御部(CPU)45は、電子打楽器1の全体の制御を司る働きをし、特に、電子打楽器1で後述する各種処理が行われる際、当該処理を実行するための手段として機能する。   The performance operator 10 includes six plane pads HPi and six rim pads RPi (i = 1 to 6) having the above-described configuration, and the plane pads HPi and rim pads RPi have a total of twelve. Contact sensors SWhi and SWri and a total of six impact sensors ADi (i = 1 to 6) are attached. The performance operator 10 is connected to the bus 50 via the operation interface 13. The main control unit (CPU) 45 serves to control the entire electronic percussion instrument 1, and functions as means for executing the processes when various processes described later are performed on the electronic percussion instrument 1.

タイマー46は、後述するタイマー割込み処理における割込時間や各種時間を計時する。ROM43は、主制御部45が実行する制御プログラムや、データテーブルや制御プログラムを含む各種アプリケーションプログラムや各種データ等を記憶する。また、各パッドHPi,RPiに割り当てた演奏音のデータを記憶することもできる。RAM44は、自動演奏データ、各種入力情報および演算結果等を一時的に記憶する。記憶部47は、HDDやフラッシュメモリなどの記憶媒体を備えて構成されており、各種設定情報や演奏データなどを記憶することができる。表示部34は、各種情報を表示するための液晶ディスプレイ(LCD)で構成されている。なお、表示部34は、発光ダイオード(LED)などで構成してもよい。インターフェース(I/F)48は、外部演奏機器49を接続するもので、外部演奏機器49からの各種信号(例えば、MIDI(Musical Instrument Digital Interface)信号)を入力したり、外部演奏機器49に対して信号を出力したりする。音源41は、演奏操作子10の操作で入力された演奏データや予め設定された自動演奏データを楽音信号に変換するものである。サウンドシステム42は、音源41からの楽音信号を音響に変換するアンプやスピーカなどで構成されている。   The timer 46 measures an interrupt time and various times in a timer interrupt process described later. The ROM 43 stores a control program executed by the main control unit 45, various application programs including a data table and a control program, various data, and the like. Further, performance sound data assigned to each of the pads HPi and RPi can be stored. The RAM 44 temporarily stores automatic performance data, various input information, calculation results, and the like. The storage unit 47 includes a storage medium such as an HDD or a flash memory, and can store various setting information, performance data, and the like. The display unit 34 includes a liquid crystal display (LCD) for displaying various information. The display unit 34 may be composed of a light emitting diode (LED). The interface (I / F) 48 connects an external performance device 49, and inputs various signals (for example, a MIDI (Musical Instrument Digital Interface) signal) from the external performance device 49, or the external performance device 49. Output a signal. The sound source 41 converts performance data input by the operation of the performance operator 10 or preset automatic performance data into a musical sound signal. The sound system 42 includes an amplifier, a speaker, and the like that convert a musical sound signal from the sound source 41 into sound.

本実施形態の電子打楽器1では、演奏操作子10の演奏操作に対して発生させる演奏音の音源データとして、ROM43または記憶部47にあらかじめ記憶された音色データを使用することができる。なお、それ以外にも、外部からの音を取り込むサンプリング機能を備えている場合は、演奏音の音源データとして、サンプリングした波形データを使用することも可能である。   In the electronic percussion instrument 1 of the present embodiment, timbre data stored in advance in the ROM 43 or the storage unit 47 can be used as the sound source data of the performance sound generated in response to the performance operation of the performance operator 10. In addition, in the case of having a sampling function for taking in sound from the outside, it is also possible to use sampled waveform data as sound source data of performance sound.

次に、上記構成の電子打楽器1において行われる各種処理について説明する。図4は、電子打楽器1における処理の流れを示すフローチャート(メインフロー)である。電子打楽器1の電源をオンすると、まず、図4に示すメインフローに従った処理が実行される。この処理は、電子打楽器1の電源がオフになるまでの間、継続的に実行される。このメインフローでは、まず、電子打楽器1の各部の設定が初期化される(ステップST1−1)。その後、設定操作受付処理が実行される(ステップST1−2)。設定操作受付処理は、設定操作部30の操作を受けて対応する処理を行うもので、これにより電子打楽器1の各種機能の設定が行われる。ステップST1−2の設定操作処理は、電子打楽器1の電源がオンになっている間、繰り返して実行される。   Next, various processes performed in the electronic percussion instrument 1 having the above configuration will be described. FIG. 4 is a flowchart (main flow) showing a flow of processing in the electronic percussion instrument 1. When the electronic percussion instrument 1 is turned on, first, processing according to the main flow shown in FIG. 4 is executed. This process is continuously executed until the power of the electronic percussion instrument 1 is turned off. In this main flow, first, the setting of each part of the electronic percussion instrument 1 is initialized (step ST1-1). Thereafter, a setting operation acceptance process is executed (step ST1-2). The setting operation accepting process is a process corresponding to the operation of the setting operation unit 30, whereby various functions of the electronic percussion instrument 1 are set. The setting operation process in step ST1-2 is repeatedly executed while the electronic percussion instrument 1 is powered on.

そして、上記のメインフローが実行されている間にタイマー割込み処理が実行される。図5は、タイマー割込み処理を示すフローチャートである。タイマー割込み処理では、タイマー46で計時された所定の割込時間(一例として0.1〜1.0ms程度の間隔)ごとに、タイムレジスタ値を一定値ずつ増加させる処理が行われる(ステップST2−1)。そして、タイムレジスタ値を増加させる度に、打撃検出処理(ステップST2−2)及び発音制御処理(ステップST2−3)が行われる。打撃検出処理では、演奏操作子10に対する打撃操作の検出が行われる。一方、発音制御処理では、打撃検出処理に基づく楽音信号の生成が指示される。これら打撃検出処理及び発音制御処理の具体的な手順については、下記で詳述する。   Then, timer interrupt processing is executed while the main flow is being executed. FIG. 5 is a flowchart showing timer interrupt processing. In the timer interrupt process, a process of increasing the time register value by a certain value is performed at every predetermined interrupt time (for example, an interval of about 0.1 to 1.0 ms) counted by the timer 46 (step ST2- 1). Whenever the time register value is increased, the hit detection process (step ST2-2) and the sound generation control process (step ST2-3) are performed. In the hit detection process, the hit operation for the performance operator 10 is detected. On the other hand, in the sound generation control process, generation of a musical sound signal based on the hit detection process is instructed. Specific procedures of these hit detection processing and sound generation control processing will be described in detail below.

図6は、ステップST2−2の打撃検出処理及びステップST2−3の発音制御処理を行うための機能構成を示す概略のブロック図である。また、図7は、ステップST2−2の打撃検出処理のサブルーチンを示すフローである。図7の打撃検出処理では、打撃位置検出処理(ステップST3−1)、及び打撃力検出処理(ステップST3−2)が行われる。この打撃検出処理は、図6に示す主制御部45が備える打撃検出処理部45aで行われるものであり、ステップST3−1の打撃位置検出処理で接触センサ(打撃位置検出手段)SWによって検出されたスイッチオンのデータと、ステップST3−2の打撃力検出処理で打撃センサ(打撃力検出手段)ADによって検出された打撃力の検出値PiLevelとが主制御部45の打撃検出処理部45aに出力される。   FIG. 6 is a schematic block diagram showing a functional configuration for performing the hit detection process in step ST2-2 and the sound generation control process in step ST2-3. FIG. 7 is a flowchart showing a subroutine of the hit detection process in step ST2-2. In the hit detection process of FIG. 7, a hit position detection process (step ST3-1) and a hitting force detection process (step ST3-2) are performed. This hit detection process is performed by the hit detection processing unit 45a included in the main control unit 45 shown in FIG. 6, and is detected by the contact sensor (batch position detecting means) SW in the hit position detection process of step ST3-1. The switch-on data and the detection value PiLevel of the striking force detected by the striking sensor (striking force detecting means) AD in the striking force detection process in step ST3-2 are output to the striking detection processing section 45a of the main control section 45. Is done.

そして、この打撃検出処理によって得られた後述する平面パッド打撃フラグHPiSW、リムパッド打撃フラグRPiSW、打撃力検出フラグPikeyon、打撃力PiLevelの値などの各種発音制御用のデータは、発音制御処理部45bに送られる。発音制御処理部45bでは、これら各種発音制御用データに基づいてステップST2−3の発音制御処理が行われるようになっている。なお、ステップST3−1の打撃位置検出処理とステップST3−2の打撃力検出処理、及びステップST2−3の発音制御処理の具体的内容については、下記で詳述する。   Then, various sound generation control data such as a flat pad hitting flag HPiSW, a rim pad hitting flag RPiSW, a hitting force detection flag Pikeyon, and a hitting force PiLevel, which will be described later, obtained by the hit detection processing are sent to the tone generation control processing unit 45b. Sent. The sound generation control processing unit 45b performs sound generation control processing in step ST2-3 based on these various sound generation control data. The specific contents of the striking position detection process in step ST3-1, the striking force detection process in step ST3-2, and the sound generation control process in step ST2-3 will be described in detail below.

図8は、打撃位置検出処理(ステップST3−1)のサブルーチンを示すフローである。また、図9は、接触センサSWによる打撃検出の具体例を模式的に示す図で、(a)は、通常検出処理時に打撃判定フラグをオンする場合、(b)は、後述するクロストークキャンセル処理時に打撃判定フラグをオンする場合を示す。図8の打撃位置検出処理では、パッド番号i←1として、平面パッドHP1とリムパッドRP1の組に対する打撃操作検出を行う(ステップST4−1)。なお、ここでは、パッド番号i=1〜6まで順にカウントアップすることで、平面パッドHP1とリムパッドRP1の組から平面パッドHP6とリムパッドRP6の組の打撃位置検出処理を順に行うようになっているが、各組に対する処理の手順は共通であるため、以下の説明では、各組に対する処理を含めてパッド番号iと表記して説明を行う。   FIG. 8 is a flowchart showing a subroutine of the striking position detection process (step ST3-1). FIG. 9 is a diagram schematically showing a specific example of hit detection by the contact sensor SW. FIG. 9A shows a case where the hit determination flag is turned on during normal detection processing, and FIG. A case where the hit determination flag is turned on during processing is shown. In the striking position detection process of FIG. 8, the striking operation is detected for the set of the flat pad HP1 and the rim pad RP1 with the pad number i ← 1 (step ST4-1). Here, by counting up from pad number i = 1 to 6 in order, the striking position detection process of the set of plane pad HP6 and rim pad RP6 is sequentially performed from the set of plane pad HP1 and rim pad RP1. However, since the processing procedure for each group is common, the following description will be described with the pad number i including the process for each group.

ここでは、まず、リムパッドRPiのスイッチオン検出(リムパッドRPiに対応する接触センサSWriのスイッチオン検出を意味する、以下同じ。)の有無を判断する(ステップST4−2)。その結果、リムパッドRPiのスイッチオン検出が無ければ(NO)、リムパッドスイッチオン検出回数NRPi←0とする(ステップST4−3)。一方、リムパッドRPiのスイッチオン検出が有れば(YES)、リムパッドスイッチオン検出回数NRPiをカウントアップして、NRPi←NRPi+1とする(ステップST4−4)。そして、前回の発音制御処理(この処理の内容については後述する。)において、クロストークキャンセル処理フラグPiC=1になっているか否かを判断する(ステップST4−5)。   Here, first, it is determined whether or not there is switch-on detection of the rim pad RPi (meaning switch-on detection of the contact sensor SWri corresponding to the rim pad RPi, the same applies hereinafter) (step ST4-2). As a result, if the switch-on detection of the rim pad RPi is not detected (NO), the rim pad switch-on detection count NRPi ← 0 is set (step ST4-3). On the other hand, if the switch-on detection of the rim pad RPi is detected (YES), the rim pad switch-on detection count NRPi is counted up to NRPi ← NRPi + 1 (step ST4-4). Then, in the previous sound generation control process (the contents of this process will be described later), it is determined whether or not the crosstalk cancellation process flag PiC = 1 (step ST4-5).

ここでいうクロストークキャンセル処理とは、後述するが、通常検出処理時よりも多い回数連続して接触センサSWでスイッチオンを検出した場合に対応する平面パッドHPi又はリムパッドRPiに対する打撃判定フラグをオンにする処理のことである。また、クロストークキャンセル処理フラグPiCとは、後述する発音制御処理において用いた打撃力PiLevelが所定の閾値Hth又はRth以上の場合に、上記のクロストークキャンセル処理の実行を指令するフラグである。   As will be described later, the crosstalk cancellation processing here refers to turning on the hit determination flag for the flat pad HPi or the rim pad RPi when the switch ON is detected by the contact sensor SW continuously more times than in the normal detection processing. It is a process to make. The crosstalk cancellation processing flag PiC is a flag that instructs the execution of the crosstalk cancellation processing when the striking force PiLevel used in the sound generation control processing described later is equal to or greater than a predetermined threshold Hth or Rth.

ステップST4−5でクロストークキャンセル処理フラグPiC=1(YES)であれば、続けて、PiC=1になった後の経過時間をカウントするタイマーTimePiCが所定時間(第1の期間)Tsr未満か否かを判断する(ステップST4−6)。ここでの所定時間Tsrは、リムパッドRPiに対するクロストークキャンセル処理を継続するように設定された時間(一例としてTsr=10〜30ms程度)である。その結果、タイマーTimePiCが所定時間Tsr未満であれば(YES)、クロストークキャンセル処理モードの実行が継続される。クロストークキャンセル処理モードでは、リムパッドスイッチオン検出回数NRPi=N2か否かを判断する(ステップST4−7)。N2は、リムパッドRPiのクロストークキャンセル処理において打撃判定フラグをオンする連続スイッチオンの回数であり、本実施形態では、N2=6回である。   If the crosstalk cancellation processing flag PiC = 1 (YES) in step ST4-5, the timer TimePiC for counting the elapsed time after PiC = 1 is subsequently less than a predetermined time (first period) Tsr. It is determined whether or not (step ST4-6). Here, the predetermined time Tsr is a time set to continue the crosstalk cancellation processing for the rim pad RPi (Tsr = about 10 to 30 ms as an example). As a result, if the timer TimePiC is less than the predetermined time Tsr (YES), the execution of the crosstalk cancellation processing mode is continued. In the crosstalk cancellation processing mode, it is determined whether or not the number of rim pad switch-on detections NRPi = N2 (step ST4-7). N2 is the number of times of continuous switch-on for turning on the hit determination flag in the crosstalk cancellation processing of the rim pad RPi, and in this embodiment, N2 = 6 times.

一方、タイマーTimePiCが所定時間Tsr以上である場合(NO)は、クロストークキャンセル処理モードが解除されて、通常検出処理モードとなる。また、先のステップST4−5でPiC=1で無い場合(NO)にも、通常検出処理モードとなる。この通常検出処理モードでは、リムパッドスイッチオン検出回数NRPi=N1か否かを判断する(ステップST4−8)。N1は、通常検出処理において打撃判定フラグをオンする連続スイッチオンの回数であり、本実施形態では、N1=2回である。なお、N1<N2であれば、N1、N2の具体的な回数は上記に示すものには限定されず、他の回数であってもよい。   On the other hand, when the timer TimePiC is equal to or longer than the predetermined time Tsr (NO), the crosstalk cancellation processing mode is canceled and the normal detection processing mode is set. Also, when PiC = 1 is not 1 in the previous step ST4-5 (NO), the normal detection processing mode is set. In this normal detection processing mode, it is determined whether or not the number of rim pad switch-on detections NRPi = N1 (step ST4-8). N1 is the number of times of continuous switch-on for turning on the hit determination flag in the normal detection process, and in this embodiment, N1 = 2 times. In addition, if N1 <N2, the specific number of times N1 and N2 is not limited to the above, and may be another number.

そして、クロストークキャンセル処理モードのステップST4−7でNRPi=N2の場合(YES)、又は、通常検出処理モードのステップST4−8でNRPi=N1の場合(YES)は、リムパッド打撃フラグ(打撃判定フラグ)RPiSW←1(フラグオン)とする(ステップST4−9)。一方、ステップST4−7でNRPi=N2で無い場合(NO)、又はステップST4−8でNRPi=N1で無い場合(NO)は、リムパッド打撃フラグRPiSW←0(フラグオフ)とする(ステップST4−10)。   When NRPi = N2 in step ST4-7 in the crosstalk cancellation processing mode (YES), or when NRPi = N1 in step ST4-8 in the normal detection processing mode (YES), the rim pad hit flag (hit determination) Flag) RPiSW ← 1 (flag on) is set (step ST4-9). On the other hand, if NRPi = N2 is not satisfied in step ST4-7 (NO), or if NRPi = N1 is not satisfied in step ST4-8 (NO), the rim pad striking flag RPiSW ← 0 (flag off) is set (step ST4-10). ).

すなわち、リムパッドRPiに対するクロストークキャンセル処理モードの開始時から所定時間Tsrを経過するまでの間は、N2=6回の連続スイッチオン検出でリムパッドRPiに対する打撃判定フラグをオンし、それ以外の通常検出処理モードのときは、N1=2回の連続スイッチオン検出でリムパッドRPiに対する打撃判定フラグをオンする。   That is, from the start of the crosstalk cancellation processing mode for the rim pad RPi until the predetermined time Tsr elapses, the hit determination flag for the rim pad RPi is turned on when N2 = 6 consecutive switch-on detections, and other normal detections are performed. In the processing mode, the hit determination flag for the rim pad RPi is turned on when N1 = 2 consecutive switch-on detections.

次に、平面パッドHPiのスイッチオン検出(平面パッドHPiに対応する接触センサSWhiのスイッチオン検出を意味する、以下同じ。)の有無を判断する(ステップST4−12)。その結果、平面パッドHPiのスイッチオン検出が無ければ(NO)、平面パッドスイッチオン検出回数NHPi←0とする(ステップST4−13)。一方、平面パッドHPiのスイッチオン検出が有れば(YES)、平面パッドスイッチオン検出回数NHPiをカウントアップして、NHPi←NHPi+1とする(ステップST4−14)。そして、クロストークキャンセル処理フラグPiC=1か否かを判断する(ステップST4−15)。その結果、PiC=1(YES)であれば、続けて、PiC=1になってからの経過時間をカウントするタイマーTimePiCが所定時間(第2の期間)Tsh未満か否かを判断する(ステップST4−16)。ここでの所定時間Tshは、平面パッドHPiに対するクロストークキャンセル処理を継続するように設定された時間(一例としてTsh=10〜30ms程度)である。なお、所定時間Tshは、リムパッドRPiに対して設定された所定時間Tsrと同じ時間に設定しても良いし、異なる時間に設定しても良い。その結果、タイマーTimePiCが所定時間Tsh未満であれば(YES)、クロストークキャンセル処理モードの実行が継続される。クロストークキャンセル処理モードでは、平面パッドスイッチオン検出回数NHPi=N3か否かを判断する(ステップST4−7)。N3は、平面パッドHPiのクロストークキャンセル処理において打撃判定フラグをオンする連続スイッチオン検出回数であり、本実施形態では、N3=6回である。このように、N3は、N2と同じ回数に設定してもよいし、異なる回数に設定してもよい。異なる回数に設定する場合は、N2よりもN3の方が少ない回数となるように設定することが望ましい。   Next, it is determined whether or not there is a switch-on detection of the flat pad HPi (meaning switch-on detection of the contact sensor SWhi corresponding to the flat pad HPi, the same applies hereinafter) (step ST4-12). As a result, if there is no switch-on detection of the planar pad HPi (NO), the number of planar pad switch-on detection times NHPi ← 0 is set (step ST4-13). On the other hand, if there is a switch-on detection of the flat pad HPi (YES), the flat pad switch-on detection count NHPi is counted up to NHPi ← NHPi + 1 (step ST4-14). Then, it is determined whether or not the crosstalk cancellation processing flag PiC = 1 (step ST4-15). As a result, if PiC = 1 (YES), it is subsequently determined whether or not the timer TimePiC for counting the elapsed time since PiC = 1 is less than a predetermined time (second period) Tsh (step) ST4-16). The predetermined time Tsh here is a time (Tsh = about 10 to 30 ms as an example) set so as to continue the crosstalk canceling process for the planar pad HPi. The predetermined time Tsh may be set to the same time as the predetermined time Tsr set for the rim pad RPi or may be set to a different time. As a result, if the timer TimePiC is less than the predetermined time Tsh (YES), the execution of the crosstalk cancellation processing mode is continued. In the crosstalk cancel processing mode, it is determined whether or not the number of detections of planar pad switch-on NHPi = N3 (step ST4-7). N3 is the number of times of continuous switch-on detection for turning on the hit determination flag in the crosstalk cancellation processing of the flat pad HPi. In this embodiment, N3 = 6. Thus, N3 may be set to the same number of times as N2, or may be set to a different number. When setting to a different number, it is desirable to set N3 to be a smaller number of times than N2.

一方、タイマーTimePiCが所定時間Tsh以上である場合(NO)は、クロストークキャンセル処理モードが解除され、通常検出処理モードとなる。また、先のステップST4−15でPiC=1で無い場合(NO)にも、通常検出処理モードとなる。この通常検出処理モードでは、平面パッドスイッチオン検出回数NHPi=N1か否かを判断する(ステップST4−18)。N1は、平面パッドHPiに対する通常発音処理において打撃判定フラグをオンする連続スイッチオン検出回数であり、本実施形態では、N1=2回である。なお、ここでも、N1<N2,N3であれば、N1の具体的な回数は上記に示すものには限定されず、他の回数であってもよい。   On the other hand, when the timer TimePiC is equal to or longer than the predetermined time Tsh (NO), the crosstalk cancellation processing mode is canceled and the normal detection processing mode is set. Also, when PiC = 1 is not satisfied in the previous step ST4-15 (NO), the normal detection processing mode is set. In this normal detection processing mode, it is determined whether or not the number of detections of planar pad switch-on NHPi = N1 (step ST4-18). N1 is the number of times of continuous switch-on detection for turning on the hit determination flag in the normal sound generation process for the flat pad HPi. In this embodiment, N1 = 2 times. In this case as well, if N1 <N2 and N3, the specific number of times N1 is not limited to the above, and may be any other number.

そして、クロストークキャンセル処理モードのステップST4−17でNHPi=N3である場合(YES)、又は通常検出処理モードのステップST4−18でNHPi=N1である場合(YES)は、平面パッド打撃フラグ(打撃判定フラグ)HPiSW←1(フラグオン)とする(ステップST4−19)。一方、ステップST4−17でNHPi=N3で無い場合(NO)、又はステップST4−18でNHPi=N1で無い場合(NO)は、平面パッド打撃フラグHPiSW←0(フラグオフ)とする(ステップST4−20)。   If NHPi = N3 in step ST4-17 in the crosstalk cancellation processing mode (YES) or NHPi = N1 in step ST4-18 in the normal detection processing mode (YES), the plane pad hit flag ( Blow determination flag) HPiSW ← 1 (flag on) is set (step ST4-19). On the other hand, if NHPi = N3 is not satisfied in step ST4-17 (NO), or if NHPi = N1 is not satisfied in step ST4-18 (NO), the plane pad hitting flag HPiSW ← 0 (flag off) is set (step ST4-). 20).

すなわち、平面パッドHPiに対するクロストークキャンセル処理モードの開始時から所定時間Tshを経過するまでの間は、N3=6回以上の連続スイッチオン検出で平面パッドHPiに対する打撃判定フラグをオンし、それ以外の通常検出処理モードを実行しているときは、N1=2回以上の連続スイッチオン検出で平面パッドHPiに対する打撃判定フラグをオンする。   That is, from the start of the crosstalk cancellation processing mode for the flat pad HPi until the predetermined time Tsh elapses, the hit determination flag for the flat pad HPi is turned on when N3 = 6 or more continuous switch-on detections. When the normal detection processing mode is being executed, the hit determination flag for the flat pad HPi is turned on when N1 = 2 or more consecutive switch-on detections.

その後、パッド番号iをカウントアップしてi←i+1とする(ステップST4−21)。そして、i>m(本実施形態では、m=6)か否かを判断し(ステップST4−22)、i>mでない場合(NO)には、ステップST4−2に戻り、次のリムパッドRPiと平面パッドHPi(i=2)の組に対する打撃位置検出処理を実行する。このようにパッド番号iを1ずつカウントアップして、6組の平面パッドHPi及びリムパッドRPiに対する処理を順に行う。i>mになったら(YES)、ステップST4−1に戻る。   Thereafter, the pad number i is counted up to i ← i + 1 (step ST4-21). Then, it is determined whether i> m (m = 6 in the present embodiment) (step ST4-22). If i> m is not satisfied (NO), the process returns to step ST4-2, and the next rim pad RPi is determined. And a hitting position detection process for a set of plane pads HPi (i = 2). In this way, the pad number i is incremented by one, and the processing for the six sets of planar pads HPi and rim pads RPi is sequentially performed. If i> m (YES), the process returns to step ST4-1.

以上説明した打撃位置検出処理では、図9に示すように、(a)の通常検出処理モードでは、平面パッドHPi又はリムパッドRPiに対するスイッチオンの連続検出回数がN1=2回で打撃判定フラグをオンする。この通常検出処理モードでは、スイッチオンの連続検出回数が2回以上となるような打面Vの変形があればすべて検出されるので、平面パッドHPi又はリムパッドRPiの直接の打撃に基づくスイッチオンだけでなく、隣接する平面パッドHPi又はリムパッドRPiが打撃されたことによる打面Vの変形の伝播によるスイッチオン(いわゆるクロストーク)も検出されてしまうおそれがある。一方、図9(b)のクロストークキャンセル処理モードでは、連続スイッチオン検出回数がN1=2回よりも多いN2(又はN3)=6回以上のときに打撃判定フラグをオンする。したがって、クロストークキャンセル処理モードにおける打撃検出では、隣接する平面パッドHPi又はリムパッドRPiが打撃されたことによる打面Vの変形の伝播によるスイッチオン(いわゆるクロストーク)が検出され難くなるので、平面パッドHPi又はリムパッドRPiの直接の打撃に基づくスイッチオンだけを検出できる確率が高くなる。   In the hit position detection process described above, as shown in FIG. 9, in the normal detection process mode (a), the hit detection flag is turned on when the number of consecutive switch-on detections for the flat pad HPi or rim pad RPi is N1 = 2. To do. In this normal detection processing mode, any deformation of the hitting surface V that causes the number of continuous switch-on detections to be two or more is detected, so only the switch-on based on the direct hit of the flat pad HPi or the rim pad RPi is detected. In addition, there is a possibility that switch-on (so-called crosstalk) due to propagation of deformation of the hitting surface V due to the hitting of the adjacent flat pad HPi or rim pad RPi may be detected. On the other hand, in the crosstalk cancellation processing mode of FIG. 9B, the hit determination flag is turned on when the number of continuous switch-on detections is N2 (or N3) = 6 times or more, which is larger than N1 = 2 times. Therefore, in the hit detection in the crosstalk cancel processing mode, it is difficult to detect the switch-on (so-called crosstalk) due to the propagation of the deformation of the hitting surface V due to the hitting of the adjacent flat pad HPi or the rim pad RPi. There is a high probability that only switch-on based on the direct hit of HPi or rim pad RPi can be detected.

図10は、打撃力検出処理(ステップST3−2)のサブルーチンを示すフローチャートである。打撃力検出処理では、パッド番号i←1として(ステップST5−1)、平面パッドHP1とリムパッドRP1の組に対する打撃力検出処理を行う。なお、この打撃力検出処理でも、パッド番号i=1〜6まで順にカウントアップすることで、平面パッドHP1とリムパッドRP1の組から平面パッドHP6とリムパッドRP6の組の打撃力検出処理を順に行うようになっているが、各組に対する処理の手順は共通であるため、以下の説明では、各組に対する処理を含めてパッド番号iと表記して説明を行う。   FIG. 10 is a flowchart showing a subroutine of the striking force detection process (step ST3-2). In the striking force detection process, the striking force detection process for the set of the planar pad HP1 and the rim pad RP1 is performed with the pad number i ← 1 (step ST5-1). In this striking force detection process, the pad number i = 1 to 6 is counted up in order, so that the striking force detection process for the pair of the plane pad HP6 and the rim pad RP6 is sequentially performed from the pair of the plane pad HP1 and the rim pad RP1. However, since the processing procedure for each group is common, in the following description, the process for each group is included and described as a pad number i.

ここでは、タイマーTimeADiが既にスタートしているか否かを判断する(ステップST5−2)。このタイマーTimeADiは、打撃力PiLevelが所定の打撃力(第1の打撃力)x1を超えてからの経過時間を計るためのものであり、各平面パッドHPi及びリムパッドRPiに対応する6個の打撃センサADi各々に対して別個にカウントされるものである。その結果、タイマーTimeADiがスタートしていなければ(NO)、打撃センサADiに入力する打撃力PiLevelが第1の打撃力x1よりも大きいか否か、すなわちPiLevel>x1か否かを判断する(ステップST5−3)。その結果、PiLevel>x1であれば(YES)、TimeADi←0として、タイマーTimeADiを新規にスタートさせる(ステップST5−4)。すなわち、第1の打撃力x1は、タイマーTimeADiのカウントを開始する基準となる打撃力である。一方、ステップST5−2でタイマーTimeADiが既にスタートしていれば(YES)、タイマーTimeADiがウエイト時間WTを経過しているか否かを判断する(ST5−5)。ここでのウエイト時間WTは、打撃センサADiに入力する打撃力PiLevelが安定するまでの待機時間であり、打撃の有無及び打撃力PiLevelを正確に検出するために必要な待ち時間である。   Here, it is determined whether or not the timer TimeADi has already been started (step ST5-2). This timer TimeADi is for measuring the elapsed time after the striking force PiLevel exceeds a predetermined striking force (first striking force) x1, and has six striking strokes corresponding to each planar pad HPi and rim pad RPi. It is counted separately for each sensor ADi. As a result, if the timer TimeADi has not been started (NO), it is determined whether or not the striking force PiLevel input to the striking sensor ADi is larger than the first striking force x1, that is, PiLevel> x1 (step). ST5-3). As a result, if PiLevel> x1 (YES), the timer TimeADi is newly started as TimeADi ← 0 (step ST5-4). That is, the first striking force x1 is a striking force serving as a reference for starting the count of the timer TimeADi. On the other hand, if the timer TimeADi has already been started in step ST5-2 (YES), it is determined whether or not the timer TimeADi has passed the wait time WT (ST5-5). The wait time WT here is a waiting time until the striking force PiLevel inputted to the striking sensor ADi is stabilized, and is a waiting time necessary for accurately detecting the presence / absence of striking and the striking force PiLevel.

その結果、タイマーTimeADiがウエイト時間WTを経過していれば(YES)、打撃センサADiで検出した打撃力PiLevelが所定の打撃力(第2の打撃力)x2(x2≧x1)よりも大きいか否か、すなわちPiLevel>x2か否かを判断する(ステップST5−6)。第2の打撃力x2は、平面パッドHPi又はリムパッドRPiに対する打撃有りと判断するための基準となる打撃力である。その結果、PiLevel>x2であれば(YES)、打撃力検出フラグPikeyon←1とする(ステップST5−7)とともに、当該打撃力PiLevelの値を検出する(ステップST5−8)。そして、タイマーTimeADiを停止する(ST5−9)。一方、ステップST5−6でPiLevel>x2で無い場合(NO)は、打撃力PiLevelの値を検出せず、そのままタイマーTimeADiを停止する(ST5−9)。すなわち、ウエイト時間WTが経過しても打撃力PiLevelが第2の打撃力x2に達していなければ、打撃ではなく単なるノイズと判断して、打撃力PiLevelの検出を行わない。   As a result, if the timer TimeADi has passed the wait time WT (YES), is the striking force PiLevel detected by the striking sensor ADi greater than a predetermined striking force (second striking force) x2 (x2 ≧ x1)? It is determined whether or not PiLevel> x2 (step ST5-6). The second striking force x2 is a striking force that serves as a reference for determining that there is a striking against the flat pad HPi or the rim pad RPi. As a result, if PiLevel> x2 (YES), the striking force detection flag Pikeyon ← 1 is set (step ST5-7), and the value of the striking force PiLevel is detected (step ST5-8). Then, the timer TimeADi is stopped (ST5-9). On the other hand, if PiLevel> x2 is not satisfied in step ST5-6 (NO), the timer TimeADi is stopped as it is without detecting the value of the striking force PiLevel (ST5-9). That is, if the striking force PiLevel does not reach the second striking force x2 even after the wait time WT has elapsed, it is determined that the striking force PiLevel is not a striking but a simple noise, and the striking force PiLevel is not detected.

ステップST5−3でPiLevel>x1で無い場合(NO)、又はステップST5−4でタイマーTimeADiをスタートさせた場合、又はステップST5−5でTimeADiがウエイト時間WTの経過前である場合(NO)、又はステップST5−9でタイマーTimeADiを停止した場合には、パッド番号iをカウントアップしてi←i+1とする(ステップST5−10)。そして、i>mか否かを判断し(ステップST5−11)、i>mで無い場合(NO)は、ステップST5−2に戻り、次のリムパッドRPiと平面パッドHPiの組に対する処理に進む。i>mになった場合(YES)は、ステップST5−1に戻る。   When PiLevel> x1 is not satisfied at step ST5-3 (NO), when timer TimeADi is started at step ST5-4, or when TimeADi is before the wait time WT has elapsed at step ST5-5 (NO), Alternatively, when the timer TimeADi is stopped in step ST5-9, the pad number i is counted up to i ← i + 1 (step ST5-10). Then, it is determined whether or not i> m (step ST5-11). If i> m is not satisfied (NO), the process returns to step ST5-2 and proceeds to the processing for the next set of rim pad RPi and plane pad HPi. . If i> m (YES), the process returns to step ST5-1.

なお、上記では、ウエイト時間WTの経過を待ってから(ST5−5)、打撃力PiLevelの値を検出する(ステップST5−8)ようにしたが、これ以外にも、ウエイト時間WTの経過前に打撃力PiLevelを監視することで、打撃力PiLevelのピーク値を検出するように構成してもよい。   In the above description, after the wait time WT has elapsed (ST5-5), the value of the striking force PiLevel is detected (step ST5-8). In addition to this, before the wait time WT has elapsed. The peak value of the striking force PiLevel may be detected by monitoring the striking force PiLevel.

図11は、発音制御処理(ステップST2−3)のサブルーチンを示すフローである。発音制御処理では、まず、パッド番号i←1として(ステップST6−1)、平面パッドHP1とリムパッドRP1の組に対する発音制御処理を行う。なお、この発音制御処理でも、パッド番号i=1〜6まで順にカウントアップすることで、平面パッドHP1とリムパッドRP1の組から平面パッドHP6とリムパッドRP6の組までの打撃力検出処理を順に行うようになっているが、各組に対する処理の手順は共通であるため、以下の説明では、各組に対する処理を含めてパッド番号iと表記して説明を行う。   FIG. 11 is a flowchart showing a subroutine of the sound generation control process (step ST2-3). In the sound generation control process, first, with the pad number i ← 1 (step ST6-1), the sound generation control process for the set of the plane pad HP1 and the rim pad RP1 is performed. In this sound generation control process as well, the hitting force detection process from the set of the plane pad HP1 and the rim pad RP1 to the set of the plane pad HP6 and the rim pad RP6 is sequentially performed by counting up from the pad number i = 1 to 6 in order. However, since the processing procedure for each group is common, in the following description, the process for each group is included and described as a pad number i.

ここでは、まず、打撃力検出フラグPikeyon=1か否かを判断する(ステップST6−2)。その結果、打撃力検出フラグPikeyon=1で無ければ(NO)、そのままパッド番号iをカウントアップする(ステップST6−3)。そして、i>m(m=6)か否かを判断し(ステップST6−4)、i>mでない場合(NO)は、ステップST6−2に戻り、次のリムパッドRPiと平面パッドHPiの組に対する処理に進む。i>mになった場合は(YES)、ステップST6−1に戻る。   Here, first, it is determined whether or not the striking force detection flag Pikeyon = 1 (step ST6-2). As a result, if the striking force detection flag Pikeyon is not 1 (NO), the pad number i is counted up as it is (step ST6-3). Then, it is determined whether i> m (m = 6) or not (step ST6-4). If i> m is not satisfied (NO), the process returns to step ST6-2, and the next rim pad RPi and plane pad HPi are combined. Proceed to processing for. If i> m (YES), the process returns to step ST6-1.

一方、ステップST6−2で打撃力検出フラグPikeyon=1であれば(YES)、続けて、リムパッドRPiに対する発音制御処理を行う。これには、リムパッド打撃フラグRPiSW=1か否かを判断する(ステップST6−5)。その結果、リムパッド打撃フラグRPiSW=1であれば(YES)、リムパッドRPiに割り当てられている音色、及び検出した打撃力PiLevelに基づく楽音信号を生成する(ステップST6−6)。その後、リムパッド打撃フラグRPiSW←0、リムパッドスイッチオン検出回数NRPi←0として、これらをリセットする(ステップST6−7)。そして、打撃センサADで検出した打撃力PiLevelが所定の閾値(第1の閾値)Rthより大きいか否か、すなわちPiLevel>Rthか否かを判断する(ステップST6−8)。閾値Rthは、リムパッドRPiに対するクロストークキャンセル処理と通常検出処理とを切り替えるための境界となる打撃力PiLevelの値である。本実施形態では、閾値Rthは、打撃センサADiの最大入力に対する50%の打撃力に設定している。その結果、PiLevel>Rthであれば(YES)、クロストークキャンセル処理フラグPiC=1とする(ステップST6−9)。すなわち、リムパッドRPiに対する楽音発生時の打撃力PiLevelが閾値Rthより高いとき、クロストークキャンセル処理の開始指令が出される。また、タイマーTimePiC←0として、クロストークキャンセル処理の開始時からの経過時間を計るタイマーTimePiCをスタートさせる(ステップST6−10)。   On the other hand, if the striking force detection flag Pikeyon = 1 (YES) in step ST6-2, the sound generation control process for the rim pad RPi is subsequently performed. For this, it is determined whether or not the rim pad hit flag RPiSW = 1 (step ST6-5). As a result, if the rim pad striking flag RPiSW = 1 (YES), a tone signal based on the timbre assigned to the rim pad RPi and the detected striking force PiLevel is generated (step ST6-6). Thereafter, the rim pad hit flag RPiSW ← 0 and the rim pad switch-on detection count NRPi ← 0 are reset (step ST6-7). Then, it is determined whether or not the striking force PiLevel detected by the striking sensor AD is greater than a predetermined threshold (first threshold) Rth, that is, PiLevel> Rth (step ST6-8). The threshold value Rth is a value of the striking force PiLevel that is a boundary for switching between the crosstalk cancellation process and the normal detection process for the rim pad RPi. In the present embodiment, the threshold value Rth is set to a striking force of 50% with respect to the maximum input of the striking sensor ADi. As a result, if PiLevel> Rth (YES), the crosstalk cancellation processing flag PiC = 1 is set (step ST6-9). That is, when the striking force PiLevel when a musical sound is generated for the rim pad RPi is higher than the threshold value Rth, a crosstalk canceling start command is issued. Further, the timer TimePiC ← 0 is set, and the timer TimePiC for measuring the elapsed time from the start of the crosstalk cancellation process is started (step ST6-10).

一方、ステップST6−8でPiLevel>Rthで無い場合(NO)、又はステップST6−10でタイマーTimePiC←0とした場合は、続けて、平面パッド打撃フラグHPiSW=1か否かを判断する(ステップST6−11)。その結果、HPiSW=1であれば(YES)、当該平面パッドHPiに割り当てられている音色、及び先に検出した打撃力PiLevelに基づく楽音信号を生成する(ステップST6−12)。また、平面パッド打撃フラグHPiSW←0、平面パッドスイッチオン検出回数NHPi←0として、これらをリセットする(ステップST6−13)。その後、打撃センサADiで検出した打撃力PiLevelが所定の閾値(第2の閾値)Hthより大きいか否か、すなわちPiLevel>Hthか否かを判断する(ステップST6−14)。閾値Hthは、平面パッドHPiに対するクロストークキャンセル処理と通常検出処理とを切り替えるための境界となる打撃力PiLevelの値である。本実施形態では、この閾値Hthは、打撃センサADiの最大入力に対する100%の打撃力に設定している。その結果、PiLevel>Hthであれば(YES)、クロストークキャンセル処理フラグPiC=1とする(ステップST6−15)。すなわち、平面パッドHPiに対する楽音発生時の打撃力PiLevelが閾値Hthより高いとき、クロストークキャンセル処理モードの開始指令が出される。また、タイマーTimePiC←0として、クロストークキャンセル処理の開始時からの経過時間をカウントするタイマーTimePiCをスタートさせる(ステップST6−16)。   On the other hand, if PiLevel> Rth is not satisfied in step ST6-8 (NO), or if timer TimePiC ← 0 is set in step ST6-10, it is subsequently determined whether or not the planar pad hit flag HPiSW = 1 (step ST6-8). ST6-11). As a result, if HPiSW = 1 (YES), a musical tone signal based on the tone color assigned to the plane pad HPi and the hitting force PiLevel detected previously is generated (step ST6-12). Also, the flat pad hitting flag HPiSW ← 0 and the flat pad switch-on detection count NHPi ← 0 are reset (step ST6-13). Thereafter, it is determined whether or not the striking force PiLevel detected by the striking sensor ADi is greater than a predetermined threshold (second threshold) Hth, that is, PiLevel> Hth (step ST6-14). The threshold value Hth is a value of the striking force PiLevel that is a boundary for switching between the crosstalk cancellation processing and the normal detection processing for the planar pad HPi. In the present embodiment, the threshold value Hth is set to 100% of the impact force with respect to the maximum input of the impact sensor ADi. As a result, if PiLevel> Hth (YES), the crosstalk cancellation processing flag PiC = 1 is set (step ST6-15). That is, when the striking force PiLevel when the musical sound is generated for the flat pad HPi is higher than the threshold value Hth, a command to start the crosstalk cancellation processing mode is issued. Further, the timer TimePiC ← 0 is set, and the timer TimePiC for counting the elapsed time from the start of the crosstalk cancellation process is started (step ST6-16).

こうして、リムパッドRPi及び平面パッドHPiに対する発音処理が終わったら、打撃力検出フラグPikeyon←0とする(ステップST6−17)。その後、パッド番号iをカウントアップしてi←i+1とする(ステップST6−3)。そして、i>mか否かを判断し(ステップST6−4)、i>mでない場合(NO)は、ステップST6−2に戻り、次のリムパッドRPiと平面パッドHPi(i=2)の組に対する処理に進む。i>mであれば(YES)ステップST6−1に戻る。   Thus, when the sound generation process for the rim pad RPi and the planar pad HPi is completed, the striking force detection flag Pikeyon ← 0 is set (step ST6-17). Thereafter, the pad number i is counted up to i ← i + 1 (step ST6-3). Then, it is determined whether i> m (step ST6-4). If i> m is not satisfied (NO), the process returns to step ST6-2, and the next set of rim pad RPi and plane pad HPi (i = 2). Proceed to processing for. If i> m (YES), the process returns to step ST6-1.

以上説明したように、本実施形態の電子打楽器1では、リムパッドRPi及び平面パッドHPiと、これらリムパッドRPi及び平面パッドHPiに対する打撃操作の位置に関する信号を検出する接触センサ(打撃位置検出手段)SWri,SWhiと、リムパッドRPi及び平面パッドHPiに対する打撃力に関する信号を検出する打撃センサ(打撃力検出手段)ADiと、接触センサSWri,SWhi及び打撃センサADiの検出に基づいて、リムパッドRPi及び平面パッドHPiに対する打撃操作に応じた発音処理を行う主制御部45とを備え、主制御部45は、接触センサSWri,SWhiが受けたリムパッドRPi及び平面パッドHPiに対する打撃操作に基づくスイッチオン(入力信号)を一定間隔ごとにスキャンし、所定回数(N1又はN2又はN3)以上連続して当該スイッチオンを検出した場合に対応するリムパッドRPi又は平面パッドHPiに対する打撃判定フラグをオンし、当該打撃判定フラグをオンしたリムパッドRPi又は平面パッドHPiに対応する楽音を打撃センサADで検出した打撃力PiLevelに基づいて発生させる発音処理を連続して行うようにしている。   As described above, in the electronic percussion instrument 1 of the present embodiment, the rim pad RPi and the planar pad HPi, and the contact sensors (striking position detecting means) SWri, which detect signals relating to the position of the batting operation on the rim pad RPi and the planar pad HPi. SWhi, a striking sensor (striking force detecting means) ADi for detecting a signal relating to striking force against the rim pad RPi and the flat pad HPi, and a detection with respect to the rim pad RPi and the flat pad HPi based on detection of the contact sensors SWri, SWhi and striking sensor ADi A main control unit 45 that performs sound generation processing according to the hitting operation, and the main control unit 45 keeps the switch-on (input signal) based on the hitting operation on the rim pad RPi and the flat pad HPi received by the contact sensors SWri and SWhi constant. Scan at intervals and place When the switch-on is detected continuously for the number of times (N1, N2, or N3), the hit determination flag for the corresponding rim pad RPi or flat pad HPi is turned on, and the rim pad RPi or flat pad HPi with the hit determination flag turned on is turned on. The sound generation processing for generating the corresponding musical sound based on the striking force PiLevel detected by the striking sensor AD is continuously performed.

その際に、前回の発音処理に用いた打撃力PiLevelが所定の閾値Rth又はHthより小さいとき(ST4−5又はST4−15でNO)は、所定回数(第1の回数)N1連続してスイッチオンを検出した場合に対応する平面パッドHPi又はリムパッドRPiに対する打撃判定フラグをオンする通常検出処理を行う(ST4−8又はST4−18)一方、前回の発音処理に用いた打撃力PiLevelが所定の閾値Rth又はHth以上であるとき(ST4−5又はST4−15でYES)は、その後、所定時間Tsr又はTshが経過するまでの間(ST4−6,ST4−16でYES)、所定回数N1より多い所定回数N2又はN3連続してスイッチオンを検出した場合に対応するリムパッドRPi又は平面パッドHPiに対する打撃判定フラグをオンするクロストークキャンセル処理を行う(ST4−7又はST4−17)ようにしている。   At that time, when the striking force PiLevel used in the previous sound generation process is smaller than the predetermined threshold Rth or Hth (NO in ST4-5 or ST4-15), the switch is continuously performed for a predetermined number of times (first number) N1. A normal detection process is performed to turn on the hit determination flag for the plane pad HPi or rim pad RPi corresponding to the detection of ON (ST4-8 or ST4-18), while the hitting force PiLevel used in the previous sound generation process is a predetermined value. When it is equal to or greater than the threshold value Rth or Hth (YES in ST4-5 or ST4-15), until the predetermined time Tsr or Tsh elapses (YES in ST4-6 and ST4-16), the predetermined number of times N1 The hit determination flag for the rim pad RPi or the flat pad HPi corresponding to the case where the switch-on is detected for a predetermined number of times N2 or N3 continuously The crosstalk cancel processing for turning on the signal is performed (ST4-7 or ST4-17).

このようにすることで、リムパッドRPi又は平面パッドHPiに対して接触センサSWでスイッチオン(入力信号)の飛び付きが生じるような強い打撃が行われた後は、所定時間が経過するまでの間、接触センサSWri,SWhiでの打撃操作検出において、通常検出処理ではなくクロストークキャンセル処理を行うことができる。これにより、実際に打撃されていないリムパッドRPi又は平面パッドHPiに対応する接触センサSWri又はSWhiで飛び付きによるスイッチオンが検出された場合でも、当該リムパッドRPi又は平面パッドHPiに対する打撃有りと誤判断することを抑制できる。したがって、一のリムパッドRPi又は平面パッドHPiに対する強い打撃があった後に、隣接する平面パッドHPi又はリムパッドRPiの誤発音が発生することを効果的に防止できるようになる。   By doing in this way, until a predetermined time elapses after a strong blow that causes a switch-on (input signal) jump on the rim pad RPi or the planar pad HPi by the contact sensor SW, In the hit operation detection by the contact sensors SWri and SWhi, a crosstalk cancellation process can be performed instead of the normal detection process. As a result, even when the switch-on due to the jump is detected by the contact sensor SWri or SWhi corresponding to the rim pad RPi or the flat pad HPi that is not actually hit, it is erroneously determined that there is a hit on the rim pad RPi or the flat pad HPi. Can be suppressed. Accordingly, it is possible to effectively prevent the occurrence of erroneous sound generation of the adjacent planar pad HPi or rim pad RPi after a strong hit against one rim pad RPi or planar pad HPi.

また、本実施形態のような立体形状の打面を有するリムパッドRPiと平面形状の打面を有する平面パッドHPiとを備えたいわゆるマルチパッド形式の電子打楽器1では、リムパッドRPiと平面パッドHPiとで打面Vの形状が異なるゆえに、それらに対する打撃操作の態様が異なる場合が多い。具体的には、既述のように、平面パッドHPiは、図示しないスティックの先端で真上から打撃されることが多いが、リムパッドRPiは、スティックの腹部分で斜め上方から打撃されることが多い。そのため、本実施形態のように、打面Vがゴムなど柔軟性を有する材料で構成されていると、特に、リムパッドRPiが打撃された場合、平面パッドHPiが打撃された場合と比べて打撃力が斜め方向に作用することで、打面Vの変形が広範囲に伝播し易くなる。したがって、リムパッドRPiの打撃により実際に打撃されていない隣接する平面パッドHPiの接触センサSWhiがオンすることで、当該平面パッドHPiに打撃有りとの誤検出が起こり易くなる。   Further, in the so-called multipad electronic percussion instrument 1 having the rim pad RPi having a three-dimensional striking surface and the flat pad HPi having a planar striking surface as in the present embodiment, the rim pad RPi and the planar pad HPi Since the shape of the hitting surface V is different, the manner of hitting operation on them is often different. Specifically, as described above, the flat pad HPi is often struck from right above at the tip of a stick (not shown), but the rim pad RPi is struck from diagonally above at the belly part of the stick. Many. Therefore, when the striking surface V is made of a material having flexibility such as rubber as in the present embodiment, the striking force is particularly large when the rim pad RPi is struck compared to when the flat pad HPi is struck. Acts in an oblique direction, so that the deformation of the hitting surface V easily propagates over a wide range. Therefore, when the contact sensor SWhi of the adjacent flat pad HPi that is not actually hit by the hit of the rim pad RPi is turned on, it is easy to erroneously detect that the flat pad HPi is hit.

これに対して、本実施形態の電子打楽器1では、実際には打撃されていない平面パッドHPiの打面Vに変形が生じることで、対応する接触センサSWhiで飛び付きによるスイッチオンが検出された場合でも、上記のクロストークキャンセル処理によって、当該平面パッドHPiに対する打撃有りと誤判断することを抑制できる。したがって、リムパッドRPiの打撃によって隣接する平面パッドHPiの打撃有りと誤検出することを効果的に防止できるようになる。すなわち、本実施形態の電子打楽器1によれば、互いに隣接する平面パッドHPiとリムパッドRPiを有する電子打楽器1に特有のクロストーク現象を抑制できるので、マルチパッド形式の電子打楽器1における誤発音の発生を効果的に防止することができる。   On the other hand, in the electronic percussion instrument 1 of the present embodiment, when the hitting surface V of the flat pad HPi that is not actually hit is deformed, the corresponding contact sensor SWhi detects the switch-on due to the jumping. However, it is possible to suppress erroneous determination that there is an impact on the planar pad HPi by the crosstalk cancellation process. Accordingly, it is possible to effectively prevent erroneous detection that the adjacent flat pad HPi is hit by hitting the rim pad RPi. That is, according to the electronic percussion instrument 1 of the present embodiment, the crosstalk phenomenon peculiar to the electronic percussion instrument 1 having the planar pad HPi and the rim pad RPi that are adjacent to each other can be suppressed. Can be effectively prevented.

また、本実施形態の電子打楽器1では、上記の処理手順で説明したように、リムパッドRPiに対する打撃があった場合と平面パッドHPiに対する打撃があった場合とで通常検出処理モードとクロストークキャンセル処理モードを切り替えるための打撃力Pilevelの閾値を異ならせる(第1の閾値Rth,第2の閾値Hth)ことも可能である。なお、その場合は、リムパッドRPiに対する第1の閾値Rthよりも平面パッドHPiに対する第2の閾値Hthの方が大きな値となるように設定することが望ましい。こうすれば、リムパッドRPiの打撃に対しては、比較的弱い打撃でクロストークキャンセル処理を行うことができるので、リムパッドRPiの打撃操作に対して隣接する平面パッドHPiに打撃有りと誤判断することを効果的に抑制できる。これにより、打撃操作の態様が異なる平面パッドHPiとリムパッドRPiそれぞれに対して、隣接する他のリムパッドRPi,平面パッドHPiへの入力信号の飛び付きが発生するような強い打撃があった場合でも、実際に打撃されていない他のパッドRPi,HPiに打撃有りとの誤判断が生じることを適切に防止できるようになる。   In the electronic percussion instrument 1 of the present embodiment, as described in the above processing procedure, the normal detection processing mode and the crosstalk cancellation processing are performed depending on whether the rim pad RPi is hit or the flat pad HPi is hit. It is also possible to change the threshold of the striking force Pilevel for switching the mode (first threshold Rth, second threshold Hth). In this case, it is desirable to set the second threshold value Hth for the planar pad HPi to be larger than the first threshold value Rth for the rim pad RPi. In this way, since it is possible to perform the crosstalk canceling process with a relatively weak strike against the strike of the rim pad RPi, it is erroneously determined that the adjacent planar pad HPi is hit with respect to the strike operation of the rim pad RPi. Can be effectively suppressed. As a result, even if there is a strong hit that causes a jump of an input signal to another adjacent rim pad RPi and plane pad HPi for each of the plane pad HPi and rim pad RPi having different modes of hitting operation, It is possible to appropriately prevent the erroneous determination that the other pads RPi and HPi that have not been hit are hit.

また、本実施形態の電子打楽器1では、上記の処理手順で説明したように、リムパッドRPiに対する打撃操作があった場合と、平面パッドHPiに対する打撃操作があった場合とでクロストークキャンセル処理の実行期間を異ならせる(第1の期間Tsr,第2の期間Tsh)ことも可能である。なお、その場合は、平面パッドHPiの打撃に対する実行期間(第2の期間Tsh)よりも、リムパッドRPiの打撃に対する実行期間(第1の期間Tsr)の方が長くなるように設定することが望ましい。こうすれば、リムパッドRPiの打撃に対しては、比較的弱い打撃であってもクロストークキャンセル処理を行うことができるので、リムパッドRPiの打撃操作に対して隣接する平面パッドHPiに打撃有りと誤判断することを効果的に抑制できる。   Further, in the electronic percussion instrument 1 of the present embodiment, as described in the above processing procedure, the crosstalk cancellation process is executed when there is a batting operation on the rim pad RPi and when there is a batting operation on the flat pad HPi. It is also possible to make the periods different (first period Tsr, second period Tsh). In this case, it is desirable to set the execution period (first period Tsr) for striking the rim pad RPi to be longer than the execution period (second period Tsh) for striking the flat pad HPi. . In this way, since the crosstalk cancellation process can be performed even when the rim pad RPi is hit with a relatively weak hit, it is erroneously determined that the adjacent flat pad HPi is hit with respect to the hit operation of the rim pad RPi. Judgment can be effectively suppressed.

また、本実施形態の電子打楽器1では、平面パッドHPiに対する打撃操作があった場合と、リムパッドRPiに対する打撃操作があった場合とで、クロストークキャンセル処理において打撃判定フラグをオンするためのスイッチオンの連続検出回数を異ならせる(N2,N3)ことも可能である。なお、この場合、平面パッドHPiの打撃に対するスイッチオンの連続検出回数N2よりも、リムパッドRPiの打撃に対するスイッチオンの連続検出回数N3の方が少ない回数となるように設定することが望ましい。こうすれば、リムパッドRPiの打撃に対しては、平面パッドHPiの打撃よりも弱い打撃であってもクロストークキャンセル処理を行うことができるので、リムパッドRPiの打撃操作に対して隣接する平面パッドHPiに打撃有りと誤判断することを効果的に抑制できる。   Further, in the electronic percussion instrument 1 of the present embodiment, the switch-on for turning on the hit determination flag in the crosstalk canceling process is performed when the hit operation is performed on the flat pad HPi and when the hit operation is performed on the rim pad RPi. It is also possible to vary the number of times of continuous detection (N2, N3). In this case, it is desirable to set the number of consecutive switch-on detections N3 for the strike of the rim pad RPi to be smaller than the number of continuous switch-on detections N2 for the strike of the flat pad HPi. In this way, the crosstalk canceling process can be performed for the hitting of the rim pad RPi even if the hitting is weaker than the hitting of the flat pad HPi. It is possible to effectively suppress the erroneous determination that there is a hit.

以上本発明の実施形態を説明したが、本発明は上記実施形態に限定されるものではなく、特許請求の範囲、及び明細書と図面に記載された技術的思想の範囲内において種々の変形が可能である。   Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments, and various modifications can be made within the scope of the technical idea described in the claims and the specification and drawings. Is possible.

例えば、上記実施形態では、図8に示す打撃位置検出処理及び図11に示す発音制御処理において、リムパッドRPiに対する処理を先に行い、平面パッドHPiに対する処理を後で行うようにした場合を説明したが、この順序は逆にすることも可能である。   For example, in the above embodiment, the case where the process for the rim pad RPi is performed first and the process for the plane pad HPi is performed later in the hitting position detection process shown in FIG. 8 and the sound generation control process shown in FIG. However, this order can be reversed.

また、本発明にかかる電子打楽器が備える演奏操作子の具体的な構成は、上記実施形態に示すような立体形状の打面を有するリムパッドRPiと平面形状の打面を有する平面パッドHPiとを組み合わせたものには限定されず、他の構成を採用することも可能である。したがって、リムパッドRPiや平面パッドHPiに代えて、他の形状のパッドを備えてもよい。また、本実施形態では、複数のパッドRPi,HPiが互いに隣接して配置された構成の電子打楽器1を示したが、これ以外にも、各パッドが独立して設けられている通常の電子ドラムにも本発明は適用可能である。   Further, the specific configuration of the performance operator provided in the electronic percussion instrument according to the present invention is a combination of the rim pad RPi having a three-dimensional striking surface and the flat pad HPi having a planar striking surface as shown in the above embodiment. However, the present invention is not limited to this, and other configurations can be employed. Therefore, instead of the rim pad RPi and the planar pad HPi, pads having other shapes may be provided. Further, in the present embodiment, the electronic percussion instrument 1 having a configuration in which a plurality of pads RPi and HPi are arranged adjacent to each other is shown, but in addition to this, a normal electronic drum in which each pad is independently provided In addition, the present invention is applicable.

また、上記実施形態に示すリムパッドRPiや平面パッドHPiの個数は一例であり、他の個数とすることもできる。したがって、本発明を適用する電子打楽器としては、上記実施形態に示す形態の演奏操作子を備えた電子打楽器には限定されず、他の形態の演奏操作子を備えた電子打楽器でもよい。一例として、特許文献1(特開2003−108140号公報)に記載されたような、円形平板状のパッド(平面パッド)の周囲に円形環状のリム部(リムパッド)を配置することでドラムの形態を模した演奏操作子を備えた電子打楽器であってもよい。   In addition, the number of rim pads RPi and planar pads HPi shown in the above embodiment is an example, and other numbers may be used. Therefore, the electronic percussion instrument to which the present invention is applied is not limited to the electronic percussion instrument provided with the performance operator in the form shown in the above embodiment, and may be an electronic percussion instrument provided with a performance operator in another form. As an example, a drum configuration is provided by arranging a circular annular rim portion (rim pad) around a circular flat pad (planar pad) as described in Patent Document 1 (Japanese Patent Laid-Open No. 2003-108140). An electronic percussion instrument provided with a performance operator imitating

1 電子打楽器
10 演奏操作子
30 設定操作部
45 主制御部(制御手段)
45a 打撃検出処理部
45b 発音制御処理部
46 タイマー
AD(ADi) 打撃センサ(打撃力検出手段)
HPi 平面パッド
HPiSW 平面パッド打撃フラグ
Hth 閾値(第2の閾値)
N1 連続検出回数
N2 連続検出回数
NHPi 平面パッドスイッチオン検出回数
NRPi リムパッドスイッチオン検出回数
PiC クロストークキャンセル処理フラグ
Pikeyon 打撃力検出フラグ
PiLevel 打撃力
RPi リムパッド(立体パッド)
RPiSW リムパッド打撃フラグ
Rth 閾値(第1の閾値)
SW(SWri,SWhi) 接触センサ(打撃位置検出手段)
TimeADi タイマー
TimePiC タイマー
Tsr 所定時間(第1の期間)
Tsh 所定時間(第2の期間)
V 打面
WT ウエイト時間
x1 打撃力
x2 打撃力
DESCRIPTION OF SYMBOLS 1 Electronic percussion instrument 10 Performance operator 30 Setting operation part 45 Main control part (control means)
45a Impact detection processing unit 45b Sound generation control processing unit 46 Timer AD (ADi) Impact sensor (striking force detection means)
HPi plane pad HPiSW plane pad hit flag Hth threshold (second threshold)
N1 Number of continuous detections N2 Number of continuous detections NHPi Number of planar pad switch-on detections NRPi Number of rim pad switch-on detections PiC Crosstalk cancellation processing flag Pikeyon Strike force detection flag PiLevel Strike force RPi Rim pad (three-dimensional pad)
RPiSW Rim pad hit flag Rth threshold (first threshold)
SW (SWri, SWhi) Contact sensor (hitting position detecting means)
TimeADi timer
TimePiC Timer Tsr Predetermined time (first period)
Tsh Predetermined time (second period)
V Strike surface WT Weight time x1 Strike force x2 Strike force

Claims (5)

打面を有する複数の演奏操作子と、
前記演奏操作子に対する打撃操作の位置に関する信号を検出する打撃位置検出手段と、
前記演奏操作子に対する打撃操作に応じた打撃力に関する信号を検出する打撃力検出手段と、
前記打撃位置検出手段及び前記打撃力検出手段の検出に基づいて、前記演奏操作子に対する打撃操作に応じた発音処理を行う制御手段と、
を備え、
前記制御手段は、
前記打撃位置検出手段が受けた入力信号を一定間隔ごとにスキャンし、所定回数以上連続して前記入力信号を検出した場合に前記演奏操作子に対する打撃判定フラグをオンし、当該打撃判定フラグをオンした演奏操作子に対応する楽音を前記打撃力検出手段で検出した打撃力に基づいて発生させる発音処理を連続して行い、その際に、
前回の発音処理に用いた打撃力が所定の閾値より小さいときは、前記所定回数である第1の回数連続して前記入力信号を検出した場合に前記演奏操作子に対する打撃判定フラグをオンする通常検出処理を行う一方、
前回の発音処理に用いた打撃力が前記所定の閾値以上であるときは、その後、所定期間が経過するまでの間は、前記所定回数である前記第1の回数より多い第2の回数連続して前記入力信号を検出した場合に前記演奏操作子に対する打撃判定フラグをオンするクロストークキャンセル処理を行う
ことを特徴とする電子打楽器。
A plurality of performance operators having a striking surface;
A striking position detecting means for detecting a signal related to a striking operation position with respect to the performance operator;
A striking force detection means for detecting a signal relating to striking force according to the striking operation on the performance operator,
Control means for performing sound generation processing in accordance with the batting operation on the performance operator based on the detection by the batting position detecting means and the batting force detecting means;
With
The control means includes
The input signal received by the hitting position detecting means is scanned at regular intervals, and when the input signal is detected continuously for a predetermined number of times, the hit determination flag for the performance operator is turned on, and the hit determination flag is turned on. The sound generation process for generating the musical sound corresponding to the performance operator performed based on the striking force detected by the striking force detection means is continuously performed,
When the hitting force used in the previous sound generation process is smaller than a predetermined threshold value, the hit determination flag for the performance operator is normally turned on when the input signal is detected for the first predetermined number of times. While performing the detection process
When the striking force used in the previous sound generation process is equal to or greater than the predetermined threshold, the second number of times that is greater than the first number, which is the predetermined number of times, continues until the predetermined period thereafter. An electronic percussion instrument that performs crosstalk cancellation processing for turning on a hit determination flag for the performance operator when the input signal is detected.
前記演奏操作子は、互いに隣接して配置された少なくとも一組の立体形状の打面を有する立体パッドと平面形状の打面を有する平面パッドとを含み、
前記打撃位置検出手段は、前記立体パッドと平面パッドそれぞれに対する打撃操作を検出するものが別個に設けられており、
前記打撃力検出手段は、前記一組の立体パッドと平面パッド両方の打撃力を検出するものが共用で設けられている
ことを特徴とする請求項1に記載の電子打楽器。
The performance operator includes a three-dimensional pad having at least one set of three-dimensional striking surfaces and a flat pad having a planar striking surface arranged adjacent to each other,
The hitting position detecting means is provided separately for detecting a hitting operation for the three-dimensional pad and the flat pad,
2. The electronic percussion instrument according to claim 1, wherein the hitting force detecting means is provided in common for detecting the hitting force of both the pair of three-dimensional pads and flat pads.
前記制御手段は、
前回の発音処理で発生させた楽音が前記立体パッドに対応する楽音であるときは、前回の発音処理に用いた打撃力が第1の閾値以上である場合に前記クロストークキャンセル処理を行う一方、
前回の発音処理で発生させた楽音が前記平面パッドに対応する楽音であるときは、前回の発音処理に用いた打撃力が前記第1の閾値とは異なる第2の閾値以上である場合に前記クロストークキャンセル処理を行う
ことを特徴とする請求項2に記載の電子打楽器。
The control means includes
When the musical sound generated in the previous sound generation process is a musical sound corresponding to the three-dimensional pad, the crosstalk cancellation process is performed when the striking force used in the previous sound generation process is equal to or greater than the first threshold value,
When the musical sound generated in the previous sound generation process is a musical sound corresponding to the plane pad, the striking force used in the previous sound generation process is equal to or higher than a second threshold value different from the first threshold value. The electronic percussion instrument according to claim 2, wherein crosstalk cancellation processing is performed.
前記制御手段は、
前回の発音処理で発生させた楽音が前記立体パッドに対応する楽音であるときは、前回の発音処理に用いた打撃力が所定の閾値より大きい場合、その後、第1の期間が経過するまでの間、前記クロストークキャンセル処理を行う一方、
前回の発音処理で発生させた楽音が前記平面パッドに対応する楽音であるときは、前回の発音処理に用いた打撃力が所定の閾値より大きい場合、その後、前記第1の期間とは異なる第2の所定期間が経過するまでの間、前記クロストークキャンセル処理を行う
ことを特徴とする請求項2に記載の電子打楽器。
The control means includes
When the musical sound generated in the previous sound generation process is a musical sound corresponding to the three-dimensional pad, if the striking force used in the previous sound generation process is greater than a predetermined threshold, then the first period elapses. While performing the crosstalk cancellation process,
When the musical sound generated in the previous sound generation process is a musical sound corresponding to the plane pad, if the striking force used in the previous sound generation process is greater than a predetermined threshold, then the first period is different from the first period. 3. The electronic percussion instrument according to claim 2, wherein the crosstalk canceling process is performed until a predetermined period of 2 elapses.
前記制御手段は、
前回の発音処理で発生させた楽音が前記立体パッドに対応する楽音であるときは、前記クロストークキャンセル処理において、前記打撃位置検出手段に対する入力信号が前記第2の回数である所定回数連続して検出されたときに前記立体パッドに対する打撃判定フラグをオンする一方、
前回の発音処理で発生させた楽音が前記平面パッドに対応する楽音であるときは、前記クロストークキャンセル処理において、前記打撃位置検出手段に対する入力信号が前記所定回数とは異なる他の所定回数連続して検出されたときに前記平面パッドに対する打撃判定フラグをオンする
ことを特徴とする請求項2に記載の電子打楽器。
The control means includes
When the musical sound generated in the previous sound generation process is a musical sound corresponding to the three-dimensional pad, in the crosstalk canceling process, an input signal to the striking position detecting means is continuously a predetermined number of times that is the second number. While turning on the hit determination flag for the three-dimensional pad when detected,
When the musical sound generated in the previous sound generation process is a musical sound corresponding to the flat pad, in the crosstalk canceling process, the input signal to the hitting position detecting means continues for another predetermined number of times different from the predetermined number of times. The electronic percussion instrument according to claim 2, wherein a hit determination flag for the flat pad is turned on when detected.
JP2009202646A 2009-09-02 2009-09-02 Electronic percussion instrument Active JP5434393B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009202646A JP5434393B2 (en) 2009-09-02 2009-09-02 Electronic percussion instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009202646A JP5434393B2 (en) 2009-09-02 2009-09-02 Electronic percussion instrument

Publications (2)

Publication Number Publication Date
JP2011053463A JP2011053463A (en) 2011-03-17
JP5434393B2 true JP5434393B2 (en) 2014-03-05

Family

ID=43942519

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009202646A Active JP5434393B2 (en) 2009-09-02 2009-09-02 Electronic percussion instrument

Country Status (1)

Country Link
JP (1) JP5434393B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5798494B2 (en) * 2012-01-13 2015-10-21 ローランド株式会社 Pronunciation control device
USD743481S1 (en) 2012-03-06 2015-11-17 Roland Corporation Electronic percussion
JP6281230B2 (en) * 2013-10-07 2018-02-21 ヤマハ株式会社 Electronic instrument switch scanning device
JP6213455B2 (en) * 2014-12-25 2017-10-18 ヤマハ株式会社 Electronic musical instrument control device
CN215265547U (en) * 2021-06-01 2021-12-21 黄志坚 Electronic percussion melody musical instrument

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0419588Y2 (en) * 1984-10-12 1992-05-01
JPH0664467B2 (en) * 1987-12-29 1994-08-22 ヤマハ株式会社 Electronic musical instrument
JPH0664463B2 (en) * 1987-12-29 1994-08-22 ヤマハ株式会社 Electronic percussion instrument
JPH0743589B2 (en) * 1988-12-01 1995-05-15 ローランド株式会社 Electronic percussion instrument
JP2699166B2 (en) * 1996-09-02 1998-01-19 ローランド株式会社 Electronic percussion instrument
JP3480334B2 (en) * 1998-09-21 2003-12-15 ヤマハ株式会社 Jumping vibration detecting device, method and storage medium
JP4190426B2 (en) * 2004-01-08 2008-12-03 ローランド株式会社 Electronic percussion instrument
JP5084484B2 (en) * 2007-09-07 2012-11-28 ローランド株式会社 Electronic percussion instrument
JP5086053B2 (en) * 2007-12-14 2012-11-28 ローランド株式会社 Impact detection device

Also Published As

Publication number Publication date
JP2011053463A (en) 2011-03-17

Similar Documents

Publication Publication Date Title
JP5434393B2 (en) Electronic percussion instrument
JP2005195928A (en) Electronic percussion instrument
JP2015068912A (en) Sound source control information generation device and program
US8785759B2 (en) Electric keyboard musical instrument, method executed by the same, and storage medium
JP2017083535A (en) Electronic percussion instrument and striking position detector
JP2004251926A (en) Electronic musical instrument
JP5163070B2 (en) Electronic percussion instrument
JP6544330B2 (en) Electronic percussion
JP5434395B2 (en) Electronic percussion instrument
JP5434394B2 (en) Electronic percussion instrument
JP2010072417A (en) Electronic musical instrument and musical sound creating program
JP2008052291A (en) Electronic percussion instrument
JP5657868B2 (en) Musical sound control method and musical sound control device
JP2000322056A (en) Performance detecting device
JP4855202B2 (en) Electronic keyboard instrument
JP7353136B2 (en) controller
JP5163071B2 (en) Electronic percussion instrument
JP5939068B2 (en) Electronic keyboard instrument
JP2008286858A (en) Electronic music sound generator
JP2014134716A (en) Musical signal generation device, musical signal generation program and musical signal generation method
JP3702596B2 (en) Electronic stringed instruments
JP2021105682A (en) Electronic percussion instrument and musical sound generation method
JP2011197399A (en) Tone control signal generating device
JP2023045357A (en) Electronic music instrument, method and program
JP2010085692A (en) Stringed instrument

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120720

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131028

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: 20131112

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131125

R150 Certificate of patent or registration of utility model

Ref document number: 5434393

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150