JPH01182887A - Electronic string instrument - Google Patents

Electronic string instrument

Info

Publication number
JPH01182887A
JPH01182887A JP63006447A JP644788A JPH01182887A JP H01182887 A JPH01182887 A JP H01182887A JP 63006447 A JP63006447 A JP 63006447A JP 644788 A JP644788 A JP 644788A JP H01182887 A JPH01182887 A JP H01182887A
Authority
JP
Japan
Prior art keywords
time
value
previous
peak
popping
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
JP63006447A
Other languages
Japanese (ja)
Other versions
JP2605773B2 (en
Inventor
Koyo Nagoshi
公洋 名越
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP63006447A priority Critical patent/JP2605773B2/en
Publication of JPH01182887A publication Critical patent/JPH01182887A/en
Application granted granted Critical
Publication of JP2605773B2 publication Critical patent/JP2605773B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To improve a playing effect by judging a popping playing method, etc., to be executed and generating a prescribed tone when the change of a peak level in a prescribed polarity side to be detected with a level detecting means is successively increased in prescribed times at the time of inputting an input waveform signal to be generated with being accompanied string oscillation. CONSTITUTION:When the change of the peak level in the prescribed polarity side to be detected by a level detecting means PEDT is successively decreased in the prescribed times at the time of the input of the input waveform signal to be generated with being accompanied the string oscillation, the popping playing method, etc., is judged to be executed and the prescribed tone to be different from a scale tone, especially, the tone, from which periodicity is not felt, is generated. Then, suitable acoustics are generated at the time of playing operation by the popping playing method, etc. Thus, a tone different from the scale tone is generated and the playing effect is improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、電子ベースギターなどの電子弦楽器に係す
、特にポツピング奏法やプル奏法(以下ポツピング奏法
等という)が行われたことを検知して指定音階音とは異
なる所定音を発生するようにした電子弦楽器に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an electronic stringed instrument such as an electronic bass guitar, and in particular detects the performance of popping or pulling techniques (hereinafter referred to as popping techniques, etc.). The present invention relates to an electronic stringed instrument that generates a predetermined tone different from a specified scale tone.

〔従来技術〕[Prior art]

従来より、自然楽器の演奏操作によって発生する波形信
号からピッチ(基本周波数)を抽出し、電子回路で構成
された音源装置を制御して、楽音等の音響を得るように
した電子楽器が種々開発されている。
Various electronic musical instruments have been developed in which the pitch (fundamental frequency) is extracted from the waveform signal generated by the playing operation of a natural musical instrument, and a sound source device composed of an electronic circuit is controlled to obtain sounds such as musical tones. has been done.

この柚の電子楽器のひとつとして電子ベースギターある
いはベースギターシンセサイザがあるが、このような楽
器においてポツピング奏法等が行われると、本来7レツ
トで指定している音階音とは別の音階音を課って発生開
始し、しかる後本来の音階音へ変更することになってし
まう。
One of these electronic musical instruments is an electronic bass guitar or bass guitar synthesizer, but when playing such as popping techniques on such instruments, a different scale tone than the one originally specified by the 7th note is imposed. It starts to occur, and then it ends up changing to the original scale note.

すなわち、ポツピング奏法とは、弦を親指でたたいて弦
を振動させる奏法であり、プル奏法とは、弦をひっばっ
て施すことにより弦を振動させる奏法であり、いずれの
場合も、弦振動の最初にピッチ抽出されるのは、7レツ
ト操作とは異なる音の周期である。このため、上述した
ように一瞬異なる周波数の音がでてから本来の音階周波
数の音に周波数変更がなされることになる。
In other words, the popping playing method is a playing method in which the strings are vibrated by hitting them with the thumb, and the pulling playing method is a playing method in which the strings are vibrated by pulling the strings. The first pitch extracted is a period of a note different from that of the 7-let operation. Therefore, as described above, after a momentary sound with a different frequency is produced, the frequency is changed to a sound with the original scale frequency.

従って、演奏者の意図しない音階音が発生し、大変聞き
づらく、音楽的にも不都合であるという問題が生じる。
Therefore, a problem arises in that scale tones not intended by the performer are generated, which are very difficult to hear and are musically inconvenient.

〔発明の目的〕[Purpose of the invention]

本発明は前記事情に鑑みてなされたもので、ポツピング
奏法等がなされたことを検知して、音階音とは異なるピ
ッチの判断がむずかしいようなノイズ音やパーカッショ
ン音等の所定音を最初に発生するようにした電子弦楽器
を提供することを目的とする。
The present invention has been made in view of the above circumstances, and detects that a popping technique is used, and first generates a predetermined sound such as a noise sound or percussion sound whose pitch is difficult to judge, which is different from a scale note. The purpose of the present invention is to provide an electronic stringed instrument designed to perform the following functions.

〔発明の要点〕[Key points of the invention]

本発明は前記目的を達成するため、レベル検知手段にて
検知される所定極性側のピークレベルの変化が、弦振動
にともなって発生する入力波形信号の入力開始時におい
て所定回数順次減少してゆくような場合、判断手段にて
ポツピング奏法等がなされたと判断し、上述の如き音階
音とは異なる所定音を発生するようにすることを要点と
する〇従って、ポツピング奏法等による特有の入力波形
信号から当該奏法が検知され、楽音発生の最初に上述の
ノイズ音やパーカッション音が出力され、しかる後ピッ
チ抽出にて、本来の7レツトの周期が検知されると、そ
れに従って、当該音階音の発生がなされることになる。
In order to achieve the above object, the present invention sequentially decreases the change in the peak level on the predetermined polarity side detected by the level detection means a predetermined number of times at the start of input of an input waveform signal generated in conjunction with string vibration. In such a case, the key point is that the determining means determines that a popping technique, etc. has been performed, and generates a predetermined tone different from the above-mentioned scale notes. Therefore, the input waveform signal unique to the popping technique, etc. The relevant playing style is detected, the above-mentioned noise sound and percussion sound are output at the beginning of musical sound generation, and then, when the original 7-let cycle is detected in pitch extraction, the relevant scale note is generated accordingly. will be done.

〔実施例〕〔Example〕

以下、この発明の実施例について図面を参照して7  
       この発明を電子ペースギターに適用した
場合を例にあげて説明するが、これに限らず他のタイプ
の電子弦楽器であっても同様に適用できる。
Embodiments of this invention will be described below with reference to the drawings.
The present invention will be described using an example in which the present invention is applied to an electronic pace guitar, but the present invention is not limited to this and can be similarly applied to other types of electronic stringed instruments.

第1図は、全体の回路を示すブロック図であり、ピッチ
抽出アナログ回路PAは、図示しない例えば電子ベース
ギターボディ上に張設された6つの弦に夫々設けられ、
弦の振動を電気信号に変換するヘキサピックアップと、
このピックアップからの出力からゼロクロス信号と波形
信号Zi、Wi(i=1〜6)を得るとともに、これら
の信号を時分割のシリアルゼロクロス信号ZC,Rおよ
びデジタル出力(時分割波形信号)Dlとに変換する変
換手段例えばアナログ−デジタル変換器A/Dとを備え
ている。
FIG. 1 is a block diagram showing the entire circuit, and the pitch extraction analog circuit PA is provided for each of six strings (not shown) strung on an electronic bass guitar body, for example.
A hexa pickup that converts string vibrations into electrical signals,
A zero-cross signal and waveform signals Zi, Wi (i=1 to 6) are obtained from the output from this pickup, and these signals are converted into time-division serial zero-cross signals ZC, R and digital output (time-division waveform signal) Dl. It is provided with a converting means for converting, for example an analog-to-digital converter A/D.

ピッチ抽出デジタル回路PDは、第2図のようにピーク
検出回路PEDT、時定数変換制御回路TCC,波高値
取込み回路pvs、ゼ四り胃ス時刻取込回路ZTSから
なり、前記ピッチ抽出アナログ回路FAからのシリアル
ゼロりpス信号ZCR。
As shown in FIG. 2, the pitch extraction digital circuit PD consists of a peak detection circuit PEDT, a time constant conversion control circuit TCC, a peak value acquisition circuit pVS, and a peak time acquisition circuit ZTS, and includes the pitch extraction analog circuit FA. Serial zero ps signal ZCR from.

とデジタル出力D1とに基づき最大ピーク点または最小
ピーク点を検出し、MAXI、MINI(I;1〜6)
を発生するとともに、ゼロクロス点通過、厳密には最大
ピーク点、最小ピーク点直後のゼロクロス点通過でイン
ターラット(割込み)信号INTをマイコンMCPに出
力し、またゼロクロス点の時刻情報とピーク値情報例え
ばMAX。
The maximum peak point or the minimum peak point is detected based on the digital output D1 and MAXI, MINI (I; 1 to 6)
At the same time, it outputs an interlat (interrupt) signal INT to the microcomputer MCP when it passes a zero cross point, more precisely, when it passes a zero cross point immediately after the maximum peak point or minimum peak point, and also outputs the time information of the zero cross point and peak value information, e.g. MAX.

MIN及び入力波形信号の瞬時値をそれぞれマイフンM
CPに出力するものである。なお、ピーク検出回路PB
DTの内部には、過失のピーク値を減算しながらホール
ドする回路を備えている。
MIN and the instantaneous value of the input waveform signal respectively.
This is to be output to the CP. Note that the peak detection circuit PB
The DT is equipped with a circuit that holds the error peak value while subtracting it.

そして、このピーク検出回路PEDTのピークホールド
回路の減衰率を変更するのが、時定数変換制御回路TC
Cであり、波形の例えば1周期の時間経過してもピーク
が検知できないときは、急速に減衰するようにする。具
体的には、初期状態では速やかに波形の振動を検知すべ
く最高音周期時間経過にて、急速減衰し、弦振動が検知
されると倍音を拾わないために、当該弦の開放弦周期時
間経過にて同様に急速減衰するようにし、そして弦の振
動周期が抽出さ°れた後は、その周期にて急速減衰を行
うようになる。
The time constant conversion control circuit TC changes the attenuation rate of the peak hold circuit of the peak detection circuit PEDT.
C, and when the peak of the waveform cannot be detected even after one period of time has elapsed, the waveform is made to attenuate rapidly. Specifically, in the initial state, in order to quickly detect waveform vibrations, the maximum sound period is rapidly attenuated, and when string vibration is detected, in order not to pick up overtones, the open string period time of the string is Similarly, after the vibration period of the string is extracted, rapid damping is performed at that period.

この時定数変換制御回路TCCに対するかかる周期情報
の設定は、マイコンMCPが行う。そして、この時定数
変換制御回路TCC内部の各弦独立のカウンタと、この
設定された周期情報との一致比較を行い、周期時間経過
で時定数チェンジ信号をピーク検出回路PEDTへ送出
する。
The setting of the cycle information for the time constant conversion control circuit TCC is performed by the microcomputer MCP. Then, a counter independent of each string in the time constant conversion control circuit TCC is compared with the set cycle information, and a time constant change signal is sent to the peak detection circuit PEDT when the cycle time has elapsed.

また、第2図における波高値取込み回路PvSは、上述
のとおり時分割的に送出されてぐる波形信号(デジタル
出力)Dlを、各弦毎の波高値にデマルチプレクサ処理
し、ピーク検出回路PBDTからのピーク信号MAXI
、MINIに従って、ピーク値をホールドする。そして
、マイコンMCPカアトレステコーダDCDを介してア
クセスしてきた弦についての最大ピーク値もしくは最小
ピーク値をマイコンパスへ出力する。また、この波高値
取込み回路PvSからは、各弦毎の振動の瞬時値も出力
可能になっている。
In addition, the peak value acquisition circuit PvS in FIG. 2 demultiplexes the waveform signal (digital output) Dl sent out in a time-divisional manner as described above into a peak value for each string, and outputs the signal from the peak detection circuit PBDT. peak signal MAXI
, MINI to hold the peak value. Then, the maximum peak value or the minimum peak value of the string accessed via the microcomputer MCP chain recorder DCD is output to the microcomputer path. Moreover, the instantaneous value of vibration for each string can also be output from this peak value acquisition circuit PvS.

ゼロクロス時刻取込回路z ’i’ sは、各弦共通の
タイムベースカウンタ出力を、各弦のゼロクロス時点(
厳密には最大ピーク点及び最小ピーク点通過直後のゼロ
りpス時点)でラッチするようになる。そして、マイコ
ンMCPからの要求により、そのラッチした時刻情報を
マイコンパスへ送出する。
The zero-crossing time acquisition circuit z 'i' s converts the time base counter output common to each string to the zero-crossing point (
Strictly speaking, the signal is latched at the zero point immediately after passing the maximum peak point and the minimum peak point. Then, in response to a request from the microcomputer MCP, the latched time information is sent to the microcomputer path.

また、図のタイミングジェネレータTGからは、第1図
及び第2図に示す各(ロ)路の処理動作のためのタイミ
ング信号を出力する。
Further, the timing generator TG shown in the figure outputs timing signals for processing operations of each (b) path shown in FIGS. 1 and 2.

マイコンMCPには、メモリ例えばROMおよびRAM
を有するとともに、タイマーTを有し、音源発生装置S
OBに与える為の信号を制御するものである。音源発生
装fffsOBは音源SSとデジタル−アナ田グ変換器
D/Aと、アンプAMPと、スピーカSPとからなり、
マイコンM CP カらのノートオン(発音)、ノート
オフ(消音)、周波数を変える音高指示信号に応じた音
高の楽音を放音するものである。なお、音源SSの入力
側とマイコンMCPのデータバスBU8との間に、イン
ターフェース(lduslcal  lnstrume
nt  Qigital  Interface ) 
M I D Iが設けられている。勿論、ギター本体に
音源SSを設けるときは、別のインターフェースを介し
てもよい。アドレスデコーダーDCDは、マイコンMC
Pからのアドレス読み出し信号ARが入力されたとき、
弦番号の読込み信号H・DI。
The microcomputer MCP has memory such as ROM and RAM.
It also has a timer T, and a sound source generator S.
It controls the signals given to the OB. The sound source generator fffsOB consists of a sound source SS, a digital-to-analog converter D/A, an amplifier AMP, and a speaker SP.
The microcomputer M CP emits musical tones of pitches corresponding to note-on (sound generation), note-off (mute), and pitch instruction signals that change frequency. Note that an interface (lduslcal lnstrume) is connected between the input side of the sound source SS and the data bus BU8 of the microcomputer MCP.
nt Qigital Interface)
MIDI is provided. Of course, when the sound source SS is provided in the guitar body, it may be provided through another interface. Address decoder DCD is microcomputer MC
When address read signal AR from P is input,
String number read signal H/DI.

時刻読込み信号RDj  (j=1〜6)とMAX。Time reading signal RDj (j=1 to 6) and MAX.

MINのピーク値及びその時点その時点の瞬時値読込み
信号RDAI (I=1〜18)をピッチ抽出デジタル
回路PDに出力する。
The peak value of MIN and the instantaneous value read signal RDAI (I=1 to 18) at that point in time are output to the pitch extraction digital circuit PD.

以下、マイコンMCPの動作について70−チャートや
波形を示す図面を参照して説明するが、はじめに図面の
符号について説明する。
The operation of the microcomputer MCP will be described below with reference to the 70-chart and drawings showing waveforms, but first, the reference numerals in the drawings will be explained.

AD・・・第1図の瞬時値読込み信号RDA13〜18
によりピッチ抽出デジタル回路 PDの入力波形を直接読んだ入力波高 値(VR時値) AMPyNO,1)・・・正又は負の前回(old)の
波高値 AMRLl・・・振幅レジスタで記憶されているリラテ
ィブ(relat’rve)オフ(o f f)のチエ
ツクのための前回の振幅値である。ここで、前記リラテ
ィ ブオフとは波高値が急激に減衰してき たことに基づき消音することで、7レ ツト操作をやめて開放弦へ移ったとき の消音処理に相当する。
AD...Instantaneous value read signal RDA13 to 18 in Fig. 1
Input wave height value (VR time value) obtained by directly reading the input waveform of the pitch extraction digital circuit PD by AMPyNO, 1)...Positive or negative previous (old) wave height value AMRLl...Memorized in the amplitude register The previous amplitude value for the relative off (off) check. Here, the relative off refers to muting the sound based on the rapid attenuation of the peak value, and corresponds to the muting process when the 7-let operation is stopped and the string is moved to an open string.

AMRL2・・・振幅レジスタで記憶されている前記リ
ラティブオフのための前々回の 振幅値で、これにはAMRLlの値が 入力される。
AMRL2: The amplitude value of the previous relative off stored in the amplitude register, to which the value of AMRL1 is input.

CHT I M・・・最高音7レツト (22フレツト
)に対応する周期 CRTIO・・・開放弦フレットに対応する周期CHT
RR・・・時定数変換レジスタで、上述の時定数変換制
御回路TCC(第2図) の内部に設けられている。
CHT I M...Period corresponding to the highest note 7th fret (22nd fret) CRTIO...Period CHT corresponding to the open string fret
RR: Time constant conversion register, provided inside the above-mentioned time constant conversion control circuit TCC (FIG. 2).

DUB・・・波形が続けて同一方向に来たことを示すフ
ラグ FOFB・・・リラティブオフカウンタHNC・・・波
形ナンバーカウンタ MT・・・これからピッチ抽出を行う側のフラグ(正=
1.負=0) NCHLV・・・ノーチェンジレベル(定数)OF’T
IM・・・オフタイム(例えば当該弦の開放弦周期に相
当) OFFT・・・通常オフチエツク開始7ラグONF・・
・ノートオンフラグ PP・・・ポツピング奏法等がなされたときに、1.2
と変化するフラグ RIV・・・後述のステップ(STEP)4での処理ル
ートの切替を行うための7ラグ ROFCT・・・リラティブオフのチエツク回数を定め
る定数 5TEP・・・マイコンMOPの70−動作を指定する
レジスタ(1〜5) TF・・・有効となった前回のゼロクロス時刻データ TFN (0,1)・・・正または負のピーク値直後の
前回のゼロクロス時刻データ TFR・・・時刻記憶レジスタ  □ THLIM・・・周波数上限(定数) TLLIM・・・周波数下限(定数) TP (0,1)・・・正または負の前回の周期データ TALAB (0,1)・・・正または負の絶対トリガ
ーレベル(ノートオンしきい値) TRLRL・・・リラティブオン(再発音開始)のしき
い値 TRLR8・・・共振除去しきい値 TTLIM・・・トリガー時の周波数下限TTP・・・
前回抽出された周期デー′TTR・・・周期レジスタ TTU・・・定数(17732と今回の周期情報11の
積) TTW・・・定数(31/16と今回の周期情報11の
積) VEL・・・速度(ベロシティ−)を定める情報で、発
音開始時の波形の最大ピーク値 にて定まる。
DUB...Flag indicating that the waveforms have come in the same direction FOFB...Relative off counter HNC...Waveform number counter MT...Flag for the side from which pitch extraction is to be performed (positive =
1. Negative = 0) NCHLV...No change level (constant) OF'T
IM...Off time (e.g. corresponds to the open string period of the string) OFFT...Normal off-check start 7 lag ONF...
・Note-on flag PP: 1.2 when a popping technique is performed, etc.
Flag RIV... 7 lags for switching the processing route in STEP 4 (described later) ROFCT... Constant 5 TEP that determines the number of times the relative off is checked... 70-operation of the microcomputer MOP Specified register (1 to 5) TF... Last zero-crossing time data that became valid TFN (0,1)... Previous zero-crossing time data immediately after the positive or negative peak value TFR... Time storage register □ THLIM...Frequency upper limit (constant) TLLIM...Frequency lower limit (constant) TP (0,1)...Positive or negative previous cycle data TALAB (0,1)...Positive or negative absolute Trigger level (note-on threshold) TRLRL...Relative-on (re-sounding start) threshold TRLR8...Resonance removal threshold TTLIM...Frequency lower limit at trigger TTP...
Previously extracted cycle data 'TTR...Cycle register TTU...Constant (product of 17732 and current cycle information 11) TTW...Constant (product of 31/16 and current cycle information 11) VEL... - Information that determines velocity (velocity), determined by the maximum peak value of the waveform at the start of sound generation.

X・・・異常または正常状態を示す7ラグb・・・ワー
キングレジスタBに記憶されている今回正負フラグ(正
ピークの次のゼロ 点のとき1、負ピークの次のゼロ点の とき0) C・・・ワーキングレジスタCに記憶されている今回波
高値(ピーク値) e・・・ワーキングレジスタEに記憶されている前々回
波高値(ピーク値) h・・・ワーキングレジスタHに記憶されている前々回
抽出された周期データ      1t・・・ワーキン
グレジスタTOに記憶されてい  τる今回のゼロクロ
ス時刻        番。
X: 7 lags indicating abnormality or normal condition b: Current positive/negative flag stored in working register B (1 when the zero point is next to the positive peak, 0 when the zero point is next to the negative peak) C... Current wave height value (peak value) stored in working register C e... Wave height value (peak value) from the previous time stored in working register E h... Stored in working register H Periodic data extracted before the previous time 1t... The current zero-crossing time number stored in the working register TO.

11・・・ワーキングレジスタTOTOに記憶さ  ・
れている今回の周期情報        番1第3図は
、マイコンMCPへインタラブドがか  スけられたと
きの処理を示すインタラブドルーチン  彎であり、I
lにおいて、マイコンMCPはアドレ  1スデコーダ
DCDを介し、ゼpり四ス時刻取込回  ノ路ZT8に
対し、弦番号読み込み信号RDIを与えてインタラブド
を与えた弦を指定する弦番号を  1続み込む。そして
、その弦番号に対応する時刻情  1報つまりゼロクロ
ス時刻情報をゼロクロス時刻取  ゛込回路ZTSへ時
刻読込み信号RD1〜RD6の  。
11... Stored in working register TOTO ・
Current cycle information No. 1 Figure 3 shows an interrelated routine that shows the processing when an interrelated message is applied to the microcomputer MCP.
At 1, the microcomputer MCP gives a string number read signal RDI to the ZET4 time acquisition circuit ZT8 via the address decoder DCD, and reads the string number that specifies the string to which Interabdo has been given. It's crowded. Then, time information 1 corresponding to that string number, that is, zero-crossing time information, is sent to the zero-crossing time reading circuit ZTS as time reading signals RD1 to RD6.

いずれか対応するものを与えて読込む。これをt  〈
とする。しかる後、I2において、同様に波高値  5
取込み回路PvSヘビーク値読込み信号RDAI   
&(工=1〜12のうちのいずれか)を与えて、ピ  
4−ク値を読取る。これをCとする。
Give one of the corresponding values and read it. This is t 〈
shall be. After that, at I2, the peak value 5
Acquisition circuit PvS heavy value read signal RDAI
& (engine = any one of 1 to 12) and pin
4- Read the value. Let this be C.

続<I3において、当該ピーク値は正、負のいrれのピ
ークであるのかを示す情報すを、ゼpクゴス時刻取込゛
回路ZTSより得る。そして、工4こで、このようにし
て得たt、C,bの値をマイコンMCP内のバッファの
レジスタTo、C,Bこセットする。このバフ7アには
、割込み処理がよされる都度、このような時刻情報、ピ
ーク値惰鏝、ピークの種類を示す情報がワンセットとし
て竪込まれていき、メインルーチンで、各弦毎にか〉す
る情報に対する処理がなされる。
In step I3, information indicating whether the peak value is a positive or negative peak is obtained from the time acquisition circuit ZTS. Then, in Step 4, the values of t, C, and b obtained in this way are set in the registers To, C, and B of the buffer in the microcomputer MCP. Each time an interrupt process is called, this buff 7a is filled with time information, peak value information, and information indicating the type of peak. 〉 information is processed.

第4歯はメインルーチンを示すフローチャート 、ごあ
る。パワーオンすることによりMlにおいて、4種レジ
スタやフラグがイエシャライスされ、レジスタ5TEP
が0とされる。I2で上述したバッファが空かどうかが
判断され、ノー(以下、N辷称す)の場合にはMSに進
み、バッファよりレジスタB、C,TOの内容が読まれ
る。これによ)、I4において、レジスタ8TEPはい
くつか可断サレ、MSでは8TEPO,MSではSTE
P1、M7では5TEP2.M8ではST、EP3゜M
9では5TEP4の処理が順次おこなわれる。
The fourth tooth is a flowchart showing the main routine. By turning on the power, four types of registers and flags are activated in Ml, and register 5TEP is activated.
is set to 0. At I2, it is determined whether the above-mentioned buffer is empty, and if the answer is NO (hereinafter referred to as "N"), the process proceeds to MS, where the contents of registers B, C, and TO are read from the buffer. Accordingly, in I4, register 8TEP has some breakable values, 8TEPO in MS, STE in MS.
5TEP2 for P1 and M7. M8 is ST, EP3゜M
In step 9, the processing of 5TEP4 is performed sequentially.

M2でバッファが空の場合すなわちイエス(以下、Yと
称する)の場合、MIO−M16へと順次進み、ここで
通常のノートオフの処理が行われる。このノートオフの
アルゴリズムは、オフ(OF F)レベル以下の状態が
所定のオフタイム時間続いたら、ノートオフするもので
ある0M10で5TEP=0かどうかが判断されNの場
合には、Mllに進む。Mllでは、その時点の入力波
高値ADが直接読まれる。これは、波高値取込み回路p
vsヘピーク値読込み信号RDA13〜FLDA18の
いずれかを与えることで達成できる。そして、この値A
Dが、入力波高値ADくオフレベルかどうかが判断され
、Yの場合にはM12に進む。M12では前回の入力波
高値AD≦オフレベルかどうかが判断され、Yの場合に
はM13に進み、ここでタイマーTの値〉オフタイムO
FTIM(例えば当該値の開放弦周期の定数)かどうか
lが判断される。Yの場合には、M14に進み、レジス
タ5TEPにOが書き込まれ、M2Sではノートオンか
どうかが判断され、Yの場合には、M16で7−トオ7
処理され、Mを介してM2に戻る。M12でNの場合に
はM17に進み、マイコンMCP内部タイマーTをスタ
ートし、Mを介しイ M13.M2SばNの場合には、いずれもMを介してM
12に戻る。
If the buffer is empty in M2, that is, if the answer is YES (hereinafter referred to as Y), the process proceeds sequentially to MIO-M16, where normal note-off processing is performed. This note-off algorithm turns the note off if the state remains below the off (OF) level for a predetermined off time period.It is determined at 0M10 whether 5TEP=0, and if N, the process proceeds to Mll. . In Mll, the input peak value AD at that point in time is directly read. This is the peak value acquisition circuit p
This can be achieved by applying any one of the peak value read signals RDA13 to FLDA18 to vs. And this value A
It is determined whether D is at an off level as compared to the input peak value AD, and if Y, the process proceeds to M12. In M12, it is determined whether the previous input wave height value AD≦off level, and in the case of Y, the process proceeds to M13, where the value of timer T>off time O
It is determined whether l is FTIM (eg, a constant of the open string period of the value). In the case of Y, the process advances to M14, O is written to the register 5TEP, it is determined in M2S whether or not the note is on, and in the case of Y, 7-too7 is written in M16.
processed and returns to M2 via M. If N in M12, the process advances to M17, starts the microcomputer MCP internal timer T, and instructs M13. In the case of M2S and N, both
Return to 12.

このように、波形入力のレベルが減衰してきた場合、オ
フレベル以下の入力波高値ADがオフタイムOFTIM
に相当する時間綬くと、ノートオフの指示を音源SSに
対しマイコンMCPは送出する。なお、ステップM15
において、通常の状態ではYの判断がなされるが、後述
するような処理によって、楽音の発生を指示していない
場合でようなときは、M14.M2Sの処理後M2へ戻
ることで、初期設定がなされることになる。
In this way, when the level of the waveform input is attenuated, the input peak value AD below the off level becomes the off time OFTIM.
After a period of time corresponding to , the microcomputer MCP sends a note-off instruction to the sound source SS. Note that step M15
In the normal state, a determination of Y is made, but if the generation of a musical tone is not instructed by the processing described later, M14. Initial settings are made by returning to M2 after processing M2S.

なお、第4図では、一つの弦についての処理しか示して
いないが、この図に示した如き処理を弦の数に相当する
6回分、多重化したマイコンMCPは実行することにな
る。勿論、プロセッサを複数個設けて、別個独立して同
等の処理を実行してもよい。
Although FIG. 4 only shows the processing for one string, the microcomputer MCP multiplexes the processing shown in this figure six times corresponding to the number of strings. Of course, a plurality of processors may be provided to independently execute equivalent processing.

次に、M4にて分岐して行う各ルーチンの処理の詳細に
ついて説明する。
Next, details of processing of each routine branched at M4 will be explained.

第5図は、第4図のM5として示すステップ0(STE
PO)のときのフローチャートであり、801で絶対ト
リガレベル(ノートオンしきい値)TRLAB (b)
(今回波高値Cかどうかが判断され、Yの場合には80
2に進み共振除去のためのチエツクがなされる。なお、
このトリガーレベルは、正と負との極性のピーク夫々に
ついてのチエツクを行うようになっている。このTRL
AB(0)とTRLAB (1)とは、実験などによっ
て適切な値とすることになる。理想的なシステムではT
RLAB (0)とTRLAB (1)とは同じでよい
。802では、共振除去しきい値TRLR8([今回波
高値C−前回波高値AMP (b) ]かどうか、すな
わち今回波高値と前回波高値の差が所定値以上か否かが
判断される。
FIG. 5 shows step 0 (STE) shown as M5 in FIG.
PO), and the absolute trigger level (note-on threshold) TRLAB (b) is 801.
(It is judged whether the wave height value is C this time, and if it is Y, it is 80
2, a check is made to eliminate resonance. In addition,
This trigger level is designed to check for positive and negative polarity peaks, respectively. This TRL
AB(0) and TRLAB(1) are determined to be appropriate values through experiments and the like. In an ideal system T
RLAB (0) and TRLAB (1) may be the same. In 802, it is determined whether the resonance removal threshold value TRLR8 ([current peak value C-previous peak value AMP (b)], that is, whether the difference between the current peak value and the previous peak value is greater than or equal to a predetermined value.

一つの弦をピッキングすることによって他の弦が共振を
起こす場合、当該他の弦については、振動のレベルが徐
々に大きくなり、その結果前回と今回とのピーク値の変
化は微小なものとなって、その差は共振除去しきい値T
RLR8を越えることはない。ところが、通常のピッキ
ングでは、波形が急激に立上る(あるいは立ち下がる)
ことになり、前記ピークの差は共振除去しきい値TRL
几Sを越える。
When picking one string causes other strings to resonate, the vibration level of those other strings gradually increases, and as a result, the change in peak value between the previous time and this time is small. The difference is the resonance removal threshold T
It will never exceed RLR8. However, in normal picking, the waveform rises (or falls) suddenly.
Therefore, the difference between the peaks is the resonance removal threshold TRL
Surpass Rin S.

いま、この802で、Yの場合つまり共振の場合でない
とみなした場合には、803において次の処理が行われ
る。すなわち、今回正負フラグbがフラグMTに書込ま
れ、レジスタ5TEPJCIが書込まれ、さらに今回の
ゼロクロス時刻tが前回のゼロクロス時刻データTFN
 (b)として設定される。そして、SO2では、その
他フラグ類がイニシャライズされ、SO2に進む。SO
5では、今回波高値Cが前回の波高値AMP (b)と
してセットされ、しかる後第4図のメイン70−ヘリタ
ーンする。
Now, in 802, if it is determined that the case is Y, that is, it is not a case of resonance, the following processing is performed in 803. That is, the current positive/negative flag b is written to the flag MT, the register 5TEPJCI is written, and the current zero-crossing time t is the previous zero-crossing time data TFN.
(b). Then, at SO2, other flags are initialized, and the process proceeds to SO2. S.O.
5, the current wave height value C is set as the previous wave height value AMP (b), and then the process returns to the main 70 in FIG.

第5v4において、Aはりラティプオン(再発音開始)
のエントリを示しており、後述する8TEP4の70−
からこの806ヘジヤンブしてくる。
In the 5th v4, A beam latipeon (start of repronunciation)
It shows the entry of 70- of 8TEP4, which will be described later.
From this 806 hejiambu comes.

そして、S06では今まで出力している楽音を一度消去
し、再発音開始のために803へ進行する。
Then, in S06, the musical tones that have been output so far are once erased, and the process advances to 803 to start producing sounds again.

この再発音開始のための処理は、通常の発音開始のとき
と同様であり、以下に詳述するとおりとなる。
The process for starting the re-sounding is the same as when starting the normal sounding, and will be described in detail below.

そして、また801でNの場合と、S02でNの場合(
今回波高値C−前回波高値AMP (b)が所定値以上
ない場合)には、SO5に進む。従って、発音開始のた
めの処理は進まないことになる。
Then, in the case of N in 801 and in the case of N in S02 (
If current peak value C-previous peak value AMP (b) is not equal to or greater than a predetermined value), the process proceeds to SO5. Therefore, the process for starting sound generation will not proceed.

以上述へた8T]13PO(第11図の8TBPQ→1
の間)では、フラグMTにBレジスタの内容(b=1)
が書込まれ、レジスタTOの内容(1)が前回ゼ田り四
ス時刻データTFN (1)に書込まれ、レジスタCの
波高値(C)が前回の波高値AMP (1)に書込まれ
る。
8T mentioned above] 13PO (8TBPQ in Figure 11 → 1
), the contents of the B register (b=1) are set in the flag MT.
is written, the contents of register TO (1) are written to the previous zero clock time data TFN (1), and the peak value (C) of register C is written to the previous peak value AMP (1). It will be done.

第6図は第4図にM6として示す8TEP1の70−チ
ャートの詳細を示すものであり、S11では、レジスタ
Bの内容(b)と、フラグMTが不一致かどうかが判断
され、Yの場合には812に進む。812では、絶対ト
リガレベル(ノートオンしきい値)TRLAB (b)
<今回波高値Cかどうかが判断され、Yの場合には81
3に進む。
FIG. 6 shows details of the 70-chart of 8TEP1 shown as M6 in FIG. 4. In S11, it is determined whether the contents (b) of register B and the flag MT do not match. proceeds to 812. In 812, the absolute trigger level (note-on threshold) TRLAB (b)
<It is judged whether the current wave height value is C, and if it is Y, it is 81
Proceed to step 3.

812でYの場合にはレジスタ5TEPに2がセットさ
れ1S14でレジスタTOの内容(1)を前回のゼ四ク
ロス時刻データTFN (b)として゛セットし、さら
に815で今回波高値Cを、前回の波高値AMP (b
)ヘセットする。811において、Nの場合すなわち入
力波形信号が同一方向にきた場合816に進み、今回波
高値C>前回波高値AMP (b)かどうかが判断され
、Yの場合すなわち今回の波高値Cが前回の波高値AM
P(b)より大の場合には、S14に進む。一方、81
2においてNの場合には、S15に進み、これにより波
高値のみが更新される。また、816において、Nの場
合及び、S15の処理の終了時にはメイン7o  (第
4図)ヘリターンする。
If 812 is Y, 2 is set in register 5TEP, and in 1S14, the contents (1) of register TO are set as the previous zero cross time data TFN (b), and in 815, the current peak value C is set as the previous time. The wave height value AMP (b
) to heset. In 811, if N, that is, the input waveform signals come in the same direction, the process proceeds to 816, where it is determined whether the current wave height value C>previous wave height value AMP (b), and in the case of Y, that is, the current wave height value C is the same as the previous wave height value. Wave height AM
If it is greater than P(b), the process advances to S14. On the other hand, 81
In the case of N in step 2, the process advances to S15, whereby only the peak value is updated. Further, in the case of N in step 816 and when the processing in S15 ends, the process returns to the main 7o (FIG. 4).

以上述べた5TEPI (第11図の5TBP1→2の
間)では、今回正負7ラグb (=0)と7ラグM’r
=lが不一致ということで、今回のゼ四クロス時刻【を
前回のゼロク四ス時刻データTFN(0)としてセット
し、さらに今回波高値Cを前回の波高値AMP (Q)
として書込む。
In the above-mentioned 5TEPI (between 5TBP1→2 in Figure 11), this time the positive and negative 7 lags b (=0) and 7 lags M'r
Since =l does not match, the current zero cross time [ is set as the previous zero cross time data TFN (0), and the current wave height value C is set as the previous wave height value AMP (Q)
Write as.

第7図は、第4図にMフとして示す8TEP2の70−
チャートの詳細を示すもので、S20において、今回正
負7ラグb=フラグMTかどうかすなわちs’rgpo
の方向と同一のゼロク四ス点の到来かどうかを判断し、
Yの場合は8201へ進む。この8201では、ビック
を使用した演奏状態にあるのか指でピッキングをして演
奏を行っている状態にあるのかをジャッジする。
Figure 7 shows the 8TEP2 70-
This shows the details of the chart, and in S20, it is determined whether this time positive/negative 7 lag b=flag MT, that is, s'rgpo
Determine whether the zero point is arriving in the same direction as
If Y, proceed to 8201. In step 8201, it is determined whether the player is playing using the big drum or picking with his fingers.

これは、電子ベースギター本体に設けられている外部ス
イッチによって、いずれの演奏状態にあるのか予め演奏
者が入力設定しておくことで判別できる。勿論、その他
の方式により両者の判別を行うようにしてもよい。
This can be determined by the player inputting and setting in advance which performance state the electronic bass guitar is in using an external switch provided on the main body of the electronic bass guitar. Of course, other methods may be used to discriminate between the two.

このビックを使用したときの弦振動にともない生ずる入
力波形信号の形状、特に負側の極性のピーク(MIN)
の変化が、上述したポツピング奏法等による入力波形信
号のそれと似たものとなり(これは実験的に確認されて
いる)、才なビックを使用して弦をたたいたりすること
はあまりないため、ビックを使用する時は5201から
822へ進み、ポツピング奏法等のための処理は実行し
ない。
The shape of the input waveform signal that occurs with string vibration when using this vibrator, especially the negative polarity peak (MIN)
The change in the input waveform signal is similar to that of the input waveform signal caused by the above-mentioned popping technique (this has been confirmed experimentally), and since it is not common to strike the strings with a sharp pitcher, When using the big, the process advances from 5201 to 822, and processing for popping performance etc. is not executed.

もし、ビックを使用していないときは5202へゆき、
b=1か0かのジャッジ、つまり負側のピークであるか
否か検知する。後に詳述するとおり、ポツピング奏法時
には、第12図に示すとおり、例えば、負側(もちろん
ピックアップのコイルの極性や電子回路の正、負の極性
をかえれば正側となり得るが、いずれにしても、−度セ
ットしたシステムにあっては、いずれか一方の固定の極
性の側となる。)の波形のピークが、順次減少(α〉β
>r)するという現象が実験的に確認されており、この
負極のピークの変化をジャッジすべく8202でb=o
の判断(Nのジャッジ)がなされると、5203へ進み
今回波高値C〉前回波高値AMP (0)か否か検出さ
れ、もしNならば、上述した理由でポツピング奏法等が
なされた可能性があるとして、5204に進み7ラグP
Pを1にセットする。5202でYの判断がなされたと
きと、8203でYの判断がなされたときとは、次に8
22へ進む。
If you are not using BIC, go to 5202,
Judges whether b=1 or 0, that is, detects whether it is a negative peak. As will be explained in detail later, when playing with popping, as shown in Figure 12, for example, the negative side (of course, it can be changed to the positive side by changing the polarity of the pickup coil and the positive and negative polarities of the electronic circuit, but in any case, , - If the system is set to - degree, the peak of the waveform will be on one of the fixed polarity sides.) will gradually decrease (α>β
> r) has been experimentally confirmed, and in order to judge the change in the peak of this negative electrode, b = o at 8202.
When the judgment (N judgment) is made, the process proceeds to 5203, and it is detected whether the current wave height value C>previous wave height value AMP (0). If it is N, there is a possibility that a popping technique was used for the above-mentioned reason. Assuming that there is, proceed to 5204 and 7 lag P
Set P to 1. The time when the determination of Y is made in 5202 and the time when the determination of Y is made in 8203 are as follows:
Proceed to 22.

822では、今回波高値c)(7/8)X前回の波高値
AMP (b)か否か、つまり波高値が前回と今回とで
諮問−かどうかをチエツクし、Yの場合つまり美しい自
然減衰の場合には、S23に進み、フラグDUBをOに
セットし、S24に進む。また、5204を実行した後
は823へ進む。
822, checks whether the current wave height value c) (7/8) x previous wave height value AMP (b), that is, whether the wave height value is consulted between the previous time and this time, and if Y, that is, beautiful natural attenuation. In this case, the process proceeds to S23, sets the flag DUB to O, and proceeds to S24. Further, after executing 5204, the process advances to 823.

そして、S24では、周期計算を行い、今回のゼロクロ
ス時刻【−前回のゼロクロス時刻データTFN (b)
を前回周期データTP (b)に入力し、今回のゼpり
冒ス時刻tを前回ゼロクロス時刻データTFN (b)
として入力する。824におけるTP (b)は、ST
gPaで7−トオン(1,5波)の条件として使用され
る。また、824では、レジスタ5TEPが3とセット
される。更に、今回波高値Cと、前回の波高値AMP 
(0)と、前回の波高値AMP(1)の内、最も大きい
iをベロシティVBLとして登録する。また、今回波高
値Cを前回の波高値AMP (b)へ書込む。
Then, in S24, periodic calculation is performed, and the current zero-crossing time [-previous zero-crossing time data TFN (b)
is input into the previous cycle data TP (b), and the current zero crossing time t is input into the previous zero cross time data TFN (b).
Enter as . TP (b) in 824 is ST
It is used as a condition for 7-ton (1,5 wave) at gPa. Further, in 824, register 5TEP is set to 3. Furthermore, the current wave height value C and the previous wave height value AMP
(0) and the previous peak value AMP(1), the largest i is registered as the velocity VBL. Also, the current wave height value C is written into the previous wave height value AMP (b).

そして、次の8241にて、レジスタPPが1か否か判
断し、Yのときは5242でTP (0)の周期の値を
時定数変換制御回路TCC内のレジスCHTIOを前記
レジスタCHTRRヘセットする。なお、ポツピング奏
法等が行われたときは、入力波形信号の入力直後からの
波高値の減衰が大きいためCHTRRに開放弦周期CR
TIOをセットしたら2個目、3個目のピークを検出し
ないおそれがあるので、上述した如き処理を行う。この
TP (0)は第12図に示しである。
Then, in the next step 8241, it is determined whether the register PP is 1 or not, and when it is Y, in 5242, the value of the period of TP (0) is set in the register CHTIO in the time constant conversion control circuit TCC to the register CHTRR. Note that when a popping technique is performed, the attenuation of the peak value of the input waveform signal immediately after input is large, so the open string period CR is added to CHTRR.
If the TIO is set, there is a possibility that the second and third peaks will not be detected, so the above-mentioned processing is performed. This TP (0) is shown in FIG.

820でNの場合には、S25に進み、フラグDUBす
なわち同一方向の入力波形がきたということを意味する
フラグを1にし、826に進む0826では、今回波高
値Cン前回の波高値AMP(b)かどうかが判断され、
Yの場合には829に進む。829では今回波高値Cに
前回の波高値AMP (b)を書替え、レジスタTの内
容tに前回のゼロクロス時刻データTFN(b)が書替
えられる。また、S22において、Nの場合には、82
7に進み、フラグDUB=1かどうか、つまり前回5T
EP2を実行したとき、ダプッたか否かのチエツクを行
い、Yの場合つまりダプッていれば828に進む。82
8では、7ラグDUBを0にする。この場合には829
に進みメインルーチンにリターンする。824の処理の
後、丈たS26のNのトキも、同様にメインルーチンへ
リターン(RET)する。
In the case of N at 820, the process advances to S25, sets the flag DUB, which means that an input waveform in the same direction has arrived, to 1, and proceeds to 826. ) is determined,
In the case of Y, the process proceeds to 829. At step 829, the previous peak value AMP (b) is rewritten to the current peak value C, and the previous zero cross time data TFN (b) is rewritten to the content t of the register T. In addition, in S22, in the case of N, 82
Proceed to step 7 and check whether flag DUB=1, that is, 5T last time.
When EP2 is executed, a check is made to see if it has been duplicated, and if Y, that is, if it has been duplicated, the process proceeds to 828. 82
8, set the 7 lag DUB to 0. In this case 829
to return to the main routine. After the process of 824, the N toki of S26 also returns to the main routine (RET).

以上述べた8TEP2 (8g11図の5TEP2→3
の間)では、今回正負7ラグbとしてフラグMT=1が
書替えられ、また7ラグDUBが0にセットされ、さら
に<  TFN (1)→T P (1)なる周期計算
が台われ、また今回ゼロクロス時刻tに前回のゼロクロ
ス時刻データTFN (1)が書替えられ、今回波高値
C1前回波高値A M P (0)、前回波高値AMP
 (1)の内最も大きい値がベロシティVELとしてセ
ットされ、更に今回波高値Cとして前回波高値AMP 
(1)がセットされる。
8TEP2 mentioned above (5TEP2→3 in 8g11 diagram)
(between), the flag MT = 1 is rewritten as positive and negative 7 lag b this time, 7 lag DUB is set to 0, and the cycle calculation becomes < TFN (1) → T P (1), and this time At zero-crossing time t, the previous zero-crossing time data TFN (1) is rewritten, and the current peak value C1, the previous peak value AMP (0), and the previous peak value AMP
The largest value of (1) is set as the velocity VEL, and the previous wave height AMP is set as the current wave height value C.
(1) is set.

そして、ポツピング奏法等がなされているか否かも判定
されレジスタPPの内容がもし1とされると、CHTR
RJ(TP (0) がセラ)さtL、(−ウでなけれ
ばCHTRRにはCHTIOがセットされる。
Then, it is also determined whether or not a popping technique, etc. is being performed, and if the contents of register PP are set to 1, CHTR
CHTIO is set in CHTRR unless RJ (TP (0) is Sera), tL, (-U).

第11図は、理想的な波形入力があった場合の例である
が、DUB=1となる場合について次に説明する。第8
図は、そのような場合の5TEP2の動作を説明するた
めの図であり、(A)は−波をとばしてピーク検出した
場合であり、入力波形が実線のときは後述するs’rE
p3の処理にてノートオンし、入力波形が点線のときは
ノートオンしない。これは、826にてYとなるかNと
なるかの違いからである。また、5TEP2からなかな
か8TBP3に移行しないのは、S20でb=MTが成
立しても、822でc)(7/8)XAMP (b)が
Nと判断され、これがYとならない間は、8TEP2は
繰返し実行されるからである。また、(B)は、オクタ
ーブ下の倍音を検知した場合であり、この場合には、c
 )(7/8) XAMP (b)のチエツク時、Yと
なり823を経て824に進み、8TBPaに移る。
FIG. 11 shows an example where there is an ideal waveform input, but the case where DUB=1 will be described next. 8th
The figure is a diagram for explaining the operation of 5TEP2 in such a case. (A) is a case in which peak detection is performed by skipping the - wave, and when the input waveform is a solid line, s'rE described later
A note is turned on in the process of p3, and a note is not turned on when the input waveform is a dotted line. This is due to the difference in whether the result at 826 is Y or N. Also, the reason why it is difficult to shift from 5TEP2 to 8TBP3 is that even if b=MT is established in S20, c) (7/8) This is because it is executed repeatedly. In addition, (B) is the case where overtones lower than the octave are detected, and in this case, c
) (7/8) When checking XAMP (b), it becomes Y and proceeds to 824 via 823, and moves to 8TBPa.

第9図は、第4図にM8として示す8TEP3の70−
チャートであり、830で7ラグMTl+今回正負フラ
グbかどうかが判断され、正常の場合すなわちYのとき
は、831に進む。831では、(1/8)c(AMP
 (b)ならXが0.tた逆の場合には)(=1にセッ
トされ、S32に進む◎832では、今回波高値Cとし
て前回の波高値AMP (1))が書蓄えられる。
Figure 9 shows the 70-
In 830, it is determined whether 7 lag MTl+current positive/negative flag b, and if it is normal, that is, Y, the process proceeds to 831. In 831, (1/8)c(AMP
If (b), then X is 0. In the opposite case) (=1 is set, and the process proceeds to S32.) At 832, the previous peak value AMP (1)) is stored as the current peak value C.

そして833において、5TEP2で得られたVHLよ
り今回波高値Cが大であれば、ぺpシティVEI、は今
回波高値Cが入力される。もし逆ならば、このベロシテ
ィVELは変化しない。次に今回正負7ラグbに7ラグ
MTが書替えられ、これによりピッチ変更側が逆にされ
る。これは、後述する8TEP4から7ラグMTの意味
が変り、ピッチ変更側を意味している。そして、S34
で[t −TFN (b)→TP (b)]なる周期計
算が行なわれる。また、今回のゼロクロス時刻tとして
前回のゼロクロス時刻データTFN(b)が書替えられ
る。
Then, at 833, if the current peak value C is greater than the VHL obtained in 5TEP2, the current peak value C is input to the Pep City VEI. If the opposite is true, this velocity VEL will not change. Next, 7 lag MT is rewritten to positive and negative 7 lag b this time, thereby reversing the pitch change side. This is because the meaning of 7 lag MT changes from 8TEP4, which will be described later, and means the pitch changing side. And S34
A periodic calculation of [t - TFN (b) → TP (b)] is performed. Furthermore, the previous zero-crossing time data TFN(b) is rewritten as the current zero-crossing time t.

次に、S35において、X=Oかどうかを判断し、Yの
場合には836に進み、周波数上限THLIM(前回の
周期データTP (b)かどうか、つまりピッチ抽出上
限チエツクを行い、その結果、最高音の周期より大きな
周期をもてば、許容範囲にあるということでYとなり、
S37に進む。S37では、トリガー時の周波数下限T
TLIM>前回の周期データTP (b)かどうか、つ
まりピッチ抽出下限チエツクを行い、最低音の周期より
小の周期をもてば許容範囲にあり、Yの判断をして83
8に進む◎837のピッチ抽出下限は、後述する8TE
P4のピッチ抽出下限とは定数が異なる。
Next, in S35, it is determined whether or not X=O, and in the case of Y, the process proceeds to 836 to check whether the frequency upper limit THLIM (previous cycle data TP (b)), that is, pitch extraction upper limit is checked, and as a result, If the period is greater than the period of the highest note, it is within the permissible range and becomes Y.
Proceed to S37. In S37, the lower limit of frequency T at the time of triggering
TLIM>Previous period data TP Check whether it is (b), that is, check the lower limit of pitch extraction, and if the period is smaller than the period of the lowest note, it is within the allowable range, and the judgment is 83.
Proceed to 8 ◎The lower limit of pitch extraction for 837 is 8TE, which will be described later.
The constant is different from the pitch extraction lower limit of P4.

具体的には、周波数上限THLIMは、最高音7レツト
の2〜3半音上の音高周期に相当し、トリガー時の周波
数下限TTLIMは、開放弦の開放弦7レツトの5半音
下の音高周期に相当するものとする。
Specifically, the frequency upper limit THLIM corresponds to a pitch period 2 to 3 semitones above the highest note 7th note, and the lower frequency limit TTLIM at the time of triggering corresponds to a pitch period 5 semitones below the open string 7th note. It corresponds to the period.

838では、前回の周期データTP (b)を前回抽出
された周期データTTPとしてセットすなわち、ピッチ
抽出側で抽出されたピッチをセーブ(これは後述する8
TEP4で使用される)し、839に進む。839では
、前回の周期データTP (b)!=!TP (r)か
どうか、すなわち極性の違うゼロクロス点間の周期の略
一致のチエツクである1、5波ピツチ抽出チエツクを行
ない、Yの場合には5301で次のような処理が行われ
るOすなわち、前回のゼロクロス時刻データTPN(S
)として時刻記憶レジスタTFRが書替えられ、また今
回のゼロクロス時刻tが前回のゼロクロス時刻データT
Fとしてセットされ、波形ナンバーカウンタHNCをク
リアする。このカウンタすなわち(MIN)にセットさ
れ、定数TTWは最高MAXにセットされる。これらは
いずれも後述する5TEP4にて使用するものである。
In step 838, the previous cycle data TP (b) is set as the previously extracted cycle data TTP, that is, the pitch extracted on the pitch extraction side is saved (this will be described later in step 8).
(used in TEP4) and proceed to 839. At 839, the previous cycle data TP (b)! =! TP (r), that is, a 1st and 5th wave pitch extraction check is performed, which is a check to see if the periods between zero crossing points with different polarities are approximately the same, and if Y, the following processing is performed in 5301. , previous zero-crossing time data TPN(S
), the time memory register TFR is rewritten, and the current zero-crossing time t is updated to the previous zero-crossing time data T.
F and clears the waveform number counter HNC. This counter is set to (MIN), and the constant TTW is set to the maximum MAX. All of these are used in 5TEP4, which will be described later.

また、リラティブオフの為の前回波高値レジスタAMR
L1がクリアされる。
Also, the previous peak value register AMR for relative off.
L1 is cleared.

そして続<8310において、レジスタPPが1か否か
ジャッジされる。Yならば、ポツピング奏法等が行われ
た可能性があるので、最初の周期情報を得たとしてもノ
ートオンせず5TEP+へ進むようにする。
Then, in the continuation <8310, it is judged whether the register PP is 1 or not. If it is Y, there is a possibility that a popping technique or the like was performed, so even if the first cycle information is obtained, the process proceeds to 5TEP+ without turning on the note.

もし、831GにてNの判断がなされると、5311に
進み、ポツピング奏法等が行われた疑いはないとして、
ノートオンフラグONFを2にセットして、ノートオン
状態とする。続<8302において、前回周期データT
P (b)に対応した音高とべ四シティVELに対応し
た音量で通常の音色でのノートオン処理が行われる。即
ち、マイコンMCPは音#SSに対し発音開始の指示を
する0 830において、Nの場合(同一方向のゼロクロス点検
出の場合)は、8303に進み、前回の波高値AMP 
(b)<今回波高値Cかどうかが判断され、Yの場合は
5304に進む。5304では、今回波高値Cが前回の
波高値AMP (b)としてセットされ、ベロシティV
ELまたはレジスタCの値Cの内のいずれか大きい値が
べpシティVELJC七7 )すtLル。S 303.
835.836゜837.839のいずれの場合もNの
場合には、メインルーチンへリターン(RET)する。
If a determination of N is made in 831G, the process proceeds to 5311, and it is determined that there is no suspicion that a popping technique was used.
The note-on flag ONF is set to 2 to enter the note-on state. In the continuation <8302, the previous cycle data T
Note-on processing is performed with a normal tone at a pitch corresponding to P (b) and a volume corresponding to Beshicity VEL. That is, the microcomputer MCP instructs the sound #SS to start sounding at 830. If N is determined (zero cross point detection in the same direction), the process proceeds to 8303 and the previous peak value AMP is
(b) It is determined whether the current peak value C is reached, and if Y, the process proceeds to 5304. In 5304, the current wave height value C is set as the previous wave height value AMP (b), and the velocity V
Either EL or the value C of register C, whichever is larger, is the value VELJC77). S303.
If the result is N in any of the cases of 835.836° and 837.839, the process returns to the main routine (RET).

第18図は831において、X=1すなわち異常となる
場合の具体例を示す図であり、1/8bl<boのとき
と、1 / 8 a * (a tのときのジャッジで
はいずれもその条件を満足せず、X=1となる。
FIG. 18 is a diagram showing a specific example of the case where X=1, that is, abnormality, in 831. In both cases, the condition is is not satisfied, and X=1.

すなわち、K18図の最初の3つの波形のピーク(”a
t be、al)は、ノイズによるもノテ、これらのノ
イズの周期を検出して発音開始を指示すると、全くおか
しな音が発生してし才う。そこで、S31では、波高値
が大きく変わったことを検知して、X=1とし、S35
でNの判断をするようIこする。そして、S31にて波
形が正常な変化をすることが検知されてから、発音開始
を指示するようにする。
In other words, the peaks of the first three waveforms (“a” in diagram K18)
t be, al) may be caused by noise, but if the period of these noises is detected and the start of sound generation is instructed, a completely strange sound will be generated. Therefore, in S31, it is detected that the peak value has changed significantly, and X=1 is set, and S35
Rub I to make a N judgment. Then, in S31, after a normal change in the waveform is detected, an instruction is given to start sound generation.

第18図の場合’I’p (b) #TP (b)の検
出がなされたときにノートオンとなる。
In the case of FIG. 18, note-on occurs when 'I'p (b) #TP (b) is detected.

以上述べた5TBP3 (第11図の5TBP3→4の
間)では、MT=1←bSAMP (Q)←c s r
n a x [V E L s c (のいずれかの大
きい方)]−+ V E L 、 M T 4− b 
= 0、TP(0)+[t−TFN(0)]、TFN(
0)←tSTTP4−TP(0)、TFR4−TFN 
(1) 、TF+t、HNC←0、TTU←0(MIN
) 、TTW4−MAX、AMRL1←0、そしてPP
=1でなければ、ノートオン条件’l’P (0) !
=;TP (1)についての処理がなされる0そして、
適切な波形入力に応答してこのs’rgpaにおいて、
ONF←2とされ、更に、抽出されたピッチに従った音
高の楽音が発生開始されることになる。第11図から判
明するように、周期検出を開始してから1.5周期程度
の時間経過で発音指示が音源SSに対しなされることに
なる。
In the above-mentioned 5TBP3 (between 5TBP3→4 in Figure 11), MT=1←bSAMP (Q)←c s r
n a x [VEL sc (whichever is greater)] - + VEL, M T 4- b
= 0, TP(0)+[t-TFN(0)], TFN(
0)←tSTTP4-TP(0), TFR4-TFN
(1), TF+t, HNC←0, TTU←0(MIN
), TTW4-MAX, AMRL1←0, and PP
If not = 1, note-on condition 'l'P (0)!
=; TP (1) is processed 0 and
In this s'rgpa in response to the appropriate waveform input,
ONF←2, and furthermore, a musical tone having a pitch according to the extracted pitch starts to be generated. As is clear from FIG. 11, the sound generation instruction is given to the sound source SS after approximately 1.5 cycles have elapsed since the start of cycle detection.

勿論、諸条件を満足しなければ、更におくれることは上
述したとおりである。そして、PP=1ならば、5TE
P3では発音開始することはない。
Of course, as mentioned above, if the various conditions are not satisfied, there will be further delays. And if PP=1, 5TE
At P3, the sound does not start.

第10図は、第4図のM9として示す5TEP4のフロ
ーチャートであり、この場合ピッチ抽出のみを行うルー
ト■、実際にピッチ変更を行うルート■がある。そして
、PP=lのときζこ実行するルート■がある。先ずp
P=0のときについて以下に説明する。すなわち、84
00,840゜841.842,863〜871に示す
ルート■について最初lこ説明する。いま5400では
Nの判断がなされ、S40において、波形ナンバーカウ
ンタHNC)aが判断され、Yの場合には841に進む
0841では、リラティブオンしきい値TRLRL<[
今回波高値C−前回の波高値AMPの くb)]かどうかか判断#箒が行われ、Nの場合には8
42に進む。842では今回正負7ラグb=7ラグMT
つまりピッチ変更側かどうかが判断され、Yの場合には
843に進む。
FIG. 10 is a flowchart of 5TEP4 shown as M9 in FIG. 4. In this case, there are a route (2) in which only pitch extraction is performed and a route (2) in which pitch is actually changed. Then, there is a route ■ which is executed when PP=l. First p
The case when P=0 will be explained below. That is, 84
00,840°841.842,863-871 will first be explained. Now, in 5400, a determination of N is made, and in S40, the waveform number counter HNC)a is determined, and in the case of Y, the process proceeds to 841.In 0841, relative on threshold value TRLRL<[
Current wave height value C - previous wave height value AMP (kb)] is judged #broom is performed, and in the case of N, 8
Proceed to step 42. In 842, this time positive and negative 7 lag b = 7 lag MT
In other words, it is determined whether or not it is the pitch changing side, and in the case of Y, the process advances to 843.

ところで、初期状態では、前記波形ナンバーカウンタH
NCは0である(第9図の8301参照)ので、S40
ではNの判断をして842へ進む。
By the way, in the initial state, the waveform number counter H
Since NC is 0 (see 8301 in Figure 9), S40
Then, make a determination of N and proceed to 842.

そして、例え−ば、tJIJ11図のような波形入力の
場合は、b=tでMT=0であるから、842から86
3へ進む。
For example, in the case of a waveform input as shown in figure tJIJ11, b=t and MT=0, so from 842 to 86
Proceed to step 3.

863においては、同じ極性のピークが続けて入力され
てきているか(ダブりであるか)、否かチエツクするた
めに、レジスタ8工v=1かトウかが判断され、Yの場
合には868に進み、また、Nの場合(ダブりでない場
合)には864に進み、ここで以下の処理が行われる。
In 863, in order to check whether peaks of the same polarity are being input consecutively (duplicate) or not, it is determined whether the register 8 is v=1 or toe, and in the case of Y, it is sent to 868. If the result is N (not a duplicate), the process proceeds to 864, where the following processing is performed.

すなわち、S64では今回波高値Cが前回の波高値AM
P (b)に入力され、リラティブオフ処理のために前
回の振幅値AMRLIが前々回の振幅値AMRL2に入
力される。なお、いまの場合はAMRLlの内容はOで
ある(8ThiP3の830参照)。さらに864にお
いて、前回の波高値AMP (r)と今回波高値Cのう
ちいずれか大きい値が前回振幅値AMRL 1に入力さ
れる。つまり、1周期の中で2つある正、負のピーク値
のうち大きい値のピーク値が振幅値AMRL1にセット
される。そして、865で波形ナンバーカウンタHNC
)8かどうかが判断され、ここで波形ナンバーカウンタ
(ピッチ変更側でないゼロクロスカウンタ)HNCが+
1され、カウントアツプされる。
That is, in S64, the current wave height value C is the previous wave height value AM.
P (b), and the previous amplitude value AMRLI is input to the previous amplitude value AMRL2 for relative off processing. Note that in the present case, the content of AMRLl is O (see 830 of 8ThiP3). Furthermore, in 864, the larger value of the previous peak value AMP (r) and the current peak value C is input as the previous amplitude value AMRL1. That is, the larger peak value of the two positive and negative peak values in one cycle is set to the amplitude value AMRL1. Then, at 865, the waveform number counter HNC
) 8, and here the waveform number counter (zero cross counter not on the pitch change side) HNC is +
1 and is counted up.

従って、波形ナンバーカウンタHNCは、上限が9とな
る。そして、S65もしくは866の処理の後867へ
進行する。867では、レジスタRIVを1とし、今回
のゼロクロス時刻から時刻記憶レジスタTFR,の内容
を引算して、周期レジスタTTRへ入力する。こつ周期
レジスタTTRは、第11図に示すような周期情報を示
すようになる。そして、今回のゼロクロス時刻【は、時
刻記憶レジスタTFRヘセープされ、この後、メインル
ーチンにリターン(RUT)する@863でYの場合は
、868に進み今回波高値C〉前回の波高値AMP (
b)かどうかが判断され、Yの場合は869に進む。8
69では、今回波高値Cに前回の波高値AMP (b)
が書替えられ、S70に進む。870では今回波高値C
〉前回の振幅値AMRL1かどうかが判断され、Yの場
合には871に進み、ここで今回波高値Cが前回の振幅
値AMRLtJこ入力される。
Therefore, the upper limit of the waveform number counter HNC is 9. After processing in S65 or 866, the process advances to 867. At step 867, the register RIV is set to 1, the contents of the time storage register TFR, are subtracted from the current zero-crossing time, and the result is input to the period register TTR. The trick period register TTR comes to show period information as shown in FIG. Then, the current zero-crossing time [ is saved in the time memory register TFR, and after this, the main routine is returned (RUT) @ If Y at 863, the process proceeds to 868 where current wave peak value C > previous wave peak value AMP (
It is determined whether or not b), and in the case of Y, the process proceeds to 869. 8
69, the current wave height value C is the previous wave height value AMP (b)
is rewritten, and the process advances to S70. At 870, the current wave height C
> It is determined whether the previous amplitude value AMRL1 is the previous amplitude value, and in the case of Y, the process proceeds to 871, where the current peak value C is inputted as the previous amplitude value AMRLtJ.

もし、868でNの判断がなされるとすぐにメインルー
チンへリターンする。従って、新しい入力波形のピーク
が大である場合についてのみ、新しい波形の振幅値が登
録される。(その場合は、倍音のピークをひろっていな
いと考えられるので。
If a determination of N is made at 868, the process immediately returns to the main routine. Therefore, the amplitude value of the new input waveform is registered only when the peak of the new input waveform is large. (In that case, it is likely that the peak of the overtones has not been detected.

また、S70でNのときと、S71の処理の終了のとき
には、同様にメインルーチンへリターンする。
Further, when the result in S70 is N, and when the processing in S71 ends, the process similarly returns to the main routine.

以上述べたようにルート■では、第11図の例によれば
以下のような処理がなされる。MT=OC(のいずれか
大きい方)]、HNC←(HNC+1)=1、RI V
4−1 、T T R+−(t−TFR)、T F R
4−t 0従って、周期レジスタTTRに前回の同極性
のゼロりpス点(8TEP2→3のところ)から今回の
ゼロクロス点までの時刻情報の差つまり、周期情報が求
まったことになる。そして、メインルーチンへ戻り、次
のゼロクロスインターラットを待つ◎ 次に、5400〜5621に示すルート■へ進んだ場合
の説明を行う。いま、波形ナンバーカウンタHNC=l
なので(S66参照) 、8400を実行し、続くS4
0から842へ進む。842では、第11図のような場
合、MT=o、b=。
As described above, in the route (2), according to the example of FIG. 11, the following processing is performed. MT=OC (whichever is larger)], HNC←(HNC+1)=1, RI V
4-1, TTR+-(t-TFR), TFR
4-t 0 Therefore, the difference in time information from the previous zero-cross point of the same polarity (at 8TEP2→3) to the current zero-cross point in the period register TTR, that is, the period information has been found. Then, the process returns to the main routine and waits for the next zero-cross interlat.◎ Next, we will explain what happens when the process proceeds to route ■ shown in 5400 to 5621. Now, waveform number counter HNC=l
Therefore (see S66), execute 8400 and proceed to S4
Proceed from 0 to 842. At 842, MT=o, b= in the case as shown in FIG.

なのでYとなり、S43へ進む。843では、レジスタ
RIV=1かどうかが判断される。既にルート■におい
て、レジスタRIVは1とされている(S67参照)の
で、S43の判断はいまの場合Yとなり、844へ進む
Therefore, the answer is Y and the process proceeds to S43. At 843, it is determined whether register RIV=1. Since the register RIV has already been set to 1 in route (2) (see S67), the judgment in S43 is Y in this case, and the process advances to 844.

844では、レジスタ8TEP=4かどうかが判断され
、Yの場合には845に進む。845では、今回波高値
c(60H(Hは16進法表現を示す)かどうかが判断
され、いま波高値は大なのでYとなり、S46に進む。
At 844, it is determined whether register 8TEP=4, and if Y, the process proceeds to 845. At 845, it is determined whether the current wave height value is c (60H (H indicates hexadecimal notation)), and since the current wave height value is large, the result is Y, and the process advances to S46.

846では、前々回の振幅値AMルL2−前回の振幅値
AMRLI≦(1/32)X前々回の振幅値AMRL2
かどうかが判断され、Yの場合には847に進み、リラ
ティブオフカウンタF Ol? R,が0にセットされ
ろ。
In 846, the amplitude value AMRL2 of the time before the previous time - the amplitude value of the previous time AMRLI ≦ (1/32) x the amplitude value AMRL2 of the time before the previous time
If it is Y, the process proceeds to 847 and the relative off counter F Ol? R, is set to 0.

このリラティブオフの処理については後述する。This relative-off processing will be described later.

そして、848では周期計算が行われる。具体的には(
今回のゼロクロス時刻を一前回のゼロクロス時刻データ
TF)が今回の周期情報11としてレジスタTOTOに
セットされる。そして、S49に進み、S49では、今
回の周期情報11)周波数上限THLIM(発音開始後
の上限)かどうかが判断され、Yの場合にはS50に進
む。
Then, at 848, period calculation is performed. in particular(
The current zero-crossing time and the previous zero-crossing time data TF) are set in the register TOTO as the current cycle information 11. The process then proceeds to S49, where it is determined whether the current period information 11) is the frequency upper limit THLIM (the upper limit after the start of sound generation), and in the case of Y, the process proceeds to S50.

8490周波数上限THLIMは、5TnP3の836
で使用したトリガー時(発音開始時)周波数の許容範囲
の上限(従って周期として最小で、最高音7レツトの2
〜3半音上の音高周期に相当する)と同一のものである
8490 frequency upper limit THLIM is 836 of 5TnP3
The upper limit of the allowable range of the trigger (start of sound) frequency used in (therefore, the minimum period is 2 of the highest note 7
(equivalent to a pitch period of ~3 semitones).

次に、S50では次の処理が行われる。すなわち、レジ
スタRI■を0にし、今回のゼロク四ス時刻tが前回の
ゼロクロス時刻データTFとして入力され、また前回の
波高値AMP (b)が前々回波高値eに入力され、さ
らに今回波高値Cが前回の波高値AMP (b)に入力
される。
Next, in S50, the following process is performed. That is, the register RI■ is set to 0, the current zero cross time t is input as the previous zero cross time data TF, the previous wave height value AMP (b) is input as the wave height value e before the previous time, and the current wave height value C is input to the previous peak value AMP (b).

そして、SSOの処理の後851に進み、851では、
周波数下限TLLIM)今回の周期情報1iかどうかが
判断され、Yの場合すなわち今回の周期が7−トオン中
のピッチ抽出音域下限以下になった場合には852に進
む。
After the SSO processing, the process proceeds to 851, and in 851,
Frequency lower limit TLLIM) It is determined whether the current cycle information is 1i, and if Y, that is, if the current cycle is below the lower limit of the pitch extraction range in 7-tone, the process proceeds to 852.

この場合、周波数下限TLLIMは、例えば、開放弦音
階の1オクターブ下にセットされる。つまり、5TEP
30周波数下限TTLIM(837参照)に比較して、
許容範囲を広くしている。このようにすることで、トレ
モロアームの操作などによる周波数変更に対応し得るよ
うになる口従って、周波数の上限、下限について許容範
囲に入る場合についてのみ852まで進み、そうでない
場合は849,851よりメインルーチンへリターンす
る。
In this case, the lower frequency limit TLLIM is set, for example, one octave below the open string scale. In other words, 5TEP
Compared to the 30 frequency lower limit TTLIM (see 837),
The permissible range is widened. By doing this, it becomes possible to respond to frequency changes by operating the tremolo arm, etc. Therefore, only if the upper and lower limits of the frequency are within the permissible range, proceed to 852, otherwise proceed to 849 and 851. Return to main routine.

次に、S52では周期データTTPが前々回抽出された
周期データhに入力され、また、今回の周期情報t【が
前回抽出された周期データTTPに入力される。そして
、S53で今回波高値CがベロシティVELに書込まれ
、8531にてPP=2か否かジャッジされ、いまNな
ので次に854に進む。854では、ノーチェンジレベ
ルNCHLV)(前々同波高値e−今回波高値C)かど
うかの判断が行われ、Yの場合lこは855に進む。
Next, in S52, the periodic data TTP is inputted into the periodic data h extracted two times before, and the current periodic information t[ is inputted into the periodic data TTP extracted last time. Then, in S53, the current peak value C is written to the velocity VEL, and in 8531 it is judged whether PP=2, and since it is now N, the process proceeds to 854. At 854, it is determined whether the no-change level NCHLV) (same peak value e before before - current peak value C) is determined, and if Y, the process proceeds to 855.

すなわち、前回の同極性の波高値(6=AMP(b))
と今回の波高値Cとが大きく変化している場合は、その
差がNCyLVを越えることになり、そのようなときに
、抽出された周期情報に基づきピッチ変更を行うと、不
自然な音高変化を呈することになる可能性が高い。そこ
で、S54でNの判断されると、S55以降の処理をす
ることすく、メインルーチンへリターンする。
In other words, the previous wave height value of the same polarity (6=AMP(b))
If there is a large change between the current wave height value C and the current wave height value C, the difference will exceed NCyLV, and in such a case, if the pitch is changed based on the extracted period information, an unnatural pitch will occur. It is likely that changes will occur. Therefore, if a negative determination is made in S54, the process returns to the main routine without performing the processes from S55 onwards.

次に、S54でYの場合、リラティブオフカウンタ)’
 OF R= 0か否かが判断される。後述するりラテ
ィプオフ処理を行っているときは、リラティブオフカウ
ンタF OF Rは0でなくなっており、そのような場
合もピッチ変更(S61を参照)の処理を行うことなく
、S55でNの判断をしてメインルーチンへリターンす
る。そして、8551Cで、Yの判断をしたときは、8
56,857へと順次進む。
Next, if Y in S54, the relative off counter)'
It is determined whether OFR=0. When performing the relative off processing described later, the relative off counter F OF R is no longer 0, and even in such a case, the judgment of N is made in S55 without performing the pitch change processing (see S61). and return to the main routine. Then, when the judgment is Y in 8551C, 8
The process proceeds sequentially to 56,857.

ここで2波3値一致条件が判断される。856では今回
の周期情報ttx2 >1今回の周期情報t【−前々回
周期データh1が判断され、Yの場合には857に進み
、また857では今回の周期情報1tX2  >1今回
の周期情報【11期レしスタTTR,の内容1が判断さ
れ、Yの場合には5571へゆく。いまPP、、=0な
ので、5571ではNのジャッジがなされ次に858に
進む。
Here, the two-wave three-value matching condition is determined. In 856, the current cycle information ttx2 >1 current cycle information t[--the cycle data h1 before the previous time is determined, and in the case of Y, the process proceeds to 857, and in 857, the current cycle information 1tX2 >1 current cycle information [11th period] The content 1 of the register TTR, is determined, and in the case of Y, the process goes to 5571. Since PP,,=0 now, a judgment of N is made in 5571 and the process proceeds to 858.

すなわち、S56では、第11図の今回の周期情報1t
(843参照)が、前回の周期データh(=TTP)(
S52参照)の値と略一致するか否かを判断し、S57
では、今回の周期情報11の値が、それζこ重なる周期
TTRとほぼ一致するか否かを判断する。なお、その限
界範囲は、2  Xttとして、周期情報に依存してそ
の値が変わるようになっている。勿論、これは固定の値
としてもよいが、本実施例採用技術の方が良好な結果を
得ることができる。
That is, in S56, the current cycle information 1t in FIG.
(see 843) is the previous cycle data h (=TTP) (
S57).
Then, it is determined whether the current value of the period information 11 substantially matches the period TTR which overlaps it by ζ times. Note that the limit range is set to 2 Xtt, and the value changes depending on the period information. Of course, this may be a fixed value, but better results can be obtained with the technique adopted in this embodiment.

次の858では、今回の周期情報it>定数TTUかど
うかが判断され、Yならば859へ進み、ここで今回の
周期情報11<定数TTWかどうかが判断され、Yなら
ば860へ進む。
In the next step 858, it is determined whether the current cycle information it>constant TTU, and if Y, the process proceeds to 859, and here it is determined whether the current cycle information 11<constant TTW, and if Y, the process proceeds to 860.

この858,859は急激なピッチ変更を認めないため
の判断である。つまり、S58の定数TTUは、5TE
P3の8301でいま0とされ、定数TTWは同様にM
AXの値とされており、はじめてこのフローを通るとき
は必ず858,859でYの判断がなされるが、その後
は後述する862において、定数TTUには、(17/
32)t t(略1オクターブ高音の周期情報)がセッ
トされ、定数’K”rWlcは同様に862iCて(3
1/16)it(略1オクターブ低音の周期情報)がセ
ットされる。従って、急激にオクターブアップする(こ
れは、7レツトを離して弦振動の中央に指をあててミニ
ート操作したときなどに生ずる)ことやオクターブダウ
ンすること(これは波形のピークをとり逃したときなど
に起る)があったときは、ピッチ変更をすると、不自然
となるので、ピッチ変更をしないようにブランチする。
These judgments 858 and 859 are made to not allow sudden pitch changes. In other words, the constant TTU of S58 is 5TE
It is now set to 0 at 8301 in P3, and the constant TTW is similarly set to M.
The value of AX is set as the value of AX, and when passing through this flow for the first time, Y is always determined at 858, 859, but after that, at 862, which will be described later, the constant TTU is set to (17/
32) t t (period information of approximately one octave treble) is set, and the constant 'K''rWlc is similarly set to 862iC (3
1/16)it (period information of approximately one octave bass tone) is set. Therefore, it is possible to suddenly go up an octave (this happens when you perform a minito operation by releasing the seventh note and placing your finger on the center of the string vibration) or down an octave (this happens when you miss the peak of the waveform). etc.), changing the pitch will look unnatural, so branch so as not to change the pitch.

もし、858,859でYの判断がなされたときは、次
に860へ進む。860では、レジスタ8TEP=4か
どうかの判断が行われ、Yの場合には861に進む。8
61では、マイコンMCPから音源SSへピッチ変更(
今回の周期情報11に基づく)が行われ、S62に進み
、今回の周期情報11に対応して時定数チェンジをし、
また定数TTUが(17732)X今回の周期情報【t
に書替えられ、さらに定数TTWが(31/16)X今
回の周期情報11に書替えられる。
If a determination of Y is made in steps 858 and 859, the process proceeds to step 860. At 860, it is determined whether register 8TEP=4, and if Y, the process proceeds to 861. 8
61, pitch change from microcomputer MCP to sound source SS (
(based on the current cycle information 11) is performed, and the process proceeds to S62, where the time constant is changed in accordance with the current cycle information 11.
Also, the constant TTU is (17732)
Further, the constant TTW is rewritten to (31/16)X current cycle information 11.

つまり、後述するように、リラティブオフの処理がなさ
れたときに限り、8’[’BP=5となるが、そのとき
は、ピッチ変更を行うことなく時定数チェンジを行う。
That is, as will be described later, 8'['BP=5 only when relative off processing is performed, but in that case, the time constant is changed without changing the pitch.

この時定数チェンジの処理とは、第2図の時定数変換制
御回路TCC内部のレジスタに今回の周期情報11の値
に基づくデータをマイフンMCPがセットすることをい
う。これは、既に説明したとおりである。
This time constant change processing means that the MyFun MCP sets data based on the value of the current cycle information 11 in the register inside the time constant conversion control circuit TCC shown in FIG. This is as already explained.

そして、S62の処理に続きレジスタPPの値が2か否
かジャッジされ、いまNなのでメインルー°チンへリタ
ーンする。従って、以上述べたようにルーF■では、第
11図に示す通り次の処理がなされる。すなわち、HN
C=1、M’r=0=b。
Following the process of S62, it is judged whether the value of the register PP is 2 or not, and since it is now N, the process returns to the main routine. Therefore, as described above, in the loop F2, the following processing is performed as shown in FIG. That is, HN
C=1, M'r=0=b.

RI V = l 、 F OF R4−0、t t←
(t−’rF)。
RI V = l, F OF R4-0, t t←
(t-'rF).

RIV4−0、T F 4− t、e←人MP (0)
、AMP (0)60% h+TTP、TTP+−t 
tNVEL+cであり、さらに、 ■TTP!qTTR#l t。
RIV4-0, TF4-t, e←Person MP (0)
, AMP (0)60% h+TTP, TTP+-t
tNVEL+c, and ■TTP! qTTR#lt.

■TTU(t t(TTW。■TTU(tt(TTW.

■AMP (0)−c<NCHLV 03条件の満足で、11に従ったピッチ変更を行う。し
かる後、TTU←(17/32)Xt t。
■AMP (0)-c<NCHLV When the 03 condition is satisfied, the pitch is changed according to 11. After that, TTU←(17/32)Xt t.

TTW4− (31/16) X t tカf!すtL
;5゜従って、ルート■にて、実際の音源SSに対する
ピッチ変更が行われ、続くゼロクロスインタラブドでル
ート■の処理、同様に、続くゼロクロスインタラブドで
、ルート■の処理が行われる0このようにして、ルート
■では、単に周期を抽出(S67を参照)シ、ルート■
では実際のピッチ変更(S61参照)、時定数チェンジ
処理(S62参照)が行われることになる。
TTW4- (31/16) X t t Kaf! stL
;5° Therefore, in the root ■, the pitch change is performed on the actual sound source SS, and in the following zero cross interwoven, the process of the root ■ is performed.Similarly, in the subsequent zero cross interwoven, the processing of the root ■ is performed. Then, in root ■, simply extract the period (see S67).
Then, actual pitch change (see S61) and time constant change processing (see S62) will be performed.

なお、8TEP4における840において、ルート■の
866で波形ナンバーカウンタHNCが3を越えるよう
に、カウントアツプされた後は、Yの判断がなされ、次
に841へ行き、リラティブオンの条件を検出する。こ
れは、C−人MP(b)>’rRLRLであり、前回の
振幅値AMRL1に比べて今回の振幅値がしきい値T 
KL KLを越えて増大したとき、つまり、これは弦操
作後に同じ弦を再度ピッキングしたとき(トレモp奏法
などによる)にこのようなことがおき、この場合は84
1で続けてリラティブオンの処理をすべくS41から8
78へ進み、時定数変換制御回路TCCの時定数チェン
ジレジスタCHTI(,1(へ最高音7レツト(例えば
227レツト)の周期CHTIMをセットする。しかる
後、第5図の806へ進み、当該発音中の楽音をノート
オフした後、再発音開始する。
In addition, at 840 in 8TEP4, after the waveform number counter HNC is counted up so that it exceeds 3 at 866 in route (2), a determination of Y is made, and then the process goes to 841 to detect a relative-on condition. This means that C-person MP(b)>'rRLRL, and the current amplitude value is the threshold T compared to the previous amplitude value AMRL1.
This happens when the KL increases beyond KL, that is, when the same string is picked again after string manipulation (such as by tremo p playing), in this case it is 84.
Continuing with step 1, proceed from step S41 to step 8 to process the relative on.
78, the time constant change register CHTI(, 1) of the time constant conversion control circuit TCC is set to the period CHTIM of the highest note 7th note (for example, 227th note).Then, the process proceeds to 806 in FIG. After note-off of the musical note inside, it starts playing again.

通常の演奏操作によれば840,841,842へ進み
、上述したルート■もしくはルート■へ進むO 次に、第12図を参照してポツピング奏法等がなされた
ときの処理を説明する。
According to normal performance operations, the process proceeds to steps 840, 841, and 842, and then proceeds to the above-mentioned route (2) or route (3).Next, referring to FIG. 12, the processing when a popping performance is performed will be explained.

上述したとおリボッピング奏法等によれば、入力波形信
号の一方側の極性、この実施例では負側の極性のピーク
が第12図に示すとおりα〉β〉rとなる。従って、8
TEP2の処理のときにPPが1とセットされ、しかも
CHTRRはT P (0)が、AMP (G)はCが
夫々セットされる。
According to the above-mentioned rebopping performance technique, the polarity of one side of the input waveform signal, in this embodiment, the peak of the negative side polarity becomes α>β>r as shown in FIG. Therefore, 8
During the processing of TEP2, PP is set to 1, CHTRR is set to T P (0), and AMP (G) is set to C.

そして8TBPaでは、PP=1の場合TP(0)=T
P (1)であってもノートオンはせずに8TEP4に
進む。
And at 8TBPa, if PP=1, TP(0)=T
Even if it is P (1), proceed to 8TEP4 without note-on.

そして@10図のST]13P4の8400では、Yの
判断がなされ、ルート■へゆく。このルート■とは、8
401から始まるルーチンのことであり、まず5401
では、b=1か否か判断し、正側のピーク直後のゼロク
ロス点に関する処理の場合は、ポツピング奏法等のジャ
ッジはできないの:、54Otの判断はYとなりメイン
ルーチンへリターン(RBT)する。
Then, at 8400 of 13P4 (ST in Figure 10), a determination of Y is made and the process goes to route ■. This route ■ is 8
It is a routine that starts with 401, and first starts with 5401.
Then, it is determined whether b=1 or not, and in the case of processing related to the zero-crossing point immediately after the positive peak, it is not possible to judge the popping playing style, etc.:, the determination at 54Ot is Y and the process returns to the main routine (RBT).

もし、負側のピーク直後のゼロクロス点に関する処理の
場合は、8401でNのジャッジがなされ、5402へ
行く、5402では、既に今回のピッキングがポツピン
グ奏法等による可能性が大であると判断しているので、
後は周期計測のために開放弦周期CHTIOの値を前記
レジスタCHTRRヘセットしておく。
If the processing is related to the zero-crossing point immediately after the negative peak, a judgment of N is made in 8401 and the process goes to 5402. In 5402, it has already been determined that there is a high possibility that the current picking is due to a popping playing style, etc. Because there are
After that, the value of the open string period CHTIO is set in the register CHTRR for period measurement.

そして、続<8403にてc )AMP (0)か否か
ジャッジする。この8403でYの判断がなされると、
ポツピング奏法等はなされなかったとして、8404へ
進み、ポツピング奏法等はなされなかったという意味で
レジスタPPをOとし、選択した音色にて音源SSから
発音開始する。
Then, in continuation <8403, it is judged whether c) AMP (0). If a determination of Y is made in this 8403,
Assuming that no popping technique was used, the process proceeds to 8404, sets the register PP to O to mean that no popping technique was used, and starts generating the selected tone from the sound source SS.

一方、8403でNのジャッジがなされたとき(つまり
第12図に示すようにα〉β〉rの関係が成立したとき
)は、5405に進み所定音(第10図及び第12図で
はPP音と示しである)を発生するように音源SSへ指
示する。
On the other hand, when a judgment of N is made in 8403 (that is, when the relationship α>β>r holds true as shown in FIG. 12), the process advances to 5405 and a predetermined sound (PP sound The sound source SS is instructed to generate the following:

この所定音(PP音)は、聴感上特定のピッチを感じる
ことができないような音、例えばノイズ音、パーカッシ
ョン音あるいはノイズを用いてモジュレーションをかけ
た音などがよい。これはポツピング奏法等が弦をたたい
たり、弦をひっばってから離したりすることで音を発生
する奏法であることからである。いずれにしても、@1
211のTP (0) −TP (1)の周期をもとに
音階音を発生すると、後に抽出される当該7レツトにつ
いての弦の振動周期X ”Q 7 ”i Zとは異なっ
てくるため・不自然な周期の変更を行わねばならぬこと
になる。そこで、この実施例によれば、本来の音階音の
発生の前に上述したような所定音(PP音)を発生する
ようにし、その後本来の音階音にかえてゆく(例えば徐
々に音階音にかえてゆく)ようにする。
This predetermined sound (PP sound) is preferably a sound in which a specific pitch cannot be sensed, such as a noise sound, a percussion sound, or a sound modulated using noise. This is because the popping method is a playing method that generates sound by hitting the strings or pulling the strings and then releasing them. In any case, @1
If a scale tone is generated based on the period of TP (0) - TP (1) of 211, it will be different from the string vibration period X ``Q 7 '' i Z for the 7th let that will be extracted later. This would require an unnatural cycle change. Therefore, according to this embodiment, a predetermined sound (PP sound) as described above is generated before the original scale sound is generated, and then the original scale sound is changed (for example, the scale sound gradually changes). change).

さて、この8405に続けて8406へ進み、レジスタ
PPを2にセットして、所定音(PP音)が発生したこ
とを示すようにし、次に7ラグONFを2にセットして
、メインルーチンへリターンする。
Now, following this 8405, proceed to 8406, set register PP to 2 to indicate that a predetermined sound (PP sound) has occurred, then set 7 lag ONF to 2, and proceed to the main routine. Return.

従って、次のインタラブド処理に続くメインルーチンの
処理では、5TEP4において8400ではNのジャッ
ジをし、上述したルート■もしくはルート■の処理を実
行するようにする。
Therefore, in the main routine processing following the next interwoven processing, a judgment of N is made at 8400 in 5TEP4, and the processing of route (2) or route (2) described above is executed.

ところで、このルート■においては、8531ではレジ
スタPP=2となっているので854を介することなく
S55へゆく。これは、ポツピング奏法によれば、入力
波形信号のレベル変動がはげしいので、854でのジャ
ッジe −c (N CHLMではNとなることが多く
、この処理からメインルーチンへリターンしたのでは、
ピッチ抽出がおくれでしまう可能性が大となる。従って
、PP=2のときは、この854はバイパスするように
して次の855へゆく。
By the way, in this route (2), since register PP=2 in 8531, the process goes to S55 without going through 854. This is because, according to the popping playing style, the input waveform signal level fluctuates rapidly, so the judge e - c (N at 854) is often N in CHLM.
There is a high possibility that pitch extraction will be delayed. Therefore, when PP=2, this 854 is bypassed and the process goes to the next 855.

同様に、8571ではPP=2のときはYのジャッジを
行い、858,859を介することなく直接860へ進
む。
Similarly, in 8571, when PP=2, a Y judgment is made and the process directly proceeds to 860 without going through 858 and 859.

これも、ポツピング奏法等によれば、第12図にも示す
とおりピッチ変化が急激に現われる可能性が高<858
,859でのジャッジを行うとピッチ抽出ができなくな
る可能性が高くなるので、これらの処理はバイパスして
、S60へ進み、860〜862の実行の後、5621
から5622にゆきこの8622でレジスタPPはOに
した後、メインルーチンへリターンする。
Also, according to the popping technique, etc., there is a high possibility that the pitch change will appear suddenly as shown in Figure 12.
, 859, there is a high possibility that pitch extraction will not be possible, so these processes are bypassed and the process proceeds to S60, and after executing steps 860 to 862,
Then, the process goes to 5622. At 8622, the register PP is set to O, and then the process returns to the main routine.

ところで、第12図に示す例では、s’rgp4になっ
て、周期x、y、zが略一致したことが検知されると(
856,857参照)、はじめて本来の7レツト周期に
ピッチ変更がなされる(S61参照)ことになる。
By the way, in the example shown in FIG. 12, when it becomes s'rgp4 and it is detected that the periods x, y, and z substantially match, (
856, 857), the pitch is changed to the original 7-let period for the first time (see S61).

この後の各7四−の処理動作は既に説明したとおりであ
り、ルート■、ルート■の動作を繰り返し実行するよう
になる。
The subsequent processing operations of each 74- are as described above, and the operations of route (2) and route (2) are repeatedly executed.

次に第13図、第14図を参照して、リラティブオフ処
理を説明する。つまり、7レツト操作している状態から
、開放弦状態へ移行すると、波形の振幅レベルは急激に
落ちてきて、前々回の波高値AMRL2と前回の波高値
AMRL1との差が(1/32)AMRL2を越えるよ
うになると、846から874へ進む。そして、リラテ
ィブオフカウンタFOFBが定数ROFCTを越える丈
でカウントアツプするように874から875へ進む・
このとき、S75から848へ行き849〜855の処
理を行うが、FOFR=Oでないので、リラティブオフ
処理に入る直前ではピッチ変更を行うことなくメインル
ーチンへ戻る。
Next, relative off processing will be explained with reference to FIGS. 13 and 14. In other words, when moving from the state where the 7-let operation is being performed to the open string state, the amplitude level of the waveform drops rapidly, and the difference between the previous wave height value AMRL2 and the previous wave height value AMRL1 is (1/32) AMRL2. When the value exceeds the value, the process proceeds from 846 to 874. Then, the process proceeds from 874 to 875 so that the relative off counter FOFB counts up by a length exceeding the constant ROFCT.
At this time, the process goes from S75 to 848 and processes 849 to 855 are performed, but since FOFR=O is not established, the process returns to the main routine without changing the pitch immediately before entering the relative off process.

そして、S74でYと判断すると、つまり第13図の例
では、FOFRの値が3となったとき(ROFCTは2
である)、874から875へ行く。
If it is determined Y in S74, that is, in the example of FIG. 13, when the value of FOFR becomes 3 (ROFCT is 2
), go from 874 to 875.

ただし、S46のジャッジでYの判断が一度でもあると
、846から847へ進み、POFRをリセットするよ
うになる。従って、ROFCTで指定される回数だけ続
けて846の条件を満足しなければ、リラティブオフの
処理はなされない。
However, if the judgment in S46 is Y even once, the process proceeds from 846 to 847 and the POFR is reset. Therefore, unless the condition 846 is satisfied the number of times specified by ROFCT, relative off processing is not performed.

なお、ROFCTの値は、音高が高い弦について大きい
値としておけば、略一定の時間経過で、いずれの弦につ
いてもリラティブオフ処理ができる0そして、S74か
ら876へ行くと、リラティブオフカウンタFOFRを
リセットし、レジスタ8TEPを5とし、877へ進ん
で音源SSに対しノートオフを指示する。この5TEP
が5の状態では、ピッチ抽出処理を5TBP4の時と同
様に実行するが、S60から861を介することなくS
62へ進むので、音源SSに対しては、ピッチ変更はさ
れない。ただし、S62において抽出した周期に従って
時定数チェンジ処理を行う。
Note that if the value of ROFCT is set to a large value for strings with high pitches, relative off processing can be performed for any string after an approximately constant time 0. Then, when going from S74 to 876, the relative off counter FOFR is set to 0. is reset, register 8TEP is set to 5, and the process proceeds to 877 to instruct note-off to sound source SS. This 5TEP
is 5, the pitch extraction process is executed in the same way as in 5TBP4, but S60 to S861 are not performed.
62, the pitch is not changed for the sound source SS. However, the time constant change process is performed according to the period extracted in S62.

そして5STEPが5の状態では、リラティブ、オンの
処理を受付けるが(841,878) 、それ以外の場
合では、第4図のメイン7四−の中で、振動レベルが減
少してきたことが検知されることによりM14で8TE
Pが0となり、初期状態に戻る。
When 5STEP is 5, Relative ON processing is accepted (841, 878), but in other cases, it is detected that the vibration level has decreased in the main 74- of Fig. 4. 8TE with M14 by
P becomes 0 and returns to the initial state.

なお、846で使用するAM几Ll、AM几L2は86
4で作られており、1周期の中でレベルが大な方のビー
ク(f&大ピークと最小ビークとの一方)が、゛この値
とされ、第14図の例では、最大ビークayが最小ビー
クbK−1より必ず大である場合であってs anal
と8m+1 Sa!l+1とamam、analとa鳳
+4の差がいずれも所定値を越えるようになっている。
In addition, AM几Ll and AM几L2 used in 846 are 86
4, and the peak with the highest level in one cycle (one of the f & large peak and the minimum peak) is set to this value, and in the example in Figure 14, the maximum peak ay is the minimum Beak bK-1 is always larger than s anal
and 8m+1 Sa! The differences between l+1 and amam and between anal and ao+4 are all set to exceed predetermined values.

また、このときルート■の処理iこおいては、最tJz
 k’−りbust % b!L+x s buds力
S極端ξこ減少してきているので、S54でNの判断が
成されて、メインルーチンへリターンし、ピッチ変更処
理はなされない。
Also, at this time, in the process i of route ■, the most tJz
k'-ri bust % b! Since the L+x s buds force S has decreased by the extreme ξ, a determination of N is made in S54, the process returns to the main routine, and no pitch change processing is performed.

次に、ピッチ抽出しているなかで、オクターブ関係にあ
る倍音、つまりオクターブ高い音やオクターブ低い音が
続けて検出されたと基の処理について説明する。
Next, we will explain the processing based on the case that during pitch extraction, overtones in an octave relationship, that is, sounds an octave higher or an octave lower, are successively detected.

既に説明したように、S58では11がTTUを越えな
かったとき、つまり、前回抽出した周期の17/32倍
した値TTUより小になったとき、876へ進む。つま
り、オクターブ高い音が抽出されたときは、指定してい
た7レツトから指を離して振動弦の中央を指でおさえる
などしてミュート操作をした場合とみなし、オクターブ
高い音を出力することなく、858から876へ行き、
リラティブオフ時同様876.877の処理によって当
該前の発音を停止する。
As already explained, in S58, when 11 does not exceed TTU, that is, when it becomes smaller than the value TTU multiplied by 17/32 of the previously extracted period, the process proceeds to 876. In other words, when a note an octave higher is extracted, it is treated as a mute operation such as removing your finger from the specified 7th let and pressing the center of the vibrating string with your finger, without outputting a note an octave higher. , go from 858 to 876,
Similar to when relative is turned off, the previous sound generation is stopped by processing 876.877.

また、S59では、itがTTWを珀えなかったとき、
つまり前回抽出した周期の31/16倍した値TTWよ
り大となったとき、860へ進むコトナく、メインルー
チンへリターンスル。
Also, in S59, when it failed to complete TTW,
In other words, when the value is greater than the value TTW, which is 31/16 times the previously extracted cycle, the process returns to the main routine without proceeding to 860.

この状態は第15図に示されている。通常ノートオフ近
辺の非常に波形が小さい場合1他のピッキングによって
ヘキサピックアップのクロストオークやボディの共振に
よって波形が乗ってくる。
This state is shown in FIG. Normally, when the waveform is very small near note-off 1. The waveform is picked up by other pickings due to the crossed oak of the hex pickup or the resonance of the body.

すると、例えば、第15図のような入力波形となり、1
オクターブ下の入力波形が続けて検出されてしまうこと
がある◎ このような場合、何隻処理を施さないと、急にオクター
ブ下の音を出力してしまい、極めて不自然となる。その
ために、857,856でTan41−T a n+ 
l ’Q T、 b 3+zが検出されても、’ran
+s)T bust X (31/ 16 )となるの
で、ピッチ変更することなく、S59からメインルーチ
ンへリターンする。
Then, for example, the input waveform becomes as shown in Fig. 15, and 1
Input waveforms that are an octave lower may be detected continuously.◎ In such a case, unless some processing is performed, the sound that is an octave lower will suddenly be output, which will be extremely unnatural. Therefore, Tan41-T a n+ at 857,856
Even if l'Q T, b 3+z is detected, 'ran
+s) T bust X (31/16), so the process returns to the main routine from S59 without changing the pitch.

次に、ダブリの波形が抽出される場合つまり、同じ極性
のゼロクpス点が続けて到来する場合について説明する
。第16図は、MT=1の場合の例を示しており、基本
波周期と倍音成分の周期が非整数倍の関係にあるので、
倍音の位相がずれて行き、同じ極性のゼロクロスを検出
をしてしまうことになり、そのために誤ったピッチ変更
をしないようにしないといけない。
Next, a case where a double waveform is extracted, that is, a case where zero x ps points of the same polarity arrive successively will be described. FIG. 16 shows an example when MT=1, and since the fundamental wave period and the period of the harmonic component are in a non-integer multiple relationship,
The phase of the overtones will shift and you will end up detecting zero crosses of the same polarity, so you have to be careful not to make incorrect pitch changes.

そこで、図のダブリと書いであるゼpクロス時の5TB
P4の処理では、842から843へ行き、S43では
Yの判断をして872へ行く。ここで、an+3とan
+2の大きさが比較され、もし3m+3がan+1より
大であれば、872でYの判断を、し、AMP (1)
に、3m+3の値をセットし、もし逆の場合は何隻変更
処理をしない。
Therefore, 5TB at the time of Zep cross, which is written as double in the diagram.
In the process of P4, the process goes from 842 to 843, and in S43, a determination of Y is made, and the process goes to 872. Here, an+3 and an
The magnitude of +2 is compared, and if 3m+3 is greater than an+1, a decision of Y is made at 872, and AMP (1)
Set the value of 3m+3 to , and if the opposite is true, do not change the number of ships.

ところで、このダブリの場合抽出している時刻データは
何隻使用しないので、周期情報Taユ+3は何等変わら
ない。また、当然周期データに基づくピッチ変更は行わ
れない。
By the way, in this case of duplication, the extracted time data is not used, so the cycle information Ta+3 does not change at all. Also, of course, the pitch is not changed based on the periodic data.

同様に、第17図は波形のダブリの場合の例で、MT=
Oの状態を示している。このときも、図中にダブリと示
しているところで、ダブリの状態が生じている。このと
きは、S42から863へ行き、Yの判断をして868
へ行く。868では、いまの場合!In+2とan+8
との比較をして、3m+3がan+雪より大なときに限
り869へ行き、AMP (1)を書替える。この場合
は、更に前回の振幅値AMRLIと今回の振幅情報(波
高値C)の比較を870で行って、もしYならば871
へ進み、今回の振幅情報Cを前回の振幅値AMRL1ヘ
セットする。
Similarly, FIG. 17 shows an example of waveform duplication, where MT=
The state of O is shown. At this time as well, a state of overlap occurs at the locations indicated as overlap in the figure. In this case, go to 863 from S42, make a Y decision, and go to 868.
go to 868, in this case! In+2 and an+8
Compare with , and go to 869 only when 3m + 3 is greater than an + snow and rewrite AMP (1). In this case, the previous amplitude value AMRLI is further compared with the current amplitude information (peak value C) at 870, and if Y, 871
The current amplitude information C is set to the previous amplitude value AMRL1.

このようにして、倍音の影響で、波形がダブったときに
も、856,857を満足しない限りピッチ変更処理は
なされないことになる。
In this way, even if the waveform is doubled due to the influence of overtones, pitch change processing will not be performed unless 856 and 857 are satisfied.

このように、本実施例によれば、ポツピング奏法等がな
されたことを、固定の一方側の極性のピーク、つまりこ
の実施例では負側のピークが弦振動開始時に現われ、そ
れが2つ続けて減少してゆくことで検知するようにした
もので、そのような場合は、本来の7レツト操作に対応
する周期の検出がなされるまで、ピッチを判断するのが
むずかしいような音色の楽音を発生するようにして、発
音開始時に不自然なピッチ変更がなされるのを防止でき
るようになる。しかも、演奏状態の変化にあわせて、特
有の音響の発生を可能とするようになる0 なお、前記実施例においては、最大ピーク点、最小ピー
ク点の次のゼロクロス点毎の間隔から周期抽出を行うよ
うにしたが、その他の方式、例えば最大ピーク点間や最
小ピーク点間の時間間隔から周期抽出を行ってもよい。
In this way, according to this embodiment, it is possible to detect that a popping playing technique has been performed by detecting that a fixed polarity peak on one side, that is, a negative peak in this embodiment, appears at the start of string vibration, and two peaks occur in succession. In such a case, a musical tone with a tone whose pitch is difficult to judge will be detected until the period corresponding to the original 7-let operation is detected. This makes it possible to prevent unnatural pitch changes from occurring at the start of sound production. Moreover, it becomes possible to generate a unique sound in accordance with changes in the performance state.In addition, in the above embodiment, the period is extracted from the interval of each zero cross point after the maximum peak point and the minimum peak point. However, other methods may be used, for example, period extraction may be performed from the time interval between maximum peak points or between minimum peak points.

また、それに合わせて回路構成は種々変更し得る。Further, the circuit configuration can be variously changed accordingly.

また、前記実施例においては、この発明を電子ベースギ
ター(ペースギターシンセサイザ)に適用したものであ
ったが、これは、ポツピング奏法等がよく行われること
によるものである。しかし、本発明の適用できる楽器は
、それに限らない。ピッチ抽出を行って、オリジナルの
信号とは別の音響信号を発生するタイプの楽器または装
置であれば、種々適用可能である。
Furthermore, in the embodiment described above, the present invention was applied to an electronic bass guitar (pace guitar synthesizer), but this is because popping techniques are often used. However, the musical instruments to which the present invention can be applied are not limited thereto. The present invention can be applied to a variety of musical instruments or devices that perform pitch extraction and generate an acoustic signal different from the original signal.

〔発明の効果〕〔Effect of the invention〕

本発明は、以上詳述したとおり、レベル検知手段にて検
知される所定極性側のピークレベルの変化が、弦振動に
ともなって発生する入力波形信号の入力開始時において
所定回数順次減少してゆくような場合、判断手段にてポ
ツピング奏法等がなされたと判断し、音階音とは異なる
所定音、特に周期性が感じられない音を発生するように
して、ポツピング奏法等による演奏操作時に好適な音響
を発生可能とする。
As described in detail above, the present invention is such that the change in the peak level on the predetermined polarity side detected by the level detection means decreases sequentially a predetermined number of times at the start of input of an input waveform signal generated in conjunction with string vibration. In such a case, the determining means determines that a popping technique, etc. has been performed, and generates a predetermined tone different from the scale note, especially a sound with no perceived periodicity, to create a sound suitable for performing operations using the popping technique, etc. can occur.

従って、ポツピング奏法等を行ったときに、音階音とは
異なる音が発生し、演奏効果が向上し、7レツト操作に
よる本来の周期の抽出によって対応する音階音の発生に
切換えても、不自然さはなくなる。
Therefore, when performing a popping technique, etc., a sound different from the scale note is generated, which improves the performance effect, and even if you switch to generating the corresponding scale note by extracting the original period by the 7-letter operation, it will be unnatural. There will be no more.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明による電子弦楽器の人力制御装置の全体
の構成を示すブロック図、第2図は第1図のピッチ抽出
デジタル回路の一例を示すプ四ツク図、第3図は!2図
のマイコンの割込み処理ルーチンを示す7四−チャード
、第4図は第2図のマイコンのメイン処理ルーチンを示
す7a−チャート、第5図〜第7図および第9図、第1
0図はいずれも第2図のマイコンの各ステップの動作を
説明するための7田−チャー)、!81M、 第11図
〜、1!18図はいずれも各ステップの動作を説明する
ためのタイミングチャートである。 FA・・・ピッチ抽出アナ四グ回路、 PD・・・ピッチ抽出デジタル回路1 M0P・・・マイコン、 88・・・音源、PEDT・
・・ピーク検出回路、 ZT8・・・ゼ胃り田ス時刻取込回路、TCC・・・時
定数変換制御回路、 PvS・・・波高値取込み回路。
FIG. 1 is a block diagram showing the overall configuration of a human-powered control device for an electronic stringed instrument according to the present invention, FIG. 2 is a block diagram showing an example of the pitch extraction digital circuit of FIG. 1, and FIG. 74-chart showing the interrupt processing routine of the microcomputer in Fig. 2, Fig. 7a-chart showing the main processing routine of the microcomputer in Fig. 2, Figs.
Figure 0 is used to explain the operation of each step of the microcomputer in Figure 2). 81M, FIGS. 11 to 18 are timing charts for explaining the operation of each step. FA...Pitch extraction analog 4G circuit, PD...Pitch extraction digital circuit 1 M0P...Microcomputer, 88...Sound source, PEDT.
...Peak detection circuit, ZT8...Zegger time acquisition circuit, TCC...Time constant conversion control circuit, PvS...Peak value acquisition circuit.

Claims (1)

【特許請求の範囲】 ポッピング奏法やプル奏法がなされたことを検知して、
音階音とは異なる所定音を発生するようにした電子弦楽
器であって、 弦振動にともなって発生する入力波形信号のピークレベ
ルを検知するレベル検知手段と、 このレベル検知手段にて検知される所定極性側のピーク
レベルの変化が、前記入力波形信号の入力開始時におい
て所定回数順次減少してゆくような場合、前記ポッピン
グ奏法やプル奏法がなされたと判断する判断手段と、 この判断手段にて、前記ポッピング奏法やプル奏法がな
されたと判断されたとき、前記所定音の発生を指示する
指示手段と、 を具備したことを特徴とする電子弦楽器。
[Claims] Detecting that a popping playing style or a pulling playing style has been performed,
An electronic string instrument configured to generate a predetermined sound different from a scale tone, the electronic stringed instrument comprising: a level detection means for detecting a peak level of an input waveform signal generated with string vibration; and a predetermined sound detected by the level detection means. a determining means for determining that the popping or pulling technique has been performed when the change in the peak level on the polar side sequentially decreases a predetermined number of times at the start of inputting the input waveform signal; An electronic stringed instrument characterized by comprising: instruction means for instructing generation of the predetermined sound when it is determined that the popping playing style or the pulling playing style is performed.
JP63006447A 1988-01-14 1988-01-14 Electronic string instrument Expired - Lifetime JP2605773B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63006447A JP2605773B2 (en) 1988-01-14 1988-01-14 Electronic string instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63006447A JP2605773B2 (en) 1988-01-14 1988-01-14 Electronic string instrument

Publications (2)

Publication Number Publication Date
JPH01182887A true JPH01182887A (en) 1989-07-20
JP2605773B2 JP2605773B2 (en) 1997-04-30

Family

ID=11638672

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63006447A Expired - Lifetime JP2605773B2 (en) 1988-01-14 1988-01-14 Electronic string instrument

Country Status (1)

Country Link
JP (1) JP2605773B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5448636U (en) * 1977-09-12 1979-04-04
JPS5449117A (en) * 1977-09-27 1979-04-18 Nippon Gakki Seizo Kk Electronic musical instrument
JPS6299793A (en) * 1985-10-26 1987-05-09 ヤマハ株式会社 Electronic stringed instrument
JPS62104300A (en) * 1985-10-30 1987-05-14 Nec Corp Malfunction preventing circuit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5448636U (en) * 1977-09-12 1979-04-04
JPS5449117A (en) * 1977-09-27 1979-04-18 Nippon Gakki Seizo Kk Electronic musical instrument
JPS6299793A (en) * 1985-10-26 1987-05-09 ヤマハ株式会社 Electronic stringed instrument
JPS62104300A (en) * 1985-10-30 1987-05-14 Nec Corp Malfunction preventing circuit

Also Published As

Publication number Publication date
JP2605773B2 (en) 1997-04-30

Similar Documents

Publication Publication Date Title
JP2615825B2 (en) Electronic string instrument
JP2734521B2 (en) Music control device
EP0722160B1 (en) Method for recognition of the start and end of a note in the case of percussion or plucked musical instrument
JPH027096A (en) Electronic musical instrument
JP3653854B2 (en) Stringed electronic musical instrument
US5147970A (en) Electronic musical instrument for generating musical tones on the basis of characteristics of input waveform signal
JPH0371718B2 (en)
JPH01182887A (en) Electronic string instrument
JPH01100599A (en) Electronic musical instrument
JP2722584B2 (en) Music control device
JP2775633B2 (en) Music control device
JPH01100598A (en) Electronic musical instrument
JP2958778B2 (en) Tone generator
JP6135312B2 (en) Electronic stringed instrument, musical sound control method and program
JP2591001B2 (en) Electronic string instrument
JPH01100597A (en) Electronic musical instrument
JPH01100596A (en) Input controller for electronic musical instrument
JP2615946B2 (en) Music control device
JP2661065B2 (en) Sound control device
JP2591000B2 (en) Electronic string instrument
JP2530928Y2 (en) Electronic musical instrument level display
JP6361109B2 (en) Electronic stringed instrument, musical sound control method and program
JP2858313B2 (en) Pitch information generation device
JPH01100594A (en) Input controller for electronic musical instrument
JP2014153434A (en) Electronic stringed instrument, musical sound generation method and program