JP2765578B2 - Waveform signal controller - Google Patents

Waveform signal controller

Info

Publication number
JP2765578B2
JP2765578B2 JP62095443A JP9544387A JP2765578B2 JP 2765578 B2 JP2765578 B2 JP 2765578B2 JP 62095443 A JP62095443 A JP 62095443A JP 9544387 A JP9544387 A JP 9544387A JP 2765578 B2 JP2765578 B2 JP 2765578B2
Authority
JP
Japan
Prior art keywords
register
frequency
waveform signal
waveform
value
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.)
Expired - Lifetime
Application number
JP62095443A
Other languages
Japanese (ja)
Other versions
JPS63261391A (en
Inventor
繁 内山
克彦 小畑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
KASHIO KEISANKI KK
Original Assignee
KASHIO KEISANKI KK
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 KASHIO KEISANKI KK filed Critical KASHIO KEISANKI KK
Priority to JP62095443A priority Critical patent/JP2765578B2/en
Publication of JPS63261391A publication Critical patent/JPS63261391A/en
Application granted granted Critical
Publication of JP2765578B2 publication Critical patent/JP2765578B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【発明の詳細な説明】 [発明の技術分野] この発明は例えば電子ギター等において利用される波
形信号制御装置に関し、特に楽音の発音開始をより正確
に行うものに関するものである。 [発明の背景] 従来より、自然楽器の演奏操作によって発生する波形
信号からピッチ(基本周波数)を抽出し、電子回路で構
成された音源装置を制御して、人工的に楽音等の音響を
得るようにしたものが種々開発されている。 この種の電子楽器では、入力波形信号のピッチを抽出
してから音源装置に対し当該ピッチに対応する音階音を
発生するよう指示するのが一般的である。 このような電子楽器につき、トレモロ奏法のような演
奏操作をしたとき、つまり弦振動がなされている楽音の
発音中に、さらにピッキング操作をしたときに、再発音
を行うようにするため、本願出願人は、楽音の発音中に
入力波形信号のレベルが急激に増大したことを検知した
場合には、再度発音開始指令を与えてリラティブオン
(relative on)処理を行い、音量や音色などを変化す
ることにより、実際の演奏操作に追従できるようにした
ものを出願した(特願昭61−285985号)。 ところが、上記トレモロ奏法ではなく、通常の演奏時
における入力波形信号の立上り時には、波形が安定せ
ず、数回にわたって入力波形信号のレベルが急激に増大
してしまうことがある。 例えば、入力波形の立上りは第7図(a)に示すよう
になることがあるが。この場合、a0の波形の立上りで発
音開始がなされたにもかかわらず、すぐ後のa3の波形で
も前のa2の波形レベルより急激に大きくなっているた
め、ここで上述のリラティブオン(再発音)処理が行わ
れてしまい、ピッキング操作が1回であるにもかかわら
ず、つづけて複数回発音開始処理が行われてしまうとい
う問題があった。 [発明の目的] この発明は上記事情に鑑みてなされたもので、トレモ
ロ奏法に応じた再発音と通常の発音とを明確に区別し
て、楽音の発音開始をより正確なものにすることのでき
る波形信号制御装置を提供することを目的とする。 [発明の要点] この目的を達成するため、本発明は、供給された波形
信号の振幅レベルが所定値を超えたことを検出して、当
該波形信号の周波数を抽出した直後に、当該波形信号の
周波数に対応する楽音の発音を開始指示し、この楽音が
発音開始された所定期間内は、再度、所定値を超える振
幅レベルの波形信号を検出した時であっても、指示手段
に対して、再発音の開始の指令を出力させないようにし
たことを要点とするものである。 [実施例] 以下、本発明を電子ギターに適応した一実施例につい
て図面を参照して詳述する。 本実施例では、以下に説明するとおり、ステップS7
S11、S16〜S21を実行するCPU100が指示手段に、アンプ
2、ローパスフィルタ3、最大ピーク検出回路4、最小
ピーク検出回路5、ゼロクロス点検出回路6、A/Dコン
バータ11、ラッチ12、オアゲート13、フリップフロップ
14、15が検出手段に、ステップS23、S8〜S11、S16〜S21
を実行するCPU100が制御手段に、ステップS33、S34を実
行するCPU100が計測手段に、ステップS32を実行するCPU
100が禁止手段に夫々対応する。 全体回路構成 第1図は、同実施例の全体回路構成を示しており、6
つの入力端子1の信号は、電子ギターのボディ上に張設
された6つの弦の夫々に設けられた、弦の振動を電気信
号に変換するピックアップからの信号である。 入力端子1……からの楽音信号は、ピッチ抽出回路P1
〜P6(図では第1弦のP1についてのみその内部構成を示
している。)内部の夫々のアンプ2……で増幅され、ロ
ーパスフィルタ(LPF)3……で高周波成分がカットさ
れて基本波形が抽出され、最大ピーク検出回路(MAX)
4……、最小ピーク検出回路(MIN)5……及びゼロク
ロス点検出回路(Zero)6……に与えられる。ローパス
フィルタ3……は、各弦の開放弦の振動音周波数fの4
倍の4fにカットオフ周波数が設定されている。これは、
各弦の出力音の周波数が2オクターブ以内であることに
基づくものである。最大ピーク検出回路4……では、楽
音信号の最大ピーク点が検出され、その検出パルス信号
の立上りで後段に接続されているフリップフロップ14…
…のQ出力がHighレベルとなり、このフリップフロップ
14……の出力とゼロクロス点検出回路6……のインバー
タ30……の反転出力とのアンド出力がアンドゲート24…
…を介して割り込み指令信号INTa1〜INTa6としてCPU100
に与えられ、同様に最小ピーク検出回路5……でも、楽
音信号の最小ピーク点が検出され、その検出パルス信号
の立上りで後段に接続されているフリップフロップ15…
…のQ出力がHighレベルとなり、このフリップフロップ
15……の出力とゼロクロス点検出回路6……の出力との
アンド出力がアンドゲート25……を介して割り込み指令
信号INTb1〜INTb6としてCPU100に与えられる。 即ち、最大ピーク点が検出されてフリップフロップ14
がHighレベルになっているときに、波形が正から負へ横
切ったとき割り込み指令信号INTa1〜INTa6がCPU100に与
えられ、逆に最小ピーク点が検出されてフリップフロッ
プ15がHighレベルになっているときに、波形が負から正
に変化したとき割り込み指令信号INTb1〜INTb6がCPU100
に入力する。 そして、CPU100は、これらの割り込み指令信号を受付
けた直後に、対応するフリップフロップ14……、15……
に対しクリア信号CLa1〜CLa6、CLb1〜CLb6を発生してリ
セットする。従って、次に最大ピーク点あるいは最小ピ
ーク点を検出するまで何度ゼロクロス点を通過しても対
応するフリップフロップ14……、15……はリセット状態
であるので、CPU100には割り込みがかからないことにな
る。 そして、CPU100では、当該弦の振動出力により割り込
み指令信号INTa1〜INTa6もしくはINTb1〜INTb6が与えら
れて、夫々の時間間隔の少なくとも一方の時間間隔に従
った音階音を発生する。尚、発音開始時においては開放
弦の音階音を発生開始してピッチ抽出の後で正しい周波
数に修正してもよい。この発音開始時の動作については
後述する。 そして、上記時間間隔は、後述するようにカウンタ7
と、ワークメモリ101とを用いて求める。即ち、このワ
ークメモリ101には、最大ピーク点の直後あるいは最小
ピーク点の直後のゼロクロス点時のカウンタ7のカウン
ト値など各種データが記憶される。 そして、発音開始後は、順次求まる時間間隔データに
従って、発生中の楽音の周波数を可変制御してゆく、即
ちCPU100より音階を指定するデータを周波数ROM8へ送出
し、その結果対応する周波数を示す周波数データが読み
出され、音源回路9に送られて楽音信号が生成され、サ
ウンドシステム10より放音出力される。 また、上記ローパスフィルタ3……からの楽音信号
は、A/Dコンバータ11……に与えられ、その波形レベル
に応じたデジタルデータに変換される。 そして、このA/Dコンバータ11……の出力はラッチ12
……にラッチされる。このラッチ12……に対するラッチ
信号は、上記フリップフロップ14……、15……の出力が
オアゲート13……を介することで生成され、最大ピーク
点もしくは最小ピーク点を通過する都度ラッチ12……に
はそのときの波形のレベルを示す信号が記憶される。ま
た、このオアゲート13……からのラッチ信号L1〜L6はCP
U100にも与えられる。 そして、ラッチ12……出力はCPU100へ与えられ、発音
開始、停止、更には出力音の放音レベル(音量)等の制
御がこのデータに従ってなされる。なお、このラッチ12
……に記憶されるピーク値である波高値は、ワークメモ
リ101に順次書込まれる。 即ち、CPU100では、A/Dコンバータ11……より与えら
れる波形レベルを示すデータの絶対値が、予め決められ
た一定値以上になった時には、楽音の発音を開始させる
とともにピッチ(基本周波数)抽出も開始させ、このデ
ータが一定値以下になった時には、消音指示をして放音
を終了させる。この動作の詳細は後述するとおりであ
る。 なお、第1図には、A/Dコンバータ11が、ピッチ抽出
回路P1〜P6に夫々独立に設けてあるが、一個のA/Dコン
バータを時分割的に使用することも勿論可能である。 そして、周波数ROM8、音源回路9は時分割処理により
少なくとも6チャンネルの楽音生成系が形成されてい
る。 なお、第2図は、ピッチ抽出回路P1内の各部の信号波
形のタイムチャートを表わしており、図のは、ローパ
スフィルタ3の出力、は最大ピーク検出回路4の出
力、は最小ピーク検出回路5の出力、はゼロクロス
点検出回路6の出力、は割り込み指令信号INTa1〜INT
a6、は割り込み指令信号INTb1〜INTb6である。 動 作 次に本実施例の動作について説明する。第3図はCPU1
00の割り込みルーチンのフローであり、第4図はメイン
フローである。なお、この第3図及び第4図はひとつの
弦についての処理しか示してないが、全ての弦の処理は
全く同じなので、CPU100が夫々の弦についての処理を時
分割的に実行すると考えれば良い。 ワークメモリ101内のレジスタ さて、CPU100の具体的な動作の説明の前に、ワークメ
モリ101の中の主なレジスタについて説明する。 STEPレジスタは、0、1、2、3の4段階をとり、弦
振動がなされる(第5図(a)もしくは第6図(a)参
照)につれて、第5図(b)あるいは第6図(b)に示
すようにその内容は変化する。このSTEPレジスタが0の
ときは、ノートオフ(消音)状態を表わしている。 SIGNレジスタは、周期計測のためのゼロクロス点が最
大ピーク(MAX)点の次のゼロクロス点なのか、最小ピ
ーク(MIN)点の次のゼロクロス点なのかを示すもの
で、1のとき前者、2のとき後者である。 REVERSEレジスタは、上記SIGNレジスタで表わされた
ゼロクロス点と反対側のピーク点経過後のゼロクロス点
の到来による割り込み処理がなされたか否かをチェック
するデータを記憶するレジスタであり、一周期ごとのピ
ッチ(基本周波数)抽出制御のチェックに用いられる。 Tレジスタは、入力波形の周期を計測するための特定
点のカウンタ7の値を記憶する。なお、カウンタ7は所
定のクロックでカウントするフリーランニング動作をし
ている。 AMP(i)レジスタは、A/Dコンバータ11からラッチ12
にラッチされた最大もしくは最小ピーク値(実際には絶
対値)を記憶するレジスタで、AMP(1)が最大ピーク
用、AMP(2)が最小ピーク用のレジスタである。 PERIODレジスタは、計測した周期をあらわすピッチデ
ータが入力され、このレジスタの内容を基に、CPU100
は、周波数ROM8、音源回路9に対し周波数制御を行うも
のである。 Wレジスタは、発音開始時点より一周期ごとに+1さ
れていくレジスタで、「10」になるまでは、入力波形信
号の前回のピークレベル値に対して今回のピークレベル
値が急激に大きくなっても再発音のための処理が行われ
ないように制御される。 更に、後述するように本実施例は各種判断のために、
3つの定数(スレッシュホールドレベル)がCPU100内に
設定されている。 先ず最初のものはONLEV Iであり、第5図(a)、第
6図(a)に示すように、いまノートオフの状態であ
り、このONLEV Iの値よりも大きなピーク値が検出され
たとき、弦がピッキング等されたとして、周期測定のた
めの動作をCPU100は実行開始する。 ONLEV IIは、ノートオン(発音中)状態であって、前
回の検出レベルと今回の検出レベルとの差がこの値以上
あれば、トレモロ奏法等による操作があったとして、再
度発音開始(リラティブオン、relative on)処理を行
うためのものである。 OFFLEVは、第8図(a)に示してあるように、ノート
オン(発音中)状態であって、この値以下のピーク値が
検知されると、ノートオフ(消音)処理をする。 以上の説明から、以下に述べる割り込みルーチン、メ
インルーチンの動作の理解は容易となろう。 ゼロクロス点での割り込み処理 さて、アンドゲート24もしくはアンドゲート25の出力
である割り込み指令信号INTa、INTbのCPU100への到来に
よって、第3図の割り込み処理を行う。 即ち、割り込み指令信号INTaの入力時には、先ずステ
ップP1の処理をし、CPU100内のaレジスタを1にし、割
り込み指令信号INTbの入力時には、先ずステップP2の処
理によって上記aレジスタに2をセットする。 そして次にステップP3において、CPU100内のtレジス
タに、カウンタ7の値をプリセットする。続いて実行す
るステップP4ではA/Dコンバータ11のピークレベルデー
タをラッチ12から読込み、CPU100内のbレジスタに設定
する。 そして、ステップP5において、フリップフロップ14も
しくはフリップフロップ15をクリアする。 続くステップP6にて、上記a、b、tレジスタの内容
をワークメモリ101に転送記憶し割り込み処理を終了す
る。 メイン処理 メインルーチン(第4図)では、ステップS1にて、上
述したような割り込み処理によってワークメモリ101に
a′、b′、t′の内容(上記a、b、tと同じで前回
記録されたということでa′、b′、t′と示す。)が
書込まれているか否かジャッジし、何ら割り込み処理は
なされていないときはNOの判断をして、このステップS1
を繰返し実行する。 そして、上記ステップS1でYESの判断をすれば、次の
ステップS2に進んでその内容a′、b′、t′を読出
す。次にステップS3において、上記AMP(a′)レジス
タに記憶してある同じ種類(つまり最大か最小)のピー
ク点のピーク値をCPU100内のcレジスタに読出し、今回
抽出したピーク値b′を上記AMP(a′)レジスタに設
定する。 さて、次にステップS4〜S6において、STEPレジスタの
内容が夫々3、2、1であるか否かジャッジする。い
ま、最初の状態であるとしたら、STEPレジスタは0なの
で、ステップS4、S5、S6ともNOの判断がされる。そし
て、次にステップS7で、今回検知したピーク値b′がON
LEV Iより大か否かジャッジする。 もし、上記ピーク値b′がONLEV Iより小であれば、
まだ発音開始の処理をしないのでステップS1へもどる。
仮に、第5図(a)、第6図(a)のようにONLEV Iよ
り大きな入力が得られたとすると、ステップS7の判断は
YESとなり、ステップS8へ進む。 そしてステップS8でSTEPレジスタに1をセットし、次
にステップS9でREVERSEレジスタに0をセットし、続け
てステップS10で、a′(つまり最大ピーク点直後のゼ
ロクロス点のとき1、最小ピーク点直後のゼロクロス点
のとき2)の値をSIGNレジスタに入力する。 そして、ステップS11にて、t′の値をTレジスタに
セットする。その結果、a′の内容はSIGNレジスタに
(第5図(a)、第6図(a)の場合はSIGNは1とな
る)、b′の内容はAMPレジスタに、t′の内容はTレ
ジスタにセットされたことになる。そして再びステップ
S1にもどる。 さて、以上の説明で第5図(a)、第6図(a)のゼ
ロクロス点Zero1の直後のメインルーチンの処理を完了
することになる。 さて、次に、ゼロクロス点Zero2の直後のメインルー
チンでの処理を説明する。そのときは上記ステップS1
S2→S3→S4→S5のデータセット処理と発音段階制御処理
とを実行し、次のステップS6にてYESの判断がされ、次
にステップS12にゆく。 いま、第5図(a)、第6図(a)のように波形が入
力時に正方向に変化したときは、SIGNレジスタは1であ
り、今回負方向のピークを経過してきているからa′レ
ジスタは2なので、NOの判断をする。尚、もし同じ極性
のピーク値直後のゼロクロス点到来時には、このステッ
プS12でYESの判断をして何ら続けて動作せずにステップ
S1へもどる。 さて、いまこのステップS12ではNOジャッジがされて
ステップS13へゆき、STEPレジスタを2とする(第5図
(b)、第6図(b)参照)。 そしてステップS13に続けてステップS14を実行し、前
回のピーク値(AMP(SIGN))と今回のピーク値
(b′)を比較する。いま、第5図(a)のように前回
の値x0が今回の値より小(x1>x0)ならば、YESとな
り、今回の時刻t′を周期の計測開始点とすべく(第5
図(c)参照)ステップS14からステップS10、S11を実
行し、SIGNレジスタを2とすると共にt′レジスタの内
容をTレジスタへ転送する。 逆に、前回のピーク値が今回のピークよりも大きけれ
ば、つまり第6図(a)のようにx1<x0ならば、ステッ
プS14でNOのジャッジをしステップS15にてREVERSEレジ
スタを1とする。なお、SIGNレジスタはいま前の値1を
保つことになる。従って、この場合は前のゼロクロス点
(Zero1)が周期計測の開始点となっている(第6図
(c)参照)。 そして、次のゼロクロス点(Zero3)の通過後、はじ
めてメインフローを実行するときは、ステップS5でYES
のジャッジがされてステップS16へ進む。今回a′は1
であり、第5図の場合は、SIGNが2、第6図の場合はSI
GNが1なので、第5図の場合にあっては、ステップS16
でNOのジャッジがされて、ステップS15へゆきステップS
1へもどる。つまり、周期計測を開始し始めてからひと
つ目のピーク(振幅x2)を通過したことをCPU100は認識
する。 また第6図の場合にあっては、ステップS16ではYESの
判断がされて、ステップS17へゆきREVERSEレジスタが1
か否かジャッジする。もし1でなければNOの判断をしス
テップS1へもどるが、上述したようにステップS15の実
行によってこのレジスタは1となっており、ステップS
17からステップS18へゆきSTEPレジスタを3とし(第6
図(b)参照)、続けてステップS19にて、t′レジス
タにある今回の割り込みで受け付けたカウンタ7の値か
らTレジスタにある値つまりゼロクロス点Zero1の時刻
を減算し、PERIODレジスタにストアする。 つまり第6図(c)に示す大きさが一周期の長さとな
り、続くステップS20でt′の内容をTレジスタに転送
して新たな周期計測の開始をする。 そしてステップS21において、上述のPERIODレジスタ
の内容をもってCPU100は周波数ROM8、音源回路9に発音
指令を出す。従ってこの時点から楽音の発生がなされ
る。続いて、CPU100はステップS33でWレジスタの値を
「1」とする。 さて、上述した第5図の場合にあっては、再び次のゼ
ロクロス点(Zero4)後のメインフローの処理で、ステ
ップS5からステップS16ヘジャンプする。いま、SIGNレ
ジスタは2なので、ステップS16ではYESの判断をし、続
けて上記同様にステップS17→S18→S19→S20→S21→S33
の発音開始処理を実行し、今回は第5図(c)に示すゼ
ロクロス点Zero2からZero4までを一周期としてCPU100は
認識し、この長さに基づく周波数の楽音を発音開始する
(第5図(d)参照)。 このようにして、値の大きいピーク点の次のゼロクロ
ス点から周期計測の処理を開始し、そのピーク点と同じ
側のピーク点の次のゼロクロス点でその計測を終了する
ようにして、ローパスフィルタ3出力の波形の一周期を
抽出している。 そして、この発音開始処理の後、メインルーチンにお
いては、ステップS4からステップS22へ進行し、今回取
り込んだピーク値であるb′の値が、第8図に示すよう
にOFFLEVを越えているか否かジャッジする。 いま、このレベルを越えておればステップS32へ進
み、Wレジスタの値が「10」以上か否かジッャジする。
いま、Wレジスタの値は「1」になったところであるか
ら、ステップS24に飛び、a′の内容とSIGNレジスタの
内容の一致比較をし、一致しなければS15へ進み次のゼ
ロクロス点の割り込み処理にそなえ、一致すれば、既に
逆の特性をもったピーク(正/負のピーク)を夫々通過
してきたので、ステップS25へ進み、REVERSEレジスタが
1か否かジャッジし、もしNOならば何ら処理をすること
なくステップS1へもどるが、もしこのステップS25でYES
の判断がなされたならば、ステップS25からステップS26
へ進み新たな周期(ピッチ)を求めるべくt′レジスタ
の内容からTレジスタの内容を引いて、PERIODレジスタ
にセットする。 そして、ステップS27においてt′レジスタの内容を
Tレジスタへ転送し、続くステップS28にて求まったPER
IODレジスタの値を基に周波数(ピッチ)制御をCPU100
は周波数ROM8、音源回路9に対して行う。 つまり、本実施例にあっては、弦の振動周波数の変化
を時々刻々とらえて、それに応じた周波数制御をリアル
タイムで行うようになる。 そして、ステップS28からステップS29へ進んでREVERS
Eレジスタの内容を0として次の周期計測を行い、ステ
ップS34でWレジスタの値を+1として「2」とする。
以後、波形の一周期ごとにステップS26〜S29、S34のピ
ッチ抽出制御処理を行い、Wレジスタの値を順次+1し
ていく。 そして、Wレジスタの値が「10」以上になると、CPU1
00は、ステップS32からステップS23へ進み、リラティブ
オン(relative on)の処理をするのか否かジャッジす
るようにする。即ち具体的には今回のピーク値(b′)
が前のピーク値(c)よりONLEV IIだけ大きいか、つま
り発音中に急激に抽出ピーク値が大きくなったか否かジ
ャッジする。 通常弦を振動すれば、自然減衰を行うので、このステ
ップS23はNOの判断となるが、もしトレモロ奏法などに
よって、前の弦振動が減衰し終わらないうちに、再び弦
が操作されて、このステップS23の判断がYESとなること
がある。 その場合は、ステップS23でYESのジャッジをしステッ
プS8へジャンプし、ステップS9〜ステップS11の発音開
始の準備処理を実行する。その結果、STEPレジスタは1
となり、上述した発音開始時の動作と全く同じ動作をそ
れ以降実行する。つまり、再びステップS16〜S21、S33
の発音開始処理をその後実行して再発音開始の処理をす
ることになる。 いま、1回のピッキング操作により、第7図(a)よ
うな波形信号が入力されてきたものとすると、波形a0
直後のゼロクロス点で、ステップS1〜S11のデータセッ
ト処理、発音段階判別処理、発音開始の準備処理が行わ
れ、次の波形a1の直後のゼロクロス点で、ステップS16
〜S21、S33の発音開始処理が行われ、以後一周期ごとに
ステップS24〜S29、S34のピッチ抽出制御処理が行われ
ていくことになる。このとき、波形a3に示すように、波
形が安定せず最初から4つ目の波形のレジスタが急激に
大きくなり、一つ前の波形a2に対し波形a3のレベルがON
LEV II以上に大きくなった場合には、Wレジスタの値は
まだ「2」であり、CPU100はステップS32でWレジスタ
の値が「10」以上になっていないので、ステップS23、S
8〜S11のリラティブオンの処理は行われず、そのままス
テップS24〜S29、S34のピッチ抽出制御処理が行われて
いくことになる。 こうして、ピッキング操作がなされて、波形の立上る
ときに、波形が安定せず、途中で波形のレベルが急激に
大きくなっても、再発音処理は行われず、ピッキング操
作が1回であるにもかかわらず、続けて複数回発音処理
が行われてしまうことがなくなる。 そして、上述したように、弦振動が減衰してきて、ピ
ーク値が第8図に示すように、OFFLEVを下まわるように
なると、ステップS22からステップS30へゆきSTEPレジス
タを0とし、続くステップS31にてノートオフ処理(消
音処理)を行い、これまで発音していた楽音を消音すべ
くCPU100は音源回路9へ指示するようになる。 尚、再発音を行わない期間は、入力波形信号の周期の
数に基づく期間ではなく、タイムカウンタをCPU100内に
設けて、このタイムカウンタの一定時間のカウントに基
づくものとしてもよい。この場合、上記第4図のステッ
プS34の処理は省略し、ステップS33でタイムカウンタの
リセット処理を行い、その後自動的に計数させ、ステッ
プS32でタイムカウント値が一定時間TSを越えたか否か
のジャッジ処理を行うことになる。 また、上記実施例のステップS32でNOと判断されたと
き、b′とcの値を同じにしてからステップS23へ進行
し、結果的にリラティブオンの処理を行わないようにし
てもよい。 また、上記実施例では、ステップS23では、前記のピ
ーク値b′と今回のピーク値cとの差で、波形が急激に
変化したのか否かジャッジするようにしたが、例えば
b′/c>S(Sは1以上の所定値)のように波高値の比
で、波形が急激に変化したのか否かジャッジするように
してもよい。 また、前回の波高値と今回の波高値との比較で波形が
急激に変化したか否かジャッジするようにしたが、前々
回と今回との波高値の比較で行うようにしてもよい。 その他の条件検出によって、波高値が楽音の発生中に
急激に増大したことを検知するようにしてもよい。 上記実施例にあっては、各ピーク点直後のゼロクロス
点でCPU100が割り込み処理をして、発音開始、周期計
算、リラティブオン、消音開始等の処理を行うようにし
たが、各ピーク点検出時に直接これらの処理を行っても
よい。その場合も全く同じ結果を得ることができる。そ
の他、例えばピーク点の直前のゼロクロス点の検出によ
って、上記同様の処理を行ってもよい。その他、基準と
なる点のとり方は種々変更できる。 また、上記実施例では、メインフローのなかで各処理
を実行するようにしたが、割り込み処理のなかで同様の
処理を実行するようにしてもよい。 更に、上記実施例においては、本発明を電子ギターに
適用したものであったが、必ずしもそれに限られるもの
でなく、マイクロフォン等から入力される音声信号ある
いは電気的振動信号からピッチ抽出を行って、原音声信
号とは別の音響信号を、対応するピッチもしくは音階周
波数にて発生するシステムであれば、どのような形態の
ものであってもよい。具体的には、鍵盤を有するもの例
えば電子ピアノ、管楽器を電子化したもの、弦楽器、例
えばバイオリンや琴などを電子化したものにも同様に適
用できる。 [発明の効果] この発明は、以上詳述したように、供給された波形信
号の振幅レベルが所定値を超えたことを検出して、当該
波形信号の周波数を抽出した直後に、当該波形信号の周
波数に対応する楽音の発音を開始指示し、この楽音が発
音開始された所定期間内は、再度、所定値を超える振幅
レベルの波形信号を検出した時であっても、指示手段に
対して、再発音の開始の指令を出力させないようにした
から、発音操作がなされて、波形の立上がるときに、波
形が安定せず、途中で波形のレベルが急激に大きくなっ
ても、再発音処理は行われず、ピッキング操作が1回で
あるにもかかわらず、続けて複数回発音処理が行われて
しまうことがなくなり、この結果、トレモロ奏法に応じ
た再発音と通常の発音とを明確に区別して、楽音の発音
開始をより正確なものにすることができる等の効果を奏
する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention]   The present invention relates to a wave used in an electronic guitar, for example.
Shape signal control device
About what to do. [Background of the Invention]   Conventionally, waveforms generated by playing natural musical instruments
Extracts the pitch (fundamental frequency) from the signal and configures it with an electronic circuit.
Control the generated sound source device to artificially produce sounds such as musical sounds.
Various types have been developed.   In this type of electronic musical instrument, the pitch of the input waveform signal is extracted
The tone scale corresponding to the pitch to the tone generator.
It is common to tell them to happen.   For such electronic musical instruments, performances such as tremolo
When performing a playing operation, that is,
If you perform a picking operation during sounding, the sound is re-sounded
In order to perform the
Detected a sudden increase in the level of the input waveform signal
In that case, give a sound generation start command again and
(Relative on) processing to change volume, tone, etc.
To be able to follow the actual playing operation
An application was filed (Japanese Patent Application No. 61-285985).   However, instead of using the tremolo technique described above,
When the input waveform signal rises at
And the level of the input waveform signal increases rapidly several times
May be done.   For example, the rising of the input waveform is as shown in FIG.
Although it may be. In this case, a0Start at the rising edge of the waveform
Despite the start of the sound, aThreeWith the waveform
Also before aTwoWaveform level suddenly becomes larger than
Here, the above-described relative on (reproducing) processing is performed.
Despite the single picking operation
It is said that the sound start process is performed multiple times in succession
There was a problem. [Object of the invention]   The present invention has been made in view of the above circumstances,
Repronunciation according to the playing style and normal pronunciation
Can make the onset of musical tones more accurate
It is an object of the present invention to provide a waveform signal control device. [The gist of the invention]   To this end, the present invention provides a
Detects that the signal amplitude level has exceeded the specified value,
Immediately after extracting the frequency of the waveform signal,
Instructs the start of the sounding of the musical tone corresponding to the frequency.
During the specified period after the sound starts, the vibration exceeding the specified value
Indicating means even when a width-level waveform signal is detected
Do not output a command to start re-sounding
The point is that. [Example]   Hereinafter, an embodiment in which the present invention is applied to an electronic guitar will be described.
This will be described in detail with reference to the drawings.   In the present embodiment, as described below, step S7~
S11, S16~ Stwenty oneIs executed by the CPU 100 as an instruction means.
2, low-pass filter 3, maximum peak detection circuit 4, minimum
Peak detection circuit 5, Zero cross point detection circuit 6, A / D converter
Barter 11, latch 12, OR gate 13, flip-flop
14 and 15 are detection means, step Stwenty three, S8~ S11, S16~ Stwenty one
Is executed by the CPU 100 as control means.33, S34Real
CPU 100 to execute32CPU to execute
100 correspond to the prohibition means, respectively. Overall circuit configuration   FIG. 1 shows the overall circuit configuration of the embodiment, and FIG.
The signals of the two input terminals 1 are extended on the body of the electronic guitar.
The vibration of the strings provided for each of the six strings
This is a signal from the pickup that is converted into a signal.   The tone signal from the input terminal 1 is a pitch extraction circuit P1
~ P6 (In the figure, only the first string P1 shows its internal structure.
doing. ) Amplified by each internal amplifier 2 ...
-High-frequency component is cut by the low-pass filter (LPF) 3 ...
The basic waveform is extracted and the maximum peak detection circuit (MAX)
4…, minimum peak detection circuit (MIN) 5… and zero mark
Loss point detection circuit (Zero) 6... Low pass
Filter 3 is the frequency 4 of the vibrating sound frequency f of the open string of each string.
The cutoff frequency is set to 4f times. this is,
The frequency of the output sound of each string is within 2 octaves
It is based on Maximum peak detection circuit 4
The maximum peak point of the sound signal is detected, and the detected pulse signal
The flip-flop 14 connected to the subsequent stage at the rise of ...
… The Q output becomes High level and this flip-flop
14 ... and zero-cross point detection circuit 6 ...
The AND output with the inverted output of the data 30 is an AND gate 24.
Interrupt command signal INT via…a1~ INTa6As CPU100
Similarly, the minimum peak detection circuit 5
The minimum peak point of the sound signal is detected, and the detected pulse signal
The flip-flop 15 connected to the subsequent stage at the rise of ...
… The Q output becomes High level and this flip-flop
15 and the output of the zero-cross point detection circuit 6
AND output is interrupted via AND gate 25 ...
Signal INTb1~ INTb6To the CPU 100.   That is, the maximum peak point is detected and the flip-flop 14
Is high level, the waveform changes from positive to negative.
Interrupt command signal INT when turned offa1~ INTa6Gives to CPU100
Conversely, the minimum peak point is detected and the flip-flop is
The waveform changes from negative to positive when
Interrupt command signal INT when changed tob1~ INTb6Is CPU100
To enter.   Then, the CPU 100 receives these interrupt command signals.
Immediately after the digit, the corresponding flip-flops 14 ……, 15 ……
Clear signal CLa1~ CLa6, CLb1~ CLb6Occurs
set. Therefore, the next maximum peak or minimum peak
No matter how many times it passes through the zero-cross point until the
The corresponding flip-flops 14 ……, 15 …… are in reset state
Therefore, the CPU 100 is not interrupted.
You.   Then, the CPU 100 interrupts with the vibration output of the string.
Command signal INTa1~ INTa6Or INTb1~ INTb6Given
And at least one of the time intervals
It produces an unusual scale sound. Open at the start of sound production
Starts generating the scale of the string and corrects the frequency after pitch extraction.
It may be modified to a number. About the operation at the start of this sound
It will be described later.   The time interval is determined by a counter 7 as described later.
Using the work memory 101. That is,
Memory 101 immediately after the maximum peak point or
Counter 7 count at zero-cross point immediately after peak point
Various data such as default values are stored.   After the sound starts, the time interval data
Therefore, the frequency of the tone being generated is variably controlled.
That is, CPU 100 sends data specifying the scale to frequency ROM 8.
As a result, frequency data indicating the corresponding frequency is read.
The tone signal is sent to the tone generator 9 to generate a tone signal.
Sound is output from the round system 10.   Also, the tone signal from the low-pass filter 3...
Is given to the A / D converter 11 ..., and its waveform level
Is converted into digital data corresponding to   The output of the A / D converter 11 is a latch 12
…… is latched. Latch for this latch 12 ...
The signal is the output of the flip-flops 14 ..., 15 ...
Generated through OR gate 13 ...
Each time a point or minimum peak point is passed, latch 12
Stores a signal indicating the level of the waveform at that time. Ma
The latch signal L from this OR gate 13 ...1~ L6Is CP
Also given to the U100.   Then, the latch 12 outputs the output to the CPU 100 and generates a sound.
Control of start, stop, and output sound level (volume)
You will be done according to this data. Note that this latch 12
The peak value, which is the peak value stored in
It is sequentially written to the file 101.   That is, in the CPU 100, the A / D converter 11
The absolute value of the data indicating the waveform level
When a certain value is exceeded, the sound is started
At the same time, pitch (fundamental frequency) extraction is started,
When the data falls below a certain value, sound muting is issued and sound is emitted.
To end. The details of this operation will be described later.
You.   Note that FIG. 1 shows that the A / D converter 11
Circuits P1 to P6 are provided independently of each other, but one A / D
It is of course possible to use the barter in a time-division manner.   The frequency ROM 8 and the tone generator 9 are time-divisionally processed.
A tone generation system of at least six channels is formed.
You.   FIG. 2 shows the signal wave of each part in the pitch extraction circuit P1.
It shows a time chart of the shape.
The output of the filter 3 is the output of the maximum peak detection circuit 4.
Is the output of the minimum peak detection circuit 5, and is the zero cross
The output of the point detection circuit 6 is an interrupt command signal INTa1~ INT
a6, Is the interrupt command signal INTb1~ INTb6It is. motion   Next, the operation of this embodiment will be described. Figure 3 shows CPU1
FIG. 4 shows the flow of the interrupt routine of FIG.
It is a flow. FIGS. 3 and 4 show a single unit.
Only the processing for strings is shown, but the processing for all strings is
Since they are exactly the same, CPU 100
It may be considered to be executed in a divided manner. Registers in work memory 101   Before explaining the specific operation of the CPU 100,
Main registers in the memory 101 will be described.   The STEP register takes four levels, 0, 1, 2, and 3,
Vibration is performed (see FIG. 5 (a) or FIG. 6 (a)).
As shown in FIG. 5 (b) or FIG. 6 (b)
Its content changes as it does. This STEP register is 0
Time indicates a note-off (silence) state.   The SIGN register has the zero cross point for period measurement.
Whether it is the zero crossing point next to the large peak (MAX) point or the minimum
Indicates whether it is the next zero crossing point after the MIN point
Where 1 is the former and 2 is the latter.   The REVERSE register is represented by the SIGN register above.
Zero cross point after the peak point on the opposite side of the zero cross point
Checks whether interrupt processing has been performed due to the arrival of
This register stores the data to be synchronized.
Switch (fundamental frequency) extraction control.   T register is used to measure the period of the input waveform.
The value of the point counter 7 is stored. Note that the counter 7 is
Perform free running operation that counts with a fixed clock.
ing.   The AMP (i) register is connected from the A / D converter 11 to the latch 12
The maximum or minimum peak value latched at
AMP (1) is the maximum peak
AMP (2) is a register for the minimum peak.   The PERIOD register is a pitch data indicating the measured cycle.
Data is input and the CPU 100
Performs frequency control on the frequency ROM 8 and the tone generator 9
It is.   The W register is incremented by one every period from the start of sound generation.
The input waveform signal is changed until it reaches `` 10 ''.
The current peak level against the previous peak level value of the signal
Even if the value suddenly increases, processing for re-sounding is performed.
It is controlled not to be.   Further, as will be described later, this embodiment is used for various determinations.
Three constants (threshold level) in CPU100
Is set.   The first one is ONLEV I, Fig. 5 (a),
6 As shown in FIG.
And a peak value larger than this ONLEV I value is detected.
When the string is picked, etc.
The CPU 100 starts executing the operation for this.   ONLEV II is in the note-on (sounding) state.
The difference between the current detection level and the current detection level is more than this value
If there is any
Performs the sound generation (relative on) process
It is for the purpose.   OFFLEV is a note as shown in Fig. 8 (a).
In the on (sounding) state, the peak value below this value
When detected, a note-off (silence) process is performed.   From the above description, the interrupt routine and menu
It will be easier to understand the operation of the in-routine. Interrupt processing at zero crossing point   Now, the output of AND gate 24 or AND gate 25
Is the interrupt command signal INTa, INTbThe arrival of CPU100
Therefore, the interrupt processing of FIG. 3 is performed.   That is, the interrupt command signal INTaWhen inputting
Top P1And set the a register in CPU 100 to 1
Command signal INTbWhen inputtingTwoPlace
Is set to 2 in the a register.   And then step PThreeIn, t register in CPU100
The value of the counter 7 is preset in the data. Then run
Step PFourNow, the peak level data of A / D converter 11
Data from latch 12 and set to b register in CPU100
I do.   And step PFiveIn the flip-flop 14 also
Alternatively, the flip-flop 15 is cleared.   Next step P6In the above, the contents of the a, b, and t registers
Is transferred to the work memory 101 and the interrupt processing ends.
You. Main processing   In the main routine (FIG. 4), step S1At
The interrupt processing described above causes the work memory 101
Contents of a ', b', t '(same as a, b, t above,
They are indicated as a ', b', and t 'for being recorded. )But
Judge whether or not it has been written, no interrupt processing
If not, a NO determination is made and this step S1
Is repeatedly executed.   Then, the above step S1If you make a YES decision,
Step STwoAnd read the contents a ', b', t '
You. Then step SThreeIn the above AMP (a ') Regis
Of the same type (ie, maximum or minimum)
The peak value of the load point is read out to the c register in CPU100, and this time
The extracted peak value b 'is set in the AMP (a') register.
Set.   Well, next step SFour~ S6In the STEP register,
Judge whether the contents are 3, 2, 1 respectively. I
Also, if it is the first state, the STEP register is 0
Then, step SFour, SFive, S6Both are judged NO. Soshi
And then step S7The peak value b 'detected this time is ON
Judge if greater than LEV I.   If the peak value b 'is smaller than ONLEV I,
Step S since the process of starting pronunciation has not yet been performed1Return to
Suppose ONLEV I is as shown in Fig. 5 (a) and Fig. 6 (a).
If a larger input is obtained, step S7Judgment
YES, step S8Proceed to.   And step S8Set 1 in the STEP register with
Step S9Set REVERSE register to 0 and continue
Step STenAnd a '(that is, the z immediately after the maximum peak point)
1 at low cross point, zero cross point immediately after minimum peak point
In the case of, input the value of 2) into the SIGN register.   And step S11In the above, the value of t 'is stored in the T register.
set. As a result, the contents of a 'are stored in the SIGN register.
(SIGN is 1 in the case of FIG. 5 (a) and FIG. 6 (a).
The contents of b 'are stored in the AMP register and the contents of t' are stored in the T register.
It will be set in the Vista. And step again
S1Go back.   By the way, in the above description, FIGS. 5 (a) and 6 (a)
Complete the main routine immediately after the Locross point Zero1
Will do.   By the way, next, the main loop just after the zero crossing point Zero2
The processing in the chin will be described. In that case, step S above1
STwo→ SThree→ SFour→ SFiveData processing and pronunciation stage control
And execute the following step S6Is judged YES at
Step S12Go to   Now, as shown in FIGS. 5 (a) and 6 (a), waveforms are inputted.
When the signal changes in the positive direction during force, the SIGN register is set to 1.
Since the negative peak has passed this time,
Since the register is 2, a judgment of NO is made. In addition, if the same polarity
When the zero-cross point arrives immediately after the peak value of
Step S12And make a judgment of YES and continue without any steps
S1Return to   Well, now this step S12So no judge
Step S13Then, set the STEP register to 2 (Fig. 5
(B), see FIG. 6 (b)).   And step S13Followed by step S14Run and before
Peak value (AMP (SIGN)) and current peak value
(B ') is compared. Now, as shown in Fig. 5 (a),
The value x of0Is smaller than the current value (x1> X0) Then, YES
In order to use the current time t 'as the measurement start point of the cycle (fifth
(See Fig. (C)) Step S14From step STen, S11Real
And set the SIGN register to 2 and the t 'register
Transfer the contents to the T register.   Conversely, if the previous peak value is larger than the current peak
In other words, as shown in FIG.1<X0Then,
Step S14Judge NO and step SFifteenREVERSE cash register at
The star is 1. The SIGN register stores the previous value 1
Will keep. Therefore, in this case, the previous zero-cross point
(Zero1) is the starting point of the cycle measurement (Fig. 6)
(C)).   After passing the next zero crossing point (Zero3),
First, when executing the main flow, step SFiveAnd YES
Judge being Step S16Proceed to. This time a 'is 1
In FIG. 5, SIGN is 2, and in FIG. 6, SI is
Since GN is 1, in the case of FIG. 5, step S16
NO Judge at Step SFifteenHeyuki Step S
1Return to In other words, after starting the cycle measurement,
The second peak (amplitude xTwoCPU100 recognizes that
I do.   In the case of FIG. 6, step S16So yes
Judgment is made, step S17Heyuki REVERSE register is 1
Judge whether or not. If not 1, make a NO decision
Tep S1Return to step S as described above.FifteenFruit
This register is set to 1 depending on the row, and step S
17From step S18Set the STEP register to 3 (6th
(Refer to Fig. (B).)19At, t 'Regis
The value of counter 7 accepted by the current interrupt
From the T register, that is, the time of the zero-cross point Zero1
Is subtracted and stored in the PERIOD register.   That is, the size shown in FIG. 6 (c) is the length of one cycle.
Followed by step S20Transfers the contents of t 'to the T register
To start a new cycle measurement.   And step Stwenty oneIn the above PERIOD register
CPU100 sounds to frequency ROM 8 and tone generator 9 with the contents of
Issue a command. Therefore, the musical tone is generated from this point.
You. Subsequently, the CPU 100 proceeds to step S33With the value of the W register
Let it be "1".   By the way, in the case of FIG.
In the process of the main flow after the crossing point (Zero4),
Top SFiveFrom step S16Jump. Now, SIGN
Step 216Then, make a judgment of YES and continue
Step S as above17→ S18→ S19→ S20→ Stwenty one→ S33
Is executed, and this time, the sound generation process shown in FIG.
The CPU 100 sets the low-cross point Zero2 to Zero4 as one cycle.
Recognize and start producing a tone with a frequency based on this length
(See FIG. 5 (d)).   In this way, the next zero
Start the cycle measurement process from the
Measurement ends at the zero-cross point next to the peak point on the side
In this way, one cycle of the waveform of the low-pass filter 3 output is
Has been extracted.   Then, after the sound generation start processing, the main routine is started.
In step SFourFrom step Stwenty twoProceed to
As shown in FIG.
Judge if the vehicle exceeds OFFLEV.   If you exceed this level now, step S32Proceed to
Then, it judges whether the value of the W register is "10" or more.
Is the value of the W register just now "1"?
Step Stwenty fourTo the contents of a 'and the SIGN register
Performs a match comparison of the contents, and if they do not match, SFifteenGo to the next
In preparation for interrupt processing at the crossing point, if they match,
Passes peaks with opposite characteristics (positive / negative peaks)
Step Stwenty fiveGo to REVERSE register
Judge whether it is 1 or not, and do nothing if NO
Without step S1Return to step Stwenty fiveAnd YES
If the judgment is made, step Stwenty fiveFrom step S26
Go to t 'register to find new cycle (pitch)
Subtract the contents of the T register from the contents of the
Set to.   And step S27The contents of the t 'register
Transfer to T register and follow step S28PER determined at
CPU (frequency) control based on the value of the IOD register
For the frequency ROM 8 and the tone generator 9.   In other words, in this embodiment, the change in the vibration frequency of the string
And control the frequency accordingly.
You will do it in time.   And step S28From step S29Go to REVERS
The next cycle measurement is performed with the contents of the E register set to 0, and the
Top S34Then, the value of the W register is set to +1 to “2”.
After that, step S26~ S29, S34No
Switch extraction control processing, and sequentially increments the value of the W register by +1.
To go.   When the value of the W register becomes “10” or more, the CPU 1
00 is Step S32From step Stwenty threeProceed to Relative
Judge whether to perform on (relative on) processing.
So that That is, specifically, the current peak value (b ')
Is ONLEV II greater than the previous peak value (c),
Whether the extracted peak value suddenly increased during
Judge.   Normally, if a string vibrates, natural attenuation will occur.
Top Stwenty threeIs NO, but if you use tremolo
Therefore, before the previous string vibration has attenuated,
Is operated, this step Stwenty threeJudgment of YES
There is.   In that case, step Stwenty threeAnd judge YES.
Step S8Jump to step S9~ Step S11Pronunciation pronunciation
Perform initial preparation processing. As a result, the STEP register becomes 1
This is exactly the same operation as the above-mentioned operation at the start of sound generation.
And then execute it. That is, step S again16~ Stwenty one, S33
To start re-sounding.
Will be.   Now, by one picking operation, as shown in FIG.
Assuming that such a waveform signal is input, the waveform a0of
At the next zero cross point, step S1~ S11Data set
Tone processing, sounding stage discrimination processing, and sounding start preparation processing are performed.
And the next waveform a1At the zero crossing point immediately after16
~ Stwenty one, S33Start processing is performed.
Step Stwenty four~ S29, S34Pitch extraction control processing is performed
Will go on. At this time, the waveform aThreeAs shown in the wave
The shape is not stable and the register of the fourth waveform from the beginning suddenly
Waveform a becomes largerTwoWaveform aThreeLevel is ON
When it becomes larger than LEV II, the value of W register becomes
It is still "2", and the CPU 10032W register
Is not more than “10”, so step Stwenty three, S
8~ S11Relative-on processing is not performed.
Tep Stwenty four~ S29, S34The pitch extraction control process is performed
Will go.   In this way, the picking operation is performed and the waveform rises
Sometimes the waveform is not stable and the level of the waveform suddenly
Even if it gets bigger, re-sounding processing is not performed and picking
Produce multiple times in succession even though the work is once
Will not be performed.   Then, as described above, the string vibration is attenuated,
So that the peak value falls below OFFLEV as shown in Fig. 8.
Then, step Stwenty twoFrom step S30Heyuki STEP Regis
Data to 0 and the following step S31Note-off processing at
Sound processing) and mute the musical tones
Then, the CPU 100 instructs the tone generator 9.   During the period in which re-sounding is not performed, the period of the input waveform signal
Instead of a time period based on numbers, a time counter is stored in CPU100.
The time counter is used to count
It may be based on. In this case, the steps shown in FIG.
Step S34Is omitted, and step S33In the time counter
Performs reset processing, and then automatically counts
Step S32And the time count value is constant time TSWhether or not
Judge processing.   Step S in the above embodiment32Was determined to be NO
Then, after making the values of b 'and c the same, step Stwenty threeProceed to
And as a result, do not perform relative on processing.
You may.   In the above embodiment, step Stwenty threeThen, the above-mentioned
The waveform between the peak value b 'and the current peak value c
I tried to judge whether it changed or not, for example,
b ′ / c> S (S is a predetermined value of 1 or more)
So, judge whether the waveform changed suddenly
May be.   In addition, the waveform is compared with the previous peak value and the current peak value.
I judge whether it changed suddenly, but before
The comparison may be performed by comparing the crest value between the current time and the current time.   Due to other condition detection, the peak value may be
A sudden increase may be detected.   In the above embodiment, the zero crossing immediately after each peak point
CPU100 performs interrupt processing at the point, starts sound generation, period meter
Calculation, relative on, mute start, etc.
However, even if these processes are performed directly when each peak point is detected,
Good. In that case, the same result can be obtained. So
In addition, for example, by detecting the zero-cross point immediately before the peak point
Thus, the same processing as described above may be performed. Other criteria
The points can be variously changed.   Further, in the above embodiment, each processing is performed in the main flow.
Was executed, but the same
The processing may be executed.   Further, in the above embodiment, the present invention is applied to an electronic guitar.
Applied, but not necessarily limited to
There is an audio signal input from a microphone etc.
Or by extracting pitch from the electrical vibration signal
Signal and the corresponding pitch or scale circumference
What kind of form does the system generate at the wave number?
It may be something. Specifically, those with a keyboard
For example, electronic pianos, electronic versions of wind instruments, string instruments, examples
For example, it is equally suitable for electronic violins and kotos.
Can be used. [The invention's effect]   The present invention, as described in detail above, provides a
Signal amplitude level exceeds a predetermined value,
Immediately after extracting the frequency of the waveform signal, the
Instructs the user to start producing the musical tone corresponding to the wave number, and this musical tone is emitted.
Within the predetermined period when the sound starts, the amplitude again exceeds the predetermined value.
Even when a level waveform signal is detected,
Don't output re-pronounce start command
When a sound is generated and the waveform rises,
The shape is not stable, and the waveform level suddenly increases in the middle
However, the re-sounding process is not performed, and the picking operation is performed once.
Despite the fact that the sound processing was performed multiple times in succession
And as a result, depending on the tremolo playing style
The pronunciation of musical tones is clearly distinguished from
The effect is that the start can be made more accurate.
I do.

【図面の簡単な説明】 第1図は、本発明を適応した一実施例である電子楽器の
入力制御装置の全体回路構成を示す図、第2図は、第1
図中の各部に表われる波形等を示すタイムチャート図、
第3図はCPUの割り込みルーチンのフローチャートを示
す図、第4図はCPUのメインルーチンのフローチャート
を示す図、第5図及び第6図は発音開始時の各部の動作
を示すタイムチャート図、第7図は発音開始時の入力波
形が安定しない例を示すタイムチャート図、第8図は消
音時の動作を示すタイムチャート図である。 1……入力端子、4……最大ピーク検出回路、5……最
小ピーク検出回路、6……ゼロクロス点検出回路、7…
…カウンタ、9……音源回路、12……ラッチ、14、15…
…フリップフロップ、100……CPU、101……ワークメモ
リ、P1〜P6……ピッチ抽出回路。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a diagram showing the overall circuit configuration of an electronic musical instrument input control device according to an embodiment of the present invention, and FIG.
Time chart diagram showing waveforms and the like appearing in each part in the figure,
FIG. 3 is a diagram showing a flowchart of an interrupt routine of the CPU, FIG. 4 is a diagram showing a flowchart of a main routine of the CPU, FIG. 5 and FIG. FIG. 7 is a time chart showing an example in which the input waveform at the start of sound generation is not stable. FIG. 1 ... input terminal, 4 ... maximum peak detection circuit, 5 ... minimum peak detection circuit, 6 ... zero cross point detection circuit, 7 ...
... Counter, 9 ... Sound source circuit, 12 ... Latch, 14, 15 ...
... Flip-flop, 100 ... CPU, 101 ... Work memory, P1 to P6 ... Pitch extraction circuit.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭51−123133(JP,A) 特開 昭55−159495(JP,A) 特開 昭54−138477(JP,A) 特公 昭61−2954(JP,B2)   ────────────────────────────────────────────────── ─── Continuation of front page       (56) References JP-A-51-123133 (JP, A)                 JP-A-55-159495 (JP, A)                 JP-A-54-138477 (JP, A)                 Tokiko Sho 61-2954 (JP, B2)

Claims (1)

(57)【特許請求の範囲】 1.供給された波形信号の振幅レベルが所定値を超えた
ことを検出して、当該波形信号の周波数を抽出する周波
数抽出手段と、 前記周波数抽出手段が当該波形信号の周波数を抽出した
直後に、当該波形信号の周波数に対応する楽音の発音開
始を指令する指示手段と、 前記指示手段が前記楽音の発音開始の指令を与えてから
所定期間内は、前記周波数抽出手段が再度、前記所定値
を超える振幅レベルの波形信号を検出した時であって
も、前記指示手段に対して、再発音の開始の指令を出力
させないよう制御する禁止手段と、 を有することを特徴とする波形信号制御装置。 2.前記禁止手段は、前記波形信号の周波数に対応する
周期回数が所定値に達したか否かを計数することにより
前記所定期間を認識することを特徴とする特許請求の範
囲第1項に記載の波形信号制御装置。 3.前記禁止手段は、時間を計測することにより前記所
定期間を認識することを特徴とする特許請求の範囲第1
項に記載の波形信号制御装置。
(57) [Claims] Frequency extracting means for detecting that the amplitude level of the supplied waveform signal has exceeded a predetermined value and extracting the frequency of the waveform signal; and immediately after the frequency extracting means has extracted the frequency of the waveform signal, Instruction means for instructing the start of sounding of a musical tone corresponding to the frequency of the waveform signal; and within a predetermined period after the instruction means gives an instruction for starting sounding of the musical tone, the frequency extracting means again exceeds the predetermined value. A waveform signal control device comprising: a prohibition unit that controls the instruction unit so as not to output a command to start re-sounding even when a waveform signal of an amplitude level is detected. 2. 2. The method according to claim 1, wherein the prohibition unit recognizes the predetermined period by counting whether or not the number of cycles corresponding to the frequency of the waveform signal has reached a predetermined value. Waveform signal control device. 3. 2. The method according to claim 1, wherein the prohibiting unit recognizes the predetermined period by measuring time.
Item 6. The waveform signal control device according to Item 1.
JP62095443A 1987-04-20 1987-04-20 Waveform signal controller Expired - Lifetime JP2765578B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62095443A JP2765578B2 (en) 1987-04-20 1987-04-20 Waveform signal controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62095443A JP2765578B2 (en) 1987-04-20 1987-04-20 Waveform signal controller

Publications (2)

Publication Number Publication Date
JPS63261391A JPS63261391A (en) 1988-10-28
JP2765578B2 true JP2765578B2 (en) 1998-06-18

Family

ID=14137834

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62095443A Expired - Lifetime JP2765578B2 (en) 1987-04-20 1987-04-20 Waveform signal controller

Country Status (1)

Country Link
JP (1) JP2765578B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51123133A (en) * 1975-04-18 1976-10-27 Matsushita Electric Ind Co Ltd Instrument tone conversion device
JPS55159495A (en) * 1979-05-31 1980-12-11 Nippon Musical Instruments Mfg Musical sound input type electronic musical instrument

Also Published As

Publication number Publication date
JPS63261391A (en) 1988-10-28

Similar Documents

Publication Publication Date Title
EP0722160B1 (en) Method for recognition of the start and end of a note in the case of percussion or plucked musical instrument
JP3653854B2 (en) Stringed electronic musical instrument
JP2765578B2 (en) Waveform signal controller
JP2532424B2 (en) Waveform signal input controller
JP4198046B2 (en) Electronic stringed instruments
JPH01177082A (en) Electronic musical instrument
JP2792022B2 (en) Electronic musical instrument input control device
JP2605667B2 (en) Electronic musical instrument input control device
JP2581068B2 (en) Waveform signal controller
JP2508044B2 (en) Electronic musical instrument input control device
JP2508692B2 (en) Input waveform signal controller
JPH041358B2 (en)
JPH0727512Y2 (en) Input control device for electronic musical instruments
JPS63139399A (en) Input controller for electronic musical instrument
JPH0782320B2 (en) Music control device
JPH0431599B2 (en)
JP2555553B2 (en) Input waveform signal controller
JPH10187156A (en) Electronic stringed instrument capable of tapping harmonics execution
JP2961675B2 (en) Electronic musical instrument
JP3534932B2 (en) Musical tone control device for electronic stringed instruments
JPH04242290A (en) Performance information generation device
JPS63217397A (en) Input controller for electronic musical instrument
JPH083711B2 (en) Input waveform signal controller
JPH01100598A (en) Electronic musical instrument
JPH02219095A (en) Input controller for electronic musical instrument