JP2016151628A - Music signal processing device and program - Google Patents

Music signal processing device and program Download PDF

Info

Publication number
JP2016151628A
JP2016151628A JP2015028164A JP2015028164A JP2016151628A JP 2016151628 A JP2016151628 A JP 2016151628A JP 2015028164 A JP2015028164 A JP 2015028164A JP 2015028164 A JP2015028164 A JP 2015028164A JP 2016151628 A JP2016151628 A JP 2016151628A
Authority
JP
Japan
Prior art keywords
signal
information
pitch
output
pitch detection
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.)
Granted
Application number
JP2015028164A
Other languages
Japanese (ja)
Other versions
JP6455973B2 (en
Inventor
祐一 尾上
Yuichi Onoe
祐一 尾上
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.)
Korg Inc
Original Assignee
Korg Inc
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 Korg Inc filed Critical Korg Inc
Priority to JP2015028164A priority Critical patent/JP6455973B2/en
Publication of JP2016151628A publication Critical patent/JP2016151628A/en
Application granted granted Critical
Publication of JP6455973B2 publication Critical patent/JP6455973B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a music signal processing device and a program in which when a chord is inputted and pitch detection fails, avoidance is achieved free of a player's sense of discomfort.SOLUTION: The music signal processing device has: a pitch information processing circuit 40 for detecting a pitch from a music signal obtained by a pickup 5 and also outputting pitch detection success information indicating success or failure in pitch detection; a distortion signal generation circuit 35 for inputting the music signal obtained by the pickup 5 and generating a distortion signal based on it; an oscillator 30 for generating an oscillation signal corresponding to the pitch detected by the pitch information processing circuit 40; and an output control circuit for outputting the oscillation signal generated by the oscillator 30 when the pitch detection success information indicates that pitch detection is "Yes," or outputting the distortion signal generated by the distortion signal generation circuit 35 when the pitch detection success information indicates that pitch detection is "No."SELECTED DRAWING: Figure 1

Description

本発明は、電子弦楽器の楽音信号を処理する装置に係わり、特に電子ギターの楽音信号から検出されたピッチに基づいて発振器を駆動するギターシンセサイザにおいて、ピッチ検出エラー時の処理を行う装置やプログラムに関する。   The present invention relates to an apparatus for processing a musical tone signal of an electronic stringed instrument, and more particularly to an apparatus and a program for performing processing when a pitch detection error occurs in a guitar synthesizer that drives an oscillator based on a pitch detected from a musical tone signal of an electronic guitar. .

従来から「ギターシンセサイザ」と称されるものが提案されている。このギターシンセサイザは、電子ギター(電気ギター、エレキギター)の本体部に設けられたピックアップによって拾われる楽音信号に応じたピッチに基づいて、発振器を駆動することによって、シンセサイザ音の生成を行う装置である。換言すれば、このギターシンセサイザは、電子ギターの本体に設けられたピックアップによって検出される弦振動信号(演奏者の弦操作による弦振動に基づいて得られる電気信号)からピッチを検出し、この検出されたピッチに基づいてシンセサイザ音源を駆動することによって、シンセサイザ音を出力するものである。このギターシンセサイザに関しては多数の出願がなされている(特許文献1、特許文献2参照。)。   Conventionally, what is called a “guitar synthesizer” has been proposed. This guitar synthesizer is a device that generates a synthesizer sound by driving an oscillator based on a pitch corresponding to a tone signal picked up by a pickup provided in a main body of an electronic guitar (electric guitar, electric guitar). is there. In other words, this guitar synthesizer detects the pitch from the string vibration signal (electric signal obtained based on the string vibration by the player's string operation) detected by the pickup provided in the body of the electronic guitar, and this detection. The synthesizer sound is output by driving the synthesizer sound source based on the pitch that has been generated. Many applications have been filed for this guitar synthesizer (see Patent Document 1 and Patent Document 2).

また、ギターシンセサイザへの適用を行うべく、電子ギターの弦振動信号に基づいて行うピッチ検出の誤検出対策として、電子ギターのピッキング範囲の両端に第1のピックアップと第2のピックアップをそれぞれ設けたものが提案されている。この装置によれば、二つのピックアップのそれぞれから得られたピッチ情報が一致しない場合に、第1の方法(速度優先モード)として、第1のピックアップの出力から検出されたピッチ情報を出力するようにし、また、第2の方法(精度優先モード)として、同じピッチ情報が少なくとも2度検出されるまで待って、そのピッチ情報を出力しようとしている(特許文献3参照。)。このようにして、従来よりも正確かつ迅速にピッチ検出を行うようにしている。   In addition, in order to apply to a guitar synthesizer, a first pickup and a second pickup are provided at both ends of the picking range of the electronic guitar as countermeasures for erroneous detection of pitch detection based on the string vibration signal of the electronic guitar. Things have been proposed. According to this apparatus, when the pitch information obtained from each of the two pickups does not match, the pitch information detected from the output of the first pickup is output as the first method (speed priority mode). In addition, the second method (accuracy priority mode) waits until the same pitch information is detected at least twice and tries to output the pitch information (see Patent Document 3). In this way, pitch detection is performed more accurately and quickly than in the past.

特開平9−127951号公報(第2−3頁、第1図)JP-A-9-127951 (page 2-3, FIG. 1) 特開平9−288482号公報(第2−4頁、第1図)JP-A-9-288482 (page 2-4, FIG. 1) 特開平9−244634号公報(第1−4頁、第1図)Japanese Patent Laid-Open No. 9-244634 (page 1-4, FIG. 1)

しかしながら、従来のギターシンセサイザにあっては、演奏者が電子ギターの複数弦を同時に弾く場合、つまり和音を奏でる場合、厳密な対策を採っても電子ギターの出力信号のピッチ検出に失敗することがある。このような場合に備えた装置の構成は電子ギターの複数弦のそれぞれに対してピックアップを用意した大掛かりなものとなったり、または、ピッチ検出に失敗した場合に意図しないピッチの音が出力されてしまうため、楽音出力を停止することが必要になるなどの不都合があったので、このような不都合を克服する必要があった。   However, in a conventional guitar synthesizer, when a player plays multiple strings of an electronic guitar simultaneously, that is, when playing a chord, the pitch detection of the output signal of the electronic guitar may fail even if strict measures are taken. is there. The configuration of the device in such a case is a large-scale one with pickups prepared for each of the multiple strings of the electronic guitar, or an unintended pitch sound is output when pitch detection fails. For this reason, there is an inconvenience that it is necessary to stop the tone output, and it is necessary to overcome such an inconvenience.

本発明は、かかる従来の課題を解決するためになされたもので、和音が入力されピッチ検出に失敗して音程破壊が発生する場合であっても、演奏者の違和感をないようにしてその回避を行う楽音信号処理装置およびプログラムを提供することを目的とする。   The present invention has been made to solve such a conventional problem, and even when chords are input and pitch detection fails and pitch destruction occurs, avoiding the player from feeling uncomfortable. An object of the present invention is to provide a musical sound signal processing apparatus and program for performing the above.

上記目的を達成するために、本願発明者は、ピッチ検出に失敗するか、困難である場合などには、ギターシンセサイザの発振器由来の信号ではなく、入力信号を歪ませて出力する構成とすること、つまり、入力信号由来の信号で対応可能であることを見出した。   In order to achieve the above object, the present inventor shall be configured to distort and output an input signal instead of a signal derived from an oscillator of a guitar synthesizer when pitch detection fails or is difficult. That is, it has been found that it can be handled by a signal derived from an input signal.

つまり、本発明は、弦操作による弦振動信号を取り込むピックアップ(5)を備えた電子ギター(110)の楽音信号を処理する装置(100)であって、
前記ピックアップによって得られる楽音信号からピッチ検出を行うと共に、ピッチ検出の成否を示すピッチ検出成否情報を出力するピッチ情報処理手段(40)と、
前記ピックアップによって得られる前記楽音信号を入力しこれに基づいた歪信号を生成する歪信号生成手段(35)と、
前記ピッチ情報処理手段によって検出されたピッチに応じた発振信号を生成する発振器(30)と、
前記ピッチ検出成否情報がピッチの検出を正とする情報である場合には、前記発振器が生成した発振信号を出力する一方、前記ピッチ検出成否情報がピッチの検出を否とする情報である場合には、前記歪信号生成手段が生成した歪信号を出力する出力制御手段と、を備えたことを特徴とする。
That is, the present invention is an apparatus (100) for processing a musical sound signal of an electronic guitar (110) provided with a pickup (5) for capturing a string vibration signal by a string operation.
Pitch information processing means (40) for performing pitch detection from a musical sound signal obtained by the pickup and outputting pitch detection success / failure information indicating success or failure of pitch detection;
A distortion signal generation means (35) for inputting the musical sound signal obtained by the pickup and generating a distortion signal based on the music signal;
An oscillator (30) for generating an oscillation signal corresponding to the pitch detected by the pitch information processing means;
When the pitch detection success / failure information is information that positively detects the pitch, the oscillation signal generated by the oscillator is output, while the pitch detection success / failure information is information that rejects the pitch detection. Comprises output control means for outputting a distortion signal generated by the distortion signal generation means.

本発明によれば、ピッチ情報処理手段(40)は、電子ギター(110)に設けられたピックアップによって得られる楽音信号からピッチ検出を行うと共に、ピッチ検出の成否を示すピッチ検出成否情報を出力する。そして、出力制御手段は、ピッチ検出成否情報がピッチの検出を「正」とする情報である場合には、ピッチに応じた発振信号を生成する発振器(30)が生成した発振信号を出力する一方、ピッチ検出成否情報がピッチの検出を「否」とする情報である場合には、楽音信号を入力してこれに基づいて歪信号生成手段(35)が生成した歪信号を出力する。 According to the present invention, the pitch information processing means (40) performs pitch detection from a musical sound signal obtained by a pickup provided in the electronic guitar (110) and outputs pitch detection success / failure information indicating success or failure of the pitch detection. . The output control means outputs the oscillation signal generated by the oscillator (30) that generates the oscillation signal according to the pitch when the pitch detection success / failure information is information that sets the detection of the pitch to “positive”. If the pitch detection success / failure information is information indicating that the pitch detection is “No”, the musical tone signal is input, and the distortion signal generated by the distortion signal generation means (35) is output based on the musical sound signal.

したがって、電子ギター(110)の演奏者が和音を弾き、その楽音信号からピッチを検出できない場合であっても、歪信号生成手段(35)が生成した歪信号(歪波形)が出力される。この歪信号は、ピッチ不検出時にその出力が不安定となる発振器(30)が発振する信号ではない、つまり、ギターシンセサイザを構成する発振器由来の信号ではなく、入力信号由来の信号であり、演奏者の演奏した入力信号由来の信号が出力されることになる。よって、和音が入力されピッチ検出に失敗する場合であっても、その回避を演奏者の違和感が無いようにして行うことが可能になる。もちろん、このピッチデータの発振器(30)への供給を急に停止すると違和感がある。 Therefore, even when the player of the electronic guitar (110) plays a chord and the pitch cannot be detected from the musical tone signal, the distortion signal (distortion waveform) generated by the distortion signal generation means (35) is output. This distortion signal is not a signal oscillated by the oscillator (30) whose output becomes unstable when no pitch is detected, that is, a signal derived from the input signal, not a signal derived from the oscillator constituting the guitar synthesizer. A signal derived from the input signal performed by the person is output. Therefore, even when a chord is input and pitch detection fails, it is possible to avoid it without making the player feel uncomfortable. Of course, if the supply of the pitch data to the oscillator (30) is suddenly stopped, there is a sense of incongruity.

また、ピッチ検出成否情報を、1ビットの情報とすれば装置規模が小型化できるので好ましい。更に、前記出力制御手段は、前記1ビットのピッチ検出成否情報がピッチの検出を「否」とする情報である場合にその係数を零とする第1の乗算器(42)と、この1ビットのピッチ検出成否情報を反転させるNOT回路(46)と、このNOT回路の出力が、ピッチ成否情報を「否」とする情報である場合その係数を零とする第2の乗算器(44)と、前記第1の乗算器の出力と前記第2の乗算器の出力との加算を行う加算器(48)と、を含んで成る構成とすることができる。   Further, it is preferable that the pitch detection success / failure information is 1-bit information because the apparatus scale can be reduced. Further, the output control means includes a first multiplier (42) whose coefficient is zero when the 1-bit pitch detection success / failure information is information indicating that the pitch detection is “NO”, and the 1-bit A NOT circuit (46) for inverting the pitch detection success / failure information, and a second multiplier (44) that sets the coefficient to zero when the output of the NOT circuit is information that makes the pitch success / failure information "No". And an adder (48) for adding the output of the first multiplier and the output of the second multiplier.

この構成によれば、第1の乗算器(42)は1ビットのピッチ検出成否情報がピッチの検出を「否」とする情報である場合(例えば「0」)にその係数を零とするので、発振器(30)の出力が無効とされる反面、この場合にはNOT回路(46)の出力が、この「否」とする1ビット情報を反転させる(例えば「1」)、つまりピッチの検出を「正」とする情報とするので、歪信号生成手段(35)の出力はそのままである。その一方で、第1の乗算器(42)は、1ビットの検出成否情報がピッチの検出を「正」とする情報である場合(例えば「1」)には通常の係数が設定されるので、発振器(30)の発振信号がそのまま出力される反面、この場合にはNOT回路(46)の出力が、ピッチの検出を「否」とする情報となるので、歪信号生成手段(35)の出力は無効とされる。   According to this configuration, the first multiplier (42) sets the coefficient to zero when the 1-bit pitch detection success / failure information is information indicating that the pitch detection is “No” (for example, “0”). Although the output of the oscillator (30) is invalidated, in this case, the output of the NOT circuit (46) inverts the 1-bit information that is “No” (for example, “1”), that is, the pitch detection. Therefore, the output of the distortion signal generation means (35) remains the same. On the other hand, when the 1-bit detection success / failure information is information that sets the pitch detection to “positive” (for example, “1”), the first multiplier (42) sets a normal coefficient. In this case, since the oscillation signal of the oscillator (30) is output as it is, the output of the NOT circuit (46) becomes information indicating that the detection of the pitch is "No", so that the distortion signal generating means (35) Output is disabled.

したがって、この構成によれば、一対の乗算器と1個の論理回路と1個の加算器との極小規模のデジタル回路で、ピッチ成否情報の内容に応じた出力の変更制御、つまり、発振器と歪信号生成手段との出力変更制御を行うことが可能になる。   Therefore, according to this configuration, the output change control according to the contents of the pitch success / failure information, that is, the oscillator, is performed by an extremely small digital circuit including a pair of multipliers, one logic circuit, and one adder. It is possible to perform output change control with the distortion signal generation means.

また、本発明の他の態様は、弦操作による弦振動信号を取り込むピックアップ(11)を備えた電子ギター(110)の楽音信号を処理する装置(200)であって、
前記ピックアップ(11)で得られる楽音信号を第1の入力信号と第2の入力信号とに分けて入力する構成とし、
前記第1の入力信号と前記第2の入力信号とを加算した加算信号を出力する加算器(12)と、
前記加算信号からピッチ検出を行うと共に、ピッチ検出の成否を示すピッチ検出成否情報を出力するピッチ情報処理手段(40)と、
前記加算信号を入力しこれに基づいた歪み波形信号を生成する歪信号生成手段(35)と、
前記ピッチ情報処理手段によって検出されたピッチに応じた発振信号を生成する発振器(30)と、
前記発振器が生成した発振信号を出力するか、または、前記歪信号生成手段が生成した歪信号を出力する出力制御手段と、
前記第1の入力信号が第1の閾値を超えている場合に第1の情報を出力する第1の振幅判定手段(80)と、
前記第2の入力信号が第2の閾値を超えている場合に第2の情報を出力する第2の振幅判定手段(85)と、
前記第1の情報と前記第2の情報とが共に所定値である場合に第3の情報を出力する振幅情報出力手段と、を備え、
前記ピッチ検出成否情報がピッチの検出を否とする情報であり、かつ、前記振幅情報出力手段が前記第3の情報を出力する場合には、前記歪信号生成手段(35)が生成した歪信号を出力する構成であることを特徴とする。
Another aspect of the present invention is an apparatus (200) for processing a musical tone signal of an electronic guitar (110) equipped with a pickup (11) that captures a string vibration signal by a string operation.
The musical tone signal obtained by the pickup (11) is divided into a first input signal and a second input signal, and is input.
An adder (12) for outputting an addition signal obtained by adding the first input signal and the second input signal;
Pitch information processing means (40) for performing pitch detection from the addition signal and outputting pitch detection success / failure information indicating success or failure of the pitch detection;
Distortion signal generation means (35) for inputting the addition signal and generating a distortion waveform signal based on the input signal;
An oscillator (30) for generating an oscillation signal corresponding to the pitch detected by the pitch information processing means;
An output control means for outputting an oscillation signal generated by the oscillator, or for outputting a distortion signal generated by the distortion signal generation means;
First amplitude determining means (80) for outputting first information when the first input signal exceeds a first threshold;
Second amplitude determining means (85) for outputting second information when the second input signal exceeds a second threshold;
Amplitude information output means for outputting third information when the first information and the second information are both predetermined values;
When the pitch detection success / failure information is information for rejecting pitch detection and the amplitude information output means outputs the third information, the distortion signal generated by the distortion signal generation means (35). Is output.

この発明によれば、ピッチ情報処理手段(40)は、加算器(12)によって第1の入力信号と第2の入力信号とを加算した加算信号から、ピッチ検出を行うと共に、ピッチ検出の成否を示すピッチ検出成否情報を出力する。また、第1の振幅判定手段(80)および第2の振幅判定手段(85)は、ピックアップ(11)で得られる楽音信号を分けた第1の入力信号と第2の入力信号がそれぞれ第1、第2の閾値を超えている場合、第1、第2の情報(例えば1ビットの「1」)を出力する。また、振幅情報出力手段は、これらの出力を受け、第1の情報と第2の情報とが共に所定値である場合に第3の情報を出力する。更に、出力制御手段は、発振器が生成した発振信号を出力するか、または、歪信号生成手段が生成した歪信号を出力する。そして、ピッチ検出成否情報がピッチの検出を否とする情報である場合、または、振幅情報出力手段が第3の情報(例えば1ビットの「0」)を出力する場合には、もしくは、その双方の場合には、歪信号生成手段(35)が生成した歪信号が出力される。また、他の場合には発振器(30)の発振信号が出力される。双方の場合とは、前記ピッチ検出成否情報がピッチの検出を否とする情報である場合であり、かつ、前記振幅情報出力手段が前記第3の情報を出力する場合のことである。以下双方とはこのことを意味する。 According to this invention, the pitch information processing means (40) performs pitch detection from the addition signal obtained by adding the first input signal and the second input signal by the adder (12), and the success or failure of the pitch detection. Pitch detection success / failure information indicating is output. Further, the first amplitude determining means (80) and the second amplitude determining means (85) are configured such that the first input signal and the second input signal obtained by dividing the musical sound signal obtained by the pickup (11) are respectively the first input signal and the second input signal. When the second threshold value is exceeded, the first and second information (for example, “1” of 1 bit) is output. The amplitude information output means receives these outputs, and outputs the third information when the first information and the second information are both predetermined values. Further, the output control means outputs the oscillation signal generated by the oscillator, or outputs the distortion signal generated by the distortion signal generation means. When the pitch detection success / failure information is information for rejecting pitch detection, or when the amplitude information output means outputs third information (for example, 1-bit “0”), or both In this case, the distortion signal generated by the distortion signal generation means (35) is output. In other cases, the oscillation signal of the oscillator (30) is output. Both cases are cases where the pitch detection success / failure information is information for rejecting pitch detection, and the amplitude information output means outputs the third information. The following means both.

したがって、電子ギターの演奏者が和音を弾いたにもかかわらず、ピッチ処理手段が周期性を見出してしまうことによりピッチ検出成否情報を「正」としてしまう場合であっても、歪信号生成手段(35)が生成した歪波形が出力される。しかも、この歪波形の出力は、ピッチ検出成否情報がピッチの検出を「否」とする情報であり、かつ、振幅判定手段が第3の情報を出力する場合にのみ行われる。つまり、第1の入力信号(入力1)と第2の入力信号(入力2)とがそれぞれ第1、第2の閾値を超えている場合にのみ、換言すれば、第1の入力信号(入力1)と第2の入力信号(入力2)とが共に、弦が奏でられて鳴っているものである場合、またはピッチ検出成否情報がピッチの検出を「否」とする場合、もしくはその双方の場合に歪信号が出力されるので、より精度の高い和音検出を可能とした状態で歪信号を出力できる。 Therefore, even if the player of the electronic guitar plays a chord, even if the pitch processing means finds periodicity and the pitch detection success / failure information is “positive”, the distortion signal generating means ( The distortion waveform generated in step 35) is output. Moreover, the output of the distortion waveform is performed only when the pitch detection success / failure information is information indicating that the pitch detection is “no” and the amplitude determination means outputs the third information. That is, only when the first input signal (input 1) and the second input signal (input 2) exceed the first and second thresholds, in other words, the first input signal (input If both 1) and the second input signal (input 2) are played with strings being played, or if the pitch detection success / failure information indicates that the pitch detection is “NO”, or both In this case, a distortion signal is output, so that the distortion signal can be output in a state in which more accurate chord detection is possible.

この歪信号は、ピッチ不検出時にその出力が不安定となる発振器(30)が発振する信号ではない、つまり、ギターシンセサイザを構成する発振器由来の信号ではなく、演奏者の演奏由来の信号である。よって、和音が入力されピッチ検出に失敗しても、その回避を演奏者の違和感をないようにして行うことが可能になる。 This distortion signal is not a signal oscillated by the oscillator (30) whose output becomes unstable when the pitch is not detected, that is, a signal derived from the performance of the performer, not a signal derived from the oscillator constituting the guitar synthesizer. . Therefore, even when chords are input and pitch detection fails, it is possible to avoid the chord without making the player feel uncomfortable.

また、前記第1の振幅判定手段は、
前記第1の入力信号の包絡線を検出出力する第1のエンベロープ検出部(70)と、前記第1のエンベロープ検出部の出力結果が前記第1の閾値を超えている場合に前記第1の情報を出力する第1の信号処理部(80)と、含んで成り、
前記第2の振幅判定手段は、
前記第2の入力信号の包絡線を検出出力する第2のエンベロープ検出部(75)と、前記第2のエンベロープ検出部の出力結果が前記第2の閾値を超えている場合に前記第2の情報を出力する第2の信号処理部(85)と、含んで成り、
前記振幅情報出力手段は、
前記第1の信号処理部の出力および前記第2の信号処理部の出力を入力として論理積をとる論理積回路(90)と、を含んで成り、
前記第1の情報と前記第2の情報とは共に同じ論理をとり、前記第3の情報とは異なる論理でありこれらは1ビット情報であることを特徴とする。
In addition, the first amplitude determining means includes
A first envelope detector (70) that detects and outputs an envelope of the first input signal; and an output result of the first envelope detector exceeds the first threshold. A first signal processing unit (80) for outputting information,
The second amplitude determining means includes
A second envelope detector (75) for detecting and outputting an envelope of the second input signal, and the second envelope detector when the output result of the second envelope detector exceeds the second threshold. A second signal processing unit (85) for outputting information,
The amplitude information output means includes
A logical product circuit (90) that takes a logical product with the output of the first signal processing unit and the output of the second signal processing unit as inputs, and
The first information and the second information both have the same logic and are different from the third information, and are 1-bit information.

この構成によれば、第1および第2のエンベロープ検出部(70、75)はそれぞれ、第1、第2の入力信号の包絡線を検出出力する。更に、第1および第2の信号処理部(80、85)がそれぞれ、第1、第2のエンベロープ検出部(70、75)の出力結果が第1、第2の閾値を超えている場合に、第1、第2の情報を出力する。論理積回路(90)は、第1の信号処理部の出力および第2の信号処理部の出力を入力として論理積をとる。そして、第1、第2の情報は共に同じ論理をとり、第3の情報とは異なる論理であり、これら第1乃至第3の情報は1ビット情報である。   According to this configuration, the first and second envelope detectors (70, 75) detect and output the envelopes of the first and second input signals, respectively. Further, when the output results of the first and second envelope detection units (70, 75) exceed the first and second threshold values, respectively, in the first and second signal processing units (80, 85). The first and second information are output. The logical product circuit (90) takes a logical product with the output of the first signal processing unit and the output of the second signal processing unit as inputs. The first and second information both have the same logic and are different from the third information, and the first to third information is 1-bit information.

したがって、第1、第2の振幅判定手段はそれぞれ、第1、第2の入力信号のエンベロープを検出し、これがそれぞれの閾値を超えたか否かを判断するだけでの回路構成で良く、また、振幅情報出力手段が論理積をとるだけで良くなる。しかも第1乃至第3の所定の情報は1ビット論理値であるので、小規模の簡素な論理回路構成で対応可能となる。   Therefore, each of the first and second amplitude determining means may have a circuit configuration that only detects the envelopes of the first and second input signals and determines whether or not each exceeds the respective thresholds, The amplitude information output means only needs to take a logical product. Moreover, since the first to third predetermined information is a 1-bit logical value, it can be handled with a small and simple logic circuit configuration.

また、本発明の更に他の態様は、弦操作による弦振動信号を取り込むピックアップ(5)を備えた電子ギターの楽音信号を処理し、検出されたピッチに応じた発振信号を生成する発振器(30)を搭載した楽音信号処理装置(100)を動作させるためのプログラムであって、
前記ピックアップ(5)によって得られる楽音信号からピッチ検出を行うと共に、ピッチ検出の成否を示すピッチ検出成否情報を出力するピッチ情報処理機能と、
前記ピックアップ(5)によって得られる前記楽音信号を入力してそれに基づいた歪波形信号を生成する歪信号生成機能と、
前記ピッチ検出成否情報がピッチの検出を正とする情報である場合には、前記発振器(30)が生成した発振信号を出力する一方、前記ピッチ検出成否情報がピッチの検出を否とする情報である場合には、前記歪信号生成機能が生成した前記歪信号を出力する出力制御機能と、をコンピュータに実現するためのプログラムである。
According to still another aspect of the present invention, an oscillator (30) that processes a musical tone signal of an electronic guitar provided with a pickup (5) that captures a string vibration signal by a string operation and generates an oscillation signal corresponding to the detected pitch. ) Is a program for operating the musical sound signal processing device (100),
A pitch information processing function for performing pitch detection from a musical tone signal obtained by the pickup (5) and outputting pitch detection success / failure information indicating success or failure of pitch detection;
A distortion signal generation function for inputting the musical sound signal obtained by the pickup (5) and generating a distortion waveform signal based thereon;
When the pitch detection success / failure information is information that positively detects the pitch, the oscillation signal generated by the oscillator (30) is output, while the pitch detection success / failure information is information that rejects the pitch detection. In some cases, the program is a program for realizing in a computer an output control function for outputting the distortion signal generated by the distortion signal generation function.

このプログラム(ROM等の記録媒体に記録される)がCPU、DSP等のプロセッサによって実行されることによって、
ピックアップ(5)によって得られる楽音信号からピッチ検出を行うと共に、ピッチ検出の成否を示すピッチ検出成否情報を出力するピッチ情報処理機能と、
前記ピックアップ(5)によって得られる前記楽音信号を入力してそれに基づいた歪信号を生成する歪信号生成機能と、
前記ピッチ検出成否情報がピッチの検出を正とする情報である場合には、前記発振器(30)が生成した発振信号を出力する一方、前記ピッチ検出成否情報がピッチの検出を否とする情報である場合には、前記歪信号生成機能が生成した前記歪信号を出力する出力制御機能と、がコンピュータに実現される。
When this program (recorded on a recording medium such as a ROM) is executed by a processor such as a CPU or DSP,
A pitch information processing function for performing pitch detection from a musical tone signal obtained by the pickup (5) and outputting pitch detection success / failure information indicating success or failure of the pitch detection;
A distortion signal generation function for inputting the musical sound signal obtained by the pickup (5) and generating a distortion signal based thereon;
When the pitch detection success / failure information is information that positively detects the pitch, the oscillation signal generated by the oscillator (30) is output, while the pitch detection success / failure information is information that rejects the pitch detection. In some cases, an output control function for outputting the distortion signal generated by the distortion signal generation function is realized in a computer.

そして、ピッチ情報処理機能は、電子ギター(110)に設けられたピックアップ(5)によって得られる楽音信号からピッチ検出を行うと共に、ピッチ検出の成否を示すピッチ検出成否情報を出力する。そして、出力制御機能は、ピッチ検出成否情報がピッチの検出を「正」とする情報である場合には、ピッチに応じた発振信号を生成する発振器(30)が生成した発振信号を出力する一方、ピッチ検出成否情報がピッチの検出を「否」とする情報である場合には、楽音信号を入力してこれに基づいた歪信号を生成する歪信号生成機能が生成した歪信号を出力する。 The pitch information processing function performs pitch detection from a musical tone signal obtained by the pickup (5) provided in the electronic guitar (110) and outputs pitch detection success / failure information indicating success or failure of the pitch detection. The output control function outputs the oscillation signal generated by the oscillator (30) that generates the oscillation signal corresponding to the pitch when the pitch detection success / failure information is information that sets the detection of the pitch to “positive”. If the pitch detection success / failure information is information indicating that the pitch detection is “NO”, a distortion signal generated by a distortion signal generation function that inputs a musical sound signal and generates a distortion signal based on the musical sound signal is output.

したがって、電子ギター(110)の演奏者が和音を弾いて入力し、その楽音信号からピッチを検出できない場合であっても、歪波形が出力される。この歪波形は、ピッチ不検出時にその出力が不安定となる発振器(30)が発振する信号ではない、つまり、ギターシンセサイザを構成する発振器由来の信号ではなく、演奏者の演奏由来の信号である。よって、和音が入力されピッチ検出に失敗した場合であっても、その回避を演奏者の違和感が無いようにして行うことが可能になる。 Therefore, even if the player of the electronic guitar (110) plays a chord and inputs it and the pitch cannot be detected from the musical tone signal, a distorted waveform is output. This distorted waveform is not a signal oscillated by the oscillator (30) whose output becomes unstable when the pitch is not detected, that is, a signal derived from the performance of the performer, not a signal derived from the oscillator constituting the guitar synthesizer. . Therefore, even when a chord is input and pitch detection fails, the avoidance can be performed without causing the player to feel uncomfortable.

このようなプログラムをROM等の記録媒体に記録しておき、この記録したプログラムをCPUやDSP等のプロセッサ等が読み取って実行していくことによって、ピッチ情報処理機能等の各機能を実現することが可能である。   By recording such a program on a recording medium such as a ROM and reading and executing the recorded program by a processor such as a CPU or DSP, each function such as a pitch information processing function is realized. Is possible.

本発明によれば、和音が入力されピッチ検出に失敗した場合であっても、その回避を演奏者の違和感が無いようにして行うことが可能になる楽音信号処理装置やプログラムを実現できるという効果が得られる。 According to the present invention, even if a chord is input and pitch detection fails, it is possible to realize a musical tone signal processing apparatus and program that can perform avoidance without making the player feel uncomfortable. Is obtained.

楽音信号処理装置100の構成図である。1 is a configuration diagram of a musical sound signal processing apparatus 100. FIG. 電子弦楽器110(電子ギター)の構成の模式的な説明図である。It is typical explanatory drawing of a structure of the electronic stringed instrument 110 (electronic guitar). 楽音信号処理装置100のハードウエア構成図である。2 is a hardware configuration diagram of the musical tone signal processing apparatus 100. FIG. ピッチ情報処理回路40のピッチ検出動作の模式的説明図である。5 is a schematic explanatory diagram of a pitch detection operation of the pitch information processing circuit 40. FIG. 歪信号生成回路35の動作の模式的説明図である。6 is a schematic explanatory diagram of the operation of the distortion signal generation circuit 35. FIG. 楽音信号処理装置200の構成図である。1 is a configuration diagram of a musical sound signal processing device 200. FIG. 楽音信号処理装置210の構成図である。2 is a configuration diagram of a musical tone signal processing device 210. FIG.

以下、本発明を実施形態について図面を参照しつつ説明する。図1は本発明の第1実施形態の楽音信号処理100の構成図、図3はそのハードウエア構成図である。なお、第2実施形態にあってもハードウエア構成に相違はない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of the tone signal processing 100 of the first embodiment of the present invention, and FIG. 3 is a hardware block diagram thereof. Note that there is no difference in the hardware configuration even in the second embodiment.

(第1実施形態)
(構成)
図1に示すように、楽音信号処理100は、電子ギター(電気ギター、エレキギター)の本体部であるボディに設けられたピックアップ5で拾われた楽音信号を入力してアナログデジタル変換するA/D変換器10と、各種の信号処理回路と、この信号処理回路の出力結果をフィルタリングするフィルター回路50と、このフィルタリング結果をデジタルアナログ変換するD/A変換器20と、このデジタルアナログ変換されたアナログ信号を放音するためのスピーカ(SP)60と、を有して構成される。フィルター回路50としては通常、信号の平滑化を図るためにローパス型が採用されるがバンドパス型でもハイパス型でも良い。
(First embodiment)
(Constitution)
As shown in FIG. 1, the musical sound signal processing 100 is an analog / digital converter that inputs a musical sound signal picked up by a pickup 5 provided on a body that is a main body of an electronic guitar (electric guitar, electric guitar) and performs analog / digital conversion. D converter 10, various signal processing circuits, filter circuit 50 for filtering the output result of this signal processing circuit, D / A converter 20 for digital-to-analog conversion of this filtering result, and this digital-analog conversion And a speaker (SP) 60 for emitting an analog signal. As the filter circuit 50, a low-pass type is usually employed to smooth the signal, but it may be a band-pass type or a high-pass type.

上記信号処理回路として、ピッチ情報処理回路40、発振器30、歪信号生成回路35および出力制御回路がある。出力制御回路は、1対の乗算器42、44と、NOT回路46と、1対の乗算器42、44の出力結果を加算する加算器48と、を有して構成され、加算器48の出力はフィルター回路50に入力される。   Examples of the signal processing circuit include a pitch information processing circuit 40, an oscillator 30, a distortion signal generation circuit 35, and an output control circuit. The output control circuit includes a pair of multipliers 42 and 44, a NOT circuit 46, and an adder 48 that adds the output results of the pair of multipliers 42 and 44. The output is input to the filter circuit 50.

ピックアップ5は、演奏者の弦操作によって発生した弦振動の電気信号である弦振動信号を取り込むセンサであり電子ギターのボディに設けられる。電子ギターの簡単な構造については後述する。また、ピッチ情報処理回路40は、ピックアップ5によって得られる楽音信号(電子ギターの演奏音)からピッチ検出を行うと共に、ピッチ検出の成否を示すピッチ検出成否情報を出力する。装置規模の小型化のため、ピッチ検出成否情報は1ビットの情報である。具体的には、ピッチが検出された場合、つまりピッチ検出成否情報が「正」の場合には「1」であり、一方、ピッチが検出されなかった場合、つまりピッチ検出成否情報が「否」の場合には「0」である。 The pickup 5 is a sensor that takes in a string vibration signal, which is an electric signal of string vibration generated by the player's string operation, and is provided on the body of the electronic guitar. The simple structure of the electronic guitar will be described later. The pitch information processing circuit 40 performs pitch detection from a musical tone signal (performance sound of an electronic guitar) obtained by the pickup 5 and outputs pitch detection success / failure information indicating success or failure of the pitch detection. In order to reduce the size of the apparatus, the pitch detection success / failure information is 1-bit information. Specifically, when the pitch is detected, that is, when the pitch detection success / failure information is “positive”, it is “1”. On the other hand, when the pitch is not detected, that is, the pitch detection success / failure information is “No”. In this case, it is “0”.

図4はピッチ検出動作の模式的な説明図である。図4(a)に示すように、横軸を時間軸tとして、一波長の時間軸上での長さが等しい波でなる信号Aが入力されたとすると、ピッチ情報処理回路40は、一周期毎に周期を検出してき、注目する周期T1と次の周期T2とを検出・比較し、周期の長さが「T1≒T2」であるならば「ピッチ検出OK」として、ピッチ検出成否情報が「正:1」を出力する。一方、図4(b)に示すように、一波長の時間軸上での長さが不規則な波でなる山谷の繰り返しでなる信号Bが入力されたとすると、ピッチ情報処理回路40は、一周期毎に周期を検出してき、注目する周期T1と次の周期T2とを検出・比較し、周期の長さが「T1≠T2」であるので、「ピッチ検出NG」として、ピッチ検出成否情報「否:0」を出力する。このようにして、注目する信号の周期と次の周期とを検出・比較して、ピッチ検出、不検出の判定を行う。   FIG. 4 is a schematic explanatory diagram of the pitch detection operation. As shown in FIG. 4A, when a signal A composed of waves having the same length on the time axis of one wavelength is input with the horizontal axis as the time axis t, the pitch information processing circuit 40 has one cycle. The period is detected every time, and the target period T1 and the next period T2 are detected and compared. If the length of the period is “T1≈T2,” the pitch detection success information is “pitch detection OK”. "Correct: 1" is output. On the other hand, as shown in FIG. 4 (b), if a signal B consisting of a repetitive mountain-valley wave having an irregular length on the time axis of one wavelength is input, the pitch information processing circuit 40 The period is detected for each period, and the period T1 of interest and the next period T2 are detected and compared. Since the period length is “T1 ≠ T2,” the pitch detection success / failure information “ "No: 0" is output. In this way, the pitch detection and non-detection are determined by detecting and comparing the period of the signal of interest and the next period.

歪信号生成回路35は、ピックアップ5によって得られA/D変換器10によってアナログデジタル変換された、電子ギターの楽音信号を入力し、これに基づいた歪信号(歪波形)を生成する。図5は歪信号の生成の動作の説明図であり、横軸の「t」は時間軸を示す。図5(a)に示すサイン波状の入力信号Aは、増幅率が相当大きく設定された増幅器によって増幅されて、増幅波形Bとなる。次に、この増幅波形Bの上下がクリッピングされて歪信号Cが生成される。つまり、入力信号Aを増幅して増幅信号Bを得て、これをクリッピングして歪波形Cとしており、この増幅率は相当大きな値に設定している。   The distortion signal generation circuit 35 receives a musical sound signal of an electronic guitar obtained by the pickup 5 and analog-digital converted by the A / D converter 10 and generates a distortion signal (distortion waveform) based on the music signal. FIG. 5 is an explanatory diagram of the operation of generating a distortion signal, and “t” on the horizontal axis indicates the time axis. The sine wave input signal A shown in FIG. 5A is amplified by an amplifier whose amplification factor is set to be considerably large, and becomes an amplified waveform B. Next, the upper and lower sides of the amplified waveform B are clipped to generate a distortion signal C. That is, the input signal A is amplified to obtain an amplified signal B, which is clipped into a distorted waveform C, and this amplification factor is set to a considerably large value.

発振器30は、ピッチ情報処理回路40によって検出されたピッチに応じた発振信号を生成する。ピッチ情報処理回路40は、ピックアップ5が拾った電子ギターの楽音信号からピッチを検出し、検出したピッチに基づいて発振器30を駆動する構成であるので、ピックアップ5、ピッチ情報処理回路40、発振器30はギターシンセサイザを構成している。   The oscillator 30 generates an oscillation signal corresponding to the pitch detected by the pitch information processing circuit 40. Since the pitch information processing circuit 40 is configured to detect the pitch from the musical tone signal of the electronic guitar picked up by the pickup 5 and drive the oscillator 30 based on the detected pitch, the pickup 5, the pitch information processing circuit 40, and the oscillator 30 are configured. Constitutes a guitar synthesizer.

出力制御回路は、1ビットのピッチ検出成否情報がピッチの検出を「否」とする情報(「0」)である場合にその係数を零「0」とする乗算器42と、この1ビットのピッチ検出成否情報を反転させるNOT回路46と、このNOT回路46の出力が、ピッチ成否情報を「否」とする情報とする場合その係数を零「0」とする乗算器44と、乗算器42の出力と乗算器44の出力との加算を行う加算器48と、を含んで成る。乗算器42および乗算器44は、自身に与えられる係数信号が「0」の場合にはその係数を「0」とすると共に、自身に与えられる係数信号が「1」の場合にはその係数を「1」とする。乗算器42、乗算器44は、自身の係数が「1」である場合には通常の乗算動作を行う反面、自身の係数が「0」である場合には入力信号を無効とする。なお、通常時の係数は「1」とは限らない。   When the 1-bit pitch detection success / failure information is information (“0”) indicating that the pitch detection is “NO”, the output control circuit includes a multiplier 42 that sets the coefficient to zero “0”, and the 1-bit pitch detection success / failure information. A NOT circuit 46 for inverting the pitch detection success / failure information, a multiplier 44 for setting the coefficient to zero “0” when the output of the NOT circuit 46 is “no” for the pitch success / failure information, and a multiplier 42 And an adder 48 for adding the output of the multiplier 44 to the output of the multiplier 44. The multiplier 42 and the multiplier 44 set the coefficient to “0” when the coefficient signal given to itself is “0”, and set the coefficient to “0” when the coefficient signal given to itself is “1”. “1”. The multiplier 42 and the multiplier 44 perform normal multiplication operation when their own coefficient is “1”, but invalidate the input signal when their coefficient is “0”. The normal coefficient is not always “1”.

そして、ピッチ検出成情報が「1」の場合には、乗算器42の係数信号が「1」となり、乗算器42の動作が通常動作になり、発振器30からの発振信号が出力される。この時、NOT回路46の出力は「0」となり、乗算器44によって、歪信号生成回路35の出力に「0」が乗じられるので、歪信号生成回路35からの歪信号出力が無効とされる。   When the pitch detection information is “1”, the coefficient signal of the multiplier 42 is “1”, the operation of the multiplier 42 is the normal operation, and the oscillation signal from the oscillator 30 is output. At this time, the output of the NOT circuit 46 becomes “0”, and the multiplier 44 multiplies the output of the distortion signal generation circuit 35 by “0”, so that the distortion signal output from the distortion signal generation circuit 35 is invalidated. .

一方、ピッチ検出成否情報が「0」の場合には、NOT回路46の出力は「1」となり、乗算器44の動作が通常動作になり、歪信号生成回路35からの歪信号が出力される。この時、乗算器42の係数は「0」となって、発振器30からの発振信号に「0」が乗じられるので、発振器30からの発振信号が無効とされる。このようにして、出力制御回路は、ピッチ検出成否情報がピッチの検出を「正」とする情報である場合には、発振器30が生成した発振信号を出力する一方、ピッチ検出成否情報がピッチの検出を「否」とする情報である場合には、歪信号生成回路35が生成した歪信号を出力するように構成されている。   On the other hand, when the pitch detection success / failure information is “0”, the output of the NOT circuit 46 is “1”, the operation of the multiplier 44 is the normal operation, and the distortion signal is output from the distortion signal generation circuit 35. . At this time, the coefficient of the multiplier 42 is “0”, and the oscillation signal from the oscillator 30 is multiplied by “0”, so that the oscillation signal from the oscillator 30 is invalidated. In this way, the output control circuit outputs the oscillation signal generated by the oscillator 30 when the pitch detection success / failure information is information indicating that the pitch detection is “positive”, while the pitch detection success / failure information indicates the pitch detection success / failure information. In the case of information indicating “no” as the detection, the distortion signal generated by the distortion signal generation circuit 35 is output.

したがって、一対の乗算器42、44と1個のNOT回路46と加算器48との簡素なデジタル回路で、1ビットのピッチ検出成否情報の内容に応じて、発振器30と歪信号生成手段35との出力変更制御が可能になっている。   Therefore, a simple digital circuit including a pair of multipliers 42 and 44, a single NOT circuit 46, and an adder 48, and the oscillator 30 and the distortion signal generation means 35 according to the contents of 1-bit pitch detection success / failure information. Output change control is possible.

(ハードウエア構成)
図3は楽音信号処理装置100のハードウエアの構成図である。ハードウエアは、ピックアップ5と、CPU120と、ROM130と、RAM135と、A/D変換器10と、D/A変換器20と、発振器30と、歪信号生成回路35と、を有し構成され、各構成要素は、バス145を介して相互に所要の情報を通信可能に構成されている。CPU120は、動作プログラムやデータ等を記録した記録媒体であるROM130からプログラムを読み取ってこれを実行する。これにより装置の諸機能が実現される。この際、RAM135には、CPU120が動作プログラムを実行する演算過程での一時記憶領域等が形成される。
(Hardware configuration)
FIG. 3 is a hardware configuration diagram of the musical tone signal processing apparatus 100. The hardware includes a pickup 5, a CPU 120, a ROM 130, a RAM 135, an A / D converter 10, a D / A converter 20, an oscillator 30, and a distortion signal generation circuit 35. Each component is configured to be able to communicate required information with each other via a bus 145. The CPU 120 reads the program from the ROM 130 which is a recording medium on which an operation program, data, and the like are recorded, and executes the program. Thereby, various functions of the apparatus are realized. At this time, the RAM 135 is formed with a temporary storage area or the like in the calculation process in which the CPU 120 executes the operation program.

入力される楽音信号に基づいて歪信号を生成する歪信号生成回路35、発振信号を出力する発振器30はハードウエアとして構成しても良いが、DSP、CPU等のプロセッサがソフトウエアによる信号処理を行うことによっても実現可能である。つまり、図1の各回路は、CPU、DSP等のプロセッサがROM130に記録されたプログラムを実行することによっても実現可能である。   The distortion signal generation circuit 35 that generates a distortion signal based on the input musical sound signal and the oscillator 30 that outputs an oscillation signal may be configured as hardware, but a processor such as a DSP or CPU performs signal processing by software. It can also be realized by doing. That is, each circuit in FIG. 1 can also be realized by executing a program recorded in the ROM 130 by a processor such as a CPU or DSP.

(電子ギターの構成)
図2は電子弦楽器の一例としての電子ギター110の本体部近傍の模式的な構成図である。電子ギター110は、本体部であるボディ3と、これに繋がりその延在方向にフレットが設けられるネック6と、不図示のヘッドとを有して構成される。図2では説明の容易化のため破断線Aで電子ギター110を切断した状態の構成を模式的に示す。ボディ3の中央下部にはブリッジ3が設けられ、このブリッグ3には6本の弦Gの一端側が固定されており、弦Gの他端側は上記のヘッドに固定されて、弦Gは張設されている。ブリッジ4のネック6側には、例えばマグネットタイプのピックアップ5が設けられていて、弦Gの弦操作による弦振動を電気信号として拾って、図1に示した楽音信号処理装置100に入力するように構成されている。
(Configuration of electronic guitar)
FIG. 2 is a schematic configuration diagram in the vicinity of the main body of an electronic guitar 110 as an example of an electronic stringed instrument. The electronic guitar 110 includes a body 3 as a main body, a neck 6 connected to the body 3 and provided with frets in the extending direction thereof, and a head (not shown). FIG. 2 schematically shows a configuration in which the electronic guitar 110 is cut along the breaking line A for ease of explanation. A bridge 3 is provided at the lower center of the body 3, and one end side of six strings G is fixed to the brig 3, and the other end side of the string G is fixed to the head, and the string G is stretched. It is installed. For example, a magnet type pickup 5 is provided on the neck 6 side of the bridge 4 so that the string vibration caused by the string operation of the string G is picked up as an electric signal and input to the musical tone signal processing apparatus 100 shown in FIG. It is configured.

ボディ3の図面下には、演奏信号を出力するための出力端子7、トーンを変更するためのトーン調整ボタン8、音量調整するためのボリーム9が設けられている。そして、この実施形態にあっては、ピックアップ5からの信号を入力して信号処理するための楽音信号処理装置100が、ボディ3の裏側に装着されている。なお、ボディ3の形状、ピックアップ5の種類や形状、楽音信号処理装置100の取り付け位置等は適宜変更しうる。また、楽音信号処理装置100の信号を出力するモニタ端子等も適宜設定しうる。かくして、弦操作による弦の振動に応じた弦振動信号がピックアップ5から入力され、この入力された電子ギター音が信号処理される。   Below the body 3, an output terminal 7 for outputting a performance signal, a tone adjustment button 8 for changing the tone, and a volume 9 for adjusting the volume are provided. In this embodiment, a tone signal processing device 100 for inputting a signal from the pickup 5 and processing the signal is mounted on the back side of the body 3. The shape of the body 3, the type and shape of the pickup 5, the mounting position of the musical tone signal processing device 100, and the like can be changed as appropriate. Also, a monitor terminal for outputting a signal of the musical tone signal processing apparatus 100 can be set as appropriate. Thus, a string vibration signal corresponding to the string vibration caused by the string operation is input from the pickup 5, and the input electronic guitar sound is signal-processed.

(動作)
次に、楽音信号処理装置100の動作について説明する。電子ギター110の本体であるボディ3の表面に設けられたピックアップ5によって拾われた弦振動信号は楽音信号として入力されてA/D変換器10によってアナログデジタル変換される。このアナログデジタル変換された楽音信号は、ピッチ情報処理回路40と歪信号生成回路35とに入力される。
(Operation)
Next, the operation of the musical tone signal processing apparatus 100 will be described. The string vibration signal picked up by the pickup 5 provided on the surface of the body 3 which is the main body of the electronic guitar 110 is input as a musical sound signal and is converted from analog to digital by the A / D converter 10. The analog-digital converted musical sound signal is input to the pitch information processing circuit 40 and the distortion signal generation circuit 35.

ピッチ情報処理回路40においては、入力されたデジタルの楽音信号に基づいて、先に説明したようにしてピッチの検出を試みる。この結果、ピッチ検出された場合には、検出されたピッチの情報をピッチデータとして発振器30に送信すると共に、ピッチ検出成否情報としてピッチ検出できたこと(OK)を示す1ビットの情報である「1」を出力する。一方、複数所定回数トライしてもピッチが固定値にならない場合にはピッチデータは安定しないものとなる。この時、ピッチ情報処理回路40は、ピッチ検出成否情報としてピッチ検出できないこと(NG)を示す1ビットの情報である「0」を出力する。   The pitch information processing circuit 40 attempts to detect the pitch as described above based on the input digital musical tone signal. As a result, when the pitch is detected, the information on the detected pitch is transmitted to the oscillator 30 as pitch data, and 1-bit information indicating that the pitch has been detected (OK) as the pitch detection success / failure information. 1 "is output. On the other hand, if the pitch does not become a fixed value after a plurality of predetermined times, the pitch data is not stable. At this time, the pitch information processing circuit 40 outputs “0” which is 1-bit information indicating that the pitch cannot be detected (NG) as the pitch detection success / failure information.

ピッチ検出成否情報が「1」の場合には、NOT回路46の出力は「0」となり、乗算器44は、係数信号「0」が与えられるのでその係数は「0」となって、歪信号生成回路35からの歪信号には「0」が乗算されてその出力は無効とされる。一方、ピッチ検出成否情報が「0」の場合には、乗算器42は、係数信号「0」が与えられるのでその係数は「0」となって、発振器30からの発振信号には「0」が乗算されてその出力は無効とされる。かくして、ピッチ検出成否情報がピッチの検出を「正」とする情報(この例では「1」)である場合には、発振器30が生成した発振信号を出力する一方、ピッチ検出成否情報がピッチの検出を「否」とする情報(この例では「0」)である場合には、歪信号生成回路35が生成した歪信号を出力する。   When the pitch detection success / failure information is “1”, the output of the NOT circuit 46 is “0”, and the multiplier 44 is given the coefficient signal “0”, so that the coefficient is “0”, and the distortion signal The distortion signal from the generation circuit 35 is multiplied by “0” and its output is invalidated. On the other hand, when the pitch detection success / failure information is “0”, the multiplier 42 is given the coefficient signal “0”, so the coefficient is “0”, and the oscillation signal from the oscillator 30 is “0”. Is multiplied and the output is invalidated. Thus, when the pitch detection success / failure information is information (“1” in this example) that makes the pitch detection “positive”, the oscillation signal generated by the oscillator 30 is output, while the pitch detection success / failure information is the pitch detection success / failure information. When the information is “No” for detection (“0” in this example), the distortion signal generated by the distortion signal generation circuit 35 is output.

以上に説明してきたように、第1実施形態によれば、ピッチ情報処理回路40は、電子ギター110に設けられたピックアップ5によって得られる楽音信号からピッチ検出を行うと共に、ピッチ検出の成否を示すピッチ検出成否情報を出力する。そして、出力制御回路は、ピッチ検出成否情報がピッチの検出を「正」とする場合には、ピッチに応じた発振信号を生成する発振器30が生成した発振信号を出力する一方、ピッチ検出成否情報がピッチの検出を「否」とする場合には、楽音信号を入力してこれに基づいた歪信号を生成する歪信号生成回路35が生成した歪信号を出力する。 As described above, according to the first embodiment, the pitch information processing circuit 40 performs pitch detection from the musical sound signal obtained by the pickup 5 provided in the electronic guitar 110 and indicates success or failure of the pitch detection. Outputs pitch detection success / failure information. When the pitch detection success / failure information sets the pitch detection to “positive”, the output control circuit outputs the oscillation signal generated by the oscillator 30 that generates the oscillation signal corresponding to the pitch, while the pitch detection success / failure information If the pitch detection is “NO”, the musical tone signal is input, and the distortion signal generated by the distortion signal generation circuit 35 that generates the distortion signal based on this is output.

したがって、電子ギターの演奏者が和音を弾いて入力し、その楽音信号からピッチを検出できない場合であっても、歪信号生成回路35が生成した歪信号が出力されるが、この歪信号は、ピッチ不検出時にその出力が不安定となる発振器30が発振する信号ではない。この歪信号は、ギターシンセサイザを構成する発振器30由来の信号ではなく、入力信号由来の波形である。つまり、この入力信号由来の信号が出力されることになり、和音が入力されピッチ検出に失敗した場合にであっても、その回避を演奏者の違和感が無いようにして行うことが可能になる。もちろん、このピッチデータの発振器30への供給を急に停止すると違和感がある。 Therefore, even if the player of the electronic guitar plays a chord and inputs it and the pitch cannot be detected from the musical tone signal, the distortion signal generated by the distortion signal generation circuit 35 is output. This is not a signal oscillated by the oscillator 30 whose output becomes unstable when no pitch is detected. This distortion signal is not a signal derived from the oscillator 30 constituting the guitar synthesizer but a waveform derived from the input signal. In other words, a signal derived from this input signal is output, and even when a chord is input and pitch detection fails, it is possible to avoid it without making the player feel uncomfortable. . Of course, if the supply of the pitch data to the oscillator 30 is suddenly stopped, there is a sense of incongruity.

(第2実施形態)
(構成)
図6は本発明の第2実施形態である楽音信号処理装置200の構成図である。この実施形態は、和音時であることの検出精度を高める点に特徴がある。この楽音信号処理装置200は、ピックアップ11で得られる楽音信号を第1の入力信号(入力1)と第2の入力信号(入力2)とに分けて入力する構成としている。例えば、ピックアップ11をピエゾ式として、1番目〜3番目の弦から得られる信号(第1の入力信号)をA/D変換器10の入力とすると共に、4番目〜6番目の弦から得られる信号(第2の入力信号)をA/D変換器15の入力とする。
(Second Embodiment)
(Constitution)
FIG. 6 is a block diagram of a musical tone signal processing apparatus 200 according to the second embodiment of the present invention. This embodiment is characterized in that the detection accuracy of the chord time is improved. The musical tone signal processing apparatus 200 is configured to separately input a musical tone signal obtained by the pickup 11 into a first input signal (input 1) and a second input signal (input 2). For example, the pickup 11 is a piezo type, and a signal (first input signal) obtained from the first to third strings is input to the A / D converter 10 and is obtained from the fourth to sixth strings. The signal (second input signal) is used as the input of the A / D converter 15.

また、楽音信号処理装置200は、第1の入力信号と第2の入力信号とを加算した加算信号を出力する加算器12と、加算信号からピッチ検出を行うと共に、ピッチ検出の成否を示すピッチ検出成否情報を出力するピッチ情報処理回路40と、加算信号を入力しこれに基づいた歪み波形信号を生成する歪信号生成回路35と、ピッチ情報処理回路40によって検出されたピッチに応じた発振信号を生成する発振器30と、発振器30が生成した発振信号を出力するか、または、歪信号生成回路35が生成した歪信号を出力する出力制御回路と、この回路の出力を入力してフィルタリングするフィルター回路50と、このフィリタリング結果をデジタルアナログ変換するD/A変換器20と、このアナログ化された信号を放音するためのスピーカ(SP)60と、を有している。   The musical tone signal processing apparatus 200 also outputs an adder 12 that outputs an addition signal obtained by adding the first input signal and the second input signal, and detects the pitch from the addition signal and indicates the success or failure of the pitch detection. A pitch information processing circuit 40 that outputs detection success / failure information, a distortion signal generation circuit 35 that inputs an addition signal and generates a distortion waveform signal based on the addition signal, and an oscillation signal corresponding to the pitch detected by the pitch information processing circuit 40 That outputs an oscillation signal generated by the oscillator 30, or an output control circuit that outputs a distortion signal generated by the distortion signal generation circuit 35, and a filter that inputs and filters the output of this circuit A circuit 50, a D / A converter 20 for digital-to-analog conversion of the filtering result, and a speaker for emitting the analogized signal. (SP) has a 60.

更に、楽音信号処理装置200は、A/D変換器10の出力を入力しエンベロープ(ENV1信号)を検出出力するエンベロープ検出回路70(第1のエンベロープ検出部)と、このエンベロープ検出回路70の出力結果が第1の閾値を超えている場合に「1」(第1の所定値)を出力するENV1信号処理回路80(第1の信号処理部)と、A/D変換器15の出力信号を入力しエンベロープ(ENV2信号)を検出出力するエンベロープ検出回路75(第2のエンベロープ検出部)と、このエンベロープ検出回路75の出力結果が第2の閾値を超えている場合に「1」(第2の所定値)を出力するENV2信号処理回路85(第2の信号処理部)と、を有している。ここで、入力1と入力2で入力レベルに差がある場合には、第1の閾値、第2の閾値を個別に設定するしておけばよい。 Further, the musical tone signal processing apparatus 200 receives an output of the A / D converter 10 and detects an envelope (ENV1 signal) and outputs an envelope (ENV1 signal), and an output of the envelope detection circuit 70. The ENV1 signal processing circuit 80 (first signal processing unit) that outputs “1” (first predetermined value) when the result exceeds the first threshold, and the output signal of the A / D converter 15 An envelope detection circuit 75 (second envelope detection unit) that inputs and detects and outputs an envelope (ENV2 signal), and “1” (second output) when the output result of the envelope detection circuit 75 exceeds the second threshold value ENV2 signal processing circuit 85 (second signal processing unit) that outputs a predetermined value). Here, when there is a difference in the input level between the input 1 and the input 2, the first threshold value and the second threshold value may be set individually.

更にまた、ENV1信号処理回路80の出力およびENV1信号処理回路85の出力を入力として論理積をとるAND回路90と、このAND回路90の出力の反転を出力するNOT回路92と、を有している。そして、AND回路94は、ピッチ検出成否情報とNOT回路92の出力とを入力としてこれらの論理積をとって出力する。ENV1信号処理回路80やENV1信号処理回路85の出力を1ビットの情報として回路規模を小型化することができる。 Furthermore, an AND circuit 90 that performs an AND operation using the output of the ENV1 signal processing circuit 80 and the output of the ENV1 signal processing circuit 85 as inputs, and a NOT circuit 92 that outputs an inversion of the output of the AND circuit 90 is provided. Yes. The AND circuit 94 receives the pitch detection success / failure information and the output of the NOT circuit 92 as inputs and outputs a logical product of these. The circuit scale can be reduced by using the output of the ENV1 signal processing circuit 80 or the ENV1 signal processing circuit 85 as 1-bit information.

(動作)
次に、楽音信号処理装置200の動作について説明する。電子ギター110の本体であるボディ3の表面に設けられたピックアップ11によって拾われた弦振動信号は楽音信号として入力されて、A/D変換器10およびA/D変換器15のそれぞれによって、アナログデジタル変換される。この構成例では、1番目乃至3番目の弦の操作による楽音信号は1乃至3番目の弦に対応するピックアップ部分から入力されA/D変換器10によりデジタルアナログ変換されると共に、4番目乃至6番目の弦の操作による楽音信号は4乃至6番目の弦に対応するピックアップ部分から入力されA/D変換器15によってデジタルアナログ変換される。
(Operation)
Next, the operation of the musical tone signal processing apparatus 200 will be described. The string vibration signal picked up by the pickup 11 provided on the surface of the body 3 which is the main body of the electronic guitar 110 is inputted as a musical sound signal, and is analogized by each of the A / D converter 10 and the A / D converter 15. Digitally converted. In this configuration example, the musical tone signals generated by operating the first to third strings are input from the pickup portion corresponding to the first to third strings, and are converted from digital to analog by the A / D converter 10, and the fourth to sixth are selected. The tone signal generated by the operation of the second string is input from the pickup portion corresponding to the fourth to sixth strings and is converted from digital to analog by the A / D converter 15.

そして、A/D変換器10によってデジタル化された楽音信号はエンベロープ検出回路70に入力され、また、A/D変換器15によってデジタル化された楽音信号はエンベロープ検出回路75に入力される。また、A/D変換器10によってデジタル化された楽音信号と、A/D変換器15によってデジタル化された楽音信号は、加算器12によって加算される。加算器12の加算結果は、ピッチ情報処理回路40と歪信号生成回路35とに入力される。 The musical sound signal digitized by the A / D converter 10 is input to the envelope detection circuit 70, and the musical sound signal digitized by the A / D converter 15 is input to the envelope detection circuit 75. The tone signal digitized by the A / D converter 10 and the tone signal digitized by the A / D converter 15 are added by the adder 12. The addition result of the adder 12 is input to the pitch information processing circuit 40 and the distortion signal generation circuit 35.

ピッチ情報処理回路40においては、入力されたデジタルの楽音信号に基づいて、先に説明したようにしてピッチの検出を試みる。この結果、ピッチ検出された場合には、検出されたピッチの情報をピッチデータとして発振器30に送信すると共に、ピッチ検出成否情報としてピッチ検出できたこと(OK)を示す1ビットの情報である「1」を出力する。一方、複数所定回数トライしてもピッチが固定値にならない場合にはピッチデータは安定しないものとなる。この時、ピッチ情報処理回路40は、ピッチ検出成否情報としてピッチ検出できないこと(NG)を示す1ビットの情報である「0」を出力する。   The pitch information processing circuit 40 attempts to detect the pitch as described above based on the input digital musical tone signal. As a result, when the pitch is detected, the information on the detected pitch is transmitted to the oscillator 30 as pitch data, and 1-bit information indicating that the pitch has been detected (OK) as the pitch detection success / failure information. 1 "is output. On the other hand, if the pitch does not become a fixed value after a plurality of predetermined times, the pitch data is not stable. At this time, the pitch information processing circuit 40 outputs “0” which is 1-bit information indicating that the pitch cannot be detected (NG) as the pitch detection success / failure information.

次に、ピッチ検出成否情報が「1」の場合には、NOT回路46の出力は「0」となり、乗算器44は、係数信号「0」が与えられるのでその係数は「0」となって、歪信号生成回路35からの歪信号には「0」が乗算されてその出力は無効とされる。一方、ピッチ検出成否情報が「0」の場合には、乗算器42は、係数信号「0」が与えられるのでその係数は「0」となって、発振器30からの発振信号には「0」が乗算されてその出力は無効とされる。かくして、ピッチ検出成否情報がピッチの検出を「正」とする情報(この例では「1」)である場合には、発振器30が生成した発振信号を出力する一方、ピッチ検出成否情報がピッチの検出を「否」とする情報(この例では「0」)である場合には、歪信号生成回路35が生成した歪信号を出力する。   Next, when the pitch detection success / failure information is “1”, the output of the NOT circuit 46 is “0”, and the multiplier 44 is given the coefficient signal “0”, so the coefficient is “0”. The distortion signal from the distortion signal generation circuit 35 is multiplied by “0” and its output is invalidated. On the other hand, when the pitch detection success / failure information is “0”, the multiplier 42 is given the coefficient signal “0”, so the coefficient is “0”, and the oscillation signal from the oscillator 30 is “0”. Is multiplied and the output is invalidated. Thus, when the pitch detection success / failure information is information (“1” in this example) that makes the pitch detection “positive”, the oscillation signal generated by the oscillator 30 is output, while the pitch detection success / failure information is the pitch detection success / failure information. When the information is “No” for detection (“0” in this example), the distortion signal generated by the distortion signal generation circuit 35 is output.

また、エンベロープ検出回路70およびエンベロープ検出回路75はそれぞれ、入力信号のエンベロープを検出し、これをENV1信号処理回路80、ENV2信号処理回路85に出力する。次いで、ENV1信号処理回路80およびENV2信号処理回路85はそれぞれ、入力されたエンベロープ信号ENV1信号、ENV2信号が第1の閾値、第2の閾値を超えるか否かを判定する。そして、ENV1信号処理回路80およびENV2信号処理回路85は、入力信号ENV1、ENV2がそれぞれに対応する閾値を超えたと判定した場合には「1」をこれ以外の場合には「0」を出力する。AND回路90は、ENV1信号処理回路80とENV2信号処理回路85の出力を入力として論理積をとり、その出力はNOT回路92で反転される。つまり、入力1と入力2とが、それぞれ第1、第2の閾値を超えている場合にのみ、換言すれば、前述した第1の入力信号(入力1)と第2の入力信号(入力2)とが共に、弦が奏でられて鳴っているものである場合にのみ、NOT回路92が「0」となる。 The envelope detection circuit 70 and the envelope detection circuit 75 detect the envelope of the input signal, and output this to the ENV1 signal processing circuit 80 and the ENV2 signal processing circuit 85, respectively. Next, the ENV1 signal processing circuit 80 and the ENV2 signal processing circuit 85 respectively determine whether or not the input envelope signal ENV1 signal and ENV2 signal exceed the first threshold value and the second threshold value. The ENV1 signal processing circuit 80 and the ENV2 signal processing circuit 85 output “1” when it is determined that the input signals ENV1 and ENV2 have exceeded the corresponding threshold values, and “0” otherwise. . The AND circuit 90 takes a logical product with the outputs of the ENV1 signal processing circuit 80 and the ENV2 signal processing circuit 85 as inputs, and the output is inverted by a NOT circuit 92. That is, only when the input 1 and the input 2 exceed the first and second threshold values, respectively, in other words, the first input signal (input 1) and the second input signal (input 2) described above. )), The NOT circuit 92 becomes “0” only when the string is played and played.

そして、AND回路94は、ピッチ検出成否情報とNOT回路92との論理積をとりこれを出力する。つまり、ピッチ検出成否情報が「1」であったとしてもNOT回路92の出力が「0」となってなければ、和音の入力に対応して歪信号生成回路35からの歪信号が出力されるので、和音時であることの検出精度を高めることになる。 The AND circuit 94 takes a logical product of the pitch detection success / failure information and the NOT circuit 92 and outputs the logical product. That is, even if the pitch detection success / failure information is “1”, if the output of the NOT circuit 92 is not “0”, a distortion signal is output from the distortion signal generation circuit 35 corresponding to the input of the chord. Therefore, the detection accuracy for the chord time is improved.

以上説明してきたように、第2実施形態によれば、ピッチ情報処理回路40は、加算器12によって第1の入力信号と第2の入力信号とを加算した加算信号からピッチ検出を行うと共にピッチ検出成否情報を出力する。また、第1のENV1信号処理回路80およびENV2信号処理回路85は、ピックアップで11得られる楽音信号を分けた第1の入力信号と第2の入力信号がそれぞれ第1、第2の閾値を超えている場合に「1」を出力し、AND回路90はこの出力を受け、共に「1」である場合に「1」を出力する。そして、AND回路94は、ピッチ検出成否情報がピッチの検出を「否」とする「0」である場合、または、AND回路90を反転したNOT回路92の出力が「0」を出力する場合、もしくはその双方が「0」の場合には「0」となって、NOT回路46が「1」を出力するので、歪信号生成回路35が生成した歪信号を出力する。 As described above, according to the second embodiment, the pitch information processing circuit 40 performs pitch detection from the addition signal obtained by adding the first input signal and the second input signal by the adder 12 and the pitch. Outputs detection success / failure information. Further, the first ENV1 signal processing circuit 80 and the ENV2 signal processing circuit 85 are such that the first input signal and the second input signal obtained by dividing the musical tone signal obtained by the pickup 11 exceed the first and second threshold values, respectively. “1” is output when the output is “0”, and the AND circuit 90 receives this output and outputs “1” when both are “1”. And, when the pitch detection success / failure information is “0”, in which the detection of the pitch is “No”, or when the output of the NOT circuit 92 obtained by inverting the AND circuit 90 outputs “0”, Alternatively, when both are “0”, it becomes “0” and the NOT circuit 46 outputs “1”, so that the distortion signal generated by the distortion signal generation circuit 35 is output.

したがって、電子ギターの演奏者が和音を弾いたにもかかわらず、その楽音信号から、ピッチ情報処理回路40がピッチの検出を「正」としてしまうような場合であっても、歪信号生成回路35が生成した歪信号が出力される。ピッチ検出成否情報がピッチの検出を「否」としている場合、または、入力1と入力2とがそれぞれ第1、第2の閾値を超えている場合、もしくはその双方の場合、歪信号が出力されるので、より精度の高い和音検出による歪信号の出力が可能となる。 Therefore, even when the player of the electronic guitar plays a chord, even if the pitch information processing circuit 40 makes the detection of the pitch “positive” from the musical tone signal, the distortion signal generation circuit 35. The distortion signal generated by is output. When the pitch detection success / failure information indicates that the pitch is detected as “No”, or when the input 1 and the input 2 exceed the first and second threshold values, respectively, or both, a distortion signal is output. Therefore, it is possible to output a distortion signal by more accurate chord detection.

(変形例)
図6は第2実施形態の変形例の構成図である。異なる点は、図2に示す「ENV1信号処理回路80、ENV2信号処理回路85、AND回路90、NOT回路92」の代わりに信号制御回路150を設けた点にある。この信号制御回路150は、ENV1信号およびENV2信号が共に「1」である場合に、「0」を出力する機能を有した構成とすれば、図6に示す「ENV1信号処理回路80、ENV2信号処理回路85、AND回路90、NOT回路92」の一連の回路と同機能を有する。この信号制御回路150は、例えばカスタムIC化したり、CPU120が実行するプログラムを変更したりすることで実現し得る。このようにして、本実施形態の楽音信号100、200の一部を適宜一体化してハードウエアやソフトウエアによって実現することは可能である。
(Modification)
FIG. 6 is a configuration diagram of a modification of the second embodiment. The difference is that a signal control circuit 150 is provided instead of the “ENV1 signal processing circuit 80, ENV2 signal processing circuit 85, AND circuit 90, NOT circuit 92” shown in FIG. If the signal control circuit 150 has a function of outputting “0” when both the ENV1 signal and the ENV2 signal are “1”, the “ENV1 signal processing circuit 80, ENV2 signal shown in FIG. It has the same function as a series of processing circuit 85, AND circuit 90, and NOT circuit 92 ". The signal control circuit 150 can be realized, for example, by making a custom IC or changing a program executed by the CPU 120. In this way, a part of the musical sound signals 100 and 200 of the present embodiment can be appropriately integrated and realized by hardware or software.

そして、以上述べてきたような楽音信号処理装置100、200の動作は、CPU120がROM130に記録された装置動作のためのプログラムを実行することによって実現することが可能である。また、以上の実施形態において様々な変形例が挙げられる。例えば、電子ギターの弦数が6弦以外となったり、歪信号生成時のクリッピング位置を変えたり、ピックアップの種類を変更したりする等が挙げられるが、本発明の範囲はここに記載したもののみではないことは言うまでもない。   The operation of the musical tone signal processing devices 100 and 200 as described above can be realized by the CPU 120 executing a program for device operation recorded in the ROM 130. Moreover, various modifications are mentioned in the above embodiment. For example, the number of strings of the electronic guitar may be other than six, the clipping position at the time of distortion signal generation may be changed, the type of pickup may be changed, and the scope of the present invention is described here It goes without saying that it is not only.

以上説明してきたように、本発明の楽音信号処理装置は、音楽分野、特に電子ギターに適用することができる。   As described above, the musical sound signal processing apparatus of the present invention can be applied to the music field, particularly to an electronic guitar.

5 ピックアップ
10 A/D変換器
11 ピックアップ
12 加算器
15 A/D変換器
20 D/A変換器
30 発振器
35 歪信号生成回路
42 乗算器
44 乗算器
46 NOT回路
48 加算器
50 フィルター回路
70 エンベロープ回路
75 エンベロープ回路
80 ENV1信号処理回路
85 ENV2信号処理回路
90 AND回路
92 NOT回路
94 AND回路
100 楽音信号処理装置
110 電子弦楽器(電子ギター)
150 信号処理回路
200 楽音信号処理装置
210 楽音信号処理装置
5 Pickup 10 A / D Converter 11 Pickup 12 Adder 15 A / D Converter 20 D / A Converter 30 Oscillator 35 Distortion Signal Generation Circuit 42 Multiplier 44 Multiplier 46 NOT Circuit 48 Adder 50 Filter Circuit 70 Envelope Circuit 75 Envelope circuit 80 ENV1 signal processing circuit 85 ENV2 signal processing circuit 90 AND circuit 92 NOT circuit 94 AND circuit 100 Music signal processing device 110 Electronic stringed instrument (electronic guitar)
150 signal processing circuit 200 music signal processing device 210 music signal processing device

Claims (6)

弦操作による弦振動信号を取り込むピックアップを備えた電子ギターの楽音信号を処理する装置であって、
前記ピックアップによって得られる楽音信号からピッチ検出を行うと共に、ピッチ検出の成否を示すピッチ検出成否情報を出力するピッチ情報処理手段と、
前記ピックアップによって得られる前記楽音信号を入力しこれに基づいた歪信号を生成する歪信号生成手段と、
前記ピッチ情報処理手段によって検出されたピッチに応じた発振信号を生成する発振器と、
前記ピッチ検出成否情報がピッチの検出を正とする情報である場合には、前記発振器が生成した発振信号を出力する一方、前記ピッチ検出成否情報がピッチの検出を否とする情報である場合には、前記歪信号生成手段が生成した歪信号を出力する出力制御手段と、を備えたことを特徴とする楽音信号処理装置。
An apparatus for processing a musical tone signal of an electronic guitar equipped with a pickup for capturing a string vibration signal by string operation,
Pitch information processing means for performing pitch detection from the tone signal obtained by the pickup and outputting pitch detection success / failure information indicating success or failure of the pitch detection;
A distortion signal generating means for inputting the musical sound signal obtained by the pickup and generating a distortion signal based thereon;
An oscillator that generates an oscillation signal corresponding to the pitch detected by the pitch information processing means;
When the pitch detection success / failure information is information that positively detects the pitch, the oscillation signal generated by the oscillator is output, while the pitch detection success / failure information is information that rejects the pitch detection. Comprises an output control means for outputting a distortion signal generated by the distortion signal generation means.
請求項1に記載の楽音信号処理装置において、
前記ピッチ検出成否情報は、1ビットの情報であることを特徴とする楽音信号処理装置。
In the musical sound signal processing device according to claim 1,
The pitch detection success / failure information is 1-bit information.
請求項2に記載の楽音信号処理装置において、
前記出力制御手段は、
前記1ビットのピッチ検出成否情報がピッチの検出を否とする情報である場合にその係数を零とする第1の乗算器と、このピッチ検出成否情報を反転させるNOT回路と、このNOT回路の出力が、前記ピッチ成否情報を否とする情報とする場合その係数を零とする第2の乗算器と、前記第1の乗算器の出力と前記第2の乗算器の出力との加算を行う加算器と、を含んで成ることを特徴とする楽音発生装置。
In the musical sound signal processing device according to claim 2,
The output control means includes
When the 1-bit pitch detection success / failure information is information that rejects pitch detection, a first multiplier that sets the coefficient to zero, a NOT circuit that inverts the pitch detection success / failure information, and the NOT circuit When the output is information indicating that the pitch success / failure information is negative, the second multiplier whose coefficient is zero, and the output of the first multiplier and the output of the second multiplier are added. A musical tone generator comprising: an adder;
弦操作による弦振動信号を取り込むピックアップを備えた電子ギターの楽音信号を処理する装置であって、
前記ピックアップで得られる楽音信号を第1の入力信号と第2の入力信号とに分けて入力する構成とし、
前記第1の入力信号と前記第2の入力信号とを加算した加算信号を出力する加算器と、
前記加算信号からピッチ検出を行うと共に、ピッチ検出の成否を示すピッチ検出成否情報を出力するピッチ情報処理手段と、
前記加算信号を入力しこれに基づいた歪信号を生成する歪信号生成手段と、前記ピッチ情報処理手段によって検出されたピッチに応じた発振信号を生成する発振器と、
前記発振器が生成した発振信号を出力するか、または、前記歪信号生成手段が生成した歪信号を出力する出力制御手段と、
前記第1の入力信号が第1の閾値を超えている場合に第1の情報を出力する第1の振幅判定手段と、
前記第2の入力信号が第2の閾値を超えている場合に第2の情報を出力する第2の振幅判定手段と、
前記第1の情報と前記第2の情報とが共に所定値である場合に第3の情報を出力する振幅情報出力手段と、を備え、
前記ピッチ検出成否情報がピッチの検出を否とする情報である場合、または、前記振幅情報出力手段が前記第3の情報を出力する場合、もしくはその双方の場合には、前記歪信号生成手段が生成した歪信号を出力する構成であることを特徴とする楽音信号処理装置。
An apparatus for processing a musical tone signal of an electronic guitar equipped with a pickup for capturing a string vibration signal by string operation,
The musical tone signal obtained by the pickup is configured to be divided and input into a first input signal and a second input signal,
An adder that outputs an addition signal obtained by adding the first input signal and the second input signal;
Pitch information processing means for performing pitch detection from the addition signal and outputting pitch detection success / failure information indicating success or failure of pitch detection;
A distortion signal generation unit that inputs the addition signal and generates a distortion signal based on the input signal; an oscillator that generates an oscillation signal corresponding to the pitch detected by the pitch information processing unit;
An output control means for outputting an oscillation signal generated by the oscillator, or for outputting a distortion signal generated by the distortion signal generation means;
First amplitude determining means for outputting first information when the first input signal exceeds a first threshold;
Second amplitude determining means for outputting second information when the second input signal exceeds a second threshold;
Amplitude information output means for outputting third information when the first information and the second information are both predetermined values;
In the case where the pitch detection success / failure information is information that denies the detection of the pitch, or when the amplitude information output means outputs the third information, or in both cases, the distortion signal generation means A musical sound signal processing apparatus characterized in that the generated distortion signal is output.
請求項4に記載の楽音信号処理装置において、
前記第1の振幅判定手段は、
前記第1の入力信号の包絡線を検出出力する第1のエンベロープ検出部と、前記第1のエンベロープ検出部の出力結果が前記第1の閾値を超えている場合に前記第1の情報を出力する第1の信号処理部と、含んで成り、
前記第2の振幅判定手段は、
前記第2の入力信号の包絡線を検出出力する第2のエンベロープ検出部と、前記第2のエンベロープ検出部の出力結果が前記第2の閾値を超えている場合に前記第2の情報を出力する第2の信号処理部と、含んで成り、
前記振幅情報出力手段は、
前記第1の信号処理部の出力および前記第2の信号処理部の出力を入力として論理積をとる論理積回路と、を含んで成り、
前記第1の情報と前記第2の情報とは共に同じ論理をとり、前記第3の情報とは異なる論理であり、これらは1ビット情報であることを特徴とする楽音信号処理装置。
In the musical sound signal processing apparatus according to claim 4,
The first amplitude determining means includes
A first envelope detector that detects and outputs an envelope of the first input signal; and outputs the first information when an output result of the first envelope detector exceeds the first threshold. A first signal processing unit that includes:
The second amplitude determining means includes
A second envelope detector for detecting and outputting an envelope of the second input signal; and outputting the second information when an output result of the second envelope detector exceeds the second threshold value. A second signal processing unit that includes:
The amplitude information output means includes
A logical product circuit that takes a logical product with the output of the first signal processing unit and the output of the second signal processing unit as inputs.
Both the first information and the second information have the same logic and are different logics from the third information, and these are 1-bit information.
弦操作による弦振動信号を取り込むピックアップを備えた電子ギターの楽音信号を処理し、検出されたピッチに応じた発振信号を生成する発振器を搭載した楽音信号処理装置を動作させるためのプログラムであって、
前記ピックアップによって得られる楽音信号からピッチ検出を行うと共に、ピッチ検出の成否を示すピッチ検出成否情報を出力するピッチ情報処理機能と、
前記ピックアップによって得られる前記楽音信号を入力してそれに基づいた歪信号を生成する歪信号生成機能と、
前記ピッチ検出成否情報がピッチの検出を正とする情報である場合には、前記発振器が生成した発振信号を出力する一方、前記ピッチ検出成否情報がピッチの検出を否とする情報である場合には、前記歪信号生成機能が生成した前記歪信号を出力する出力制御機能と、をコンピュータに実現するためのプログラム。
A program for operating a musical tone signal processing apparatus equipped with an oscillator that processes a musical tone signal of an electronic guitar equipped with a pickup that captures a string vibration signal by string manipulation and generates an oscillation signal according to a detected pitch. ,
A pitch information processing function for performing pitch detection from a musical sound signal obtained by the pickup and outputting pitch detection success / failure information indicating success or failure of pitch detection;
A distortion signal generation function for inputting the musical sound signal obtained by the pickup and generating a distortion signal based thereon;
When the pitch detection success / failure information is information that positively detects the pitch, the oscillation signal generated by the oscillator is output, while the pitch detection success / failure information is information that rejects the pitch detection. A program for realizing in a computer an output control function for outputting the distortion signal generated by the distortion signal generation function.
JP2015028164A 2015-02-17 2015-02-17 Music signal processing apparatus and program Active JP6455973B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015028164A JP6455973B2 (en) 2015-02-17 2015-02-17 Music signal processing apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015028164A JP6455973B2 (en) 2015-02-17 2015-02-17 Music signal processing apparatus and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2018197072A Division JP6688550B2 (en) 2018-10-19 2018-10-19 Musical sound signal processing device and program

Publications (2)

Publication Number Publication Date
JP2016151628A true JP2016151628A (en) 2016-08-22
JP6455973B2 JP6455973B2 (en) 2019-01-23

Family

ID=56695330

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015028164A Active JP6455973B2 (en) 2015-02-17 2015-02-17 Music signal processing apparatus and program

Country Status (1)

Country Link
JP (1) JP6455973B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63137295A (en) * 1987-09-24 1988-06-09 カシオ計算機株式会社 Electronic stringed instrument
JPH0612072A (en) * 1992-06-24 1994-01-21 Roland Corp Electronic guitar
JPH09258731A (en) * 1996-03-21 1997-10-03 Roland Corp Electronic musical instrument

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63137295A (en) * 1987-09-24 1988-06-09 カシオ計算機株式会社 Electronic stringed instrument
JPH0612072A (en) * 1992-06-24 1994-01-21 Roland Corp Electronic guitar
JPH09258731A (en) * 1996-03-21 1997-10-03 Roland Corp Electronic musical instrument

Also Published As

Publication number Publication date
JP6455973B2 (en) 2019-01-23

Similar Documents

Publication Publication Date Title
CN100562922C (en) The performance assistant apparatus of wind instrument
JP6391265B2 (en) Electronic keyboard instrument
JP6589413B2 (en) Lead member, mouthpiece and electronic wind instrument
WO2019043797A1 (en) Song analysis device and song analysis program
JP6455973B2 (en) Music signal processing apparatus and program
JP6688550B2 (en) Musical sound signal processing device and program
JP2017167177A (en) Musical sound generation instructing device, musical sound generation instructing method, program for musical sound generation instructing device and electronic musical instrument having musical sound generation instructing device
JP6946442B2 (en) Music analysis device and music analysis program
JP3460408B2 (en) Music control device
JP6457297B2 (en) Effect adding device and program
JPS63136088A (en) Input controller for electronic musical instrument
JP4131288B2 (en) Performance assist device
JP2765578B2 (en) Waveform signal controller
JP2010271428A (en) Electronic drum
KR20160116085A (en) Apparatus and method for controlling string instrument play of using auditory feedback
KR100444930B1 (en) Apparatus and method for extracting quantized MIDI note
JP4484071B2 (en) Input control device and input control program
JP4236592B2 (en) Electronic stringed instruments
JPS63136090A (en) Input controller for electronic musical instrument
JP2023061261A (en) Musical instrument adjustment support system, control method and program therefor, and musical instrument
JP2015172679A (en) Musical sound generation device, and musical sound generation method and program
JP2020091387A (en) Tuner for musical instrument
JP2015152776A (en) Electronic stringed instrument, musical sound generation method, and program
JPH0648556Y2 (en) Input control device for electronic musical instruments
JP2014134716A (en) Musical signal generation device, musical signal generation program and musical signal generation method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171204

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180912

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181003

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181019

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181217

R150 Certificate of patent or registration of utility model

Ref document number: 6455973

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250