JP2000105589A - Trigger detecting device and method thereof - Google Patents

Trigger detecting device and method thereof

Info

Publication number
JP2000105589A
JP2000105589A JP10275290A JP27529098A JP2000105589A JP 2000105589 A JP2000105589 A JP 2000105589A JP 10275290 A JP10275290 A JP 10275290A JP 27529098 A JP27529098 A JP 27529098A JP 2000105589 A JP2000105589 A JP 2000105589A
Authority
JP
Japan
Prior art keywords
peak
level
envelope
adopted
reject
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.)
Withdrawn
Application number
JP10275290A
Other languages
Japanese (ja)
Inventor
Ken Konosu
研 鴻巣
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 JP10275290A priority Critical patent/JP2000105589A/en
Publication of JP2000105589A publication Critical patent/JP2000105589A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve the detecting accuracy of a trigger in a base synthesizer or the like. SOLUTION: When the level of peak reaches a reject level just as peaks P1, P2, P3, it is adopted as an envelope level to renew the reject level, and simultaneously a timer timing up in a fixed time TO is started. By time up of the timer, a peak P4 of the maximum level is adopted as the envelope level from peak data after the peak lastly adopted as the envelope level within peak data stored in a peak memory part. In addition to renew the reject level by the level of the peak P4, the value of the counter of the timer is set as the value regarded to be started at the timing 14 of the peak P4. The envelope level is followed to peaks P4, P5 of signal waveform attenuating the envelope level. By being the level A of a peak P6 over 1.2 times the reject level R, a trigger is judged to be detected.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ベースギターの弦
などの振動体の振動による信号波形から、新たな演奏イ
ベントに対応するトリガーを検出するトリガー検出装置
およびトリガー検出方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a trigger detecting device and a trigger detecting method for detecting a trigger corresponding to a new performance event from a signal waveform caused by vibration of a vibrating body such as a string of a bass guitar.

【0002】[0002]

【従来の技術】従来、ベースギターの演奏された弦の振
動をピックアップで感知して信号波形を検出し、この信
号波形からトリガーやピッチを検出し、検出されたトリ
ガーのタイミングや検出ピッチで音源を駆動することに
より、演奏された弦の振動に応じた楽音を発音するよう
にしたベースシンセサイザと称する電子楽器が知られて
いる。
2. Description of the Related Art Conventionally, a pickup detects a vibration of a string played on a bass guitar, detects a signal waveform, detects a trigger or a pitch from the signal waveform, and detects a sound source based on the detected trigger timing or detected pitch. There is known an electronic musical instrument called a bass synthesizer, which is configured to generate a musical tone according to the vibration of a played string by driving a musical instrument.

【0003】図3は従来のベースシンセサイザーにおけ
るトリガー検出方法を説明する図であり、従来はエンベ
ロープフォロワーを利用して信号のレベルの急な変動か
らトリガーを検出している。エンベロープフォロワーは
信号波形の包絡線を形成するエンベロープレベルを検出
するものであり、例えば図3(A) のような信号波形をピ
ックアップで検出すると、現在検出された信号レベルの
ピークから、そのピークの値を所定の時定数に基づいて
減少させていくことでリジェクトレベルと称するしきい
値(破線)とし、このリジェクトレベルを越えるピーク
が検出されるとそのピークを採用する。
FIG. 3 is a diagram for explaining a trigger detection method in a conventional bass synthesizer. Conventionally, a trigger is detected from a sudden change in signal level using an envelope follower. The envelope follower detects an envelope level forming an envelope of the signal waveform. For example, when a signal waveform as shown in FIG. 3 (A) is detected by a pickup, the peak of the currently detected signal level is calculated from the peak of the currently detected signal level. By reducing the value based on a predetermined time constant, a threshold value (broken line) called a reject level is used. When a peak exceeding this reject level is detected, the peak is adopted.

【0004】次に、その採用したピークの値を所定の時
定数に基づいて減少させてリジェクトレベルとし、以
下、同様の動作を行うことで、順次採用されるピークの
値からエンベロープレベルを検出している。そして、例
えば図3(A) のピークaのようにエンベロープが急激に
変動する点を新たなトリガーとして検出するようにして
いる。
Next, the value of the adopted peak is reduced based on a predetermined time constant to obtain a reject level, and thereafter, by performing the same operation, the envelope level is detected from the sequentially adopted peak value. ing. Then, a point where the envelope fluctuates rapidly, such as a peak a in FIG. 3A, is detected as a new trigger.

【0005】ところで、エンベロープフォロワーは、ピ
ッチに対応する1周期分の1波形につき最大の信号レベ
ルとなるピークを1回だけ検出するのが好ましく、1波
形中の小さな振動の信号レベルを検出しないようにリジ
ェクトレベルの時定数を長くしている。すなわち、図3
(A) に示したように、時定数の短いリジェクトレベルを
用いるとレベルの小さなピークも採用してしまうの
で、ピークをとばして次の有効なピークを採用すよ
うに時定数の長いリジェクトレベルを用いているる。特
に、このリジェクトレベルの時定数は、ベースギターの
ように振動の周波数レンジ(ピッチ)が低くなると長く
する必要がある。
Incidentally, it is preferable that the envelope follower detects the peak having the maximum signal level only once for one waveform of one cycle corresponding to the pitch, and does not detect the signal level of a small vibration in one waveform. The reject level time constant is increased. That is, FIG.
As shown in (A), if a reject level with a short time constant is used, a peak with a small level is also adopted, so a reject level with a long time constant is skipped so as to skip the peak and adopt the next valid peak. I use it. In particular, the time constant of the reject level needs to be increased as the frequency range (pitch) of the vibration becomes lower as in a bass guitar.

【0006】[0006]

【発明が解決しようとする課題】しかし、上記従来のエ
ンベロープフォロワーを用いたトリガー検出方法では、
図3(A) のピークaのように立ち上がりの大きなピーク
があればトリガーは検出できるが、リジェクトレベルの
時定数が長いのでトリガーを見逃してしまうことがあ
る。例えば、図3(B) の(ア)の部分は指が弦に触れて
いて信号が減衰している状態である。この間の信号レベ
ルはリジェクトレベルに達しないのでエンベロープレベ
ルとされず、減衰前のリジェクトレベルが維持されてい
る。
However, in the above-described conventional trigger detection method using an envelope follower,
The trigger can be detected if there is a peak having a large rise like the peak a in FIG. 3A, but the trigger may be missed because the time constant of the reject level is long. For example, part (A) of FIG. 3 (B) shows a state in which the finger is touching the string and the signal is attenuated. Since the signal level during this time does not reach the reject level, it is not set to the envelope level, and the reject level before attenuation is maintained.

【0007】しかし、ピークbのように、実際に弦を弾
いたときの信号レベルが小さく、このリジェクトレベル
に達しない場合があり、このピークbの時点のトリガー
を見逃してしまうことになる。また、図3(B) に一点鎖
線で示したピークcのように仮にピークがリジェクトレ
ベルに達したとしても、このリジェクトレベルとピーク
の信号レベルとの段差が得られず、すなわちエンベロー
プレベルの急激な変化が得られず、トリガーを見逃して
しまうことがある。
However, as in the case of the peak b, the signal level when the string is actually struck is small and may not reach the reject level, and the trigger at the time of the peak b may be missed. Also, even if the peak reaches the reject level as shown by the dashed line in FIG. 3 (B), a step between the reject level and the signal level of the peak cannot be obtained, that is, if the envelope level sharply increases. Change may not be obtained and the trigger may be missed.

【0008】このように、特にベースギターのようにピ
ッチが低域の場合、従来のトリガー検出方法では、前の
音より強く弾かないと信号レベルのプラス方向の段差が
できず、トリガーの検出感度が低いという問題がある。
本発明は、ベースギターのようにピッチが低域の信号波
形についてもトリガーの検出精度を高めることを課題と
する。
As described above, especially in the case where the pitch is low as in a bass guitar, in the conventional trigger detection method, a positive step in the signal level cannot be formed unless the player plays the sound stronger than the previous sound, and the detection sensitivity of the trigger is high. Is low.
SUMMARY OF THE INVENTION It is an object of the present invention to improve the detection accuracy of a trigger even for a signal waveform having a low pitch, such as a bass guitar.

【0009】[0009]

【課題を解決するための手段】本発明の請求項1記載の
トリガー検出装置は、振動体の振動に応じた信号波形に
おける所定の振動要素のピークを検出し、該ピークのレ
ベルが現在設定されているリジェクトレベルに達した場
合に、該ピークをエンベロープレベルとして採用すると
ともに該ピークの値以下の近傍の値をリジェクトレベル
として現在のリジェクトレベルを更新し、該ピークとリ
ジェクトレベルに基づいて採用されるエンベロープレベ
ルの急激な変化からトリガーを検出するトリガー検出装
置であって、前記検出されるピークを時系列に記憶する
ピーク記憶手段と、前記信号波形のピッチの周期より長
い所定時間を計時するタイマ手段と、前記タイマ手段で
計時される前記所定時間内に前記ピークがエンベロープ
レベルとして採用されなかった場合に、前記ピーク記憶
手段に記憶されている過去のピークのうち前記エンベロ
ープレベルとして最後に採用されたピークより後のピー
クのなかから最大レベルのピークをエンベロープレベル
として採用し、該採用したピークに基づいてリジェクト
レベルを更新するとともに、前記タイマ手段を該ピーク
が検出された時点で起動されたように再起動する制御手
段と、を備えたことを特徴とする。
According to a first aspect of the present invention, there is provided a trigger detecting apparatus for detecting a peak of a predetermined vibration element in a signal waveform corresponding to the vibration of a vibrating body, and the level of the peak is currently set. When the current reject level is reached, the peak is adopted as the envelope level, and a value near the peak value or less is updated as the reject level to update the current reject level, and the peak is adopted based on the reject level. A peak detecting means for detecting a trigger from a sudden change in an envelope level, wherein the peak is detected in time series, and a timer for measuring a predetermined time longer than a period of a pitch of the signal waveform. Means, and the peak is adopted as an envelope level within the predetermined time measured by the timer means. If not, the peak having the highest level among the peaks after the peak that was last adopted as the envelope level among the past peaks stored in the peak storage means is adopted as the envelope level, and Control means for updating the reject level based on the peak, and restarting the timer means as if it had been started when the peak was detected.

【0010】なお、信号波形における所定の振動要素の
ピークとしては信号レベルの極値を採用できるが、一般
に、信号波形のゼロクロス点の傾きが大きいときはその
直後の信号レベルも大きくなり、ゼロクロス点の傾きが
小さいときはその直後の信号レベルも小さくなるので、
この信号波形のゼロクロス点の傾きの値をピークとして
採用してもよい。また、信号波形の微分波形の極値を採
用してもよい。さらに、ゼロクロス点間の波形の積分値
(波形で囲われる部分の面積)をピークとして採用して
もよい。
Note that the extreme value of the signal level can be adopted as the peak of the predetermined vibration element in the signal waveform. Generally, when the slope of the zero-cross point of the signal waveform is large, the signal level immediately after that becomes large, and the zero-cross point becomes large. When the slope is small, the signal level immediately after that is also small, so
The value of the slope of the zero cross point of the signal waveform may be adopted as the peak. Further, an extreme value of a differential waveform of the signal waveform may be adopted. Further, the integrated value of the waveform between the zero cross points (the area of the portion surrounded by the waveform) may be adopted as the peak.

【0011】信号波形にはそのピッチの周期内に少なく
とも1つのピークが存在する。したがって、本発明の請
求項1記載のトリガー検出装置において、タイマ手段が
現在の信号波形のピッチの周期より長い所定時間を計時
するので、この計時される所定時間内に少なくとも1つ
のピークが検出される。また、ベースギター等において
弦を弾くとき指が弦に触れるのでトリガーの前の音の信
号波形は減衰する場合が多い。したがって、前記検出さ
れたピークがリジェクトレベルに達せずにエンベロープ
レベルとして採用されなかった場合には、信号波形が減
衰していることになる。しかし、この検出されたピーク
はピーク記憶手段に記憶されており、前記制御手段によ
り、ピーク記憶手段に記憶されている過去のピークのう
ちエンベロープレベルとして最後に採用されたピークよ
り後のピークのなかから最大レベルのピークをエンベロ
ープレベルとして採用され、この採用されたピークに基
づいてリジェクトレベルが更新されるとともに、タイマ
手段が該ピークが検出された時点で起動されたように再
起動される。したがって、減衰している部分のピークと
リジェクトレベルに基づいてエンベロープレベルが採用
され、その後にトリガーがあればエンベロープレベルの
急激な変化として現れるので、小さなピークのトリガー
でも精度良く検出することができる。
The signal waveform has at least one peak within the period of the pitch. Therefore, in the trigger detecting device according to the first aspect of the present invention, since the timer means measures a predetermined time longer than the pitch cycle of the current signal waveform, at least one peak is detected within the measured predetermined time. You. In addition, when a string is played on a bass guitar or the like, the finger touches the string, so that the signal waveform of the sound before the trigger is often attenuated. Therefore, if the detected peak does not reach the reject level and is not adopted as the envelope level, the signal waveform is attenuated. However, the detected peak is stored in a peak storage unit, and the control unit controls the past peaks stored in the peak storage unit in the peaks after the peak that was last adopted as the envelope level. And the maximum level peak is adopted as the envelope level, the reject level is updated based on the adopted peak, and the timer is restarted as if it had been started when the peak was detected. Therefore, the envelope level is adopted based on the peak and the reject level of the attenuated portion, and if there is a trigger thereafter, it appears as a rapid change in the envelope level, so that even a small peak trigger can be detected with high accuracy.

【0012】本発明の請求項2記載のトリガー検出方法
は、振動体の振動に応じた信号波形における所定の振動
要素のピークを検出し、該ピークのレベルが現在設定さ
れているリジェクトレベルに達した場合に、該ピークを
エンベロープレベルとして採用するとともに該ピークの
値以下の近傍の値をリジェクトレベルとして現在のリジ
ェクトレベルを更新し、該ピークとリジェクトレベルに
基づいて採用されるエンベロープレベルの急激な変化か
らトリガーを検出するトリガー検出方法であって、前記
検出されるピークを時系列に記憶するステップと、前記
信号波形のピッチの周期より長い所定時間を計時するス
テップと、前記計時される所定時間内に前記ピークがエ
ンベロープレベルとして採用されなかった場合に、前記
記憶されている過去のピークのうち前記エンベロープレ
ベルとして最後に採用されたピークより後のピークのな
かから最大レベルのピークをエンベロープレベルとして
採用し、該採用したピークに基づいてリジェクトレベル
を更新するとともに、前記所定時間を計時するステップ
を該ピークが検出された時点で起動されたように再起動
するステップと、を具備することを特徴とする。この請
求項2記載のトリガー検出方法によれば、請求項1と同
様な作用効果が得られる。
According to a second aspect of the present invention, there is provided a trigger detecting method for detecting a peak of a predetermined vibration element in a signal waveform corresponding to the vibration of a vibrating body, and the level of the peak reaches a currently set reject level. In this case, the peak is adopted as the envelope level, and the current reject level is updated by using a value near the peak value or less as the reject level, and the sharpness of the envelope level adopted based on the peak and the reject level is increased. A trigger detection method for detecting a trigger from a change, wherein the step of storing the detected peak in time series, the step of measuring a predetermined time longer than a pitch cycle of the signal waveform, and the step of measuring the predetermined time If the peak is not adopted as the envelope level within the Among the peaks, the peak of the maximum level is adopted as the envelope level from among the peaks after the peak that was last adopted as the envelope level, and the reject level is updated based on the adopted peak, and the predetermined time is updated. Restarting the timing step as if it had been started when the peak was detected. According to the trigger detecting method of the second aspect, the same operation and effect as those of the first aspect can be obtained.

【0013】[0013]

【発明の実施の形態】以下、本発明の実施の形態につい
て説明する。図2は本発明の実施形態のトリガー検出装
置およびトリガー検出方法を適用したベースシンセサイ
ザの要部ブロック図でり、このベースシンセサイザには
図示しないエレクトリックベースギターが接続される。
エレクトリックベースギターは4〜6本の何れかの本数
の弦を有するもので、各弦はブリッジとヘッドとの間に
張設され、そのボディには各弦に対応するピックアップ
1が設けられている。
Embodiments of the present invention will be described below. FIG. 2 is a main block diagram of a bass synthesizer to which the trigger detection device and the trigger detection method according to the embodiment of the present invention are applied. An electric bass guitar (not shown) is connected to the bass synthesizer.
The electric bass guitar has any number of strings of 4 to 6, each string is stretched between a bridge and a head, and its body is provided with a pickup 1 corresponding to each string. .

【0014】ベースシンセサイザは接続されるエレクト
リックベースギターの弦の本数に応じてモードが設定さ
れ、ピックアップ1は各弦の振動を独立に検出し、この
ピックアップ1で検出された振動波形はADコンバータ
2に供給される。ADコンバータ2は入力される各弦の
振動波形を弦の本数に応じた時分割処理により各弦の振
動波形の振幅値を示すディジタルデータにそれぞれ変換
して出力する。すなわち、このディジタルデータはAD
変換サイクル(サンプリングタイミング)毎に出力され
て、ピッチ検出部3およびピーク検出部4に入力され
る。
The mode of the bass synthesizer is set according to the number of strings of the electric bass guitar to be connected. The pickup 1 independently detects the vibration of each string, and the vibration waveform detected by the pickup 1 is converted by the AD converter 2 Supplied to The AD converter 2 converts the input vibration waveform of each string into digital data indicating the amplitude value of the vibration waveform of each string by time division processing according to the number of strings, and outputs the digital data. That is, this digital data is
It is output for each conversion cycle (sampling timing) and input to the pitch detection unit 3 and the peak detection unit 4.

【0015】ピッチ検出部3、ピーク検出部4、エンベ
ロープ検出部6、クオンタイザ8およびMIDI出力部
9は、ADコンバータ2の時分割処理に同期して各弦に
対応する時分割処理を行う。また、タイマ7は、各弦に
対応する時分割処理のスロットに対応する数のカウンタ
を備えており、各カウンタは各弦の開放弦のピッチの周
期より少し長い時間を計時するように設定され、また、
各弦の演奏ピッチが確定するとそのピッチの周期より少
し長い時間を計時するように設定される。そして設定時
間の計時終了によりタイムアップ信号を出力する。な
お、以下の説明では時分割処理の一つのタイムスロット
の処理すなわち一つの弦に対応する処理について説明す
る。
The pitch detecting section 3, peak detecting section 4, envelope detecting section 6, quantizer 8 and MIDI output section 9 perform time division processing corresponding to each string in synchronization with the time division processing of the AD converter 2. The timer 7 has a number of counters corresponding to the time-division processing slots corresponding to the respective strings, and each counter is set so as to measure a time slightly longer than the pitch cycle of the open strings of the respective strings. ,Also,
When the performance pitch of each string is determined, it is set so that a time slightly longer than the pitch cycle is measured. Then, a time-up signal is output when the counting of the set time is completed. In the following description, processing of one time slot of the time division processing, that is, processing corresponding to one string will be described.

【0016】ピッチ検出部3はADコンバータ2の出力
から信号波形の1波形のパターンを求め、このパターン
の繰り返し周期からピッチを検出する。そして、検出さ
れたピッチはクオンタイザ8に入力され、クオンタイザ
8は検出されたピッチの変動がピッチベンドで想定され
る最小のピッチ変化以下の場合に検出ピッチを量子化
し、上記最小のピッチ変化以上の場合には検出されたピ
ッチをそのままMIDI出力部9に出力する。これによ
り、演奏者が意図しないピッチベンドによるピッチ変化
のときは正確なピッチとするとともに、演奏者が意図す
るピッチベンドのときは自然なピッチ変化が得られる。
なお、このピッチ検出部3で検出されたピッチはエンベ
ロープ検出部6にも入力され、タイマ7の設定時間の決
定に利用される。
The pitch detecting section 3 obtains one signal pattern of the signal waveform from the output of the AD converter 2, and detects the pitch from the repetition period of this pattern. Then, the detected pitch is input to the quantizer 8, and the quantizer 8 quantizes the detected pitch when the fluctuation of the detected pitch is equal to or smaller than the minimum pitch change assumed in the pitch bend. The detected pitch is output to the MIDI output unit 9 as it is. Thus, when the pitch changes due to a pitch bend that is not intended by the player, an accurate pitch is obtained, and when the pitch bend is intended by the player, a natural pitch change is obtained.
Note that the pitch detected by the pitch detection unit 3 is also input to the envelope detection unit 6 and used for determining the set time of the timer 7.

【0017】ピーク検出部4は、ADコンバータ2の出
力信号のうち、ノイズ成分以上の所定値以上のレベルで
極大値となるデータを検出し、検出したデータとその時
点のタイミングのデータを一つのピークデータとして出
力する。このピークデータはピーク記憶部5に順次記憶
されるとともに、エンベロープ検出部6に順次出力され
る。なお、ピーク記憶部5には、複数のピークデータを
記憶するバッファが各弦に対応する時分割処理のスロッ
トに対応する数だけ設定されており、各バッファはタイ
マ7で計時される設定時間内に各弦の最高音のピッチで
発生するピークデータを十分記憶できる容量となってい
る。また、ピーク検出部4とエンベロープ検出部6はポ
インタを制御することにより各バッファに対する書き込
みと読み出しを随時行う。
The peak detector 4 detects, from the output signal of the AD converter 2, data having a maximum value at a level equal to or higher than a noise component and a predetermined value or more, and converts the detected data and the data of the timing at that time into one. Output as peak data. The peak data is sequentially stored in the peak storage unit 5 and sequentially output to the envelope detection unit 6. In the peak storage unit 5, buffers for storing a plurality of peak data are set by the number corresponding to the time-division processing slots corresponding to the respective strings. Is sufficient to store the peak data generated at the pitch of the highest note of each string. The peak detection unit 4 and the envelope detection unit 6 write and read from and to each buffer as needed by controlling the pointer.

【0018】エンベロープ検出部6は、後述説明するよ
うに、ピーク検出部4から入力されるピークデータおよ
びピーク記憶部5に記憶されたピークデータに基づいて
信号波形のエンベロープレベルを求め、このエンベロー
プレベルの急激な変動からトリガーを検出してノートオ
ンをMIDI出力部9に出力する。また、エンベロープ
レベルからノートオフおよびベロシティを検出し、これ
らの検出した情報をMIDI出力部9に供給する。そし
て、MIDI出力部9は、クオンタイザ8から入力され
るピッチの情報、エンベロープ検出部6から入力される
ノートオン/ノートオフおよびベロシティの情報に基づ
いて発生すべき楽音のMIDIデータを生成し、音源1
0に出力して楽音が発生される。
The envelope detector 6 determines the envelope level of the signal waveform based on the peak data input from the peak detector 4 and the peak data stored in the peak storage 5, as will be described later. A note-on is output to the MIDI output unit 9 by detecting a trigger from a rapid change in Further, note off and velocity are detected from the envelope level, and the detected information is supplied to the MIDI output unit 9. The MIDI output unit 9 generates MIDI data of a musical tone to be generated based on the pitch information input from the quantizer 8 and the note-on / note-off and velocity information input from the envelope detection unit 6. 1
Output to 0 to generate a musical tone.

【0019】なお、ピッチ検出部3、ピーク検出部4、
ピーク記憶部5、エンベロープ検出部6、タイマ7、ク
オンタイザ8およびMIDI出力部9は、例えばCP
U、RAM、ROM、I/Oを備えたマイクロコンピュ
ータおよびソフトウエアで構成することもできる。
The pitch detector 3, the peak detector 4,
The peak storage unit 5, the envelope detection unit 6, the timer 7, the quantizer 8, and the MIDI output unit 9 include, for example, a CP.
It can also be constituted by a microcomputer and software provided with U, RAM, ROM, I / O.

【0020】次に、エンベロープ検出部6の構成および
動作について説明する。エンベロープ検出部6は、リジ
ェクトレベルをセットするレジスタを備えており、この
レジスタのリジェクトレベルは電源オンやノートオフに
より初期値“0”に設定される。そして、ピーク検出部
4から入力されるピークデータのレベルを、このレジス
タにセットされたリジェクトレベルと比較し、ピークデ
ータのレベルがリジェクトレベルに達していると、その
ピークデータのレベルをエンベロープレベルとして採用
してレジスタにセットしてリジェクトレベルを更新す
る。なお、このレジスタの値は所定の時定数で減少さ
れ、これにより、所定の時定数で減少するリジェクトレ
ベルが設定される。また、上記比較の結果、入力される
ピークデータのレベルの値がリジェクトレベルの値の
1.2倍以上であれば「トリガー検出」と判定し、トリ
ガー検出信号をMIDI出力部9に出力する。
Next, the configuration and operation of the envelope detector 6 will be described. The envelope detector 6 has a register for setting a reject level, and the reject level of this register is set to an initial value “0” by turning on the power or turning off the note. Then, the level of the peak data input from the peak detector 4 is compared with the reject level set in this register, and when the level of the peak data has reached the reject level, the level of the peak data is set as the envelope level. Adopt and set in register to update reject level. Note that the value of this register is reduced by a predetermined time constant, thereby setting a reject level that is reduced by the predetermined time constant. As a result of the comparison, if the level value of the input peak data is 1.2 times or more the reject level value, it is determined that “trigger detection” has occurred, and a trigger detection signal is output to the MIDI output unit 9.

【0021】また、エンベロープ検出部6は、タイマ7
に対して電源オンやノートオフにより開放弦のピッチの
周期より少し長い所定時間を初期値として設定し、ピッ
チ検出部3から検出されたピッチが入力されると、その
ピッチの周期より少し長い所定時間を設定する。そし
て、前記のようにピークデータをエンベロープレベルと
して採用する毎に、タイマ7(弦に対応するカウンタ)
をリセットして起動する。
The envelope detector 6 includes a timer 7
A predetermined time slightly longer than the pitch of the open string is set as an initial value by turning the power on and off, and when the pitch detected from the pitch detection unit 3 is input, the predetermined time is slightly longer than the pitch of the pitch. Set the time. Each time the peak data is adopted as an envelope level as described above, a timer 7 (a counter corresponding to a string) is used.
Reset and start.

【0022】一方、リジェクトレベルを越えるピークが
検出されないでタイマ7がタイムアップすると、ピーク
記憶部5から、最後にエンベロープレベルとして採用さ
れたピークの次のピークからピークデータを読み出し、
その中で最大レベルとなるピークデータのレベルをエン
ベロープレベルとして採用する。そして、そのピークデ
ータのタイミングに基づいてこのピークが検出された時
点を求め、タイマ7をその時点で起動されたようにセッ
トして起動する。
On the other hand, when the timer 7 times out without detecting a peak exceeding the reject level, the peak data is read from the peak storage section 5 from the peak next to the peak last adopted as the envelope level.
The maximum level of the peak data is adopted as the envelope level. Then, the time when this peak is detected is determined based on the timing of the peak data, and the timer 7 is set and started as if started at that time.

【0023】以上の構成によりエンベロープ検出部6は
例えば次のような動作でトリガーを検出する。図1はエ
ンベロープ検出部6およびタイマ7の動作を説明する図
である。タイマ7は弦のピッチの周期より長く設定され
ているので、ピークP1,P2,P3の時間間隔はタイマ7の
設定時間TO 以内になる。そして、ピークP1,P2,P3は
殆ど減衰していないので、タイミングt1,t2,t3の時点
でエンベロープレベルとして採用され、リジェクトレベ
ルが更新されるとともにタイマ7がリセットされる。な
お、小さなピークp1,p2,p3等はリジェクトレベルに達
しないのでエンベロープレベルとして採用されない。
With the above configuration, the envelope detecting section 6 detects a trigger by the following operation, for example. FIG. 1 is a diagram for explaining the operation of the envelope detector 6 and the timer 7. Since the timer 7 is set longer than the period of the string pitch, the time interval between the peaks P1, P2, and P3 is within the set time TO of the timer 7. Since the peaks P1, P2, and P3 are hardly attenuated, they are adopted as envelope levels at timings t1, t2, and t3, the reject level is updated, and the timer 7 is reset. Note that the small peaks p1, p2, p3, etc. do not reach the reject level and are not adopted as envelope levels.

【0024】そして、信号波形がピークP4,P5のように
減衰すると、ピークP4がリジェクトレベルに達しないの
で、タイミングt41 でタイマ7がタイムアップする。こ
のタイムアップにより、ピーク記憶部5から現在までに
記憶されているピークのうち最後にエンベロープレベル
として採用されたピークより後のピーク、すなわちピー
クp3,P4,p4のピークデータを読み出し、これらのピー
クの中で最大レベルのものすなわちピークP4のレベルを
エンベロープレベルとして採用する。また、リジェクト
レベルはピークP4のレベルをタイミングt41 まで減衰さ
せた値とし、さらに、タイマ7のカウンタの値を、ピー
クP4のタイミングt4で起動されたとみなした値にセット
する。これにより、タイマ7がタイムアップする前にタ
イミングt5でピークP5がリジェクトレベルに達してエン
ベロープレベルとして採用され、このピークP5のレベル
によりリジェクトレベルが更新される。
When the signal waveform attenuates to peaks P4 and P5, the peak P4 does not reach the reject level, so that the timer 7 times out at timing t41. Due to this time-up, the peak data of the peaks p3, P4, and p4 after the peak which was lastly adopted as the envelope level among the peaks stored up to the present time from the peak storage unit 5 are read out, and these peaks are read out. Of the peak P4, ie, the level of the peak P4, is adopted as the envelope level. Also, the reject level is a value obtained by attenuating the level of the peak P4 until the timing t41, and furthermore, the value of the counter of the timer 7 is set to a value regarded as being started at the timing t4 of the peak P4. As a result, before the timer 7 times out, at timing t5, the peak P5 reaches the reject level and is adopted as the envelope level, and the reject level is updated by the level of this peak P5.

【0025】そして、タイミングt6で新たなピッキング
によるピークP6が検出され、このピークP6のレベルがリ
ジェクトレベルに達していると、エンベロープレベルと
して採用される。図の場合ピークP6のレベルAがリジェ
クトレベルRに達しているのでエンベロープレベルとし
て採用される。また、レベルAはリジェクトレベルRに
対して1.2倍以上となっているのでトリガー検出と判
定する。なお、トリガーと判定した場合、次のピッチが
検出されるまでタイマ7で計時する所定時間を開放弦の
ピッチの周期より少し長い時間に設定しておく。
Then, at timing t6, a peak P6 due to new picking is detected. If the level of this peak P6 has reached the reject level, it is adopted as the envelope level. In the case of the figure, since the level A of the peak P6 has reached the reject level R, it is adopted as the envelope level. Also, since the level A is 1.2 times or more the reject level R, it is determined that a trigger has been detected. If the trigger is determined, the predetermined time measured by the timer 7 until the next pitch is detected is set to a time slightly longer than the pitch cycle of the open string.

【0026】このピークP6は前掲の図3(B) のピークb
と同じレベルであるが、ピークP5のように減衰されたピ
ークに基づくエンベロープレベルに追従するリジェクト
レベルでトリガーを検出しているので、エンベロープレ
ベルの急激な変化(リジェクトレベルとピークのレベル
の差)がえられ、従来検出できなかったトリガーを検出
することができる。
This peak P6 corresponds to the peak b in FIG.
The trigger is detected at the reject level that follows the envelope level based on the attenuated peak, such as peak P5, so a sudden change in the envelope level (difference between reject level and peak level) As a result, a trigger that could not be detected conventionally can be detected.

【0027】なお、上記の実施形態では、リジェクトレ
ベルとして、時定数により値が減少するようなものを用
いているが、例えば、エンベロープレベルとして採用し
たピークのレベルの0.8倍など、ピークのレベルの少
数倍の一定値(時定数で減少させない値)を用いるよう
にしてもよい。すなわち、時定数により値が減少するよ
うなリジェクトレベルも、ピークのレベルの少数倍の一
定値のリジェクトレベルも、エンベロープレベルとして
採用されたピークの値以下の近傍の値に相当するもので
ある。
In the above-described embodiment, a reject level whose value is reduced by a time constant is used. For example, the reject level may be 0.8 times the peak level used as the envelope level. A fixed value (a value that is not reduced by a time constant) that is a multiple of the level may be used. That is, both the reject level whose value decreases due to the time constant and the reject level having a fixed value that is a multiple of a few times the level of the peak correspond to a value close to or less than the peak value adopted as the envelope level.

【0028】また、実施形態では、エンベロープレベル
検出用のピークとして信号波形のレベル(極値)そのも
のを採用しているが、このピークとしては、信号波形の
ゼロクロス点の傾き、信号波形の微分波形の極値、ゼロ
クロス点間の波形の積分値を採用してもよい。
In the embodiment, the level (extreme value) of the signal waveform itself is adopted as a peak for detecting the envelope level. The peak includes the slope of the zero-cross point of the signal waveform and the differential waveform of the signal waveform. And the integrated value of the waveform between the zero cross points.

【0029】上記の実施形態ではベースシンセサイザに
ついて説明したが、本発明はギターシンセサイザなどで
も適用できることはいうまでもない。また、弦楽器に限
らず、他の楽器にも適用できる。
In the above embodiment, a bass synthesizer has been described, but it goes without saying that the present invention can be applied to a guitar synthesizer or the like. In addition, the present invention can be applied not only to stringed instruments but also to other instruments.

【0030】[0030]

【発明の効果】以上説明したように、本発明の請求項1
のトリガー検出装置または請求項2のトリガー検出方法
によれば、信号波形の減衰している部分のピークとリジ
ェクトレベルに基づいてエンベロープレベルが採用さ
れ、その後にトリガーがあればエンベロープレベルの急
激な変化として現れるので、小さなピークのトリガーで
も精度良く検出することができ、ベースギターのように
ピッチが低域の信号波形についてもトリガーの検出精度
を高めることができる。
As described above, according to the first aspect of the present invention,
According to the trigger detecting device of the first aspect or the trigger detecting method of the second aspect, the envelope level is adopted based on the peak and the reject level of the attenuated portion of the signal waveform, and if there is a trigger thereafter, the envelope level suddenly changes. Therefore, even a trigger having a small peak can be detected with high accuracy, and the detection accuracy of the trigger can be improved even for a signal waveform having a low pitch such as a bass guitar.

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

【図1】本発明の実施形態におけるエンベロープ検出部
およびタイマの動作の一例を示す図である。
FIG. 1 is a diagram illustrating an example of an operation of an envelope detection unit and a timer according to an embodiment of the present invention.

【図2】本発明の実施形態のトリガー検出装置およびト
リガー検出方法を適用したベースシンセサイザの要部ブ
ロック図である。
FIG. 2 is a main block diagram of a base synthesizer to which the trigger detection device and the trigger detection method according to the embodiment of the present invention are applied.

【図3】従来のトリガー検出方法を説明する図である。FIG. 3 is a diagram illustrating a conventional trigger detection method.

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

3…ピッチ検出部、4…ピーク検出部、5…ピーク記憶
部、6…エンベロープ検出部、7…タイマ。
3 pitch detector, 4 peak detector, 5 peak storage unit, 6 envelope detector, 7 timer.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 振動体の振動に応じた信号波形における
所定の振動要素のピークを検出し、該ピークのレベルが
現在設定されているリジェクトレベルに達した場合に、
該ピークをエンベロープレベルとして採用するとともに
該ピークの値以下の近傍の値をリジェクトレベルとして
現在のリジェクトレベルを更新し、該ピークとリジェク
トレベルに基づいて採用されるエンベロープレベルの急
激な変化から前記信号波形におけるトリガーを検出する
トリガー検出装置であって、 前記検出されるピークを時系列に記憶するピーク記憶手
段と、 前記信号波形のピッチの周期より長い所定時間を計時す
るタイマ手段と、 前記タイマ手段で計時される前記所定時間内に前記ピー
クがエンベロープレベルとして採用されなかった場合
に、前記ピーク記憶手段に記憶されている過去のピーク
のうち前記エンベロープレベルとして最後に採用された
ピークより後のピークのなかから最大レベルのピークを
エンベロープレベルとして採用し、該採用したピークに
基づいてリジェクトレベルを更新するとともに、前記タ
イマ手段を該ピークが検出された時点で起動されたよう
に再起動する制御手段と、を備えたことを特徴とするト
リガー検出装置。
1. A peak of a predetermined vibration element in a signal waveform corresponding to vibration of a vibrating body is detected, and when the level of the peak reaches a currently set reject level,
The current reject level is updated by using the peak as an envelope level and a value near the peak value or less as a reject level, and the signal is obtained from a sudden change in the envelope level adopted based on the peak and the reject level. A trigger detection device that detects a trigger in a waveform, a peak storage unit that stores the detected peaks in a time series, a timer unit that measures a predetermined time longer than a pitch cycle of the signal waveform, and the timer unit. If the peak is not adopted as the envelope level within the predetermined time measured in the above, the peak after the peak last adopted as the envelope level among the past peaks stored in the peak storage means. The maximum level peak is the envelope level Control means for renewing the reject level based on the adopted peak and restarting the timer means as if it were started when the peak was detected. Trigger detection device.
【請求項2】 振動体の振動に応じた信号波形における
所定の振動要素のピークを検出し、該ピークのレベルが
現在設定されているリジェクトレベルに達した場合に、
該ピークをエンベロープレベルとして採用するとともに
該ピークの値以下の近傍の値をリジェクトレベルとして
現在のリジェクトレベルを更新し、該ピークとリジェク
トレベルに基づいて採用されるエンベロープレベルの急
激な変化からトリガーを検出するトリガー検出方法であ
って、 前記検出されるピークを時系列に記憶するステップと、 前記信号波形のピッチの周期より長い所定時間を計時す
るステップと、 前記計時される所定時間内に前記ピークがエンベロープ
レベルとして採用されなかった場合に、前記記憶されて
いる過去のピークのうち前記エンベロープレベルとして
最後に採用されたピークより後のピークのなかから最大
レベルのピークをエンベロープレベルとして採用し、該
採用したピークに基づいてリジェクトレベルを更新する
とともに、前記所定時間を計時するステップを該ピーク
が検出された時点で起動されたように再起動するステッ
プと、を具備することを特徴とするトリガー検出方法。
2. A peak of a predetermined vibration element in a signal waveform corresponding to vibration of a vibrating body is detected, and when the level of the peak reaches a currently set reject level,
The peak is adopted as an envelope level, and the current reject level is updated with a value near the peak value or less as a reject level, and a trigger is generated from a sudden change in the envelope level adopted based on the peak and the reject level. A trigger detecting method for detecting, wherein the step of storing the detected peak in a time series; the step of measuring a predetermined time longer than a pitch cycle of the signal waveform; and the step of measuring the peak within the measured predetermined time. When is not adopted as the envelope level, the peak of the maximum level among the peaks after the last adopted as the envelope level among the stored past peaks is adopted as the envelope level, and Update reject level based on peak employed As well as, the trigger detection method characterized by comprising the steps of: restarting to the step of counting a predetermined time is started when the said peak is detected.
JP10275290A 1998-09-29 1998-09-29 Trigger detecting device and method thereof Withdrawn JP2000105589A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10275290A JP2000105589A (en) 1998-09-29 1998-09-29 Trigger detecting device and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10275290A JP2000105589A (en) 1998-09-29 1998-09-29 Trigger detecting device and method thereof

Publications (1)

Publication Number Publication Date
JP2000105589A true JP2000105589A (en) 2000-04-11

Family

ID=17553379

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10275290A Withdrawn JP2000105589A (en) 1998-09-29 1998-09-29 Trigger detecting device and method thereof

Country Status (1)

Country Link
JP (1) JP2000105589A (en)

Similar Documents

Publication Publication Date Title
EP0722160B1 (en) Method for recognition of the start and end of a note in the case of percussion or plucked musical instrument
US5990408A (en) Electronic stringed instrument using phase difference to control tone generation
JP2000105589A (en) Trigger detecting device and method thereof
JP4198046B2 (en) Electronic stringed instruments
US20040144235A1 (en) Data processing method in a tuner and tuner using the method
JPH06161440A (en) Automatic playing device
JP7172423B2 (en) Electronic keyboard instrument, method and program
JP2000105590A (en) Chord vibration pitch detecting device and chord vibration pitch detecting method
JP3028041B2 (en) Music element extraction device
JP2829987B2 (en) Pitch determination device
JPS6248833B2 (en)
JP2744257B2 (en) Electronic percussion instrument
JP2646812B2 (en) Electronic musical instrument
JP2532233Y2 (en) Electronic string instrument
JP2643213B2 (en) Electronic string instrument
JP2775628B2 (en) Pitch determination device
JPH0755596Y2 (en) Electronic percussion input device
JP2699367B2 (en) Electronic stringed musical instrument and method of generating pitch data of electronic stringed musical instrument
JP2555553B2 (en) Input waveform signal controller
JP3214070B2 (en) Electronic string instrument
JP3430585B2 (en) Electronic percussion instrument
JPH0715030Y2 (en) Tuning device
KR950010018B1 (en) Metronome intensity control method of electronic musical instruments
JPH05150768A (en) Electronic stringed instrument
JP2500494B2 (en) Music signal generator

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060110