JPS59837B2 - Electronic musical instrument key touch data generation circuit - Google Patents
Electronic musical instrument key touch data generation circuitInfo
- Publication number
- JPS59837B2 JPS59837B2 JP53112759A JP11275978A JPS59837B2 JP S59837 B2 JPS59837 B2 JP S59837B2 JP 53112759 A JP53112759 A JP 53112759A JP 11275978 A JP11275978 A JP 11275978A JP S59837 B2 JPS59837 B2 JP S59837B2
- Authority
- JP
- Japan
- Prior art keywords
- touch data
- dead zone
- value
- analog
- counting
- 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
Links
- 238000006243 chemical reaction Methods 0.000 claims description 16
- 230000000717 retained effect Effects 0.000 claims 1
- 238000003825 pressing Methods 0.000 description 5
- 230000004044 response Effects 0.000 description 4
- 238000005070 sampling Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000004043 responsiveness Effects 0.000 description 3
- 230000007257 malfunction Effects 0.000 description 2
- 208000003443 Unconsciousness Diseases 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 150000001875 compounds Chemical class 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
【発明の詳細な説明】
この発明は電子楽器の鍵タッチデータ発生回路に関し、
特に、鍵を持続的に押圧しているときの押圧力の変化に
応答して楽音制御を行なうアフタタツチコントロール(
またはセカンドタッチコントロール)といわれるタッチ
レスポンス制御のための鍵タッチデータ発生回路に関す
る。[Detailed Description of the Invention] The present invention relates to a key touch data generation circuit for an electronic musical instrument.
In particular, aftertouch control (which controls musical tones in response to changes in pressing force when a key is continuously pressed)
This invention relates to a key touch data generation circuit for touch response control (also known as second touch control).
ディジタル電子楽器においては楽音信号の形成がディジ
タルで行なわれるため、アフタタツチコントロール用の
鍵タッチセンサから得たアナログ電圧をディジタル信号
に変換した後に楽音制御に用いるようにしている。In digital electronic musical instruments, musical tone signals are formed digitally, so analog voltages obtained from key touch sensors for aftertouch control are converted into digital signals and then used for musical tone control.
従来は、アナログ−ディジタル変換回路を用いて鍵タッ
チセンサの出力アナログ電圧を直接的にディジタル信号
に変換するようにしていたため、デイジタル系の処理タ
イミングに適合する高速動作型のアナログーデイジタル
変換素子が必要であつた。例えば、同時最大発音数が1
6音で、これらを時分割的に発生する場合、1音に割当
てられるタイムスロツト幅は1μs程度となるのが普通
であり、この場合デイジタルタツチデータ一語を得るた
めに1μs程度の速さでアナログーデイジタル変換しな
ければならない。一般にアナログーデイジタル変換は(
デイジタルーアナログ変換に比べて)時間がかかるので
、高速動作が要求されると、変換素子に課せられる負担
が大きくなる。また、アナログセンサ出力を直接にデイ
ジタル信号に変換する方式では、万が一センサ出力にノ
イズがのつた場合、ノイズに応答してデイジタル変換が
なされてしまい、誤動作を起し易かつた。この発明は上
述の欠点を除去するためになされたもので、タツチセン
サからのアナログ電圧を直接的にデイジタル変換するの
ではなく、或るサンプル時点におけるデイジタルタツチ
データを求める場合に、そのlサンプル時点前に求めた
デイジタルタツチデータをデイジタルーアナログ変換し
、このアナログ電圧とタツチセンサからのアナログ電圧
との大小を比較し、両電圧の差が或る一定範囲内なら前
記1サンプル時点前と同じ値のデイジタルタツチデータ
をホールドし、前記一定範囲を越えて前記センサのアナ
ログ電圧が大きければ(または小さければ)前記1サン
プル時点前のデイジタルタツチデータに一定値を加算ま
たは減算して新たなデイジタルタツチデータを得るよう
にした鍵タツチデータ発生回路を提供しようとするもの
である。Conventionally, an analog-to-digital conversion circuit was used to directly convert the analog voltage output from a key touch sensor into a digital signal, so a high-speed analog-to-digital conversion element that matches the processing timing of a digital system has become necessary. It was necessary. For example, the maximum number of simultaneous polyphony is 1.
When there are 6 sounds and these are generated in a time-division manner, the time slot width assigned to each sound is usually about 1 μs, and in this case, in order to obtain one word of digital touch data, the time slot width allocated to each sound is about 1 μs. Must be converted from analog to digital. Generally, analog-to-digital conversion is (
Since it takes time (compared to digital-to-analog conversion), if high-speed operation is required, a greater burden is placed on the conversion element. In addition, in the method of directly converting an analog sensor output into a digital signal, if noise were to occur in the sensor output, digital conversion would be performed in response to the noise, making it easy to cause malfunctions. This invention was made to eliminate the above-mentioned drawbacks, and instead of directly converting the analog voltage from the touch sensor into digital data, when obtaining digital touch data at a certain sample time, Convert the digital touch data obtained from the touch sensor into digital to analog, compare the magnitude of this analog voltage with the analog voltage from the touch sensor, and if the difference between the two voltages is within a certain range, the digital value will be the same as the value one sample before. The touch data is held, and if the analog voltage of the sensor exceeds the certain range and is large (or small), a certain value is added or subtracted from the digital touch data one sample before to obtain new digital touch data. The present invention aims to provide a key touch data generation circuit as described above.
以下この発明を添付図面の実施例にもとづいて詳細に説
明しよう。Hereinafter, the present invention will be explained in detail based on the embodiments shown in the accompanying drawings.
第1図は複音式の電子楽器10にこの発明に係る鍵タツ
チデータ発生回路11を適用した概略を示すもので、鍵
盤12の各鍵に対応してアフタタツチコントロール用の
鍵タツチセンサ13が個々に設けられる。FIG. 1 schematically shows a key touch data generation circuit 11 according to the present invention applied to a multitone electronic musical instrument 10, in which a key touch sensor 13 for aftertouch control is individually arranged corresponding to each key on a keyboard 12. provided.
鍵タツチセンサ13は、鍵を持続的に押圧しているとき
の押圧力の変化に応答したアナログ電圧を出力するもの
で、導電性ゴムあるいはストレインゲージその他適宜の
検知素子を用いた公知のアフタタツチコントロール用セ
ンサを用いることができる。各々の鍵タツチセンサ13
の出力はアナログマルチプレクサ14に供給され、該マ
ルチプレクサ14で時分割多重化されて鍵タッチデータ
発生回路11に加えられる。発音割当て回路15は鍵盤
12で押圧されている鍵を特定数(例えば16)の発音
チヤンネルのいずれかに割当てるための公知の回路であ
る。The key touch sensor 13 outputs an analog voltage in response to changes in pressing force when the key is continuously pressed, and is a known aftertouch control using conductive rubber, a strain gauge, or other appropriate detection element. sensors can be used. Each key touch sensor 13
The output is supplied to an analog multiplexer 14, time-division multiplexed by the multiplexer 14, and applied to the key touch data generation circuit 11. The sound generation assignment circuit 15 is a known circuit for allocating a key being pressed on the keyboard 12 to one of a specific number (for example, 16) of sound generation channels.
16の各発音チヤンネルは時分割的に形成されており、
例えば1チヤンネルのタイムスロツト幅は1μsである
。Each of the 16 pronunciation channels is created in a time-division manner.
For example, the time slot width of one channel is 1 μs.
発音割当て回路15からは、各チヤンネルに割当てた鍵
を表わすキーコードKCが当該チヤンネルのタイムスロ
ツトに合わせて時分割的に出力される。このキーコード
KCはトーンジェネレータ部16に加わり、該トーンジ
ェネレータ部16では該キーコードKCが表わす鍵に対
応する楽音信号を各チヤンネル毎に発生する。発音割当
て回路15から時分割的に出力されるキーコードKCは
アナログマルチプレクサ14の制御人力に加わる。マル
チプレクサ14は、キーコードKCが表わす鍵に対芯す
る鍵タツチセンサ13からのアナログ電圧をサンプリン
グし、出力ライン17に導いて、鍵タツチデータ発生回
路11に供給する。このアナログマルチプレクサ14は
図に示すように各鍵の鍵タツチセンサ13に対応してア
ナログゲート14a〜14nを有し、各チヤンネルのタ
イムスロツトにおいて供給されるキーコードKCをデコ
ーダ14Dでデコードし、このデコード出力によつて前
記アナログゲート14a〜14nを開閉する。従つて、
或るチヤンネルのタイムスロツトにおいては、そのチヤ
ンネルに割当てられた鍵に対応する1つの鍵タツチセン
サ13からのアナログ電圧のみがマルチプレクサ14を
介して鍵タツチデータ発生回路11に供給される。鍵タ
ツチデータ発生回路11は、鍵タツチセンサ13から与
えられるアナログ電圧にもとづいてアフタタツチコント
ロール用のデイジタルのタツチデータTDを発生し、こ
れをトーンジェネレータ部16に加える。The sound generation assignment circuit 15 outputs a key code KC representing a key assigned to each channel in a time-division manner in accordance with the time slot of that channel. This key code KC is applied to a tone generator section 16, and the tone generator section 16 generates a musical tone signal corresponding to the key represented by the key code KC for each channel. The key code KC output from the sound allocating circuit 15 in a time-divisional manner is added to the human control power of the analog multiplexer 14. The multiplexer 14 samples the analog voltage from the key touch sensor 13 corresponding to the key represented by the key code KC, leads it to an output line 17, and supplies it to the key touch data generation circuit 11. As shown in the figure, this analog multiplexer 14 has analog gates 14a to 14n corresponding to the key touch sensor 13 of each key, and a decoder 14D decodes the key code KC supplied in the time slot of each channel. The analog gates 14a to 14n are opened and closed depending on the output. Therefore,
In a time slot of a certain channel, only the analog voltage from one key touch sensor 13 corresponding to the key assigned to that channel is supplied to the key touch data generation circuit 11 via the multiplexer 14. The key touch data generation circuit 11 generates digital touch data TD for aftertouch control based on the analog voltage applied from the key touch sensor 13, and applies this to the tone generator section 16.
トーンジェネレータ部16ではこのタツチデータTDに
もとづいて、対応するチヤンネルで発生する楽音の音量
あるいは音色等の楽音要素を制御する。尚、以下では音
量を制御するものとして説明する。トーンジェネレータ
部16の出力楽音信号はサウンドシステム18に与えら
れ、発音される。次に、第2図を参照して鍵タツチデー
タ発生回路11の詳細を説明する。Based on this touch data TD, the tone generator section 16 controls musical tone elements such as the volume or timbre of the musical tone generated in the corresponding channel. Note that the following description will be made assuming that the volume is controlled. The output musical tone signal of the tone generator section 16 is given to a sound system 18 and generated. Next, details of the key touch data generation circuit 11 will be explained with reference to FIG.
鍵タツチデータ発生回路11は、アツプカウント、ダウ
ンカウント、及びカウント値ホールドの3機能を使い分
けることのできる計数部19を具えている。The key touch data generation circuit 11 includes a counting section 19 that can be used for three functions: up counting, down counting, and count value hold.
この計数部19の計数内容がデイジタルタツチデータT
Dとして前記トーンジェネレータ部16に供給される。
計数部19は、アツプ指令UPが与えられたとき一定の
アツプレート値URVを現計数内容に加算し、ダウン指
令DOWNが与えられたとき一定のダウンレート値DR
Vを現計数内容から減算し、ホールド指令HOLDが与
えられたとき現計数内容を保持する。鍵タツチセンサ1
3からマルチプレクサ14及びライン17を介して供給
されるセンサ出力電圧Aはアナログコンパレータ20の
一方人力(ホ)に加わる。The count content of this counting unit 19 is the digital touch data T.
D is supplied to the tone generator section 16.
The counting unit 19 adds a constant up rate value URV to the current count when an up command UP is given, and adds a constant down rate value DR when a down command DOWN is given.
V is subtracted from the current count contents, and the current count contents are held when a hold command HOLD is given. Key touch sensor 1
The sensor output voltage A supplied from 3 through multiplexer 14 and line 17 is applied to one of the analog comparators 20 (e).
コンパレータ20の他の入力(ハ)にはデイジタルーア
ナログ変換器21の出力電圧Bが加わる。このデイジタ
ルーアナログ変換器21の入力には、前記計数部19の
計数出力(テイジタルタツチデータTD)が「不感帯△
をもたせるための回路22]を経由して供給される。従
つて、計数部19の計数出力(すなわち現在のサンプル
時点におけるデイジタルタツチデータTD)に対応する
デイジタルデータがデイジタルーアナログ変換器21で
アナログ電圧Bに変換される。コンパレータ20では、
この「現在のサンプル時点におけるデイジタルタツチデ
ータTDを不感帯△を加昧してアナログ変換したアナロ
グ電圧B]と、タツチセンサ出力電圧Aとを比較する。
このコンパレータ20の比較出力をラツチ回路23,2
4でサンプル時間に対応してラツチする。ラツチされた
比較結果に応じて計数制御ロジツク25では前記アツプ
指令UP、またはダウン指令DOWN、またはホールド
指令HOLDを発生し、計数部19の計数を制御する。
概ね上記のように構成された鍵タツチデータ発生回路1
1においては、次のようにして計数部19の計数を制御
し、デイジタルタツチデータTDを発生する。The output voltage B of the digital-to-analog converter 21 is applied to the other input (c) of the comparator 20. The counting output (digital touch data TD) of the counting section 19 is input to the input of the digital-to-analog converter 21.
22]. Therefore, the digital data corresponding to the count output of the counting section 19 (that is, the digital touch data TD at the current sample time) is converted into an analog voltage B by the digital-to-analog converter 21. In the comparator 20,
This "analog voltage B obtained by converting the digital touch data TD at the current sampling point into analog by including a dead zone Δ" is compared with the touch sensor output voltage A.
The comparison output of this comparator 20 is connected to latch circuits 23 and 2.
4 to latch corresponding to the sample time. Depending on the latched comparison result, the counting control logic 25 generates the up command UP, down command DOWN, or hold command HOLD to control the counting of the counting section 19.
Key touch data generation circuit 1 configured approximately as described above
1, the counting of the counting section 19 is controlled in the following manner to generate digital touch data TD.
第3図に示すように、現サンプル時点におけるデイジタ
ルタツチデータTDに不感帯△を加算し、タツチセンサ
出力電圧Aがこの不感帯△内に入れば計数部19の計数
値をホールド化、不感帯△よりも高ければその差の程度
に関係なく計数部19に一定値をアップ(またはダウン
)計数させ、不感帯△よりも低ければその差の程度に関
係なく一定値をダウン(またはアツプ)計数させる。こ
の計数制御の結果、新たな(次の)サンプル時点におけ
るデイジタルタツチデータTDが得られる。更に詳細を
説明する。As shown in Fig. 3, a dead band △ is added to the digital touch data TD at the current sampling point, and if the touch sensor output voltage A falls within this dead band △, the count value of the counter 19 is held, and if it is higher than the dead band △. The counter 19 is caused to count up (or down) by a constant value regardless of the degree of the difference, and if it is lower than the dead zone Δ, it is caused to count down (or up) by a constant value regardless of the degree of the difference. As a result of this counting control, digital touch data TD at a new (next) sample time point is obtained. Further details will be explained.
計数部19は、電圧楽器10(第1図)における各チヤ
ンネルの時分割タイムスロツトに対応して時分割的に計
数動作を行なうもので、加算器26をチヤンネル数(1
6)に対応する16ステージのシフトレジスタ27とを
具えている。The counting unit 19 performs a counting operation in a time-division manner corresponding to the time-division time slot of each channel in the voltage instrument 10 (FIG.
6) and a 16-stage shift register 27 corresponding to 6).
シフトレジスタ27は、電子楽器10の時分割タイムス
ロツトを制御するのと同じ1μs周期のクロツクパルス
φによつてシフト制御される。シフトレジスタ27の最
終ステージ出力はデイジタルタツチデータTDとして出
力されると共に加算器26に戻される。加算器26の他
の入力にはオア回路群28を介してゲート29または3
0からのアツプレート値URVまたはダウンレート値D
RVが供給される。アツプ指令UPが与えられたときゲ
ート29が開き、アツプレート値URVを加算器26に
加える。ダウン指令DOWNが与えられたときゲート3
0が開きダウンレート値DRVを加算器26に加える。
例えば、ダウンレート値DRVは2の補数で表わされて
おり、このダウンレート値DRVが加算器26に与えら
れた場合、事実上の減算が行なわれる。ホールド指令H
OLDが与えられたときゲート29及び30はインヒビ
ツトされ、シフトレジスタ27の最終ステージの出力は
加算器26を通過し、前回の計数結果が保持される。計
数部19から出力されるデイジタルタツチデータTDは
負のデシベル量に対応しており、データTDの全ビツト
が゛O゛のとき、つまり最大値のとき、0〔DB〕に相
当し、これは最大音量を指示する。The shift register 27 is shift-controlled by a clock pulse φ having a period of 1 μs, which is the same as that which controls the time division time slot of the electronic musical instrument 10. The final stage output of the shift register 27 is output as digital touch data TD and is also returned to the adder 26. The other input of the adder 26 is connected to a gate 29 or 3 via an OR circuit group 28.
Uprate value URV or downrate value D from 0
RV is supplied. When the up command UP is given, the gate 29 opens and adds the up rate value URV to the adder 26. Gate 3 when down command DOWN is given
0 opens and adds the down rate value DRV to the adder 26.
For example, the down rate value DRV is expressed as a two's complement number, and when this down rate value DRV is applied to the adder 26, a subtraction is effectively performed. Hold command H
When OLD is applied, gates 29 and 30 are inhibited and the output of the final stage of shift register 27 passes through adder 26, holding the previous count result. The digital touch data TD output from the counting section 19 corresponds to a negative decibel amount, and when all bits of the data TD are 'O', that is, the maximum value, it corresponds to 0 [DB], which is Specify the maximum volume.
データTDの全ビツトが“l”のとき最小音量を指示す
る−XCdB〕(例えば−96dB)に相当する。従つ
て、データTDの数値が大きいほど小さい音量を指示し
、小さいほど大きい音量を指示する。このことから、計
数部19の初期値はオール゛1゛でなければならないこ
とが明らかであるが、初期値設定回路(りセツト回路)
の図示は省略した。例えば、或るチヤンネルに割当てら
れている鍵が離鍵されたときにそのチヤンネルに対応す
るシフトレジスタ27の内容をオール11゛にりセツト
するようにすればよい。計数部19から出力されるデイ
ジタルタツチデータTDは回路22内のデシベル−リニ
ア変換回路31及びリードオンリーメモリ(ROM)3
2に供給される。When all bits of data TD are "1", this corresponds to -XCdB] (for example, -96dB) which indicates the minimum volume. Therefore, the larger the value of the data TD, the lower the volume, and the smaller the value, the higher the volume. From this, it is clear that the initial values of the counting section 19 must be all 1, but the initial value setting circuit (reset circuit)
The illustration of is omitted. For example, when a key assigned to a certain channel is released, the contents of the shift register 27 corresponding to that channel may be reset to all 11's. The digital touch data TD output from the counting section 19 is sent to a decibel-linear conversion circuit 31 in the circuit 22 and a read-only memory (ROM) 3.
2.
デシベル−リニア変換回路31は、負のデシベル量で表
わされたタツチデータTDをリニア量に変換する回路で
ある。従つて、このデシベル−リニア変換回路31から
得られるデータQ1は、タツチデータTDによつて制御
される音量の大きさにリニアに対応している。つまりQ
1の値が大きければ音量が大きく、小さければ音量が小
さい。リードオンリーメモリ32は、タツチデータTD
の値に応じて不感帯設定数値△Qを読み出すもので、ア
ドレス信号として入力されるタツチデータTDの値が大
きい程、小さな値の△Qを読み出し、TDが小さい程大
きな値の△Qを読み出すようになつている。The decibel-linear conversion circuit 31 is a circuit that converts touch data TD expressed in negative decibel amounts into linear amounts. Therefore, the data Q1 obtained from this decibel-linear conversion circuit 31 linearly corresponds to the volume level controlled by the touch data TD. In other words, Q
If the value of 1 is large, the volume is high, and if the value is small, the volume is low. The read-only memory 32 is a touch data TD.
The dead zone setting value △Q is read out according to the value of .The larger the value of the touch data TD input as the address signal, the smaller the △Q is read out, and the smaller TD is, the larger the △Q is read out. It's getting old.
これは、現サンプル時点におけるタツチデータTDによ
つて制御される音量が小さい場合(TDの値は大)不感
帯Δを狭くして、鍵タツチの小さな変動にも応答し得る
ようにし、他方、現タツチデータTDによつて制御され
る音量が大きい(TDの値は小さい)場合は不感帯Δを
広くして、さほど大きくない鍵タツチの変動には応答し
ないようにしたためである。不感帯設定数値△Qは加算
器33に加わり、デシベル−リニア変換回路31から与
えられるリニア量で表わされたタツチデータTDの値Q
1に加算される。This narrows the dead band Δ when the volume controlled by the touch data TD at the current sample point is small (the value of TD is large), making it possible to respond to small fluctuations in key touches; This is because when the volume controlled by the touch data TD is large (the value of TD is small), the dead zone Δ is widened so that it does not respond to fluctuations in key touches that are not very large. The dead zone setting value ΔQ is added to the adder 33 and is the value Q of the touch data TD expressed as a linear amount given from the decibel-linear conversion circuit 31.
It is added to 1.
加算器33からは、タツチデータTDのリニア値Q1に
不感帯設定数値△Qを加算した値Q2(−Q1+ΔQ)
が得られる。値Q1とQ2は時分割回路34に加えられ
、クロツクパルスφの前半周期と後半周期とで時分割的
に選択された後、デイジタルーアナログ変換器21に供
給される。From the adder 33, a value Q2 (-Q1+ΔQ) is obtained by adding the dead zone setting value ΔQ to the linear value Q1 of the touch data TD.
is obtained. The values Q1 and Q2 are applied to a time division circuit 34, selected in a time division manner between the first half cycle and the second half cycle of the clock pulse φ, and then supplied to the digital-to-analog converter 21.
前述の通り、クロツクパルスφの周期1μsは1チヤン
ネル分の時分割タイムスロツトに対応しており、このク
ロツクパルスφの1周期の間、1つのチヤンネルに関す
る値Q1とQ2が時分割回路34に入力されている。そ
こで、クロツクパルスφの前半周期で値Q1を選択し、
後半周期で値Q2を選択するようにしている。クロツク
パルスφがデユテイ50%のパルスで、前半周期のレベ
ルが゛0―後半周期のレベルが゛1”であるとすると、
クロツクパルスφを反転したパルスφの6r゛のタイミ
ングで値Q1が選択され、クロツクパルスφの゛1”゜
のタイミングで値Q2が選択される。デイジタルーアナ
ログ変換器21からは、クカツクパルスφの前半周期に
おいて値Q1をアナログ電圧に変換したもの(これをB
1とする)が出力され、後半周期において値Q2をアナ
ログ電圧に変換したもの(これをB2とする)が出力さ
れる。As mentioned above, the period of 1 μs of the clock pulse φ corresponds to the time division time slot for one channel, and during one period of the clock pulse φ, the values Q1 and Q2 regarding one channel are input to the time division circuit 34. There is. Therefore, the value Q1 is selected in the first half period of the clock pulse φ,
The value Q2 is selected in the second half of the cycle. Assuming that the clock pulse φ is a pulse with a duty of 50%, and the level of the first half cycle is ``0'' and the level of the second half period is ``1'',
The value Q1 is selected at the 6r' timing of the pulse φ, which is the inversion of the clock pulse φ, and the value Q2 is selected at the 1'' timing of the clock pulse φ. The value Q1 is converted into an analog voltage at
1) is output, and in the latter half of the cycle, the value Q2 converted into an analog voltage (this is referred to as B2) is output.
このBl,B2がコンパレータ20に入力電圧Bとして
加わる。コンパレータ20の他の入力にはクロツクパル
スφの1周期の間(1チヤンネルのタイムスロツトの間
)同じ鍵のタツチセンサ出力電圧Aが加えられるので、
この電圧Aと前記電圧B1及びB2が順次比較される。
コンパレータ20は[A>B」のとぎ1”を出力し、「
A<B」のとぎ0”を出力する。These B1 and B2 are applied to the comparator 20 as input voltage B. Since the touch sensor output voltage A of the same key is applied to the other input of the comparator 20 during one period of the clock pulse φ (during the time slot of one channel),
This voltage A and the voltages B1 and B2 are sequentially compared.
The comparator 20 outputs ``1'' of [A>B'', and ``
Outputs "0" for "A<B".
ラツチ回路23はクロツクパルスφが“1゛のときコン
パレータ20の比較出力を読み込み、ラツチ回路24は
クロツクパルスφが11゜”のときコンパレータ20の
比較出力を読み込む。すなわち、クロツクパルスφの前
半周期におけるAとB1の比較結果はラツチ回路23に
ラツチされ、後半周期におけるAとB2の比較結果はラ
ツチ回路24にラツチされる。計数制御ロジツク25は
ノア回路35、排他オア回路36、アンド回路37から
成り、各々にラツチ回路23及び24のラツチ出力が人
力される。The latch circuit 23 reads the comparison output of the comparator 20 when the clock pulse φ is "1", and the latch circuit 24 reads the comparison output of the comparator 20 when the clock pulse φ is 11 degrees. That is, the comparison result between A and B1 in the first half cycle of the clock pulse φ is latched in the latch circuit 23, and the comparison result between A and B2 in the second half cycle is latched in the latch circuit 24. The counting control logic 25 consists of a NOR circuit 35, an exclusive OR circuit 36, and an AND circuit 37, each of which receives the latch outputs of the latch circuits 23 and 24.
ノア回路35はアツプ指令UPを出力し、排他オア回路
36はホールド指令HOLDを出力し、アンド回路37
はダウン指令DOWNを出力する。従つて、コンパレー
タ20における比較結果と各計数指令との関係は下記表
に示すようになる。尚、この例では、タツチセンサ出力
電圧Aは、鍵を強く押圧したとき(つまり音量を大きく
するとき)高くなり、鍵押圧力が弱くなると低くなるも
のとする。つまり、A>B1とA>B2が満足されると
きは、センサ出力電圧Aは現サンプル時点のデイジタル
タツチデータTDに不感帯△を加算した値に対応する電
圧よりも高いので、音量を大きくする必要がある。The NOR circuit 35 outputs an up command UP, the exclusive OR circuit 36 outputs a hold command HOLD, and the AND circuit 37
outputs a down command DOWN. Therefore, the relationship between the comparison results in the comparator 20 and each counting command is as shown in the table below. In this example, it is assumed that the touch sensor output voltage A becomes high when the key is pressed strongly (that is, when the volume is increased) and becomes low when the key pressing force becomes weak. In other words, when A>B1 and A>B2 are satisfied, the sensor output voltage A is higher than the voltage corresponding to the value obtained by adding the dead zone △ to the digital touch data TD at the current sample time, so it is necessary to increase the volume. There is.
そこで、アンド回路37からダウン指令DOWNを発生
し、現サンプル時点のタツチデータTDから所定のダウ
ンレート値DRVを減算し、次のサンプル時点のタツチ
データTDの値を小さくして負のテシベル量を小さくす
る(つまり音量を上げる)。また、A<B1とA<B2
が満足されるときは、センサ出力電圧Aは現サンプル点
のタツチデータTDに対応する電圧よりも低いので、音
量を小さくする必要がある。そこで、ノア回路35から
アツプ指令UPを発生し、現在サンプル時点のタツチデ
ータTDに所定のアツプレート値URVを加算し、次の
サンプル時点のタツチデータTDの値を大きくして負の
デシベル量を大きくする(つまり音量を下げる)。また
、A>B1とA<B2が満足されるときは、センサ出力
電圧Aは現サンプル時点のタツチデータTDに対応する
不感帯△の範囲内に入つているので、現サンプル時点の
タツチデータTDと同じ値を次のサンプル時点において
も保持し、音量を変化させないようにする。そこで、排
他オア回路36からホールド指令HOLDを発生し、計
数部19において現サンプル点のタツチデータTDが次
のサンプル点においても保持されるようにする。尚、A
<B1とA>B2が共に満足されることは理論上起り得
ないが、ノイズ等による誤動作によつて万が一そのよう
な状態が生じた場合は排他オア回路36が動作し、計数
部19をホールド状態とする。次に変更例について説明
する。Therefore, a down command DOWN is generated from the AND circuit 37, a predetermined down rate value DRV is subtracted from the touch data TD at the current sample time, and the value of the touch data TD at the next sample time is reduced to obtain a negative tesibel amount. Make it quieter (i.e. make it louder). Also, A<B1 and A<B2
When this is satisfied, the sensor output voltage A is lower than the voltage corresponding to the touch data TD at the current sample point, so the volume needs to be reduced. Therefore, an up command UP is generated from the NOR circuit 35, a predetermined up rate value URV is added to the touch data TD at the current sampling point, and the value of the touch data TD at the next sampling point is increased to produce a negative decibel amount. Make it louder (i.e. lower the volume). Furthermore, when A>B1 and A<B2 are satisfied, the sensor output voltage A is within the range of the dead band △ corresponding to the touch data TD at the current sample time, so The same value is maintained at the next sample time so that the volume does not change. Therefore, a hold command HOLD is generated from the exclusive OR circuit 36, so that the touch data TD of the current sample point is held in the counting section 19 at the next sample point as well. Furthermore, A
Theoretically, it is impossible for both <B1 and A>B2 to be satisfied, but in the unlikely event that such a situation occurs due to malfunction due to noise etc., the exclusive OR circuit 36 will operate and hold the counting section 19. state. Next, a modification example will be explained.
アツプレート値URとダウンレート値DRは同一値であ
る必要はなく、夫々適宜の値としてよい。The up-rate value UR and the down-rate value DR do not need to be the same value, and may each be set to appropriate values.
一般に、アフタタツチコントロールにおいては、加重時
(鍵押圧力を加えたとき)の応答性を良くし、脱重時(
鍵押圧力をゆるめたとき)の応答性を悪くすると、演奏
し易いことが知られている。従つて、URV<DRVと
し、音量増加方向のタツチデータTDの変化速度を音量
減少方向のタツチデータTDの変化速度よりも速くする
とよい。第1図及び第2図では複音処理を例にしたが、
単音処理の場合は計数部19のシフトレジスタ27を1
ステージとすればよ\・oまた、上記実施例では計数部
19から出力されるデイジタルタツチデータTDが負の
デシベル表示となつているが、これは必須の要件ではな
く、音量に比例したリニア表示であつてもよい。In general, after-touch control improves responsiveness when applying weight (when applying pressure to a key), and improves responsiveness when applying weight (when applying pressure to a key).
It is known that if the responsiveness (when the key press force is relaxed) is decreased, it will be easier to play. Therefore, it is preferable to set URV<DRV so that the rate of change of touch data TD in the direction of volume increase is faster than the rate of change of touch data TD in the direction of volume decrease. In Figures 1 and 2, compound tone processing was used as an example, but
In the case of single note processing, the shift register 27 of the counting section 19 is set to 1.
If it is a stage\・oAlso, in the above embodiment, the digital touch data TD output from the counting section 19 is displayed in negative decibels, but this is not an essential requirement, and a linear display proportional to the volume. It may be.
その場合は、アツプ指令UPとダウン指令DOWNの発
生態様は上記実施例と逆になる。上記実施例では値Q1
とQ2を時分割処理してデイジタルーアナログ変換及び
アナログ比較を行なつているが、これに限らず、デイジ
タルーアナログ変換器21とアナログコンパレータ20
を2系列並列に設け、電圧AとB1及びAとB2の比較
を1サンプル時点内で同時に行なうようにしてもよい。In that case, the manner in which the up command UP and down command DOWN are generated is opposite to that of the above embodiment. In the above example, the value Q1
and Q2 are time-divisionally processed to perform digital-to-analog conversion and analog comparison; however, the present invention is not limited to this.
It is also possible to provide two series in parallel, and compare the voltages A and B1 and A and B2 simultaneously within one sample time.
尚、上記実施例では、不感帯△を現サンプル時点のタツ
チデータTDの上のみに設けたが、TDの下のみ、また
はTDの上下に設けてもよい。In the above embodiment, the dead zone Δ is provided only above the touch data TD at the current sample time, but it may be provided only below the TD, or above and below the TD.
また、不感帯設定数値△Qをアナログ変換した後、B1
に加算してB2を求めるようにすることもできる。以上
説明したようにこの発明によれば、1サンプル時点のデ
イジタルタツチデータTDを求める場合に1回の加算ま
たは減算しか行なわないので、従来のアナログーテイジ
タル変換素子のような高速動作は要求されず、回路構成
素子の負担が軽減される。In addition, after analog conversion of the dead band setting value △Q, B1
It is also possible to obtain B2 by adding it to B2. As explained above, according to the present invention, only one addition or subtraction is performed when obtaining digital touch data TD at one sample point, so high-speed operation like conventional analog-to-digital conversion elements is not required. First, the burden on the circuit components is reduced.
また、入力されるタツチセンサ出力電圧が急激に変化し
たとしても、一定のアツプレート値URVまたはダウン
レート値DRVに対応する値しかデイジタルタツチデー
タTDは増減しないので、アフタタツチコントロールに
適した緩やかなエンベロープのデイジタルタツチデータ
TDを得ることができる。しかも、タツチセンナ出力電
圧にノイズが乗つても、上述の理由で、デイジタルタツ
チデータTDは急激な人力変化には応答しないため、耳
ざわりなノイズがデイジタルタツチデータTDに現われ
ることはない。また、不感帯Δを設定して僅かな鍵タツ
チの変動には応答しないようにしたため、アフタタッチ
コントロールに適したデイジタルタッチデータTDを得
ることができる。Furthermore, even if the input touch sensor output voltage changes rapidly, the digital touch data TD will only increase or decrease to a value that corresponds to a fixed up-rate value URV or down-rate value DRV. digital touch data TD can be obtained. Moreover, even if noise is added to the touch sensor output voltage, the digital touch data TD does not respond to sudden changes in human power for the reason described above, so no harsh noise will appear in the digital touch data TD. Further, since the dead zone Δ is set so as not to respond to slight fluctuations in key touch, digital touch data TD suitable for aftertouch control can be obtained.
すなわち、演奏中の無意識の鍵タツチ変化には応答せず
、意識的な鍵タツチ変化に応答するようになるからであ
る。また、不感帯△を直前のタツチデータTDの大きさ
に応じて変化するようにしているため、演奏感覚上、不
感帯の存在の感じ方が均一になり、極めて演奏し易くな
る。すなわち、タツチデータTDによつて現在制御して
いる音量が小さい場合は不感帯も狭くなり、音量が大き
い場合は不感帯も広くなり、演奏者にとつては不感帯は
変化しないように感じられる。In other words, the player does not respond to unconscious changes in the touch of a key during a performance, but rather responds to conscious changes in the touch of a key. In addition, since the dead zone Δ is made to change according to the magnitude of the immediately preceding touch data TD, the presence of the dead zone is felt evenly in terms of performance, making it extremely easy to play. That is, when the volume currently controlled by the touch data TD is low, the dead zone becomes narrow, and when the volume is high, the dead zone becomes wide, and the performer feels that the dead zone does not change.
第1図はこの発明に係る鍵タツチデータ発生回路が適用
される電子楽器の一例を略示するプロツク図、第2図は
この発明に係る鍵タツチデータ発生回路の一実施例を示
すプロツク図、第3図は上記実施例における計数制御態
様を模式的に示す説明図、である。
10・・・・・・電子楽器、11・・・・・・鍵タッチ
データ発生回路、19・・・・・・計数部、20・・・
・・・アナログコンパレータ、22・・・・・・不感帯
を設定するための回路、25・・・・・・計数制御ロジ
ツク。FIG. 1 is a block diagram schematically showing an example of an electronic musical instrument to which a key touch data generation circuit according to the present invention is applied, and FIG. 2 is a block diagram showing an embodiment of the key touch data generation circuit according to the present invention. FIG. 3 is an explanatory diagram schematically showing the counting control mode in the above embodiment. 10...Electronic musical instrument, 11...Key touch data generation circuit, 19...Counting section, 20...
... Analog comparator, 22 ... Circuit for setting dead zone, 25 ... Counting control logic.
Claims (1)
るアナログのセンサ出力電圧にもとづいてディジタルの
タッチデータを発生する電子楽器の鍵タッチデータ発生
回路において、計数出力を前記タッチデータとして出力
する計数手段と、前記タッチデータの値の上または下に
不感帯を設定する不感帯設定手段と、前記タッチデータ
及び不感帯に対応したアナログ電圧を発生するディジタ
ル−アナログ変換手段と、前記変換手段からのアナログ
電圧と前記センサ出力電圧とを比較する比較手段と、前
記比較手段による比較結果にもとづいて、前記センサ出
力電圧が前記不感帯内に入つている場合は前記計数手段
の計数内容を保持させ、前記センサ出力電圧が前記不感
帯から外れている場合は前記計数手段の計数内容に一定
値を加算または減算させる計数制御手段とを具える鍵タ
ッチデータ発生回路。 2 前記不感帯設定手段が、前記タッチデータの値の大
きさに応じて前記不感帯の幅を変化する手段である特許
請求の範囲第1項記載の鍵タッチデータ発生回路。 3 前記不感帯設定手段が、前記タッチデータをアドレ
ス入力とし、そのアドレス値に対応した不感帯設定数値
を読み出す記憶回路と、前記不感帯設定数値と前記タッ
チデータとを実質的に加算する加算器とを有する手段で
あり、前記ディジタル−アナログ変換手段が、前記タッ
チデータと前記加算器出力とを夫々アナログ電圧に変換
する手段であり、前記比較手段が、前記変換手段からの
前記両アナログ電圧と前記センサ出力電圧とを個別に比
較する手段であり、前記計数制御手段が、前記比較の結
果、前記センサ出力電圧が前記両アナログ電圧よりも高
い場合は前記計数手段で一定値を加算(または減算)さ
せ、前記センサ出力電圧が前記両アナログ電圧よりも低
い場合は前記計数手段で一定値を減算(または加算)さ
せ、前記センサ出力電圧と前記両アナログ電圧との各々
の比較結果が一致しない場合は前記計数手段の計数内容
を保持させる手段である特許請求の範囲第1項記載の鍵
タッチデータ発生回路。[Scope of Claims] 1. In a key touch data generation circuit of an electronic musical instrument that generates digital touch data based on an analog sensor output voltage obtained from a key touch sensor provided corresponding to a key, the counting output is a counting means for outputting as touch data; a dead zone setting means for setting a dead zone above or below the value of the touch data; a digital-to-analog conversion means for generating an analog voltage corresponding to the touch data and the dead zone; a comparison means for comparing the analog voltage from the means and the sensor output voltage; and based on the comparison result by the comparison means, if the sensor output voltage is within the dead zone, the count content of the counting means is retained. and counting control means for adding or subtracting a constant value to the count of the counting means when the sensor output voltage is out of the dead zone. 2. The key touch data generation circuit according to claim 1, wherein the dead zone setting means is means for changing the width of the dead zone according to the magnitude of the value of the touch data. 3. The dead zone setting means takes the touch data as an address input, and includes a memory circuit that reads out a dead zone setting value corresponding to the address value, and an adder that substantially adds the dead zone setting value and the touch data. means, the digital-to-analog conversion means is means for converting the touch data and the adder output into analog voltages, and the comparison means converts both the analog voltages from the conversion means and the sensor output. and the counting control means causes the counting means to add (or subtract) a certain value if the sensor output voltage is higher than both analog voltages as a result of the comparison, When the sensor output voltage is lower than both analog voltages, the counting means subtracts (or adds) a certain value, and when the comparison results between the sensor output voltage and both analog voltages do not match, the counting means subtracts (or adds) a certain value. The key touch data generation circuit according to claim 1, which is means for holding the count contents of the means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP53112759A JPS59837B2 (en) | 1978-09-13 | 1978-09-13 | Electronic musical instrument key touch data generation circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP53112759A JPS59837B2 (en) | 1978-09-13 | 1978-09-13 | Electronic musical instrument key touch data generation circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5538580A JPS5538580A (en) | 1980-03-18 |
| JPS59837B2 true JPS59837B2 (en) | 1984-01-09 |
Family
ID=14594816
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP53112759A Expired JPS59837B2 (en) | 1978-09-13 | 1978-09-13 | Electronic musical instrument key touch data generation circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS59837B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5865496A (en) * | 1982-01-28 | 1983-04-19 | ヤマハ株式会社 | Digital data setting unit |
| JPH0631961B2 (en) * | 1982-11-22 | 1994-04-27 | ヤマハ株式会社 | Automatic playing device |
| JP2858314B2 (en) * | 1989-01-19 | 1999-02-17 | カシオ計算機株式会社 | Tone characteristic control device |
-
1978
- 1978-09-13 JP JP53112759A patent/JPS59837B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5538580A (en) | 1980-03-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4195545A (en) | Digital touch response circuit of electronic musical instrument | |
| JPS6342268B2 (en) | ||
| JP2576619B2 (en) | Tone generator | |
| GB1604547A (en) | Synthesiser | |
| JPH0413717B2 (en) | ||
| JPH0420193B2 (en) | ||
| JPS59837B2 (en) | Electronic musical instrument key touch data generation circuit | |
| US4562763A (en) | Waveform information generating system | |
| US4476764A (en) | Automatic performance apparatus for use in combination with a manually operable musical tone generating instrument | |
| JPS6340319B2 (en) | ||
| US4421003A (en) | Envelope generator for electronic musical instruments | |
| JPS6342267B2 (en) | ||
| JPS61248096A (en) | Electronic musical instrument | |
| JPH0812553B2 (en) | Electronic musical instrument | |
| JPH071429B2 (en) | Chord generator | |
| JPS6248833B2 (en) | ||
| JP2730721B2 (en) | Electronic musical instrument | |
| JPS5913657Y2 (en) | Electronic musical instrument pedal effect circuit | |
| JPH0155469B2 (en) | ||
| JP2638090B2 (en) | Music parameter controller | |
| KR930005217B1 (en) | Data mixing method and device of keyboard | |
| JPH05197377A (en) | Touch generator | |
| JPH042960B2 (en) | ||
| JPH0434160B2 (en) | ||
| JPH03230197A (en) | Electronic keyboard musical instrument |