[go: up one dir, main page]

JP2500494B2 - Music signal generator - Google Patents

Music signal generator

Info

Publication number
JP2500494B2
JP2500494B2 JP4333823A JP33382392A JP2500494B2 JP 2500494 B2 JP2500494 B2 JP 2500494B2 JP 4333823 A JP4333823 A JP 4333823A JP 33382392 A JP33382392 A JP 33382392A JP 2500494 B2 JP2500494 B2 JP 2500494B2
Authority
JP
Japan
Prior art keywords
signal
hit
output value
output
digital
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
JP4333823A
Other languages
Japanese (ja)
Other versions
JPH05257475A (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.)
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 JP4333823A priority Critical patent/JP2500494B2/en
Publication of JPH05257475A publication Critical patent/JPH05257475A/en
Application granted granted Critical
Publication of JP2500494B2 publication Critical patent/JP2500494B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、振動板を打撃して音
響を発生する楽音信号発生装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a musical tone signal generator for striking a diaphragm to generate sound.

【0002】[0002]

【従来の技術】従来、この種の楽音発生装置としては、
例えば、図5に示すようなものが知られている。この電
子楽器は、パッドと称される振動板1に取付けられたピ
ックアップ2にて、ドラムステック3による打撃に伴う
振動を、例えば図6(A)に示すようなアナログ信号に
変換し、このアナログ信号からエンベロープ抽出回路4
にて抽出して得られるエンベロープ信号(図6(B))
に基づいて、前記ドラムステック3の打撃力の大きさに
対応したエンベロープ(図6(C))をエンベロープ発
生回路5にて発生させ、このエンベロープと音源回路6
からの所定の音源信号とを乗算器7により乗算したの
ち、所望の楽音(図6(D))を音響装置8から発生さ
せるようにしている。
2. Description of the Related Art Conventionally, as this kind of musical tone generating device,
For example, the one shown in FIG. 5 is known. In this electronic musical instrument, a pickup 2 attached to a diaphragm 1 called a pad converts the vibration caused by a hit by a drum stick 3 into an analog signal as shown in FIG. Signal-to-envelope extraction circuit 4
Envelope signal obtained by extraction at (Fig. 6 (B))
Based on the above, the envelope generating circuit 5 generates an envelope (FIG. 6C) corresponding to the magnitude of the striking force of the drum stick 3, and this envelope and the tone generator circuit 6
After being multiplied by the predetermined sound source signal from the multiplier 7, the desired musical sound (FIG. 6D) is generated from the acoustic device 8.

【0003】[0003]

【従来の技術の問題点】しかしながら、このようなアナ
ログ信号に基づいて所望の楽音を発生させる方式を採る
従来の楽音信号発生装置によると、多種多様な演奏音
を、簡単な構成で実現し難いという問題点があった。
た、このような振動板を打撃して音響を発生させる装置
は、従来の鍵盤楽器のように発音あるいは消音の指示の
ためのスイッチというものがなく、これらの開始時期は
全て打撃によって得られた打撃検出信号自体から検出し
なければならない。この打撃検出信号から発音または消
音の開始時期を得るためにはその出力値が所定値を超え
たかあるいは下回ったかを検出するのが最も適切と思わ
れる。 しかしながら、このような出力値検出方式を適用
すると、鍵盤楽器では起こり得ない、打撃により楽音を
発生させる装置特有の問題が生じる。それは、打撃検出
信号の出力値が所定値を下回った時点で発生している楽
音の消音指示を行うように構成した場合、この検出時点
直後に再度打撃された場合、これは特に二度打ちなどの
誤動作による場合が多く、この場合でもその打撃に基づ
いて楽音が立て続けに発生し、発生中の楽音を滑らかに
減衰させながら消音させることができなかった。
However, according to the conventional tone signal generator which adopts the method of generating a desired tone based on such an analog signal, it is difficult to realize a wide variety of performance tones with a simple structure. There was a problem. Ma
A device that strikes such a diaphragm to generate sound
Is an instruction to pronounce or mute like a conventional keyboard instrument.
There is no switch for
All detected from the hit detection signal itself obtained by hitting
There must be. Sound or disappear from this hit detection signal
In order to get the start time of the sound, the output value exceeds the specified value
It seems most appropriate to detect whether or not
It is. However, applying such output value detection method
Then, hitting produces a musical sound that cannot occur with a keyboard instrument.
A device-specific problem occurs. It's hit detection
The signal that is occurring when the signal output value falls below the specified value.
When this is set to perform sound muting instructions,
This is especially true if you are hit again immediately after
This is often due to a malfunction, and even in this case
Sound is generated in quick succession, smoothing the sound being generated
I couldn't mute the sound while attenuating it.

【0004】[0004]

【発明の目的】この発明は、このような従来の問題点を
解消するためになされたものであり、打撃操作の打撃開
始時点における打撃意図(打撃開始時点から大きな音量
で楽音の演奏を行いたいとする意図)を、発生すべき楽
音の特性(たとえば、音量)に的確に反映させることが
できるとともに、発生中の楽音の消音時に、打撃により
楽音を発生させる楽音発生装置特有の問題である、二度
打ちなどの誤操作による楽音の発生を防止することを目
的とする。
SUMMARY OF THE INVENTION The present invention has been made in order to solve the above-mentioned conventional problems, and intends to strike at the start point of the striking operation (to play a musical sound at a high volume from the start point of the striking operation ). The intention) can be accurately reflected in the characteristics (for example, volume) of the musical sound to be generated, and at the time of muting the musical sound that is being generated
It is a problem peculiar to the musical tone generator that generates musical tones
Aim to prevent the generation of musical sounds due to erroneous operations such as tapping.
Target

【0005】[0005]

【発明の要点】この発明は、このような目的を達成する
ために、被打撃部材が打撃を受ける都度、受けた当該打
撃状態に応答して、最大出力値検出手段により検出され
た最大出力値に従った楽音特性(たとえば、音量や音
色)で楽音を実時間で発生する一方で、第2の出力値検
出手段により前記打撃検出信号の出力値が第2の設定値
よりも低くなったことが検出されると、発生中の楽音の
消音の指示を行うようにしたことを要点とする。 また、
被打撃部材が打撃を受ける都度、受けた当該打撃状態に
応答して、最大出力値検出手段により検出された最大出
力値に従った楽音特性(たとえば、音量や音色)で楽音
を実時間で発生する一方で、現在発音中の楽音の消音を
第2の出力値検出手段により前記打撃検出信号の出力値
が第2の設定値よりも低くなったことが検出された時点
から所定時間経過後に行うようにしたことを要点とす
る。
SUMMARY OF THE INVENTION In order to achieve such an object, the present invention provides a maximum output value detected by a maximum output value detecting means in response to a hit state of a hit member every time it is hit. The second output value detection is performed while the musical sound is generated in real time with the musical sound characteristics (for example, volume and tone color) according to
The output value of the hit detection signal is the second set value by the output means.
When it is detected that it is lower than the
The main point is to give instructions for muffling. Also,
Each time the struck member is struck,
In response, the maximum output value detected by the maximum output value detection means
A musical tone with a musical tone characteristic (for example, volume or tone) according to the force value
Is generated in real time,
Output value of the hit detection signal by the second output value detection means
When it is detected that is lower than the second set value
The main point is to do it after a predetermined time from
It

【0006】[0006]

【実施例】以下、この発明の一実施例を図面に従って説
明する。図1はこの発明に係る電子楽器の一実施例を示
す回路構成図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a circuit configuration diagram showing an embodiment of an electronic musical instrument according to the present invention.

【0007】図1に示すように、演奏時に打撃される複
数個の振動板10…は、スネアドラム、バスドラム等、
通常のドラムと略同じ大きさの合板等で作られており、
これら振動板10…には、各振動板10…の打撃に伴う
振動を検出するピックアップ11…が取り付けられてい
る。このピックアップ11…は圧電素子、またはマイク
ロホンなどから形成されており、ドラムスティック12
等で打撃されたとき、この振動がピックアップ11…か
ら、例えば図2(1)に示すようなアナログ信号として出
力され、各エンベロープ抽出回路13…に入力されるよ
うになっている。これらエンベロープ抽出回路13…
は、前記各ピックアップ11…から出力されたアナログ
信号に対応した所定の波形形状をもつエンベロープ信号
(図2(2)参照)を、アナログ/デジタル変換器(以下
「A/D変換器」という。)14に対し出力するための
もので、この実施例では、ピックアップ11から出力さ
れたアナログ信号を、コンデンサ15を介して増幅する
オペレーショナル・アンプ16と、このオペレーショナ
ル・アンプ16の出力側に接続されたダイオード17
と、このダイオード17に接続されたコンデンサ18及
び抵抗19とから構成されている。そして、前記コンデ
ンサ18、抵抗19の他端は接地されており、またダイ
オード17の出力はオペレーショナル・アンプ16の負
入力端に帰還している。また、前記オペレーショナル・
アンプ16の正入力端は、抵抗23を介して接地されて
いる。なお、各エンベロープ抽出回路13…から出力さ
れるエンベロープ信号の自己放電時定数は、前記コンデ
ンサ18の容量と抵抗19の抵抗値の大きさにより決定
されるようになっている。
As shown in FIG. 1, a plurality of diaphragms 10 ...
It is made of plywood, which is about the same size as a normal drum,
Pickups 11 ... Detecting vibrations caused by striking each of the diaphragms 10 ... Are attached to the diaphragms 10. The pickup 11 ... Is formed of a piezoelectric element, a microphone, or the like, and has a drumstick 12
When struck by the like, this vibration is output from the pickup 11 ... As an analog signal as shown in FIG. 2A, for example, and is input to each envelope extraction circuit 13. These envelope extraction circuits 13 ...
The envelope signal (see FIG. 2 (2)) having a predetermined waveform shape corresponding to the analog signal output from each of the pickups 11 ... Is referred to as an analog / digital converter (hereinafter referred to as “A / D converter”). ) 14 and is connected to the operational amplifier 16 for amplifying the analog signal output from the pickup 11 via the capacitor 15 and the output side of the operational amplifier 16 in this embodiment. Diode 17
And a capacitor 18 and a resistor 19 connected to the diode 17. The other ends of the capacitor 18 and the resistor 19 are grounded, and the output of the diode 17 is fed back to the negative input end of the operational amplifier 16. In addition, the operational
The positive input terminal of the amplifier 16 is grounded via the resistor 23. The self-discharge time constant of the envelope signal output from each envelope extraction circuit 13 ... Is determined by the capacitance of the capacitor 18 and the resistance value of the resistor 19.

【0008】一方、前記A/D変換器14は、エンベロ
ープ抽出回路13から出力されるエンベロープ信号をデ
ジタル信号に変換するためのものである。また、マイク
ロコンピュータ20は、この電子楽器のすべての動作を
制御するとともに、A/D変換器14からのデジタル信
号に基づいて、所望の楽音を発生または消音するように
制御するためのものである。すなわち、このマイクロコ
ンピュータ20は、A/D変換器14から出力されたデ
ジタル信号のレベル値が一定値(本実施例では、レベル
値「5」)以上になったか否かを検出するとともに、そ
の一定値以上になった時点(図2(4)中の
On the other hand, the A / D converter 14 is for converting the envelope signal output from the envelope extraction circuit 13 into a digital signal. The microcomputer 20 is for controlling all operations of the electronic musical instrument and for generating or muting a desired musical tone based on the digital signal from the A / D converter 14. . That is, the microcomputer 20 detects whether or not the level value of the digital signal output from the A / D converter 14 is equal to or higher than a constant value (level value “5” in this embodiment), and When it exceeds a certain value (in Fig. 2 (4)

【外1】 の時点)から複数回(本実施例では第2(4)に示すよう
に、
[External 1] time from a plurality of times (in the present embodiment, as shown in the second (4)),

【外2】 及び の2回)に亘ってそのデジタル信号のレベル値を検出
し、それらのレベル値のうちの最大レベル値を検出し
て、この最大レベル値のデジタル信号に基づいて楽音を
発生するように制御する一方、A/D変換器14からの
デジタル信号のレベル値がその後一定値(本実施例で
は、レベル値「2」)または一定値よりも僅かに小さい
値となったとき、その時点(図2(4)中の
(2) and (2 times), the level value of the digital signal is detected, the maximum level value of those level values is detected, and a musical sound is generated based on the digital signal of this maximum level value. On the other hand, when the level value of the digital signal from the A / D converter 14 becomes a constant value (level value “2” in this embodiment) or a value slightly smaller than the constant value, At that time (in Fig. 2 (4)

【外3】 の時点)から所定期間(t)経過後に、内部に設けられて
いるタイマ21からのキーオフ指令信号に基づいて、発
生中の楽音を消音するように制御するためのものであ
る。このマイクロコンピュータ20には、A/D変換器
14からのデジタル信号の各レベル値を記憶するための
ランダムアクセスメモリ(RAM)22が設けられてお
り、このランダムアクセスメモリ22内へのデジタル信
号の各レベル値例えば「13」,「25」,「40」の
書込みは、図2(4)中の各タイミング
After a predetermined period (t) has passed since the [external point 3], the control is performed so as to mute the musical tone being generated based on the key-off command signal from the timer 21 provided inside. The microcomputer 20 is provided with a random access memory (RAM) 22 for storing each level value of the digital signal from the A / D converter 14, and the random access memory 22 stores the digital signal into the random access memory 22. Writing of each level value, for example, "13", "25", "40", is performed at each timing in FIG. 2 (4).

【外4】 ,, で順次行われるようになっている。また、このランダム
アクセスメモリ22にそれぞれ記憶された各レベル値
「13」,「25」,「40」のうち、最大レベル値
「40」がマイクロコンピュータ20の働きにより検出
され、そのレベル値「40」が振動板10が打撃された
際の強さとみなされるようになっており、この強さに対
応した音量および音色で楽音が楽音発生装置27から発
生されるようになっている。また、このマイクロコンピ
ュータ20の内部には、各種演算処理を実行するととも
に、前記各エンベロープ抽出回路13…の出力段にそれ
ぞれ設けられた各ゲート24…を、順次時分割に開閉制
御するゲート制御信号G1〜Gnを送出するための演算処
理回路(ALU)25や装置全体を制御するプログラム
等を固定記憶しているリードオンリーメモリ(ROM)
26などが設けられている。
[Outside 4] ,, and so on. Of the level values "13", "25", and "40" stored in the random access memory 22, the maximum level value "40" is detected by the action of the microcomputer 20, and the level value "40" is detected. Is regarded as the strength when the diaphragm 10 is struck, and a musical sound is generated from the musical sound generating device 27 with a volume and tone color corresponding to this strength. Further, inside the microcomputer 20, a gate control signal for executing various arithmetic processes and for sequentially controlling the opening and closing of the gates 24 respectively provided at the output stages of the envelope extraction circuits 13 in a time division manner. Read-only memory (ROM) fixedly storing an arithmetic processing circuit (ALU) 25 for sending G 1 to G n and a program for controlling the entire apparatus
26 and the like are provided.

【0009】そして、前記マイクロコンピュータ20か
らは、前記A/D変換器14に対するスタート指令信号
(A/D、START)を送出して、A/D変換を実行
開始せしめ、逆にA/D変換器14からは、当該アナロ
グ信号をデジタル信号に変換する処理を完了したことを
指示するエンド指令信号(EAT)が出力して、マイク
ロコンピュータ20に与えられる。
Then, the microcomputer 20 sends a start command signal (A / D, START) to the A / D converter 14 to start execution of A / D conversion, and conversely A / D conversion. The device 14 outputs an end command signal (EAT) indicating that the process of converting the analog signal into a digital signal is completed, and the end command signal (EAT) is given to the microcomputer 20.

【0010】また、楽音発生装置27は、前記マイクロ
コンピュータ20からの楽音発生指令に基づいて所望の
音量及び音色の楽音を発生するためのもので、音源回
路、増幅器およびスピーカ等から構成されている。
The musical tone generating device 27 is for generating a musical tone of a desired volume and tone color based on a musical tone generating command from the microcomputer 20, and is composed of a tone generator circuit, an amplifier, a speaker and the like. .

【0011】次に、この発明の作用について説明する。
いま、複数個の振動板10…がドラムスティック12に
より所定の強さで打撃されたりすると、その打撃に伴う
振動は各振動板10…に取付けられたピックアップ11
…により感知され、例えば図2(1)に示すような波形の
アナログ信号としてピックアップ11…から出力され
る。このアナログ信号は、各エンベロープ抽出回路13
…に入力され、このエンベロープ抽出回路13…から、
図2(2)に示すような波形のエンベロープ信号が抽出さ
れる。抽出された各エンベロープ信号は、マイクロコン
ピュータ20からのゲート制御信号G1〜Gnにより開閉
制御される各ゲート24…によって時分割的にA/D変
換器14に対し順次送出される。A/D変換器14に入
力されたエンベロープ信号は、このA/D変換器14内
で、マイクロコンピュータ20内に設けられているタイ
マ21から周期的に出力されるA/Dスタート指令信号
(図2(3)参照)の出力タイミングごとにデジタル信号
に変換される。なお、このA/Dスタート指令信号の出
力タイミングの直後に、前記A/D変換器14からのマ
イクロコンピュータ20に対しアナログ/デジタル変換
動作の終了を知らせるEAD信号が送出される(図2
(4)参照)。A/D変換器14から出力されたデジタル
信号は、マイクロコンピュータ20内で図3および図4
に示すようなフローチャートに従って処理される。即
ち、ステップS−1から、マイクロコンピュータ20が
処理を開始し、ステップS−2に至ると、このステップ
S−2では、サブルーチンMへジャンプし、図4に示す
ように、そのマイクロコンピュータ20内のタイマ21
が所定時間を計時した時点でステップM−1においてA
/Dスタート指令信号をA/D変換器14に送出する。
次のステップM−2において、前記A/Dスタート指令
信号に基づいてA/D変換器14が実行するデジタル信
号への変換処理の完了を、エンド指令信号に(EAD)
の入力で検出し、そのような指令信号が入力すると、Y
ESの判断をして、次にステップM−3に移ってそのデ
ジタル信号のデータをマイクロコンピュータ20内に取
り込む。前記ステップM−3において、デジタル信号デ
ータのマイクロコンピュータ20へのデータ取込み動作
が完了すると、図3に示すフローヘリターン(ジャンプ
バック)し、今の場合次のステップS−3において、マ
イクロコンピュータ20に取込まれたデジタル信号のレ
ベル値が「5」以上か否かを判断し、YESの場合は、
ステップS−4において、そのデータ(レベル値
「5」)をランダムアクセスメモリ(RAM)22に記
憶する。なお、NOの場合は、再度ステップS−2へも
どり、しかる後ステップS−3を実行して、次のA/D
スタート指令信号のタイミングでのデジタル信号のレベ
ル値が「5」以上か否かを判別し、以下同様にその処理
を繰り返す。この実施例の場合、図2(4)中
Next, the operation of the present invention will be described.
Now, when a plurality of diaphragms 10 ... Are struck with a predetermined strength by the drum stick 12, the vibrations associated with the impacts are picked up by the pickups 11 attached to the respective diaphragms 10.
Is sensed by ... And is output from the pickup 11 ... As an analog signal having a waveform as shown in FIG. This analog signal is supplied to each envelope extraction circuit 13
Is input to the envelope extraction circuit 13 ...
An envelope signal having a waveform as shown in FIG. 2 (2) is extracted. The extracted envelope signals are sequentially sent to the A / D converter 14 in a time division manner by the gates 24 ... Which are controlled to be opened / closed by the gate control signals G 1 to G n from the microcomputer 20. The envelope signal input to the A / D converter 14 is an A / D start command signal (Fig. 7) periodically output from the timer 21 provided in the microcomputer 20 in the A / D converter 14. It is converted into a digital signal at every output timing of 2 (3). Immediately after the output timing of the A / D start command signal, an EAD signal is sent from the A / D converter 14 to the microcomputer 20 to notify the end of the analog / digital conversion operation (see FIG. 2).
(4)). The digital signal output from the A / D converter 14 is stored in the microcomputer 20 as shown in FIGS.
Processing is performed according to the flowchart as shown in FIG. That is, the microcomputer 20 starts the process from step S-1, and when the process reaches step S-2, in step S-2, the process jumps to the subroutine M, and as shown in FIG. The timer 21
When the predetermined time is measured, A
The / D start command signal is sent to the A / D converter 14.
In the next step M-2, completion of conversion processing into a digital signal executed by the A / D converter 14 based on the A / D start command signal is indicated by an end command signal (EAD).
Is detected, and when such a command signal is input, Y
After determining ES, the process proceeds to step M-3, and the data of the digital signal is taken into the microcomputer 20. In step M-3, when the operation of fetching the digital signal data into the microcomputer 20 is completed, the process returns to the flow shown in FIG. 3 (jumps back). In this case, in the next step S-3, the microcomputer 20 It is judged whether the level value of the digital signal taken in is “5” or more, and in the case of YES,
In step S-4, the data (level value “5”) is stored in the random access memory (RAM) 22. In the case of NO, the process returns to step S-2 again, and then step S-3 is executed to execute the next A / D.
It is determined whether or not the level value of the digital signal at the timing of the start command signal is "5" or more, and the same process is repeated thereafter. In the case of this embodiment, in FIG.

【外1】のタイミングにおいてデジタル信号のレベル値
は「13」であり、したがって、「5」以上であるか
ら、そのレベル値「13」はランダムアクセスメモリ2
2に記憶される。このレベル値「13」の前記メモリ2
2への記憶動作により、その時点において振動板10…
の特定の一つが打撃されたものと判断する。次に、ステ
ップS−5に移り、このステップS−5において、前述
したサブルーチンMの過程(M−1〜M−3)を経て、
次のA/Dスタート指令信号のタイミング(図2(4)中
At the timing of [External 1], the level value of the digital signal is "13" and is therefore "5" or more. Therefore, the level value "13" is the random access memory 2
2 is stored. The memory 2 of this level value "13"
By the storage operation to 2, the diaphragm 10 at that time ...
Judge that one particular one was hit. Then, the process proceeds to step S-5, and in this step S-5, through the process (M-1 to M-3) of the above-described subroutine M,
Timing of the next A / D start command signal (in Fig. 2 (4)

【外5】 のタイミング)でのエンベロープ信号を、同様にデジタ
ル信号に変換して、ステップS−6において、ランダム
アクセスメモリ22に記憶し、さらにステップS−7に
おいて、前記サブルーチンMの過程(M−1〜M−3)
を経て、次のA/Dスタート指令信号のタイミング(図
2(4)中の
Similarly, the envelope signal at the timing [(5)] is converted into a digital signal and stored in the random access memory 22 in step S-6, and in step S-7, the process (M -1 to M-3)
After that, the timing of the next A / D start command signal (see (2) in Fig. 2)

【外6】 のタイミング)で、エンベロープ信号をデジタル信号に
変換し、次のステップS−8において、そのタイミング
At the timing of [Outer 6], the envelope signal is converted into a digital signal, and at the next step S-8, the timing is changed.

【外6】でのレベル値をランダムアクセスメモリ22に
記憶する。次に、ステップS−9において、以上の各タ
イミング
The level value of [Ex. 6] is stored in the random access memory 22. Next, in step S-9, the above timings are set.

【外4】でのデジタル信号のレベル値(この例の場合は
それぞれレベル値「13」,「25」,「40」)から
そのうちの最大レベル値(この実施例では「40」)を
得る。この最大レベル値「40」を振動板10が打撃さ
れた際の強さとみなす。この最大レベル値は、マイクロ
コンピュータ20の働きによりランダムアクセスメモリ
22から読み出された後、ステップS−10において、
図2(5)に示すようにマイクロコンピュータ20から楽
音発生装置23に対し、キーオン指令とともに送出さ
れ、このキーオン指令に基づいて、前記デジタル信号の
最大レベル値「40」に対応した音量および音色の楽音
が楽音発生装置27から出力される。楽音はA/D変換
器14から出力されるデジタル信号のレベル値が「2」
となるまで出力される。即ち、ステップS−11ではサ
ブルーチンMを実行し、次のステップS−12によっ
て、エンベロープが「2」以下であるかジャッジし、N
Oであれば、再びステップS−11へもどる。そして、
図2(5)中の
The maximum level value (“40” in this embodiment) among them is obtained from the level values of the digital signal in [External 4] (level values “13”, “25”, and “40” in this example, respectively). This maximum level value “40” is regarded as the strength when the diaphragm 10 is hit. This maximum level value is read from the random access memory 22 by the action of the microcomputer 20, and then, in step S-10,
As shown in FIG. 2 (5), the microcomputer 20 sends the musical tone generator 23 together with a key-on command, and based on the key-on command, the volume and tone color corresponding to the maximum level value "40" of the digital signal is output. A musical sound is output from the musical sound generator 27. For the musical sound, the level value of the digital signal output from the A / D converter 14 is "2".
Will be output until. That is, in step S-11, the subroutine M is executed, and in the next step S-12, it is judged whether the envelope is "2" or less, and N
If it is O, the process returns to step S-11 again. And
In Fig. 2 (5)

【外3】のタイミングの時点で、デジタル信号のレベル
値が「2」以下となったとする。と、ステップS−12
でYESの判断をして、次にステップS−13におい
て、マイクロコンピュータ20内のタイマ21が駆動開
始し、ステップS−14において、前記タイミング
It is assumed that the level value of the digital signal becomes “2” or less at the timing of [External 3]. And step S-12
Then, in step S-13, the timer 21 in the microcomputer 20 starts driving, and in step S-14, the timing is determined.

【外3】から所定時間(t)経過後、ステップS−15に
おいて、前記タイマ21から楽音発生装置27に対しキ
ーオフ指令を送出し、発音中の楽音を滑らかに減衰消音
開始させる。
After a lapse of a predetermined time (t) from [Outer 3], in step S-15, the key-off command is sent from the timer 21 to the musical tone generating device 27, and the musical tone being generated is smoothly started to be attenuated.

【0012】このように、この実施例では、各振動板1
0…に取付けたピックアップ11…からのアナログ信号
を、一旦、A/D変換器14にてデジタル信号に変換し
たのち、楽音発生装置27から楽音として出力させるよ
うにしているので、楽音をすべてアナログ的処理により
行っている従来の場合と異なり、簡単な構成で、多種多
様な演奏音を得ることができる。
Thus, in this embodiment, each diaphragm 1
The analog signals from the pickups 11 attached to 0 ... are once converted into digital signals by the A / D converter 14 and then output from the tone generator 27 as musical tones. It is possible to obtain a wide variety of performance sounds with a simple configuration, unlike the conventional case where the performance processing is performed.

【0013】また、この実施例では、A/D変換器14
から出力されるデジタル信号の各レベル値のうちの最大
レベル値に基づいて、楽音を発生させるようにしている
ので、振動板10…を打撃した場合の最大打撃力に基づ
いて楽音の発生を行うことができ、したがって常時確実
に楽音の発生を行うことができる。
Also, in this embodiment, the A / D converter 14 is used.
Since the musical tone is generated based on the maximum level value among the level values of the digital signal output from the digital signal, the musical tone is generated based on the maximum striking force when the diaphragm 10 is hit. Therefore, it is possible to always reliably generate a musical sound.

【0014】さらに、この実施例では、A/D変換器1
4から出力されているデジタル信号のレベル値が「2」
以下となった時点からタイマ21によって所定の時間
(t)をカウントし、その経過後に発生するマイクロコン
ピュータ20からのキーオフ指令に基づいて、発生中の
楽音の消音を開始させるようにしているので、デジタル
信号のレベル値が「2」以下となった時点直後に再度振
動板10が打撃された場合(二度打ちなどの誤操作によ
る場合が多い。)でも、その打撃に基づいて楽音が立て
続けに発生するのを未然に回避することができ、したが
って、発生中の楽音をなめらかに減衰させながら消音さ
せることができる。
Further, in this embodiment, the A / D converter 1
The level value of the digital signal output from 4 is "2"
From the time when
(t) is counted and, based on a key-off command from the microcomputer 20 generated after that time, the mute of the musical tone being generated is started, so that the level value of the digital signal becomes "2" or less. Even when the diaphragm 10 is struck again immediately after the point of time (often due to an erroneous operation such as double striking), it is possible to prevent the musical sound from being continuously generated based on the striking. , It is possible to mute the sound that is being generated while smoothly attenuating it.

【0015】なお、前記実施例では、デジタル信号の最
大レベル値の大きさに対応した音量または音色の楽音を
発生するようにしているが、あるA/Dスタート信号の
送出タイミングにおいてデジタル信号のレベル値が一定
値以上になった場合、その一定値以上のレベルの大きさ
に対応した音量または音色の楽音を発生するようにして
もよい。
It should be noted that in the above-described embodiment, the tone or the tone color corresponding to the maximum level value of the digital signal is generated, but the level of the digital signal is generated at a certain A / D start signal transmission timing. When the value becomes equal to or larger than a certain value, a musical tone of a volume or timbre corresponding to the level of the certain value or more may be generated.

【発明の効果】以上の説明から明らかなように、この発
明は、被打撃部材(本実施例では、振動板10)に加え
られた打撃状態に応答して、打撃信号が第1の出力値検
出手段(本実施例では、マイクロコンピュータ20)に
より第1の設定値以上になったことを検出してから、最
大出力値検出手段(本実施例では、マイクロコンピュー
タ20)により検出された最大出力値に従った楽音特性
(たとえば、音量や音色)で所定の楽音の発生を開始
、楽音を発生している最中に第2の出力値検出手段
(本実施例では、マイクロコンピュータ20)により第
2の設定値より低くなったことを検出されると、又は
出された時点から所定時間経過後に楽音の消音指示を行
う構成としているので、打撃検出信号が消音指示を行う
べきレベル以下になった時点直後に再度打撃がなされた
場合、これは二度打ちなどの誤動作による場合が多く、
この場合でも、その打撃に基づいて楽音がたて続けに発
生するのを未然に回避することができ、従って、発生中
の楽音を滑らかに減衰させながら消音させることができ
る。
As is apparent from the above description, according to the present invention, the striking signal is the first output value in response to the striking state applied to the striking member (vibration plate 10 in this embodiment). The maximum output detected by the maximum output value detection means (microcomputer 20 in this embodiment) after the detection means (microcomputer 20 in this embodiment) detects that the value becomes the first set value or more The second output value detecting means starts the generation of a predetermined musical tone with a musical tone characteristic (for example, volume and tone color) according to the value, and during the generation of the musical tone.
(In this embodiment, the microcomputer 20)
When it is detected that the value becomes lower than the set value of 2, or when a predetermined time elapses from the time when it is detected, the instruction to mute the musical tone is made. Therefore, the batting detection signal should make a mute instruction. If the strike is made again immediately after the level drops below the level, this is often due to a malfunction such as double strike,
Even in this case, it is possible to prevent the musical tones from being continuously generated due to the hit, and therefore the musical tone being generated can be muted while being smoothly attenuated.

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

【図1】この発明に係る電子楽器の一実施例を示す回路
構成図。
FIG. 1 is a circuit configuration diagram showing an embodiment of an electronic musical instrument according to the present invention.

【図2】(1)及び(2)はピックアップからのアナロ
グ信号の波形、及びその波形に対応したエンベロープ信
号の波形をそれぞれ示す波形図、(3)はマイクロコン
ピュータからA/D変換器へのA/Dスタート指令信号
のタイミングを示すタイミングチャート、(4)はA/
D変換器からマイクロコンピュータへの終了指令信号の
タイミングを示すタイミングチャート、(5)はキーオ
ン指令およびキーオフ指令のタイミングを示すタイミン
グチャート。
2A and 2B are waveform diagrams showing a waveform of an analog signal from a pickup and a waveform of an envelope signal corresponding to the waveform, and FIG. 2C is a waveform diagram from a microcomputer to an A / D converter. Timing chart showing timing of A / D start command signal, (4) is A / D
5 is a timing chart showing the timing of the end command signal from the D converter to the microcomputer, and (5) is a timing chart showing the timing of the key-on command and the key-off command.

【図3】A/D変換器からのデジタル信号に基づいて楽
音発生装置から楽音が発生するまでのマイクロコンピュ
ータの処理を示すフローチャート。
FIG. 3 is a flowchart showing the processing of the microcomputer until a musical tone is generated from the musical tone generating device based on a digital signal from an A / D converter.

【図4】図3におけるA/D変換器スタートからA/D
変換データの取込みを実行するサブルーチンの内容を示
すフローチャート。
4 is an A / D converter from the A / D converter start in FIG.
6 is a flowchart showing the contents of a subroutine for executing conversion data fetching.

【図5】従来の電子楽器を示すブロック回路図。FIG. 5 is a block circuit diagram showing a conventional electronic musical instrument.

【図6】(A)、(B)、(C)および(D)はピック
アップから取り出されたアナログ信号の波形から楽音発
生装置から発生される楽音の波形までの過程を示す波形
図。
6 (A), (B), (C) and (D) are waveform diagrams showing a process from a waveform of an analog signal taken out from a pickup to a waveform of a musical tone generated from a musical tone generating device.

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

10 振動板 11 ピックアップ 13 エンベロープ抽出回路 14 A/D変換器 20 マイクロコンピュータ 21 タイマ 22 ランダムアクセスメモリ(RAM) 27 楽音発生装置 10 Vibration Plate 11 Pickup 13 Envelope Extraction Circuit 14 A / D Converter 20 Microcomputer 21 Timer 22 Random Access Memory (RAM) 27 Musical Sound Generator

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】打撃操作される被打撃部材と、 この被打撃部材に設けられ、該被打撃部材が打撃を受け
る都度、受けた打撃状態に対応する打撃検出信号を実時
間で出力する打撃信号検出手段と、この打撃信号検出手段からの打撃検出信号をデジタル打
撃検出信号に変換するA/D変換手段と、 前記被打撃部材が打撃を受ける都度、それに応答して、
前記A/D変換手段から出力されたデジタル打撃検出信
号の出力値が予め設定されている第1の設定値以上とな
ったのか否かを検出する第1の出力値検出手段と、 この第1の出力値検出手段により前記デジタル打撃検出
信号の出力値が前記第1の設定値以上となったことが検
出された時点から、前記デジタル打撃検出信号を所定数
セーブするとともにこのセーブされたデジタル打撃検出
信号値のなかの最大出力値を検出する最大出力値検出手
段と、 この最大出力値検出手段により検出された前記最大出力
値に従った楽音特性で、所定の楽音を発生開始するよう
に制御する制御手段と、この制御手段の制御により所定の楽音が発生開始された
後、前記A/D変換手段から出力されたデジタル打撃検
出信号の出力値が予め設定されている前記第1の設定値
より低い第2の設定値より低くなったか否かを検出する
第2の出力値検出手段と、 この第2の出力値検出手段により前記デジタル打撃信号
の出力値が第2の設定値よりも低くなったことが検出さ
れると、前記発生中の楽音の消音を指示する消音指示手
段と、 を具備したことを特徴とする楽音信号発生装置。
1. A striking member to be striking operated, and a striking signal which is provided on the striking member and outputs in real time a striking detection signal corresponding to the striking state each time the striking member is hit. detection means, the blow detection signal from the striking signal detecting means digital hitting
A / D conversion means for converting into a hit detection signal , and in response to each time the hit member is hit,
First output value detection means for detecting whether or not the output value of the digital batting detection signal output from the A / D conversion means is equal to or greater than a preset first set value; and a predetermined number from the time when the output value of the digital hitting detection signal becomes the first set value or more is detected, the digital hitting detection signal by the output value detecting means
Save and save this digital hit detection
A maximum output value detecting means for detecting the maximum output value among the signal values, and a control for starting the generation of a predetermined musical sound with the tone characteristic according to the maximum output value detected by the maximum output value detecting means. The control means and the control of this control means have started the generation of a predetermined musical sound.
After that, the digital impact test output from the A / D conversion means is performed.
The first set value in which the output value of the output signal is preset
Detects whether it has become lower than the lower second set value
Second output value detecting means, and the digital impact signal by the second output value detecting means
It is detected that the output value of has become lower than the second set value.
Then, the mute instructor that instructs to mute the musical sound being generated.
A musical tone signal generating device comprising: a stage .
【請求項2】(2) 打撃操作される被打撃部材と、A member to be hit and operated, この被打撃部材に設けられ、該被打撃部材が打撃を受けIt is provided on the member to be hit, and the member to be hit is hit
る都度、受けた打撃状態に対応する打撃検出信号を実時Each time, the hit detection signal corresponding to the hit condition is received in real time.
間で出力する打撃信号検出手段と、Batting signal detecting means for outputting between この打撃信号検出手段からの打撃検出信号をデジタル打The hit detection signal from this hit signal detection means is digitally hit.
撃検出信号に変換するConvert to hit detection signal A/D変換手段と、A / D conversion means, 前記被打撃部材が打撃を受ける都度、それに応答して、Each time the hit member is hit, in response to it,
前記A/D変換手段から出力されたデジタル打撃検出信Digital batting detection signal output from the A / D conversion means
号の出力値が予め設定されている第1の設定値以上となSignal output value is greater than or equal to the preset first set value.
ったのか否かを検出する第1の出力値検出手段と、First output value detecting means for detecting whether or not この第1の出力値検出手段により前記デジタル打撃検出The digital impact detection is performed by the first output value detection means.
信号の出力値が前記第1の設定値以上となったことが検It is detected that the output value of the signal is above the first set value.
出された時点から、前記デジタル打撃検出信号を所定数From the time when it was issued, a predetermined number of digital impact detection signals
セーブするとともにこのセーブされたデジタル打撃検出Save and save this digital hit detection
信号の出力値のなかの最大出力値を検出する最大出力値Maximum output value that detects the maximum output value of the signal output values
検出手段と、Detection means, この最大出力値検出手段により検出された前記最大出力The maximum output detected by the maximum output value detecting means
値に従った楽音特性で、所定の楽音を発生開始するようWith a tone characteristic according to the value, start generating a certain tone
に制御する制御手段と、Control means for controlling この制御手段の制御により所定の楽音が発生開始されたA predetermined musical sound is started to be generated by the control of this control means.
後、前記A/D変換手段から出力されたデジタル打撃検After that, the digital impact test output from the A / D conversion means is performed.
出信号の出力値が予め設定されている前記第1の設定値The first set value in which the output value of the output signal is preset
より低い第2の設定値より低くなったか否かを検出するDetects whether it has become lower than the lower second set value
第2の出力値検出手段と、Second output value detecting means, この第2の出力値検出手段により前記デジタル打撃信号The digital output signal is detected by the second output value detecting means.
の出力値が第2の設定値よりも低くなったことが検出さIt is detected that the output value of has become lower than the second set value.
れた時点から所定時間経過後に、前記発生中の楽音の消After a predetermined time has passed from the
音を指示する消音指示手段と、Mute instruction means for instructing sound, を具備したことを特徴とする楽音信号発生装置。A musical tone signal generating apparatus comprising:
JP4333823A 1992-11-20 1992-11-20 Music signal generator Expired - Lifetime JP2500494B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4333823A JP2500494B2 (en) 1992-11-20 1992-11-20 Music signal generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4333823A JP2500494B2 (en) 1992-11-20 1992-11-20 Music signal generator

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP60207149A Division JPS6266296A (en) 1985-09-19 1985-09-19 electronic musical instruments

Publications (2)

Publication Number Publication Date
JPH05257475A JPH05257475A (en) 1993-10-08
JP2500494B2 true JP2500494B2 (en) 1996-05-29

Family

ID=18270350

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4333823A Expired - Lifetime JP2500494B2 (en) 1992-11-20 1992-11-20 Music signal generator

Country Status (1)

Country Link
JP (1) JP2500494B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5696497U (en) * 1979-12-21 1981-07-30
JPS56126893A (en) * 1980-03-12 1981-10-05 Nippon Musical Instruments Mfg Hand percussion music instrument
JPS5837110U (en) * 1981-09-02 1983-03-10 パイオニア株式会社 Plunger device
JPS5865496A (en) * 1982-01-28 1983-04-19 ヤマハ株式会社 Digital data setting unit
DE3301354A1 (en) * 1983-01-18 1984-07-19 Matth. Hohner Ag, 7218 Trossingen ELECTRONIC MUSIC INSTRUMENT

Also Published As

Publication number Publication date
JPH05257475A (en) 1993-10-08

Similar Documents

Publication Publication Date Title
US6881890B2 (en) Musical tone generating apparatus and method for generating musical tone on the basis of detection of pitch of input vibration signal
US7473840B2 (en) Electronic drum
JPS6342268B2 (en)
CN112689870A (en) Sound signal generating device, keyboard musical instrument, and program
JP2009251477A (en) Electronic drum
JP3135687B2 (en) Electronic percussion instrument
JP2500494B2 (en) Music signal generator
JP2500416B2 (en) Music signal generator
JP6677265B2 (en) Sound processing device and sound processing method
JPH0814757B2 (en) Electronic percussion instrument
JPH0755596Y2 (en) Electronic percussion input device
JPS6266295A (en) electronic musical instruments
JPH045390B2 (en)
JP2646943B2 (en) Electronic percussion instrument
JP3642130B2 (en) Electronic musical instruments
JPH0635449A (en) Electronic percussion instrument
JP4785052B2 (en) Music generator
JP4419808B2 (en) Electronic percussion instrument
JP2744257B2 (en) Electronic percussion instrument
JP2639557B2 (en) Electronic percussion instrument
JP2739414B2 (en) Electronic percussion instrument
JPH08297488A (en) Electronic musical instrument
JPH0493995A (en) Electronic musical instrument
JPH0266597A (en) Musical sound composition system
JP2511395Y2 (en) Electronic string instrument input device