JPH08185160A - Electronic stringed instrument and string vibration detecting device - Google Patents

Electronic stringed instrument and string vibration detecting device

Info

Publication number
JPH08185160A
JPH08185160A JP6339691A JP33969194A JPH08185160A JP H08185160 A JPH08185160 A JP H08185160A JP 6339691 A JP6339691 A JP 6339691A JP 33969194 A JP33969194 A JP 33969194A JP H08185160 A JPH08185160 A JP H08185160A
Authority
JP
Japan
Prior art keywords
string
inz
light
value
data
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.)
Pending
Application number
JP6339691A
Other languages
Japanese (ja)
Inventor
Takeshi Bushida
岳 武士田
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 JP6339691A priority Critical patent/JPH08185160A/en
Publication of JPH08185160A publication Critical patent/JPH08185160A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To simplify constitution and to rapidly attenuate a generated musical sound by touching to a string when a signal out of the range of a prescribed level is outputted continuously from a string vibration detection means by performing muffling instruction. CONSTITUTION: Whether a value of DATA storing an A/D conversion value of a photodiode corresponding to CH lies on the plus side or the minus side of INZ (CH) ±β is detected. When it is DATA>INZ (CH) +β and lies on the plus side, whether or not it is in the state of PLS (CH) = 1 at this time is discriminated. When it is PLS (CH) = 1, since the state of DATA>INZ (CH) +β is continued from before, whether or not the value of TIM (CH) counting the duration of DATA>INZ (CH) +β becomes γ or above is discriminated, and when it becomes TIM (CH) > γ, muffling processing is executed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、電子弦楽器に関し、さ
らに詳しくは電子弦楽器の消音制御に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic stringed instrument, and more particularly to muffling control for an electronic stringed instrument.

【0002】[0002]

【従来の技術】従来の電子弦楽器としては、例えば実開
平1−164496号公報に開示された電子ギターが知
られている。この電子ギターのネックには、各フレット
毎に6本の弦に対応してフレットスイッチが設けられて
いる。また、ボディには模擬的な弦が張設されていると
ともに、弦の下方にピックアップが配置され、さらに各
弦の一端部にはタッチ検出回路が設けられている。そし
て、いずれかのフレットスイッチを押圧した状態で対応
する弦をピッキングすると、ピックアップが弦の振動を
検出し、この弦振動の検出がトリガーとなって、フレッ
トスイッチの操作により指定されている音高で楽音の発
生が指示される。また、指で振動中の弦にタッチする
と、タッチ検出回路がこのタッチを検出し、このタッチ
検出に応答して消音が指示される。したがって、ピッキ
ングに用いる右手で弦にタッチすることにより、アコー
スティックギターと同様に発生楽音を急速に減衰させる
奏法が可能となる。
2. Description of the Related Art As a conventional electronic stringed instrument, for example, an electronic guitar disclosed in Japanese Utility Model Laid-Open No. 1-164496 is known. The neck of this electronic guitar is provided with fret switches corresponding to six strings for each fret. Further, a simulated string is stretched on the body, a pickup is arranged below the string, and a touch detection circuit is provided at one end of each string. When one of the fret switches is pressed and the corresponding string is picked, the pickup detects the vibration of the string and the detection of this string vibration triggers the pitch specified by the operation of the fret switch. To instruct generation of musical sound. Further, when the vibrating string is touched with a finger, the touch detection circuit detects this touch, and in response to this touch detection, an instruction to mute is given. Therefore, by touching the strings with the right hand used for picking, it is possible to perform a playing method in which the generated musical sound is rapidly attenuated as in the acoustic guitar.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、かかる
従来の電子ギターにあっては、弦の振動を検出するピッ
クアップとは別に、タッチ検出回路を設けることによ
り、弦へのタッチに応答して消音を指示するように構成
されている。したがって、タッチ検出回路を必要とする
ことによりコスト的な不利が生じ、しかもタッチ検出回
路は各弦毎に設けなければならないことから、部品点数
や組み付け工数が増大してしまう。
However, in such a conventional electronic guitar, by providing a touch detection circuit separately from the pickup for detecting the vibration of the strings, the mute in response to the touch on the strings is suppressed. Is configured to direct. Therefore, the need for the touch detection circuit causes a cost disadvantage, and since the touch detection circuit must be provided for each string, the number of parts and the number of assembling steps increase.

【0004】本発明は、このような従来の課題に鑑みて
なされたものであり、タッチ検出回路を設けることな
く、弦へのタッチに応答して消音指示を行うことのでき
る電子弦楽器を提供することを目的とするものである。
The present invention has been made in view of the conventional problems as described above, and provides an electronic string instrument capable of issuing a mute instruction in response to a touch on a string without providing a touch detection circuit. That is the purpose.

【0005】[0005]

【課題を解決するための手段】前記課題を解決するため
に本発明の電子楽器にあっては、弦との距離に応じたレ
ベルの信号を出力する弦振動検出手段と、前記弦の振動
に伴って前記弦振動検出手段の出力信号レベルが変化し
たとき、楽音の発生を指示する楽音発生指示手段と、前
記弦振動検出手段から所定レベル範囲外の信号が継続的
に出力されたとき、前記楽音の消音を指示する消音指示
手段とを設けたことを要旨としている。また、本発明の
弦振動検出装置は、弦に設けられた弦の直径より幅が広
い反射部材と、この反射部材の面に向かって光を照射す
る光源と、この光源により照射されて前記反射部材の面
に反射した光を受光し、受光状態に応じた信号を出力す
る受光手段からなることを要旨としている。
In order to solve the above-mentioned problems, an electronic musical instrument of the present invention is provided with a string vibration detecting means for outputting a signal of a level according to the distance to the string, and a string vibration detecting means. When the output signal level of the string vibration detecting means is changed accordingly, a tone generation instruction means for instructing the generation of a musical sound and a signal outside the predetermined level range are continuously output from the string vibration detecting means, The gist is that a mute instructing means for instructing the mute of a musical sound is provided. Further, the string vibration detecting device of the present invention includes a reflecting member provided on the string and having a width wider than the diameter of the string, a light source for irradiating the surface of the reflecting member with light, and the reflection by the light source. The gist is that the light receiving means receives the light reflected by the surface of the member and outputs a signal according to the light receiving state.

【0006】[0006]

【作用】前記構成の電子楽器において、弾弦して弦を振
動させると、この振動を開始した弦と弦振動検出手段と
の距離が弦の振動周期に応じて周期的に変化する。した
がって、弦振動検出手段はレベルが周期的に変化する信
号を出力し、この周期的にレベル変化する信号に応答し
て楽音の発生が指示される。また、この振動している弦
を指で押圧すると、弦は振動を停止するとともに、押圧
された弦の位置と弦振動検出手段との距離に応じて、該
弦振動検出手段から所定レベル以上あるいは所定レベル
以下、つまり所定レベル範囲外の信号が継続して出力さ
れる。すると、消音指示手段はこの継続して出力された
所定レベル範囲外の信号に応答して消音を指示し、よっ
て、弾弦により発生した楽音は、当該弦に対する押圧に
より消音されることとなる。
In the electronic musical instrument having the above-mentioned structure, when a string is vibrated to vibrate the string, the distance between the string that started the vibration and the string vibration detection means changes periodically according to the vibration cycle of the string. Therefore, the string vibration detecting means outputs a signal whose level changes periodically, and in response to this signal whose level changes periodically, generation of a musical sound is instructed. When the vibrating string is pressed with a finger, the string stops vibrating and, depending on the distance between the position of the pressed string and the string vibration detection means, the string vibration detection means outputs a predetermined level or more. A signal below a predetermined level, that is, a signal outside the predetermined level range is continuously output. Then, the muffling instructing means responds to the continuously output signal outside the predetermined level range to instruct the muffling, so that the musical tone generated by the string is muffled by pressing the string.

【0007】また、前記構成の弦振動検出装置において
は、弦の直径より幅が広い反射部材を設けたので、良好
に弦(反射部材)からの反射光を検出できる。
Further, in the string vibration detecting device having the above structure, since the reflecting member having a width wider than the diameter of the string is provided, the reflected light from the string (reflecting member) can be satisfactorily detected.

【0008】[0008]

【実施例】以下、本発明の一実施例を図に従って説明す
る。すなわち、この実施例は本発明を電子ギターに適用
したものであり、図1に示すように、ギター本体1は、
ボディ2と該ボディ2に一端を固定されたネック3とか
ら構成されている。ネック3には、複数のフレット4・
・・が設けられており、各フレット4・・・間には、ギ
ターに張設されている6本の弦を模倣した6個の突条5
各々が形成されている。また、ネック3には、フレット
スイッチ部6が設けられている。このフレットスイッチ
部6は、各フレット4間の6個の突条5に対応して配置
されたフレットスイッチ、つまり本実施例においては6
弦に対して15フレット分である6×15のマトリクス
で構成された90個のフレットスイッチを有し、各フレ
ットスイッチは突条5を押圧するこによりオンとなる常
開型のスイッチからなる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. That is, this embodiment applies the present invention to an electronic guitar, and as shown in FIG.
It is composed of a body 2 and a neck 3 whose one end is fixed to the body 2. Neck 3 has multiple frets 4
.. are provided, and between each fret 4 ... Between them are 6 ridges 5 imitating the 6 strings stretched on the guitar.
Each is formed. Further, the neck 3 is provided with a fret switch portion 6. The fret switch section 6 is a fret switch arranged corresponding to the six ridges 5 between the frets 4, that is, 6 in the present embodiment.
It has 90 fret switches formed by a 6 × 15 matrix, which is 15 frets for a string, and each fret switch is a normally open type switch that is turned on by pressing the ridge 5.

【0009】ボディ2には、内部に配置されたスピーカ
から発生した楽音を放音させるためのスリット部16が
設けられているとともに、ボディスイッチ部17及び音
量スイッチ18が設けられている。このボディスイッチ
部17には、操作に応じて音色ナンバーをインクリメン
トあるいはデクリメントして、音色ナンバーを設定する
ための音色設定スイッチ19、及び後述するフィルタ部
におけるフィルタ係数を変更する場合に操作されるフィ
ルタスイッチ20が設けられている。
The body 2 is provided with a slit portion 16 for emitting a musical sound generated from a speaker arranged inside, a body switch portion 17 and a volume switch 18. The body switch unit 17 includes a tone color setting switch 19 for setting the tone color number by incrementing or decrementing the tone color number according to the operation, and a filter operated when changing the filter coefficient in the filter unit described later. A switch 20 is provided.

【0010】さらに、ボディ2にはネック3の近傍に配
置されたフロントブリッジ7と、このフロントブリッジ
7と間隔をおいて対向するリヤブリッジ8とが設けられ
ており、この両ブリッジ7,8間のみに6本の模擬的な
弦9が張設されている。リヤブリッジ8には、図2に拡
大して示すように、カバー10が設けられており、弦9
においてこのカバー10内に延在する部位には、円柱状
部材11が設けられているとともに、コイルスプリング
部12が形成されている。このコイルスプリング部12
は所定の収縮力を有し、模擬的な弦9に一般的なギター
に張設された弦と近似する張力を発生させている。ま
た、前記円柱状部材11は、その周面を弦9に沿った方
向にして、中心軸上にて弦9に固着されており、円柱状
部材11の直下には、弦振動検出手段としてのフォトセ
ンサ13が各弦9に対応して固定配置されている。
Further, the body 2 is provided with a front bridge 7 arranged in the vicinity of the neck 3 and a rear bridge 8 facing the front bridge 7 with a space therebetween, and between the both bridges 7, 8. Only 6 mimic strings 9 are stretched on the chisel. The rear bridge 8 is provided with a cover 10 as shown in an enlarged view in FIG.
In the portion extending in the cover 10, a columnar member 11 is provided and a coil spring portion 12 is formed. This coil spring part 12
Has a predetermined contracting force and generates a tension on the simulated string 9 which is similar to that of a string stretched on a general guitar. Further, the columnar member 11 is fixed to the string 9 on the central axis with its peripheral surface oriented in the direction of the string 9, and immediately below the columnar member 11 is a string vibration detecting means. The photo sensor 13 is fixedly arranged corresponding to each string 9.

【0011】この6個のフォトセンサ13は各々その上
面に、後述する図6のブロック図に示す光源部14とフ
ォトダイオード15とを有してなる。そして、光源部1
4は、前記円柱状部材11の下部周面11aの所定範囲
に光を照射し、フォトダイオード15はこの光源部16
より照射されて前記下部周面11aで反射した光を受光
する。したがって、弦9とともに円柱状部材11が静止
している状態にあると、フォトダイオード15は、下部
周面11aからの略一定の反射光を受光することとな
る。よって、弦9が静止している状態においては、図3
及び図4にINZ(CH)として示したように、フォト
ダイオード15の出力レベルも略一定となる。
Each of the six photosensors 13 has a light source section 14 and a photodiode 15 shown in the block diagram of FIG. And the light source unit 1
Numeral 4 irradiates a predetermined area on the lower peripheral surface 11a of the cylindrical member 11 with light, and the photodiode 15 has the light source unit 16
The light that is further irradiated and reflected by the lower peripheral surface 11a is received. Therefore, when the columnar member 11 is stationary with the strings 9, the photodiode 15 receives substantially constant reflected light from the lower peripheral surface 11a. Therefore, when the string 9 is at rest, as shown in FIG.
Also, as indicated by INZ (CH) in FIG. 4, the output level of the photodiode 15 is also substantially constant.

【0012】また、弾弦を開始するに際し、指が弦9に
掛かり、これにより弦9が押圧されると、これに伴って
円柱状部材11が下方に変位し、該円柱状部材11とフ
ォトダイオード15との距離が縮小する。これにより、
下部周面11aからの反射光は、フォトダイオード15
周囲への分散光量が相対的に減少し、かつフォトダイオ
ード15への入射光量が増大する。その結果、フォトダ
イオード15の出力レベルは、図3,4に“PS”とし
て示したように、弾弦開始時の弦押圧力に応じて上昇す
る。
Further, when the string 9 is pressed by the finger at the time of starting the strung string, the string 9 is pushed by this, and the columnar member 11 is displaced downward accordingly, and the columnar member 11 and the photo The distance to the diode 15 is reduced. This allows
The light reflected from the lower peripheral surface 11a is reflected by the photodiode 15
The amount of dispersed light to the surroundings is relatively reduced, and the amount of incident light on the photodiode 15 is increased. As a result, the output level of the photodiode 15 rises according to the string pressing force at the start of the stringing, as shown by "PS" in FIGS.

【0013】さらに、弾弦を行うことにより、弦9が振
動を開始すると、これに伴って、円柱状部材11とフォ
トダイオード15との距離は、弦9の振動に同期して増
減を繰り返す。このとき、円柱状部材11とフォトダイ
オード15との距離が増大すると、前述とは逆に、下部
周面11aからの反射光は、フォトダイオード15周囲
への分散光量が相対的に増大し、かつフォトダイオード
15への入射光量が減少する。その結果、フォトダイオ
ード15の出力レベルは、弦静止時の出力レベルINZ
(CH)よりも遥かに減少する。したがって、弦9が振
動を継続すると、円柱状部材11とフォトダイオード1
5との距離は、弦9の振動周期に同期して増減変化する
ことから、図5に示すように、フォトダイオード15の
出力レベルも弦9の振動周期に同期して増減変化するこ
ととなる。
Further, when the string 9 starts vibrating by striking a string, the distance between the columnar member 11 and the photodiode 15 is repeatedly increased and decreased in synchronization with the vibration of the string 9. At this time, when the distance between the cylindrical member 11 and the photodiode 15 increases, contrary to the above, the reflected light from the lower peripheral surface 11a has a relatively large amount of dispersed light around the photodiode 15, and The amount of light incident on the photodiode 15 is reduced. As a result, the output level of the photodiode 15 is the output level INZ when the string is stationary.
(CH) much less. Therefore, when the string 9 continues to vibrate, the cylindrical member 11 and the photodiode 1
Since the distance to 5 increases or decreases in synchronization with the vibration cycle of the string 9, the output level of the photodiode 15 also increases or decreases in synchronization with the vibration cycle of the string 9, as shown in FIG. .

【0014】また、振動している弦9を指で押圧する
と、弦9は振動を停止するとともに、押圧に伴って円柱
状部材11が下方に変位し、該円柱状部材11とフォト
ダイオード15との距離が縮小する。これにより、前述
と同様にして、下部周面11aからの反射光は、フォト
ダイオード15周囲への分散光量が相対的に減少し、か
つフォトダイオード15への入射光量が増大する。その
結果、フォトダイオード15の出力レベルは、図3に
“PE”として示したように、弦9に対する押圧力に応
じて、INZ(CH)+βよりも上昇する。よって、フ
ォトダイオード15の出力レベルが、所定時間γ以上こ
のINZ(CH)+βを超えている状態が継続している
ことにより、弦19を押圧したことを検出し得る。
When the vibrating string 9 is pressed with a finger, the string 9 stops vibrating, and the cylindrical member 11 is displaced downward due to the pressing, so that the cylindrical member 11 and the photodiode 15 move. Distance is reduced. As a result, in the same manner as described above, the amount of reflected light from the lower peripheral surface 11a is relatively reduced in the amount of dispersed light around the photodiode 15, and the amount of light incident on the photodiode 15 is increased. As a result, the output level of the photodiode 15 becomes higher than INZ (CH) + β depending on the pressing force applied to the string 9, as indicated by “PE” in FIG. Therefore, when the output level of the photodiode 15 continues to exceed INZ (CH) + β for a predetermined time γ or more, it can be detected that the string 19 is pressed.

【0015】図6は、本実施例にかかる電子ギターの回
路構成を示すブロック図であり、CPU21には、前記
6個のフォトセンサ13の各々に設けられたフォトダイ
オード15からの信号がA/D変換器22を介して入力
されるとともに、前記フレットスイッチ部6及びボディ
スイッチ部17から操作情報が入力される。ROM23
には、この電子ギターにおいて実行される総ての制御に
必要なプログラムが記憶されているとともに、前記音色
設定スイッチ19により設定される音色番号に対応して
音色データが記憶されている。CPU21は、これら入
力信号やプログラム等及びRAM24に記憶されるデー
タ等に従って動作し、音源部25及び他の各部を制御す
る。
FIG. 6 is a block diagram showing the circuit configuration of the electronic guitar according to this embodiment. In the CPU 21, signals from the photodiodes 15 provided in each of the six photosensors 13 are A / A. While being input via the D converter 22, operation information is input from the fret switch unit 6 and the body switch unit 17. ROM23
In addition to the programs necessary for all controls executed in this electronic guitar, the tone color data corresponding to the tone color number set by the tone color setting switch 19 is stored. The CPU 21 operates according to these input signals, programs, etc., and data stored in the RAM 24, etc., and controls the tone generator 25 and other units.

【0016】音源部25は、6本の弦9に対応する6個
の発音チャンネルを有し、CPU21からの発音指示に
従って、指定された音色及び音高の楽音波形データを各
発音チャンネル毎に生成し、フィルタ部26はこの音源
部25により生成されたが楽音波形データを、前記フィ
ルタスイッチ20により設定されているフィルタ係数に
従って処理する。このフィルタ部26により処理された
楽音波形データは、D/A変換器27により、アナログ
楽音波形に変換されて、増幅部28に与えられる。増幅
器28は、前記音量スイッチ18により設定されている
音量に従って楽音波形を増幅し、この増幅された楽音波
形によりスピーカ29が駆動されることによって、前記
スリット部16を介して外部に放音されるように構成さ
れている。
The sound source section 25 has six sounding channels corresponding to the six strings 9, and generates musical tone waveform data of a designated tone color and pitch for each sounding channel in accordance with a sounding instruction from the CPU 21. Then, the filter unit 26 processes the musical tone waveform data generated by the sound source unit 25 according to the filter coefficient set by the filter switch 20. The musical tone waveform data processed by the filter unit 26 is converted into an analog musical tone waveform by the D / A converter 27 and is given to the amplification unit 28. The amplifier 28 amplifies the musical tone waveform according to the volume set by the volume switch 18, and the speaker 29 is driven by the amplified musical tone waveform, so that the sound is emitted to the outside through the slit portion 16. Is configured.

【0017】次に、以上の構成にかかる本実施例の動作
を図8以降に示すフローチャートに従って説明する。な
お、各フローチャートにおいて用いられいている符号
は、図7及び下記に示す各種レジスタを示す。 CH:第1弦から第6弦に対応する“0”〜“5”の弦
番号を格納する。 CH2:タイマ割り込み処理において、弦番号“0”〜
“5”を格納する。 CH3:フレットスイッチオフ割込処理において、弦番
号“0”〜“5”を格納する。 DATA:フォトダイオード出力の最新のA/D変換値
を格納する。 INZ(0)〜(5):弦静止時におけるフォトダイオ
ード出力の平均値を格納する。 MAX(0)〜(5):弦振動開始時のフォトダイオー
ド出力の最大値及び最小値を示す。 CNT(0)〜(5):弦振動に伴ってフォトダイオー
ドの出力値が、図5に示したINZ(CH)±αを超え
た回数を格納する。 TIM(0)〜(5):タイマカウント値を示す。 ON(0)〜(5):“1”で発音中であることを示
し、“0”で発音停止中であることを示す。 PLS(0)〜(5):“1”でINZ(CH)+αよ
り大であることを示し、“0”でINZ(CH)−αよ
り小であることを示す。 なお、以上において(0)〜(5)は、括弧内に数値に
より弦番号“0”〜“5”に対応するレジスタであるこ
とを示す。
Next, the operation of this embodiment having the above configuration will be described with reference to the flowcharts shown in FIG. The reference numerals used in each flow chart indicate various registers shown in FIG. 7 and the following. CH: The string numbers "0" to "5" corresponding to the first to sixth strings are stored. CH2: In the timer interrupt processing, the string number "0" ~
Store “5”. CH3: In the fret switch-off interruption process, the string numbers "0" to "5" are stored. DATA: The latest A / D conversion value of the photodiode output is stored. INZ (0) to (5): Store the average value of the photodiode output when the string is stationary. MAX (0) to (5): Shows the maximum and minimum values of the photodiode output at the start of string vibration. CNT (0) to (5): The number of times that the output value of the photodiode exceeds INZ (CH) ± α shown in FIG. 5 due to string vibration is stored. TIM (0) to (5): Indicates a timer count value. ON (0) to (5): "1" indicates that sound is being generated, and "0" indicates that sound is being stopped. PLS (0) to (5): “1” indicates that it is larger than INZ (CH) + α, and “0” indicates that it is smaller than INZ (CH) −α. In the above, (0) to (5) indicate that they are registers corresponding to the string numbers "0" to "5" in parentheses.

【0018】すなわち、CPU21は、電源が投入され
ると、図8に示すメインフローに従って動作を開始し、
先ず初期処理(SA1)を実行する。この初期処理(S
A1)は、図9に示すフローに従って行われ、レジスタ
ON(0)〜(5)、及びCNT(0)〜(5)をリセ
ットするとともに(SB1,SB2)、INZ(0)〜
(5)に、対応する各弦の静止時におけるフォトダイオ
ード出力の平均値を格納する(SB3)。しかる後に、
CHに“0”をセットしてリターンし(SB4)、よっ
て、この初期処理の終了時点において、CHには“0”
がセットされている。
That is, when the power is turned on, the CPU 21 starts its operation according to the main flow shown in FIG.
First, the initial process (SA1) is executed. This initial processing (S
A1) is performed according to the flow shown in FIG. 9, and registers ON (0) to ON (5) and CNT (0) to (5) are reset (SB1, SB2) and INZ (0) to.
In (5), the average value of the photodiode output when the corresponding strings are stationary is stored (SB3). After that,
Set "0" to CH and return (SB4). Therefore, at the end of this initial processing, "0" is set to CH.
Is set.

【0019】そして、図8のメインフローにおいてこの
初期処理(SA1)に続いて、ボディスイッチ処理(S
A2)を実行し、ボディスイッチ部17に設けられてい
る音色設定スイッチ19の操作に応じた音色波形の選択
や、フィルタスイッチ20の操作に応じたフィルタ係数
の設定等を行う。次に、フレットスイッチ処理(SA
3)を実行して、フレットスイッチ部6を走査し、押圧
操作によりオンとなったスイッチを検出して対応する弦
の弾弦時に発生すべき音高を決定するとともに、オフと
なったスイッチを検出して、対応する楽音の消音処理を
行う。
Then, in the main flow of FIG. 8, following this initial processing (SA1), body switch processing (S
A2) is executed to select a tone color waveform according to the operation of the tone color setting switch 19 provided in the body switch section 17, and to set a filter coefficient according to the operation of the filter switch 20. Next, fret switch processing (SA
3) is executed to scan the fret switch section 6 to detect the switch turned on by the pressing operation to determine the pitch to be generated at the time of striking the corresponding string, and the switch turned off. Detecting and muting the corresponding tone.

【0020】引き続き、弦処理(SA4)を実行した
後、CHの値により指定されるレジスタON(CH)に
“0”がセットされているか否かを判別し(SA5)、
ON(CH)=0であって非発音中であるならば、振動
検出処理を実行し(SA6)、ON(CH)=1であっ
て発音中であるならば、弦接触検出処理を実行する(S
A6)。しかる後に、CHが“5”となったか否かを判
別して、CH≠5であるならば、CHをインクリメント
して(SA10)、SA3に戻り、CH=5となってい
るならば、CHに初期値“0”をセットして(SA
9)、SA2に戻る。したがって、CHは初期値“0”
から最大値“5”の間で順次変化し、その値により現時
点で弦処理(SA4)、弦振動検出処理(SA6)、及
び弦接触検出処理(SA7)を行うべき弦番号を示して
行く。よって、電源がオンである間このメインフローに
従って処理されることにより、順次第1弦から第6弦毎
にフレットスイッチ処理、弦処理、振動検出処理、弦接
触検出処理が行われ、これら各弦毎の処理が繰り返され
ることとなる。
Subsequently, after string processing (SA4) is executed, it is judged whether or not "0" is set in the register ON (CH) designated by the value of CH (SA5),
If ON (CH) = 0 and no sound is being generated, vibration detection processing is executed (SA6). If ON (CH) = 1 and sound is being generated, string contact detection processing is executed. (S
A6). After that, it is determined whether or not CH has become “5”. If CH ≠ 5, CH is incremented (SA10) and the process returns to SA3. If CH = 5, CH Set the initial value "0" to (SA
9) Return to SA2. Therefore, CH is the initial value "0"
From the maximum value to "5", the value indicates the string number at which the string process (SA4), the string vibration detection process (SA6), and the string contact detection process (SA7) are to be performed at that time. Therefore, while the power is on, the processing is performed according to this main flow, so that the fret switch processing, the string processing, the vibration detection processing, and the string contact detection processing are sequentially performed for each of the first to sixth strings. Each process will be repeated.

【0021】また、CPU21は、内部で発生する所定
周期のクロックに同期したタイミングで、図10に示す
タイマ割込処理を実行し、先ずレジスタCH2に“0”
を格納する(SC1)。次に、このCH2の値で示され
るタイマレジスタTIM(CH2)の値をカウントアッ
プする(SC2)。しかる後にCH2が“5”となった
か否かを判別し(SC3)、CH2≠5であるならばリ
ターンし、CH2=5であるならば、CH2の値をイン
クリメントして(SC4)、SC2に戻る。したがっ
て、このタイマ割込処理により、第1弦から第6弦に対
応する各タイマレジスタTIM(0)〜(5)が一定時
間間隔でカウントアップされて行く。
Further, the CPU 21 executes the timer interrupt process shown in FIG. 10 at the timing synchronized with the internally generated clock of a predetermined cycle, and first, the register CH2 is set to "0".
Is stored (SC1). Next, the value of the timer register TIM (CH2) indicated by the value of CH2 is counted up (SC2). Then, it is determined whether or not CH2 becomes “5” (SC3), and if CH2 ≠ 5, the process returns. If CH2 = 5, the value of CH2 is incremented (SC4) to SC2. Return. Therefore, this timer interrupt process causes the timer registers TIM (0) to TIM (5) corresponding to the first to sixth strings to be counted up at regular time intervals.

【0022】一方、メインフローにおける前記弦処理
(SA4)は、図11に示すフローに従って行われ、
“0”〜“5”の弦番号を順次格納するレジスタCHの
値に対応するフォトダイオード15の出力をA/D変換
し(SD1)、レジスタDATAに格納する(SD
2)。したがって、この弦処理により、レジスタDAT
Aには、CHにより示される弦番号に対応するフォトダ
イオード15の最新のA/D変換値が、順次更新されつ
つ格納されることとなる。
On the other hand, the string processing (SA4) in the main flow is performed according to the flow shown in FIG.
The output of the photodiode 15 corresponding to the value of the register CH that sequentially stores the string numbers "0" to "5" is A / D converted (SD1) and stored in the register DATA (SD.
2). Therefore, by this string processing, the register DAT
In A, the latest A / D conversion value of the photodiode 15 corresponding to the string number indicated by CH is stored while being sequentially updated.

【0023】また、メインフローの弦振動検出処理(S
A6)は、図12及び図13に示す一連のフローに従っ
て実行される。まず、CHの値により指定されているレ
ジスタCNT(CH)の値が“0”であるか否かを判別
する(SE1)。ここで、CNT(CH)は、図5をも
って前述したように、CHが示す弦の振動開始に伴っ
て、対応するフォトダイオード15の出力がINZ(C
H)±αを超えた回数を示すレジスタである。このと
き、CNT(CH)=0であって、前記超えた回数が
“0”である場合には、レジスタDATAに格納されて
いるフォトダイオードの最新出力値が、INZ(CH)
±αをプラス側に超えたか(SE2)、あるいは、マイ
ナス側に超えたかを判別する(SE4)。そして、DA
TA>INZ(CH)+αであってプラス側に超えた場
合には、PLS(CH)をセットし(SE3)、DAT
A<INZ(CH)−αであってマイナス側に超えた場
合には、PLS(CH)をリセットする(SE5)。
The main flow string vibration detection processing (S
A6) is executed according to the series of flows shown in FIGS. First, it is determined whether or not the value of the register CNT (CH) designated by the value of CH is "0" (SE1). Here, as described above with reference to FIG. 5, the CNT (CH) has the output of the corresponding photodiode 15 INZ (C
H) A register indicating the number of times exceeding ± α. At this time, if CNT (CH) = 0 and the number of times of exceeding is “0”, the latest output value of the photodiode stored in the register DATA is INZ (CH).
It is determined whether ± α is exceeded on the plus side (SE2) or on the minus side (SE4). And DA
If TA> INZ (CH) + α and it exceeds the plus side, PLS (CH) is set (SE3) and DAT is set.
When A <INZ (CH) -α and exceeds the negative side, PLS (CH) is reset (SE5).

【0024】しかる後に、このプラス側又はマイナス側
に超えた時点からの時間を計測すべく、レジスタTIM
(CH)をリセットするとともに(SE6)、INZ
(CH)±αを超えた回数を示すレジスタCNT(C
H)に“1”をセットする(SE7)。引き続き、レジ
スタDATAに格納されているフォトダイオード出力値
から、INZ(CH)に格納されている当該フォトダイ
オードの弦静止時における出力平均値を減じて、その値
の絶対値をMAX(CH)に格納した後(SE8)、リ
ターンする。
Then, in order to measure the time from the time when the plus side or the minus side is exceeded, the register TIM
Reset (CH) (SE6) and INZ
Register CNT (C indicating the number of times (CH) ± α is exceeded
"1" is set to H) (SE7). Then, subtract the average output value of the photodiode stored in INZ (CH) during string rest from the photodiode output value stored in the register DATA, and set the absolute value of that value to MAX (CH). After storing (SE8), it returns.

【0025】一方、SE1での判別の結果、CNT(C
H)≠0であって、レジスタCNT(CH)に前記回数
が格納されている場合には、図13のフローに進み、D
ATAの値がINZ(CH)±αをプラス側に超えてい
るか(SE9)、マイナス側に超えているか(SE1
2)を検出する。そして、SE9での判別の結果、DA
TA>INZ(CH)+αであってプラス側に超えてい
る場合には、このときPLS(CH)=0の状態にある
か否かを判別する(SE10)。PLS(CH)=1の
状態にあれば、プラス側に超えた状態が継続している時
点であり、この場合にはSE10からSE23に進む。
On the other hand, as a result of the discrimination in SE1, CNT (C
H) ≠ 0 and the number of times is stored in the register CNT (CH), the process proceeds to the flow of FIG.
Does the value of ATA exceed INZ (CH) ± α on the plus side (SE9) or on the minus side (SE1)?
2) is detected. Then, as a result of the determination in SE9, DA
If TA> INZ (CH) + α and it exceeds the plus side, it is determined whether or not PLS (CH) = 0 at this time (SE10). If the state of PLS (CH) = 1, it means that the state of exceeding the plus side continues, and in this case, the process proceeds from SE10 to SE23.

【0026】また、SE12での判別の結果、DATA
<INZ(CH)−αともなっていない場合にもSE2
3に進み、DATA<INZ(CH)−αであってマイ
ナス側に超えている場合には、このときPLS(CH)
=1の状態にあるか否かを判別する(SE13)。PL
S(CH)=0の状態にあれば、マイナス側に超えた状
態が継続している時点であり、この場合にもSE23に
進む。
As a result of the determination in SE12, DATA
<SE2 even when INZ (CH) -α is not used
3. If DATA <INZ (CH) -α and it exceeds the negative side, PLS (CH) at this time
It is determined whether or not the state is = 1 (SE13). PL
If it is in the state of S (CH) = 0, it means that the state of exceeding the minus side is continuing, and in this case also, it proceeds to SE23.

【0027】そして、このSE23では、TIM(C
H)が示すタイマカウント値が所定値γを超えているか
否かを判別し、所定値γを超えたならば、弦は振動して
いないものと見做し、CNT(CH)を0リセットして
リターンする。すなわち、DATA>INZ(CH)+
α又はDATA<INZ(CH)−αの何れでもない状
態(SE12がNO)が所定時間γ以上継続している場
合は、弦9が静止しているものと見做すことができる。
また、DATA>INZ(CH)+α又はDATA<I
NZ(CH)−αの状態(SE10又はSE13がN
O)の所定時間γ以上継続している場合は、例えば図3
のPSに示すように、弾弦開始時の弦押圧よりフォトダ
イオード15の出力レベルが変化している場合等であ
り、この時点では未だ弦振動は開始されてない。よっ
て、この場合にはCNT(CH)をリセットして(SE
24)、リターンする。
Then, in this SE23, TIM (C
(H) determines whether the timer count value exceeds a predetermined value γ. If it exceeds the predetermined value γ, it is considered that the string is not vibrating, and CNT (CH) is reset to 0. And return. That is, DATA> INZ (CH) +
When the state where neither α nor DATA <INZ (CH) -α is satisfied (SE12 is NO) continues for a predetermined time γ or more, it can be considered that the string 9 is stationary.
In addition, DATA> INZ (CH) + α or DATA <I
NZ (CH) -α state (SE10 or SE13 is N
3) is continued for a predetermined time γ of O), for example, as shown in FIG.
As indicated by PS, there is a case where the output level of the photodiode 15 is changed due to the pressing of the string at the start of the string firing, and the string vibration has not started yet at this point. Therefore, in this case, reset CNT (CH) (SE
24) Return.

【0028】しかし、SE23の判別の結果、TIM
(CH)>γとなっていない場合には、レジスタDAT
Aに格納されているフォトダイオード出力から、INZ
(CH)に格納されている当該フォトダイオードの弦静
止時における出力平均値を減じて、その値の絶対値によ
りレジスタDATAの値を更新する(SA20)。さら
に、この更新したDATAの値が、現時点におけるMA
X(CH)の値よりも大きいか否かを判別して、DAT
A>MAX(CH)である場合には、MAX(CH)の
値をDATAの値に書き換える(SE22)。したがっ
て、MAX(CH)には、INZ(CH)±αをプラス
方向あるいはマイナス方向に最も大きく超えたときのI
NZ(CH)との差の絶対値が、順次更新されつつ格納
されることとなる。
However, as a result of the determination of SE23, TIM
If (CH)> γ does not hold, register DAT
From the photodiode output stored in A, INZ
The output average value of the photodiode stored in (CH) when the string is stationary is subtracted, and the value of the register DATA is updated by the absolute value of the value (SA20). Furthermore, this updated DATA value is
It is determined whether it is larger than the value of X (CH), and DAT
If A> MAX (CH), the value of MAX (CH) is rewritten to the value of DATA (SE22). Therefore, MAX (CH) has an I when INZ (CH) ± α is most greatly exceeded in the plus or minus direction.
The absolute value of the difference from NZ (CH) will be stored while being sequentially updated.

【0029】他方、SE10の判別時に、PLS(C
H)=0の状態にあれば、フォトダイオード15の出力
がマイナス側に超えた後プラス側に超えている場合であ
り、弦9は振動を開始している。よって、この場合には
前述のSE5でリセットされているPLS(CH)をセ
ットした後(SE11)、CNT(CH)が“2”とな
っているか否かを判別する(SE15)。また、SE1
3の判別時において、PLS(CH)=1の状態にあれ
ば、フォトダイオード15の出力がプラス側に超えた後
マイナス側に超えている場合であり、同様に弦9は振動
を開始している。よって、前述のSE5でセットされて
いるPLS(CH)をリセットした後(SE14)、C
NT(CH)が“2”となっているか否かを判別する
(SE15)。そして、このSE15において、CNT
(CH)の値が“2”となっていない場合、つまり未だ
CNT(CH)=1であるならば、TIM(CH)を0
リセットした後(SE18)、CNT(CH)に“2”
をセットする(SE19)。しかる後に、前述したSE
20〜SE22の処理を行ってリターンする。
On the other hand, when determining SE10, PLS (C
If H) = 0, it means that the output of the photodiode 15 exceeds the minus side and then exceeds the plus side, and the string 9 starts to vibrate. Therefore, in this case, after the PLS (CH) reset in SE5 is set (SE11), it is determined whether CNT (CH) is "2" (SE15). Also, SE1
When PLS (CH) = 1 in the determination of 3, it means that the output of the photodiode 15 exceeds the positive side and then the negative side. Similarly, the string 9 starts to vibrate. There is. Therefore, after resetting the PLS (CH) set in SE5 (SE14), C
It is determined whether NT (CH) is "2" (SE15). And in this SE15, CNT
If the value of (CH) is not “2”, that is, if CNT (CH) = 1 still, TIM (CH) is set to 0.
After reset (SE18), CNT (CH) is "2"
Is set (SE19). After that, the above-mentioned SE
The process from 20 to SE22 is performed and the process returns.

【0030】そして、このようにSE19でCNT(C
H)に“2”がセットされた後、PLS(CH)=0の
状態でDATA>INZ(CH)+αとなった場合に
は、SE9→SE10→SE11→SE15→SE16
と進んで発音処理を実行し、また、PLS(CH)=1
の状態でDATA>INZ(CH)−αとなった場合に
は、SE9→SE12→SE13→SE14→SE15
→SE16と進んで発音処理を実行する。したがって、
弾弦により弦9が振動を開始して、図5に例示するよう
に、フォトダイオード15の出力がINZ(CH)±α
を合計3回超えた(このうち、1、3回目と2回目とは
±が逆の向きに越えた)時点で、発音処理(SE16)
が実行されることとなる。
Then, in this way, in SE19, CNT (C
When DATA> INZ (CH) + α with PLS (CH) = 0 after H) is set to “2”, SE9 → SE10 → SE11 → SE15 → SE16
Then, the pronunciation process is executed and PLS (CH) = 1
If DATA> INZ (CH) -α in the state of, SE9 → SE12 → SE13 → SE14 → SE15
→ Proceed to SE16 to execute the pronunciation process. Therefore,
The string 9 starts to vibrate due to the striking string, and the output of the photodiode 15 is INZ (CH) ± α as illustrated in FIG.
Sounding processing (SE16) at the time when the total exceeds three times (of which ± is opposite to the first, third and second times).
Will be executed.

【0031】この発音処理において、CPU21は、ボ
ディスイッチ部17の操作により指定された音色ナンバ
ーが示す波形データをROM23から読み出し、フレッ
トスイッチ部6の操作により指定されている音高であっ
て、MAX(CH)に格納されているINZ(CH)±
αを最も大きく超えたときのINZ(CH)との差の絶
対値に対応する音量の楽音波形データを、対応する発音
チャンネルで生成すべく音源部25に指示する。この指
示に従って、音源部25は指定された楽音波形データを
指定された発音チャンネルで生成して出力し、フィルタ
部26はこの楽音波形データをフィルタスイッチ20に
より設定されている係数に応じてフィルタ処理する。
In this tone generation processing, the CPU 21 reads from the ROM 23 the waveform data indicated by the tone color number specified by the operation of the body switch section 17, and the pitch specified by the operation of the fret switch section 6 is MAX. INZ (CH) ± stored in (CH)
The sound source unit 25 is instructed to generate the musical tone waveform data of the volume corresponding to the absolute value of the difference from INZ (CH) when α is most exceeded. In accordance with this instruction, the sound source section 25 generates and outputs the specified musical tone waveform data in the designated sounding channel, and the filter section 26 filters the musical tone waveform data according to the coefficient set by the filter switch 20. To do.

【0032】このフィルタ処理された楽音波形データ
は、D/A変換器27により、アナログ楽音波形に変換
され、増幅器28は、音量スイッチ18により設定され
ている音量に従って楽音波形を増幅し、この増幅された
楽音波形によりスピーカ29が動作する。これにより、
スピーカ29からは、設定されている音量の範囲内にお
いて弾弦の強さに応じた音量であって、音色スイッチ1
9の操作により指定された音色、及びフレットスイッチ
部6の操作により指定された音高からなる楽音が発生し
始める。
The filtered musical tone waveform data is converted into an analog musical tone waveform by the D / A converter 27, and the amplifier 28 amplifies the musical tone waveform according to the volume set by the volume switch 18, and this amplification is performed. The speaker 29 operates according to the generated musical tone waveform. This allows
From the speaker 29, the tone volume switch 1 has a volume corresponding to the strength of the plucked string within the set volume range.
A musical tone having a tone color designated by the operation 9 and a pitch designated by the operation of the fret switch section 6 starts to be generated.

【0033】また、図8のメインフローにおいて、弦接
触検出処理(SA7)は、図14に示すフローに従って
実行される。まず、CHに対応するフォトダイオード1
5のA/D変換値を格納しているDATAの値がINZ
(CH)±βをプラス側に超えているか(SF1)、マ
イナス側に超えているか(SF3)を検出する。そし
て、SF1での判別の結果、DATA>INZ(CH)
+βであってプラス側に超えている場合には、このとき
PLS(CH)=1の状態にあるか否かを判別する(S
F2)。PLS(CH)=1の状態になければ、この時
点でDATA>INZ(CH)+βの状態が発生したも
のと想定し得ることから、この状態が発生したことを示
すべく、PLS(CH)をセットした後(SF10)、
TIM(CH)をリセットする(SF11)。
Further, in the main flow of FIG. 8, the string contact detection processing (SA7) is executed according to the flow shown in FIG. First, the photodiode 1 corresponding to CH
The value of DATA storing the A / D conversion value of 5 is INZ
Whether (CH) ± β is exceeded on the plus side (SF1) or on the minus side (SF3) is detected. Then, as a result of the determination in SF1, DATA> INZ (CH)
If it is + β and exceeds the plus side, it is determined at this time whether or not PLS (CH) = 1.
F2). If it is not in the state of PLS (CH) = 1, it can be assumed that the state of DATA> INZ (CH) + β has occurred at this point, so PLS (CH) is changed to indicate that this state has occurred. After setting (SF10),
TIM (CH) is reset (SF11).

【0034】しかし、SF2での判別の結果、PLS
(CH)=1であれば、DATA>INZ(CH)+β
の状態が以前から継続している。よって、SF2からS
F5に進んで、DATA>INZ(CH)+βの継続時
間を計時しているTIM(CH)の値がγ以上となった
か否かを判別し、TIM(CH)>γとなった時点で消
音処理を実行する(SF6)。この消音処理(SF6)
により、音源部25は図3に示すようにエンベロープE
を通常の自然減衰時よりも大きなレートR1でリリース
状態にし、これによりスピーカ29から発生していた対
応する楽音は急速に減衰して、消音する。引き続き、O
N(CH)に“0”をセットするとともに(SF7)、
前述の弦振動検出処理(図12、13)で用いたCNT
(CH)をリセットしてリターンする。
However, as a result of the discrimination in SF2, PLS
If (CH) = 1, DATA> INZ (CH) + β
The state of has continued from before. Therefore, SF2 to S
Proceed to F5 to determine whether the value of TIM (CH), which measures the duration of DATA> INZ (CH) + β, is γ or more, and mute when TIM (CH)> γ The process is executed (SF6). This silence processing (SF6)
As a result, the sound source unit 25 causes the envelope E as shown in FIG.
Is released at a rate R1 larger than that in the normal natural decay, whereby the corresponding musical sound generated from the speaker 29 is rapidly attenuated and muted. Continue to O
Set “0” to N (CH) (SF7),
CNT used in the above-mentioned string vibration detection processing (FIGS. 12 and 13)
Reset (CH) and return.

【0035】また、SF3での判別の結果、DATA<
INZ(CH)−βであってフォトダイオード15の出
力がマイナス側に超えている場合には、このときPLS
(CH)=0の状態にあるか否かを判別する(SF
4)。PLS(CH)=0の状態になければ、この時点
でDATA<INZ(CH)−βの状態が発生したもの
と想定し得ることから、この状態が発生したことを示す
べく、PLS(CH)をリセットした後(SF9)、T
IM(CH)をリセットする(SF11)。
As a result of the discrimination in SF3, DATA <
In the case of INZ (CH) -β and the output of the photodiode 15 exceeds the negative side, at this time PLS
It is determined whether or not (CH) = 0 (SF
4). If it is not in the state of PLS (CH) = 0, it can be assumed that the state of DATA <INZ (CH) -β has occurred at this point. Therefore, in order to show that this state has occurred, PLS (CH) After resetting (SF9), T
IM (CH) is reset (SF11).

【0036】しかし、SF4での判別の結果、PLS
(CH)=0であれば、DATA<INZ(CH)−β
の状態が以前から継続しており、この場合は、弦9を垂
直下方に押圧することなく、斜め下方に押圧したため、
DATA<INZ(CH)−βの状態が継続している場
合であると想定できる。よって、この場合も演奏者によ
る消音の意志に基づく弦の押圧であると見做し得る。し
たがって、SF4からSF5に進んで、DATA<IN
Z(CH)−βの継続時間を計時しているTIM(C
H)の値がγ以上となったか否かを判別し、TIM(C
H)>γとなった時点で前述と同様に消音処理を実行し
(SF6)、エンベロープEをリリース状態にする。し
かる後に、前述したように、ON(CH)に“0”をセ
ットするとともに(SF7)、前述の弦振動検出処理
(図12、13)で用いたCNT(CH)をリセットし
てリターンする。
However, as a result of the discrimination in SF4, PLS
If (CH) = 0, DATA <INZ (CH) -β
The state of has continued from before, and in this case, since the string 9 is pressed diagonally downward without being pressed vertically downward,
It can be assumed that the state of DATA <INZ (CH) -β continues. Therefore, also in this case, it can be considered that the string pressing is based on the player's intention to mute. Therefore, proceeding from SF4 to SF5, DATA <IN
TIM (C that measures the duration of Z (CH) -β
It is determined whether the value of (H) is γ or more, and TIM (C
When H)> γ, the muffling process is executed in the same manner as described above (SF6), and the envelope E is set to the released state. Thereafter, as described above, "0" is set to ON (CH) (SF7), the CNT (CH) used in the above-described string vibration detection processing (FIGS. 12 and 13) is reset, and the process returns.

【0037】なお、メインフローのフレットスイチ処理
(SA3)において説明したように、弾弦した弦9を指
で押さえることなく、押圧していたフレットスイッチ部
6から指を離し、これにより発音中の弦に対応するフレ
ットスイッチがオフとなった場合にも消音処理を実行す
る。しかし、この場合の消音処理においては、図4に示
すように、エンベロープEを前述のレートR1(図3)
よりも小さなレートR2でリリース状態にする。よっ
て、フレットスイッチをオフにした場合には、振動中の
弦を指で押圧した場合と異なり、発生楽音は緩やかに減
衰することとなる。また、このフレットスイッチのオフ
に伴う消音処理が実行された場合、図15のフローに示
すフレットスイッチオフ割込処理を実行し、レジスタC
H3に消音する弦に対応する番号(0〜5)を格納する
(SG1)。引き続き、CH3の値で示されるレジスタ
ON(CH3)に“0”を格納し(SG2)、これによ
り音源部25において消音した弦が非発音状態となった
ことが示される。
As described in the fret switch processing (SA3) of the main flow, the finger is released from the pressed fret switch section 6 without pressing the plucked string 9 with the finger. Even when the fret switch corresponding to the string is turned off, the mute processing is executed. However, in the muffling process in this case, as shown in FIG. 4, the envelope E is set to the above-described rate R1 (FIG. 3).
Release rate is set at a smaller rate R2. Therefore, when the fret switch is turned off, unlike the case where the vibrating string is pressed with a finger, the generated musical tone is gradually attenuated. Further, when the mute processing accompanying the turning off of the fret switch is executed, the fret switch off interruption processing shown in the flow of FIG.
The number (0 to 5) corresponding to the string to be silenced is stored in H3 (SG1). Subsequently, "0" is stored in the register ON (CH3) indicated by the value of CH3 (SG2), which indicates that the string muted in the sound source unit 25 is in the non-sounding state.

【0038】また、この実施例においては、本発明を電
子ギターに適用した場合を示したが、これに限ることな
く電子バイオリン等の他の電子弦楽器にも適用し得るこ
とは勿論である。
Further, in this embodiment, the case where the present invention is applied to the electronic guitar is shown, but it is needless to say that the present invention can be applied to other electronic string instruments such as an electronic violin.

【0039】[0039]

【発明の効果】以上説明したように本発明は、弦との距
離に対応するレベルの信号を出力する弦振動検出手段か
ら、所定レベル範囲外の信号が継続して出力されたとき
には、消音指示を行う構成とした。よって、弦の振動を
検出する弦振動検出手段とは別に、タッチ検出回路を設
けて、弦へのタッチに応答して消音指示を行う従来の電
子弦楽器と比較して、構成を簡略化して部品点数や組み
付け工数を削減しつつ、弦にタッチすることにより、発
生楽音を急速に減衰させるアコースティックギターと同
様の奏法が可能となる。
As described above, according to the present invention, when the signal outside the predetermined level range is continuously output from the string vibration detecting means which outputs the signal of the level corresponding to the distance to the string, the mute instruction is issued. It is configured to perform. Therefore, a touch detection circuit is provided separately from the string vibration detection means for detecting the vibration of the strings, and the configuration is simplified as compared with the conventional electronic stringed instrument that gives a mute instruction in response to a touch on the strings. By touching the strings while reducing the number of points and assembling man-hours, it is possible to perform the same playing method as an acoustic guitar in which the generated musical sound is rapidly attenuated.

【0040】また、弦振動検出装置を、弦に設けられた
弦の直径より幅が広い反射部材と、この反射部材の面に
向かって光を照射する光源と、この光源により照射され
て前記円柱状部材の面に反射した光を受光する受光手段
とで構成することにより、弦振動検出手段として汎用的
なフォトセンサを用いることができ、これにより、一層
の組み付け工数の削減や低コスト化が可能となるととも
に、反射部材により、より確実に光線を反射するので、
より良好に弦の変位を検出することが可能となる。
Further, the string vibration detecting device is provided with a reflecting member provided on the string and having a width wider than the diameter of the string, a light source for irradiating light toward the surface of the reflecting member, and the circle which is irradiated by the light source. A general-purpose photo sensor can be used as the string vibration detecting means by configuring the light receiving means for receiving the light reflected on the surface of the columnar member, which further reduces the number of assembly steps and the cost. In addition to being possible, because the reflection member reflects the light rays more reliably,
It becomes possible to detect the displacement of the string more favorably.

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

【図1】本発明の一実施例にかかる電子ギターの外観を
示す平面図である。
FIG. 1 is a plan view showing an appearance of an electronic guitar according to an embodiment of the present invention.

【図2】図1のA−A線に沿う断面図である。FIG. 2 is a sectional view taken along line AA of FIG.

【図3】弾弦時及び弦押圧時を含むフォトダイオードの
出力状態の一例を示す波形図である。
FIG. 3 is a waveform diagram showing an example of the output state of the photodiode including when strung and when the string is pressed.

【図4】弾弦時及び弾弦後のフォトダイオードの出力状
態の一例を示す波形図である。
FIG. 4 is a waveform chart showing an example of an output state of a photodiode during and after striking a string.

【図5】発音開始時をフォトダイオードの出力状態との
関係において示す波形図である。
FIG. 5 is a waveform diagram showing the start of sound generation in relation to the output state of the photodiode.

【図6】本実施例にかかる電子ギターのブロック構成図
である。
FIG. 6 is a block configuration diagram of an electronic guitar according to the present embodiment.

【図7】本実施例において用いられるレジスタを示す説
明図である。
FIG. 7 is an explanatory diagram showing a register used in this embodiment.

【図8】メインフローを示すフローチャートである。FIG. 8 is a flowchart showing a main flow.

【図9】初期処理の内容を示すフローチャートである。FIG. 9 is a flowchart showing the contents of initial processing.

【図10】タイマ割込処理の内容を示すフローチャート
である。
FIG. 10 is a flowchart showing the contents of timer interrupt processing.

【図11】弦処理の内容を示すフローチャートである。FIG. 11 is a flowchart showing the content of string processing.

【図12】振動検出処理の内容の一部を示すフローチャ
ートである。
FIG. 12 is a flowchart showing a part of the content of vibration detection processing.

【図13】図12に続くフローチャートである。FIG. 13 is a flowchart following FIG.

【図14】弦接触検出処理の内容を示すフローチャート
である。
FIG. 14 is a flowchart showing the content of string contact detection processing.

【図15】消音終了割込処理の内容を示すフローチャー
トである。
FIG. 15 is a flowchart showing the contents of a mute end interrupt process.

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

1 ギター本体 6 フレットスイッチ部 9 弦 11 円柱状部材 11a 周面 13 フォトセンサ 14 光源部 15 フォトダイオード 21 CPU 23 ROM 24 RAM 25 音源部 1 Guitar Main Body 6 Fret Switch Section 9 String 11 Cylindrical Member 11a Circumferential Surface 13 Photo Sensor 14 Light Source Section 15 Photodiode 21 CPU 23 ROM 24 RAM 25 Sound Source Section

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 弦との距離に応じたレベルの信号を出力
する弦振動検出手段と、 前記弦の振動に伴って前記弦振動検出手段の出力信号レ
ベルが変化したとき、楽音の発生を指示する楽音発生指
示手段と、 前記弦振動検出手段から所定レベル範囲外の信号が継続
的に出力されたとき、前記楽音の消音を指示する消音指
示手段と、 を有することを特徴とする電子弦楽器。
1. A string vibration detecting means for outputting a signal having a level according to the distance to the string, and an instruction to generate a musical tone when the output signal level of the string vibration detecting means changes in accordance with the vibration of the string. An electronic string instrument, comprising: a sound generation instruction means for performing the sound generation; and a mute instruction means for instructing the mute of the musical sound when a signal outside the predetermined level range is continuously output from the string vibration detection means.
【請求項2】 音高を指定する音高指定手段と、弦との
距離に対応するレベルの信号を出力する弦振動検出手段
と、 前記弦の振動に伴って前記弦振動検出手段の出力信号レ
ベルが変化したとき、前記音高指定手段により指定され
ている音高からなる楽音の発生を指示する楽音発生指示
手段と、 前記弦振動検出手段から所定レベル範囲外の信号が継続
的に出力されたとき、前記楽音の消音を指示する消音指
示手段と、 を有することを特徴とする電子弦楽器。
2. A pitch designating means for designating a pitch, a string vibration detecting means for outputting a signal of a level corresponding to a distance to a string, and an output signal of the string vibration detecting means in accordance with the vibration of the string. When the level changes, a tone generation instruction means for instructing the generation of a tone having a pitch designated by the pitch designation means and a signal outside the predetermined level range are continuously output from the string vibration detection means. A mute instructing means for instructing the mute of the musical sound when the electronic string instrument is played.
【請求項3】 弦に設けられた弦の直径より幅が広い反
射部材と、 この反射部材の面に向かって光を照射する光源と、 この光源により照射されて前記反射部材の面に反射した
光を受光し、受光状態に応じた信号を出力する受光手段
と、 からなることを特徴とする弦振動検出装置。
3. A reflecting member provided on a string and having a width wider than the diameter of the string, a light source that irradiates light toward the surface of the reflecting member, and a light source that is irradiated by the light source and reflected on the surface of the reflecting member. A string vibration detecting device comprising: a light receiving unit that receives light and outputs a signal according to a light receiving state.
【請求項4】 前記反射部材は円柱状であり、前記光源
は、前記反射部材の周面に向かって光を照射し、前記受
光手段は、受光量に応じた信号を出力することを特徴と
する請求項3記載の弦振動検出装置。
4. The reflecting member has a cylindrical shape, the light source emits light toward a peripheral surface of the reflecting member, and the light receiving unit outputs a signal according to an amount of received light. The string vibration detection device according to claim 3.
JP6339691A 1994-12-30 1994-12-30 Electronic stringed instrument and string vibration detecting device Pending JPH08185160A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6339691A JPH08185160A (en) 1994-12-30 1994-12-30 Electronic stringed instrument and string vibration detecting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6339691A JPH08185160A (en) 1994-12-30 1994-12-30 Electronic stringed instrument and string vibration detecting device

Publications (1)

Publication Number Publication Date
JPH08185160A true JPH08185160A (en) 1996-07-16

Family

ID=18329890

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6339691A Pending JPH08185160A (en) 1994-12-30 1994-12-30 Electronic stringed instrument and string vibration detecting device

Country Status (1)

Country Link
JP (1) JPH08185160A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100414509B1 (en) * 1998-10-30 2004-01-13 고나미 가부시끼가이샤 Rhythm game apparatus, rhythm game method and readable recording medium, and operating apparatus
US7466935B2 (en) 2002-10-10 2008-12-16 Oce Printing Systems Gmbh Transferring and fixing system and method using a guided conveyor section and a free conveyor section

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100414509B1 (en) * 1998-10-30 2004-01-13 고나미 가부시끼가이샤 Rhythm game apparatus, rhythm game method and readable recording medium, and operating apparatus
US7466935B2 (en) 2002-10-10 2008-12-16 Oce Printing Systems Gmbh Transferring and fixing system and method using a guided conveyor section and a free conveyor section

Similar Documents

Publication Publication Date Title
JP3552366B2 (en) Music control device
JP3887968B2 (en) Keyboard instrument and key speed judgment device
JP2004251926A (en) Electronic musical instrument
JPH03174590A (en) Electronic musical instrument
JPH08185160A (en) Electronic stringed instrument and string vibration detecting device
JP5030016B2 (en) Musical sound generator and musical sound generation processing program
JP3767099B2 (en) Electronic stringed instruments
JPS6296996A (en) Electronic percussion instrument
JP3704851B2 (en) Electronic stringed instrument capable of playing tapping harmonics
JP4110691B2 (en) Keyboard instrument sensor data conversion apparatus and sensor data conversion method
JP2511395Y2 (en) Electronic string instrument input device
JP3767608B2 (en) Music control device
JPS6266295A (en) Electronic musical apparatus
JP2744257B2 (en) Electronic percussion instrument
JPH1097254A (en) Electronic keyboard instrument
JP4009783B2 (en) Musical sound data conversion device, operation instruction device, and storage medium
JP3821137B2 (en) Music control device, piano with mute function, and automatic performance piano
JPH0755596Y2 (en) Electronic percussion input device
JPH05150777A (en) Electronic stringed instrument
JP2569856B2 (en) Electronic musical instrument
JP4311667B2 (en) Electronic musical sound generator
JP2526823B2 (en) Electronic string instrument
JPH03200284A (en) Optical pickup device and electronic musical instrument using same
JP2588132Y2 (en) Electronic string instrument
JPH0679221B2 (en) Electronic musical instrument

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070905

Year of fee payment: 11

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 12

Free format text: PAYMENT UNTIL: 20080905

LAPS Cancellation because of no payment of annual fees