JPH0740189B2 - Touch response device - Google Patents
Touch response deviceInfo
- Publication number
- JPH0740189B2 JPH0740189B2 JP61253486A JP25348686A JPH0740189B2 JP H0740189 B2 JPH0740189 B2 JP H0740189B2 JP 61253486 A JP61253486 A JP 61253486A JP 25348686 A JP25348686 A JP 25348686A JP H0740189 B2 JPH0740189 B2 JP H0740189B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- value
- time
- cycle
- contact
- 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
Links
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
【発明の詳細な説明】 [発明の技術分野] 本発明は、演奏操作により順次時間がずれて導通する少
なくとも2つの接点からの接点信号のずれの度合に基づ
いて楽音の内容例えば、音量、音高、高調波成分等を制
御するタッチレスポンス装置に関するものである。Description: TECHNICAL FIELD OF THE INVENTION The present invention is based on the degree of deviation of contact signals from at least two contacts that are sequentially conducted with a time shift due to a performance operation, and the contents of a musical sound, for example, volume and sound. The present invention relates to a touch response device that controls high and harmonic components.
[従来技術とその問題点] 従来、このようなタッチレスポンス装置としては、先に
導通する接点のオンから、後に導通する接点のオンまで
の時間のずれを計数して、これをデコーダ等によってタ
ッチデータに変換するようにしていた(特公昭53-441
8、特公昭53-5545)。[Prior Art and its Problems] Conventionally, in such a touch response device, a time lag from the turning on of a contact that conducts first to the turning on of a contact that conducts later is counted, and this is touched by a decoder or the like. I was trying to convert it to data (Japanese Patent Publication Sho 53-441
8, Japanese Patent Publication 53-5545).
この場合、上記2つの接点のずれの計測可能な最長時間
を40msとし、ずれ時間の分解能を80μsとすると、全部
で500の状態のデータが必要となり、そのためには9ビ
ットの計測カウンタが必要となる。これが各鍵に配置さ
れると、全部で88鍵とすれば9×88=792ビット相当の
カウンタが必要となり、さらにこれをタッチデータに変
換するためのビット数もこれに従って大きくなり、回路
規模が非常に大きくなる。In this case, assuming that the maximum measurable time of the displacement of the two contacts is 40 ms and the resolution of the displacement time is 80 μs, data of 500 states are required in total, and a 9-bit measurement counter is required for that. Become. When this is arranged in each key, if there are 88 keys in total, a counter equivalent to 9 × 88 = 792 bits is required, and the number of bits for converting this to touch data also increases accordingly, and the circuit scale increases. Grows very large.
ところが、鍵を速くたたく時、普通にたたく時、ゆっく
りたたく時では、各時点での押鍵速度の差による楽音の
変化の割合に差があり、例えば速くたたく時では押鍵速
度の差がわずかでも楽音の変化に大きな影響を与える
が、ゆっくりたたく時では逆に押鍵速度の差が大きくて
も楽音の変化にはそれほど影響を与えないということが
あり、押鍵速度の時間分解能は、鍵をゆっくりたたく時
は押鍵速度の時間分解能を落としてもよいことになる。However, there is a difference in the rate of change of the musical sound due to the difference in the key pressing speed at each point when the key is tapped fast, normally, and slowly.For example, when the key is tapped quickly, the difference in key pressing speed is small. However, it has a great influence on the change of the musical tone, but on the contrary, when tapping slowly, even if the difference in the key pressing speed is large, it does not affect the change of the musical sound so much, so the time resolution of the key pressing speed is When tapping slowly, the time resolution of the key pressing speed may be reduced.
また、一定速度でカウントが行われるカウントのカウン
ト値を先に導通する接点のオン時点と、後に導通する接
点のオン時点とで取り入れ、両カウント値の差に基づい
てタッチデータを得るようにしたものである(特公昭58
-57119号参照)。しかしながら、このようなものでも、
一定速度でカウントを行うので、押鍵速度の時間分解能
に無駄がある点では変わりがない。Also, the count value of the count performed at a constant speed is taken in at the ON time of the contact that conducts first and the ON time of the contact that conducts later, and the touch data is obtained based on the difference between the two count values. It is a thing (Japanese Patent Publication Sho 58
-See No. 57119). However, even with this stuff,
Since counting is performed at a constant speed, there is no difference in that the time resolution of the key pressing speed is wasted.
[発明の目的] この発明は上述した事情に鑑みてなされたもので、その
目的とするところは、回路規模が小さくとも、実際の演
奏に一致するタッチレスポンス効果の得られるタッチレ
スポンス装置を提供することにある。[Object of the Invention] The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a touch response device that can obtain a touch response effect that matches an actual performance even if the circuit scale is small. Especially.
[発明の要点] この発明は上記目的を達成するために、 1つの操作子の操作により順次時間がずれて動作する少
なくとも第1及び第2の接点と、 この第1及び第2の接点の動作時間のずれを計測可能な
最長時間より小さな周期で、かつ一定速度でカウントを
行うカウント手段と、 上記第1の接点の動作に応答して演算形態を示す所定値
及び上記カウント手段のその時のカウント情報を記憶す
る記憶手段と、 上記カウント手段のカウント情報が所定の値になる毎に
カウントを行い、かつこのカウント値が上記記憶手段の
所定値に対応した値になると、この所定値を変更する変
更手段と、 上記第2の接点の動作に応答して上記カウント手段のそ
の時のカウント情報を読取る読取り手段と、 複数の異なる演算形態で演算可能に構成され、この読取
り手段で読取られたカウント情報と上記記憶手段に記憶
されているカウント情報に基づき、上記記憶手段に記憶
されている所定値に対応する演算形態で演算してタッチ
データを出力する演算手段と、 を有することを特徴としている。[Summary of the Invention] In order to achieve the above-mentioned object, the present invention provides: at least first and second contacts that are sequentially operated with a time lag due to operation of one operator; and operations of the first and second contacts. Counting means for counting at a constant speed with a cycle smaller than the longest time capable of measuring time lag, a predetermined value indicating a calculation form in response to the operation of the first contact, and the count of the counting means at that time Storage means for storing information and counting is performed every time the count information of the counting means reaches a predetermined value, and when the count value reaches a value corresponding to the predetermined value in the storage means, the predetermined value is changed. The changing means, the reading means for reading the count information at that time of the counting means in response to the operation of the second contact, and the reading means configured to be operable in a plurality of different operation modes. Calculating means for calculating touch information based on the count information read by the taking means and the count information stored in the storing means, in a calculation form corresponding to a predetermined value stored in the storing means, and outputting touch data; It is characterized by having.
[実施例] 〈概略〉 本実施例では、基本サイクルカウンタ4がカウント手段
に、記憶部3が記憶手段に、モード変更部11とデータ変
換部10とが変更手段と変換手段に夫々対応し、2つの接
点のずれの計測可能な最長時間は40ms、記憶部3に記憶
される所定値がモードデータM及び周期数データFにほ
ぼ対応し、データ変換部10の減算内容は第9図に示すと
うりになっている。タッチデータTCDの一覧は第10図に
示されており、同図左端縦軸の位置が第1接点オンの時
に対応し、横軸の経過時間に沿って第2接点オン時を設
定した位置におけるタッチデータ値が求める値となる。[Embodiment] <Outline> In this embodiment, the basic cycle counter 4 corresponds to the counting means, the storage unit 3 corresponds to the storage means, the mode changing unit 11 and the data converting unit 10 correspond to the changing unit and the converting unit, respectively. The maximum measurable time of the displacement of the two contacts is 40 ms, the predetermined value stored in the storage unit 3 substantially corresponds to the mode data M and the cycle number data F, and the subtraction content of the data conversion unit 10 is shown in FIG. I'm getting bored. A list of touch data TCD is shown in FIG. 10, and the position on the left vertical axis in the figure corresponds to when the first contact is on, and at the position where the second contact is on along the elapsed time on the horizontal axis. The touch data value is the desired value.
上記モードデータM(7/6〜1)によりタッチデータTCD
は2点鎖線で示すように段階づけられ、さらに周期数デ
ータF(16×F〜4×F)により点線で示すように段階
づけられ、第1接点オン時の基本サイクルカウンタ4の
データDと第2接点オン時の基本サイクルカウンタ4の
データRCとの差RC−Dにより実線で示すように段階づけ
られている。この各段階ごとのタッチデータTCDの分解
能(減算速度)は、モード「7/6」と「5」で基本サイ
クルカウンタ4の「1φ」当り1(減算)、モード
「4」で「2府営」当り1(減算)、モード「3」で
「4φ」当り1(減算)、モード「2」で「8φ」当り
1(減算)というように、低くなり、減算速度も遅くな
る。この分解能低下により、タッチデータTCDを得るた
めの最長時間は長くても、タッチデータTCDの最高値は
「127」で済み、桁数も少なくて済むので、それだけ回
路規模も小さくて済むことにる。Touch data TCD according to the above mode data M (7/6 to 1)
Is stepped as shown by the two-dot chain line, and is further stepped as shown by the dotted line by the cycle number data F (16 × F to 4 × F), and the data D of the basic cycle counter 4 when the first contact is on The difference is RC-D from the data RC of the basic cycle counter 4 when the second contact is on, and is graded as shown by the solid line. The resolution (subtraction speed) of the touch data TCD for each step is 1 (subtraction) per "1φ" of the basic cycle counter 4 in modes "7/6" and "5", and "2 prefecture" in mode "4". 1 (subtraction), 1 (subtraction) per "4φ" in the mode "3", 1 (subtraction) per "8φ" in the mode "2". Due to this decrease in resolution, even though the longest time to obtain the touch data TCD is long, the maximum value of the touch data TCD is only "127" and the number of digits is small, so the circuit scale can be reduced accordingly. .
〈構成〉 全体回路構成 第1図はタッチレスポンス装置の全体回路構成を示すも
ので、図中1は鍵状態処理装置であり、この装置1では
鍵盤(図示せず)の各操作鍵に応じたキーコードKCと、
この操作鍵の順次時間がずれて導通する2つの接点の各
オンに応じた2つの接点信号とが生成され、制御・演算
部2に送られる。<Structure> Overall Circuit Structure FIG. 1 shows the overall circuit structure of the touch response device. In FIG. 1, reference numeral 1 denotes a key state processing device, and this device 1 corresponds to each operation key of a keyboard (not shown). Key code KC,
Two contact signals corresponding to each ON state of the two contacts that are electrically connected after the operation keys are sequentially shifted are generated and sent to the control / calculation unit 2.
制御・演算部2では、第1接点の接点信号が与えられる
と、「7」又は「6」の所定値をモードデータM0〜M2と
して記憶部3にセットするとともに、その時の基本サイ
クルカウンタ4のカウントデータD0〜D4もあわせて記憶
部3にセットする。In the control / arithmetic unit 2, when the contact signal of the first contact is given, a predetermined value of "7" or "6" is set in the storage unit 3 as mode data M 0 to M 2 , and the basic cycle counter at that time is set. The count data D 0 to D 4 of 4 are also set in the storage unit 3.
基本サイクルカウンタ4は、5ビットT0〜T432進のカウ
ンタで、周期80μsのクロック信号φによってカウント
され、一周期のカウント時間は80μs×32≒2.5msであ
り、上記2つの接点のずれを計測可能な最長時間である
40msを16周期にわたって一定速度でカウントを行うこと
ができるようになっている。The basic cycle counter 4 is a 5-bit T 0 to T 4 32-bit counter and is counted by the clock signal φ having a cycle of 80 μs, and the count time of one cycle is 80 μs × 32≈2.5 ms. Is the longest time that can be measured
It is possible to count 40 ms at a constant speed for 16 cycles.
記憶部3にセットされたモードデータM(所定値)は、
基本サイクルカウンタ4のカウント一周期ごとに減算さ
れるが、この減算速度は時間の経過とともに1/2、1/4、
1/8と順次遅れるようになっている。The mode data M (predetermined value) set in the storage unit 3 is
The count of the basic cycle counter 4 is subtracted every cycle, but this subtraction speed is 1/2, 1/4, with the passage of time.
It is delayed by 1/8.
そして、鍵状態処理装置1より第2接点の接点信号が与
えられると、その時の基本サイクルカウンタ4のカウン
トデータRCが読み出され、上記記憶部3に記憶されてい
た第1接点オン時のカウントデータDとの差RC−Dが求
められる。この差RC−Dもその時のモードデータMの値
に応じて1/2、1/4、1/8と縮小される。Then, when the contact signal of the second contact is given from the key state processing device 1, the count data RC of the basic cycle counter 4 at that time is read out, and the count when the first contact is stored in the storage unit 3 is turned on. The difference RC-D from the data D is obtained. This difference RC-D is also reduced to 1/2, 1/4, 1/8 according to the value of the mode data M at that time.
このデータRC−Dと上記モードデータM等によって制御
・演算部2でタッチデータが演算されて出力されてい
く。Touch data is calculated by the control / calculation unit 2 using the data RC-D and the mode data M and the like, and is output.
上記記憶部3は88鍵に対応して88番地分の記憶容量をも
ち、各番地は上記鍵状態処理装置1からのキーコードと
同じデータがアドレスデータとして指定され、記憶部3
内のモードデータMの減算変更にあたっては、7ビット
で88ステップのカウントを行う処理ポインタ5からの処
理ポイントデータSPに基づいて記憶部3のアドレス指定
がなされる。この処理ポインタ5は基本サイクルカウン
タ4一周期32φの間に88ステップ一周期分のカウントを
行ない、基本サイクルカウンタ4からのキャリ信号によ
ってカウントが開始され、制御・演算部2からのインク
リメント信号によってインクリメントされていく。The storage unit 3 has a storage capacity of 88 addresses corresponding to 88 keys, and the same data as the key code from the key state processing device 1 is designated as address data at each address.
In changing the subtraction of the mode data M therein, the addressing of the storage unit 3 is performed based on the processing point data SP from the processing pointer 5 which counts 88 steps with 7 bits. The processing pointer 5 counts 88 cycles of one cycle during one cycle of 32 cycles of the basic cycle counter 4, counting is started by a carry signal from the basic cycle counter 4, and incremented by an increment signal from the control / arithmetic unit 2. Will be done.
上記記憶部3の1つの番地の記憶データの構成、基本サ
イクルカウンタ4のカウントデータRCの構成、処理ポイ
ンタ5の処理ポインタデータSPの構成は第3図〜第5図
に示すとうりである。The structure of the storage data at one address of the storage unit 3, the structure of the count data RC of the basic cycle counter 4, and the structure of the processing pointer data SP of the processing pointer 5 are as shown in FIGS.
制御・演算部2の構成 第2図は制御・演算部2の構成を示すものである。図中
6は鍵カウンタ部であって、7ビット構成であり、上記
基本サイクルカウンタ4に与えられるクロック信号φの
立上りでカウントをスタートし、クロック信号φの一周
期内に0〜87までの88鍵分のキーナンバデータを出力す
る。このキーナンバデータは記憶制御部7を介して上記
記憶部3にアドレスデータとして送られるとともに、デ
コーダ部8、モード設定部9に与えられる。Configuration of Control / Calculation Unit 2 FIG. 2 shows the configuration of the control / calculation unit 2. Reference numeral 6 in the figure denotes a key counter unit having a 7-bit configuration, which starts counting at the rising edge of the clock signal φ given to the basic cycle counter 4, and within a period of the clock signal φ 88 to 0 to 87. The key number data for the key is output. The key number data is sent as address data to the storage unit 3 via the storage control unit 7, and is also given to the decoder unit 8 and the mode setting unit 9.
デコーダ部8には、上記鍵状態処理装置1からのキーコ
ードKCと第1又は第2接点の接点信号が与えられてお
り、このキーコードKCが上記キーナンバデータに一致す
ると、当該キーコードKCとともに与えられたものが第1
接点の接点信号の場合には、開始信号S1を出力し、当該
キーコードKCとともに与えられたものが第2接点の接点
信号の場合には、終了信号S2を出力する。この開始信号
S1及び終了信号S2は記憶制御部7を介して記憶部3に対
し、夫々指令信号及び読出し指令信号として与えられる
ほか、信号S1はモード設定部9に駆動指令信号として与
えられ、信号S2はデータ変換部10に同じく駆動指令信号
として与えられる。The key code KC from the key state processing device 1 and a contact signal of the first or second contact are given to the decoder section 8. When the key code KC matches the key number data, the key code KC The one given with
In the case of the contact signal of the contact, the start signal S1 is output, and when the one given together with the key code KC is the contact signal of the second contact, the end signal S2 is output. This start signal
S1 and the end signal S2 are given to the storage unit 3 via the storage control unit 7 as a command signal and a read command signal, respectively, the signal S1 is given to the mode setting unit 9 as a drive command signal, and the signal S2 is a data signal. It is also given to the converter 10 as a drive command signal.
モード設定部9には、上記処理ポインタ5からの記憶部
3の減算処理を行っている番地を示す処理ポイントデー
タSPも与えられており、上記開始信号S1が与えられる時
には、その時の操作鍵のキーナンバが鍵カウンタ部6よ
り与えられており、処理ポイントデータSPがキーナンバ
以上の時はモードデータ「6」が出力され、逆にそれ未
満の時はモードデータ「7」が出力され、記憶制御部7
を介して基本サイクルカウンタ4からのその時のカウン
トデータDとともに記憶部3に書き込まれる。このよう
に「7」のセットを行う場合もあるのは、モードデータ
Mは基本サイクルカウンタ4の一周期32φごとに減算し
ていくようにしているが、処理ポイントデータSPがキー
ナンバ未満の時には、一周期たたないうちにすぐ処理ポ
イントデータSPがキーナンバに一致して減算されてしま
い、以後の減算処理が「1」速く進んでしまうのを防止
するためである。The mode setting unit 9 is also provided with processing point data SP indicating the address where the storage unit 3 is subtracting from the processing pointer 5, and when the start signal S1 is given, the operation key data When the key number is given from the key counter unit 6 and the processing point data SP is greater than or equal to the key number, the mode data “6” is output. Conversely, when the processing point data SP is less than the key number, the mode data “7” is output, and the storage control unit 7
It is written in the storage unit 3 together with the count data D at that time from the basic cycle counter 4 via. There is a case where "7" is set in this way, because the mode data M is subtracted every 32 cycles of the basic cycle counter 4, but when the processing point data SP is less than the key number, This is to prevent the processing point data SP from being immediately subtracted in agreement with the key number within one cycle, and the subsequent subtraction processing to proceed “1” faster.
記憶部3に書き込まれたモードデータMとカウントデー
タDは、処理ポインタ5からのデータを読出アドレスと
して読み出され、記憶制御部7を介してモード変更部11
に与えられて基本サイクルカウンタ4のカウント一周期
ごとに順次減算され、上記処理ポインタ5からのデータ
がそのまま書込アドレスとして書き込まれる。このモー
ド変更部11は、1回の減算処理ごとに処理ポインタ5に
インクリメント信号を出力して、記憶部3の次のデータ
Mの減算処理にはいっていく。The mode data M and the count data D written in the storage unit 3 are read by using the data from the processing pointer 5 as a read address, and the mode change unit 11 via the storage control unit 7.
The basic cycle counter 4 is sequentially subtracted for each cycle of the basic cycle counter 4, and the data from the processing pointer 5 is directly written as a write address. The mode changing unit 11 outputs an increment signal to the processing pointer 5 for each subtraction process to proceed to the subtraction process of the next data M in the storage unit 3.
上記データ変換部10は、終了信号S2の与えられる第2接
点オン時に駆動され、この時記憶部3より読み出される
モードデータM及びカウントデータDと、同じくこの時
の基本サイクルカウンタ4のカウントデータRCとに基づ
いてタッチデータを作成して出力する。The data conversion unit 10 is driven when the second contact point to which the end signal S2 is applied is turned on, and the mode data M and the count data D read from the storage unit 3 at this time and the count data RC of the basic cycle counter 4 at this time as well. Create and output touch data based on and.
モード変更部11の構成 モード変更部11は、上記基本サイクルカウンタ4のキャ
リ信号が減算処理のスタート信号として与えられ、上記
鍵カウンタ部6の88ステップ分のカウント処理後に出力
される全鍵終了信号がイネーブル信号Eとして与えら
れ、このイネーブル信号Eが与えられている間だけモー
ドデータMの減算処理を行っていく。上記全鍵終了信号
は鍵カウンタ部6自身にカウント停止信号として与えら
れており、次のクロック信号φの立上りで鍵カウント部
6のカウントが開始されると、モード変更部11にイネー
ブル信号Eが与えられなくなって減算処理が中断され
る。このため、第7図に示すように、クロック信号φの
一周期の前半において鍵カウンタ部6で88鍵分のキーナ
ンバカウント処理すなわち操作鍵に応じた記憶部3のデ
ータアクセス処理が行われ、クロック信号φの一周期の
後半においてモード変更部11で記憶部3のモードデータ
Mの減算処理が行われていく。この減算処理は88鍵分す
べて行うのに、ほぼ基本サイクルカウンタ4の一周期分
32φかかり、記憶部3のデータアクセス処理は記憶部3
の減算処理に比べかなり高速となっている。Configuration of Mode Change Unit 11 The mode change unit 11 receives the carry signal of the basic cycle counter 4 as the start signal of the subtraction process, and outputs the all-key end signal after the count process of 88 steps of the key counter unit 6. Is given as the enable signal E, and the subtraction process of the mode data M is performed only while the enable signal E is given. The all-key end signal is given to the key counter unit 6 itself as a count stop signal, and when the count of the key count unit 6 is started at the next rise of the clock signal φ, the enable signal E is sent to the mode changing unit 11. The subtraction process is interrupted because it is no longer given. Therefore, as shown in FIG. 7, in the first half of one cycle of the clock signal φ, the key counter unit 6 performs the key number count process for 88 keys, that is, the data access process of the storage unit 3 according to the operation key, In the latter half of one cycle of the clock signal φ, the mode changing unit 11 performs the subtraction process of the mode data M in the storage unit 3. This subtraction process is performed for all 88 keys, but for almost one cycle of the basic cycle counter 4.
It takes 32φ and the data access processing of the storage unit 3 is performed by the storage unit 3.
It is considerably faster than the subtraction process of.
第8図はモード変更部11の減算処理の内容を示すもの
で、図中左の旧データM、Dから真中の新データM、D
への減算処理は、基本サイクルカウンタ4の一周期32φ
ごとに行われ、最上段のモードデータ「7」から「6」
及び「6」から「5」への減算のみは後述の第6図に示
すように32φ以下となる。以下モードデータMの減算処
理内容を分説する。FIG. 8 shows the contents of the subtraction process of the mode changing unit 11, in which the old data M, D on the left side of the figure to the new data M, D in the middle are shown.
The subtraction process to
It is carried out every time, and the mode data from the top row "7" to "6"
And only the subtraction from "6" to "5" is 32φ or less as shown in FIG. 6 described later. The contents of the subtraction process of the mode data M will be described below.
各モードデータMが保持される時間は、「7/6」から
「2」になるに従って、2倍、4倍、8倍とふえるよう
になっている。The time for which each mode data M is held increases from 2 times, 4 times, and 8 times as it goes from “7/6” to “2”.
「7」:第6図に示すように「6」になるまで最大32φ
≒2.5msの時間がかかり、最大2.5msの時間保持されて
「6」に減算される。“7”: Up to 32φ until it becomes “6” as shown in FIG.
Approximately 2.5 ms is required, and the maximum 2.5 ms is retained and subtracted to "6".
「6」:「5」になるまで最大32φであるから、最大2.
5msの時間保持されて「5」に減算される。"6": Maximum 32φ until it becomes "5", so maximum 2.
It is held for 5ms and subtracted to "5".
「5」:「4」になるまで32φであるから、2.5msの時
間保持されて「4」に減算される。“5”: 32φ until reaching “4”, so it is held for 2.5 ms and subtracted to “4”.
「4」:「3」になるまで2周期64φであるから、5ms
の時間保持されて「3」に減算される。この場合カウン
トデータDの下1桁は、上記2周期のうち何周期目かを
示す周期データF(1周期目=0.2周期目=1)に置き
換えられる。"4": 5 cycles since 2 cycles are 64φ until it becomes "3"
Is held for a period of time and subtracted to "3". In this case, the last digit of the count data D is replaced with the cycle data F (1st cycle = 0.2 cycle = 1) which indicates which cycle of the above two cycles.
「3」:「2」になるまで4周期128φであるから、10m
sの時間保持されて「2」に減算される。この場合カウ
ントデータDの下2桁は、上記4周期のうち何周期目か
を示す周期データF(1周期目=00〜4周期目=11)に
置き換えられる。“3”: 4 cycles of 128φ until reaching “2”, so 10m
It is held for s time and subtracted to "2". In this case, the last two digits of the count data D are replaced with the cycle data F (1st cycle = 00 to 4th cycle = 11) indicating which cycle of the above 4 cycles.
「2」:「1」になるまで8周期256φであるから、20m
sの時間保持されて「1」に減算される。この場合カウ
ントデータDの下3桁は、上記8周期のうち何周期目か
を示す周期データF(1周期目=000〜8周期目=111)
に置き換えられる。"2": 20m because it is 8 cycles of 256φ until it becomes "1"
It is held for s time and subtracted to "1". In this case, the last 3 digits of the count data D are cycle data F (1st cycle = 000 to 8th cycle = 111) indicating which cycle of the above 8 cycles.
Is replaced by
「1」:これ以降減算はされないので、「1」のままず
っと保持される。"1": Since the subtraction is not performed thereafter, it is always held as "1".
このように、モードデータMの減算速度は1/2、1/4、1/
8と順次遅れていき、各モードデータMのとりうる時間
長は後述する第10図の下段に示されている。In this way, the subtraction speed of the mode data M is 1/2, 1/4, 1 /
The time length that each mode data M can take is shown in the lower part of FIG. 10 described later.
データ変換部10の構成 第9図はデータ変換部10のタッチデータTCDを求める変
換処理のための処理式(1)〜(13)を示し第10図はこ
の処理結果であるタッチデータTCDの値の一覧を示して
いる。第1接点オン時(S1時)から第2接点オン時(S2
時)までの時間は、大まかにはそのS1時〜S2時の基本サ
イクルカウンタ4のカウント周期数を示すモードデータ
MとカウントデータDの下位の周期数データFとで、第
10図点線で示すように段階づけられるが、さらに細かく
は、上記周波数の端数である第1接点オン時の基本サイ
クルカウンタ4のデータDと第2接点オン時の基本サイ
クルカウンタ4のRCとの差RC−Dで、第10図実線で示す
ように段階づけられることになる。第10図の2点鎖線
は、モードデータMだけで段階づけたタッチデータTCD
を示している。Configuration of Data Converter 10 FIG. 9 shows processing formulas (1) to (13) for the conversion processing for obtaining the touch data TCD of the data converter 10. FIG. 10 shows the value of the touch data TCD which is the result of this processing. Shows a list of. From the first contact on (S1) to the second contact on (S2
The time until the time) is roughly composed of the mode data M indicating the number of count cycles of the basic cycle counter 4 between S1 and S2 and the lower cycle number data F of the count data D.
Although it is stepped as shown by the dotted line in FIG. 10, more specifically, the data D of the basic cycle counter 4 when the first contact is on and the RC of the basic cycle counter 4 when the second contact is on, which is a fraction of the above frequency. With the difference RC-D, it will be graded as shown by the solid line in FIG. The chain double-dashed line in Fig. 10 is the touch data TCD that is graded by the mode data M only.
Is shown.
第10図は、図の左の縦軸を第1接点オン時(S1時)と
し、横軸の経過時間に沿って第2接点オン時(S2時)を
設定した位置におけるタッチデータ値が求める値とな
る。横軸のモードデータM値は「7/6」については、第
6図に示すように32φ=2.5msとは限らず、第10図の横
軸はキーコードKC値と処理ポイントデータSP値とが一致
した場合を示しており、両KC値SP値のちがいに応じて
「7/6」の部分の大きさを変えて横軸のみ横方向にずら
す必要がある。In Fig. 10, the vertical axis on the left side of the figure is the first contact on time (S1), and the touch data value at the position where the second contact is on (S2) is set along the elapsed time on the horizontal axis. It becomes a value. Regarding the mode data M value on the horizontal axis of "7/6", it is not limited to 32φ = 2.5 ms as shown in FIG. 6, and the horizontal axis of FIG. 10 shows the key code KC value and the processing point data SP value. Shows the case where they match, and it is necessary to change the size of the part of "7/6" according to the difference in both KC and SP values and shift only the horizontal axis in the horizontal direction.
以下第9図の各処理式(1)〜(13)に入って分説す
る。The processing equations (1) to (13) in FIG. 9 will be described below.
(1)L=RC−D:上述した周期数の端数である第1接点
オン時の基本サイクルカウンタ4のデータDと第2接点
オン時の基本サイクルカウンタ4のデータRCとの差RC−
Dそのままである。(1) L = RC-D: Difference RC between the data D of the basic cycle counter 4 when the first contact is on and the data RC of the basic cycle counter 4 when the second contact is on, which is a fraction of the above-mentioned cycle number
D is as it is.
(2)L=RC−D:上記(1)式と同じである。(2) L = RC-D: Same as the above formula (1).
(3)L=RC−D+32:この段階は処理ポイントデータS
P値>キーコードKC値、C=0となって、第6図上段に
示すように処理ポイントデータSP値が「88」から「0」
に戻って次のサイクルのカウント値になるので、1サイ
クル分の32を補正している。(3) L = RC-D + 32: At this stage, processing point data S
P value> key code KC value, C = 0, and the processing point data SP value changes from "88" to "0" as shown in the upper part of FIG.
Since the count value of the next cycle is returned to, the 32 for one cycle is corrected.
この(1)〜(3)式により、タッチデータTCN=f
(N、L)は{32×(N−2)+31}−L={32×(5
−2)+31}−L=127−Lとなり、タッチデータTCDの
最大値「127」より端数分「L」が減算されていく。From the equations (1) to (3), touch data TCN = f
(N, L) is {32 × (N−2) +31} −L = {32 × (5
-2) +31} -L = 127-L, and the fractional "L" is subtracted from the maximum value "127" of the touch data TCD.
(4)L=RC−D+32:上記(3)式と同じである。モ
ードデータM=6のときと同じ式となっているのは、第
6図上段A点に示すように、キーコードKC値が若く(同
図では「20」)、速くモード「5」に移行してしまうも
のと、キーコードKC値が大きく(同図では「80」)、い
まだモード「6」に停っているものとのタッチデータTC
D値を等しくするためである。これは以下に述べる
(5)と(6)、(8)と(9)、(11)と(12)の各
式について基本的である。(4) L = RC-D + 32: Same as the above expression (3). As shown in point A in the upper part of FIG. 6, the key code KC value is young (“20” in the figure), and the mode is the same as when mode data M = 6. Touch data TC that the key code KC value is large (“80” in the figure) and still in mode “6”.
This is to make the D values equal. This is fundamental for each of the formulas (5) and (6), (8) and (9), and (11) and (12) described below.
(5)L=RC/2−D/2+16:上記(3)(4)式を1/2に
した式となっている。これはモード「7/6」に比べモー
ド「5」では第10図に示すように減算速度が1/2となる
ためである。(5) L = RC / 2-D / 2 + 16: This is an expression obtained by halving the expressions (3) and (4). This is because the subtraction speed becomes half in mode "5" as shown in FIG. 10 compared to mode "7/6".
(6)L=RC/2−D+16+(16×F):上記(5)式に
対し、「D/2」が「D」となっているのは、モード
「4」では、5ビットのカウントデータD値を上位4ビ
ットだけ取り出して、1ビット下位にシフトした1/2の
値としているためである。(16×F)はタッチデータTC
D「32」値分を周期データF=0、1の二周期に分けて
「16」ずつ減算するための補正式である。(6) L = RC / 2−D + 16 + (16 × F): “D / 2” is “D” in the above formula (5) because the mode “4” has a 5-bit count. This is because only the upper 4 bits of the data D value are taken out and the value is shifted by 1 bit to the lower half. (16 × F) is touch data TC
This is a correction formula for dividing the value of D “32” into two cycles of the cycle data F = 0 and 1 and subtracting “16”.
(7)L=RC/2−D+16+16:上記(6)式とほぼ同じ
であり、周期データF=0の第一周期目であるため補正
値は「16」となっている。(7) L = RC / 2-D + 16 + 16: Almost the same as the equation (6), and the correction value is "16" because it is the first cycle of the cycle data F = 0.
(8)L=RC/4−D/2+8:上記(6)(7)式を1/2にた
式となっている。モード「4」の後半では、さらに減算
速度が1/2になるためである。(16×F)、16の補正値
がないのは、ここで新たな1/4の減算速度の減算がはじ
まるためである。(8) L = RC / 4-D / 2 + 8: Equation (6) and (7) are halved. This is because the subtraction speed is further halved in the latter half of the mode “4”. (16 × F), there is no correction value of 16 because the subtraction of the new 1/4 subtraction speed starts here.
(9)L=RC/4−D+8+(8×F):上記(8)式に
対し、「D/2」が「D」となっているのは、カウントデ
ータ値が下位にさらに1ビットシフトして3ビットの1/
2の値となっているためである。(8×F)はタッチデ
ータTCD「32」値分を周期データF=00、01、10、11の
四周期に分けて「8」ずつ減算するための補正式であ
る。(9) L = RC / 4-D + 8 + (8 × F): “D / 2” is “D” in the above equation (8) because the count data value is shifted further 1 bit to the lower order. And then 1 / three bits
This is because the value is 2. (8 × F) is a correction formula for dividing the touch data TCD “32” value into four periods of the period data F = 00, 01, 10, 11 and subtracting “8” by each.
(10)L=RC/4−D+8+{8×(F+1)}:上記
(9)式に対し、周期データFが+1されているのは、
C=1のキーコードKC値≦処理ポイントデータSP値に対
しC=0のキーコードKC値>処理ポイントの時は周期デ
ータFに一周期分の差が生じるからである。(10) L = RC / 4-D + 8 + {8 × (F + 1)}: The period data F is incremented by 1 in the above formula (9).
This is because when the key code KC value of C = 1.ltoreq.the processing point data SP value, the key code KC value of C = 0> the processing point, the cycle data F has a difference of one cycle.
(11)L=RC/8−D/2+4:上記(8)式を1/2にした式と
なっている。(8×F)、8×(F+1)の補正値がな
いのはモード「3」の最後の一周期では、さらに減算速
度が1/2になるためである。(11) L = RC / 8-D / 2 + 4: This is a formula obtained by halving the formula (8). The correction values of (8 × F) and 8 × (F + 1) do not exist because the subtraction speed is further halved in the last one cycle of the mode “3”.
(12)L=RC/8−D+4+(4×F):上記(11)式に
対し、「D/2」が「D」となっているのは、カウントデ
ータ値が下位にさらに1ビットシフトして2ビットの1/
2の値となっているためである。(4×F)はタッチデ
ータTCD「32」値分を周期データF=000、001、010、01
1、100、101、110、111の八周期に分けて「4」ずつ減
算するための補正式である。(12) L = RC / 8−D + 4 + (4 × F): “D / 2” is “D” in the above formula (11) because the count data value is shifted further 1 bit to the lower order. Then 1 of 2 bits
This is because the value is 2. (4 × F) is the cycle data F = 000, 001, 010, 01 for the touch data TCD “32” value.
It is a correction formula for subtracting “4” by dividing into eight cycles of 1, 100, 101, 110, 111.
(13)L=RC/8−D+4+{4×(F+1)}:上記
(12)式に対し、手記データFが+1されているのは、
C=1のキーコードKC値≦処理ポイントデータSP値に対
しC=0のキーコードKC値>処理ポイントの時は周期デ
ータFに一周期分の差が生じるからである。(13) L = RC / 8-D + 4 + {4 × (F + 1)}: The handwritten data F is incremented by 1 in the above expression (12).
This is because when the key code KC value of C = 1.ltoreq.the processing point data SP value, the key code KC value of C = 0> the processing point, the cycle data F has a difference of one cycle.
なお、第9図処理IIに示すように、端数データLが1周
期分の「32」を越えてしまう場合には、Lと「32」との
差を1/2にして、これを「L」として補正を行なうよう
にしている。As shown in the processing II of FIG. 9, when the fractional data L exceeds “32” for one cycle, the difference between L and “32” is halved and this is set to “L”. I am trying to correct it.
〈動作〉 タッチデータTCDの演算の概略 以上述べたタッチデータTCDの求め方を、第10図をもと
に要約すると以下のとうりとなる。<Operation> Outline of calculation of touch data TCD The method of obtaining touch data TCD described above can be summarized based on Fig. 10 as follows.
第10図において、タッチデータTCDは、第9図のf
(N、L)={32×(N−2)+31}−Lで求められる
が、タッチデータTCDの最高値は{32×(5−2)+3
1}=127(「1111111」)に設定されており、最初の第
1周期32φ時点で−32されて「95」となり、次の第2周
期64φ、第3周期94φ時点で夫々−16されて「79」「6
3」となり、さらに次の第4周期128φ〜第7周期224φ
時点で夫々−8されて「55」「47」「39」「31」とな
り、さらにまた次の第8周期256φ〜第15周期480φ時点
で夫々−4されて「27」「23」「19」「15」「11」
「7」「3」「0」となる。In FIG. 10, the touch data TCD is f in FIG.
(N, L) = {32 × (N−2) +31} −L, but the maximum value of touch data TCD is {32 × (5-2) +3.
1} = 127 (“1111111”), and is −32 at the first first cycle 32φ to become “95”, and is made −16 at the next second cycle 64φ and third cycle 94φ. "79""6"
3 ”, and the following 4th period 128φ to 7th period 224φ
At each time point, it is changed to -8 and becomes "55", "47", "39" and "31", and again at the time point from the eighth cycle of 256φ to the 15th cycle of 480φ, -4 is changed to "27", "23" and "19". "15""11"
It becomes "7""3""0".
このように、タッチデータTCDの減算速度は時間の経過
とともに、1/2、1/4、1/8となっている。In this way, the subtraction speed of the touch data TCD becomes 1/2, 1/4, and 1/8 with the passage of time.
これに応じて第10図の丸枠内に示すように、第1周期で
は32φで−32されるから、タッチデータTCDは1φで−
1されるが、第2、第3周期では64φで−32されるか
ら、2φで−1され、第4〜第7周期では128φで−32
されるから、4φで−1され、第8〜第15周期では256
φで−32されるから8φで−1されることになる。従っ
て、タッチデータTCDの押鍵速度に対する分解能は、押
鍵速度が遅く、第1接点オン時から第2接点オン時まで
の時間が長いほど低くなる。Correspondingly, as shown in the circle in Fig. 10, in the first cycle, 32φ is used for -32, so the touch data TCD is 1φ for -32.
However, in the 2nd and 3rd cycles, it is -32 in 64φ, so it is -1 in 2φ, and in the 4th to 7th cycles it is -32 in 128φ.
Therefore, it is decremented by 1 in 4φ and 256 in the 8th to 15th cycles.
Since φ is -32, 8φ is -1. Therefore, the resolution of the touch data TCD with respect to the key pressing speed becomes lower as the key pressing speed becomes slower and the time from the first contact on to the second contact on becomes longer.
これを、従来のように1φあたりタッチデータTCDを−
1する分解能で最後まで処理すると、第10図の従来例の
傾きで示すような特性の直線となり、タッチデータTCD
の最高値は「127」から一挙に「472」にはね上がること
になり、タッチデータTCDの桁数も7ビットから9ビッ
トに増大し、回路規模も大きなものとなってしまうが、
本発明ではそのようなことはなくなる。Touch data TCD per 1
When processed to the end with the resolution of 1, the straight line having the characteristic shown by the inclination of the conventional example in FIG.
The maximum value of will jump from "127" to "472" all at once, and the number of digits of touch data TCD will increase from 7 bits to 9 bits, but the circuit scale will also become large,
The present invention eliminates such a problem.
タッチデータTCDの演算の具体例 次に具体的にタッチデータTCDを求める演算処理につい
て述べる。Specific Example of Calculation of Touch Data TCD Next, a specific calculation process for calculating the touch data TCD will be described.
第11図は、タッチデータTCDを求める4つの具体例を示
すもので、いまキーコードKCが「0」「25」「50」の30
の鍵が操作されて基本サイクルカウンタ4の値が
「6」、処理ポインタ5の値が「30」の時に第1接点が
オンされたものとする。すると、キーコード「50」のみ
はキーコード値が処理ポインタ5の値「30」より大きい
ので、記憶部3の「50」番地にセットされるモードデー
タ夫々は「7」となり、他は「6」となる。カウントデ
ータDは基本サイクルカウンタ4の値が「6」なのです
べて「6」となる。そして処理ポインタ部5が「50」に
なると、モード変更部11に記憶部3の「50」番地のデー
タM、Dが読み出され、モードデータMが「7」から
「6」に変更される。FIG. 11 shows four specific examples for obtaining the touch data TCD. Now, the key code KC is "0""25""50" 30.
It is assumed that the first contact is turned on when the key is operated and the value of the basic cycle counter 4 is "6" and the value of the processing pointer 5 is "30". Then, since only the key code “50” has a key code value larger than the value “30” of the processing pointer 5, the mode data set at the address “50” of the storage unit 3 becomes “7”, and the others “6”. It will be. The count data D is all "6" because the value of the basic cycle counter 4 is "6". Then, when the processing pointer unit 5 becomes "50", the data M and D at the address "50" of the storage unit 3 are read to the mode changing unit 11, and the mode data M is changed from "7" to "6". .
次いで、次の周期にはいって、処理ポインタ5が「0」
「25」「50」になるごとに、記憶部3の「0」番地、
「25」番地、「50」番地のモードデータMが「5」に書
き変え減算されていき、以後、一周期ごとに記憶部3の
「0」、「25」「50」の各番地のデータが書き換え減算
されていく。Next, in the next cycle, the processing pointer 5 becomes "0".
Every time it becomes “25” or “50”, the address of “0” in the storage unit 3,
The mode data M at the addresses "25" and "50" are rewritten to "5" and subtracted, and thereafter, the data at the addresses "0", "25" and "50" in the storage unit 3 are cycle by cycle. Is rewritten and subtracted.
3周期目の基本サイクルカウンタ4の値が「10」、処理
ポインタ5の値が「20」の時に、キーコード「0」と
「50」の鍵の第2接点がオンされたものとする。この
時、記憶部3の「0」番地にはモードM「4」、カウン
トD「00110」がセットされ、「50」番地にはモードM
「5」、カウントD「6」がセットされている。これよ
り、タッチデータTCDを求めると、キーコード「0」の
鍵は第9図の(6)式、キーコード「50」の鍵は第9図
の(5)式に基いて求められ、両者とも端数データL=
18、N=4となり、タッチデータTCDは両者とも「10011
01(77)」となる。It is assumed that when the value of the basic cycle counter 4 of the third cycle is "10" and the value of the processing pointer 5 is "20", the second contacts of the keys of the key codes "0" and "50" are turned on. At this time, the mode M “4” and the count D “00110” are set in the address “0” of the storage unit 3, and the mode M is set in the address “50”.
"5" and count D "6" are set. From this, when the touch data TCD is obtained, the key with the key code “0” is obtained based on the equation (6) in FIG. 9 and the key with the key code “50” is obtained based on the equation (5) in FIG. 9. Both fractional data L =
18, N = 4, and both touch data TCDs are "10011
01 (77) ”.
こうして、第1接点オン時の設定データがちがっていて
も、第2接点オン時も同じタイミングであれば第9図の
Cの値に基き、同じタッチデータTCDが得られるように
なっている。Thus, even if the setting data when the first contact is on is different, the same touch data TCD can be obtained based on the value of C in FIG. 9 at the same timing when the second contact is on.
また、4周期目の基本サイクルカウンタ4の値が「3
0」、処理ポインタ5の値が「88」の時に、キーコード
「25」の鍵の第2接点がオンされたものとする。この
時、記憶部3の「25」番地にはモードM「4」、カウン
トD「00111」がセットされている。これより、タッチ
データTCDを求めると、キーコード「25」の鍵は第9図
の(6)式に基いて求められ、端数データL=8、N=
3となり、タッチデータTCDは「0111001(57)」とな
る。In addition, the value of the basic cycle counter 4 in the fourth cycle is "3.
It is assumed that the second contact of the key with the key code "25" is turned on when the value of the processing pointer 5 is "0" and "88". At this time, the mode M “4” and the count D “00111” are set in the address “25” of the storage unit 3. From this, when the touch data TCD is obtained, the key with the key code “25” is obtained based on the equation (6) in FIG. 9, and the fractional data L = 8, N =
3 and the touch data TCD becomes “0111001 (57)”.
この場合、第2接点が、もう少し後の基本サイクルカウ
ンタ4の値「6」、処理ポインタ5の値「10」の時にオ
ンされたものとすると、演算式は(8)式となり、端数
データL=8、N=3となり、タッチデータTCDは「011
0111(55)」となる。ここで基本サイクルカウンタ4の
値は「8」進んでいて、タッチデータの差はこの「8」
の1/4の「2」となっている。In this case, assuming that the second contact is turned on when the value of the basic cycle counter 4 is "6" and the value of the processing pointer 5 is "10", the arithmetic expression becomes the expression (8) and the fraction data L = 8, N = 3, and touch data TCD is "011
0111 (55) ”. Here, the value of the basic cycle counter 4 is advanced by "8", and the difference of the touch data is "8".
It is 1/4 of "2".
こうして、第1接点オンと第2接点オンの時間間隔に応
じたタッチデータTCDが得られることになる。In this way, the touch data TCD corresponding to the time interval between the first contact on and the second contact on can be obtained.
なお、モードデータMと周期数データFはひとまとめに
して4ビットのモードデータM(15〜0)としてもよい
が、分解能の低下に従ってカウントデータDの有効ビッ
トも小さくなり、その分空いたビットを周期数データF
のビットに当てれば、タッチデータTCDを得るのに必要
なデータM、Dのビット数が少なくて済むことになる。The mode data M and the number-of-cycles data F may be grouped into the 4-bit mode data M (15 to 0), but the effective bit of the count data D becomes smaller as the resolution is lowered, and the vacant bits are correspondingly empty. Period number data F
If it is applied to the bit of, the number of bits of the data M and D required to obtain the touch data TCD can be reduced.
また、タッチデータTCDを求める式は上記f(N、L)
={32×(N−2)+31}−Lの演算式とは限らず、例
えばf(N、L)={32×(N−2)+31}+(32−
L)とし、Nの値を第9図の値に対し−1ずつして、加
算式に見えるような式としてもよく要は第9図のよう
に、時間の経過とともにタッチデータTCDの値が下がる
とともにその分解能が下がれば、どのような演算形態を
とってもよい。In addition, the formula for calculating the touch data TCD is f (N, L) above.
= (32 × (N−2) +31} −L not limited to the arithmetic expression, for example, f (N, L) = {32 × (N−2) +31} + (32−
L) and the value of N is incremented by -1 with respect to the value of FIG. 9 to make it look like an addition formula. In short, as shown in FIG. 9, the value of the touch data TCD changes with time. Any calculation form may be used as long as the resolution decreases as the resolution decreases.
さらに、本発明は電子鍵盤楽器以外の電子弦楽器等に適
用可能であり、上記実施例に何ら限定されるものではな
い。Furthermore, the present invention is applicable to electronic string instruments other than the electronic keyboard instrument, and is not limited to the above embodiments.
[発明の効果] この発明は以上詳細に説明したように、2つの接点のず
れを計測可能な最長時間より小さいカウント周期のカウ
ンタにてカウントし、第1接点オン時と第2接点オン時
のカウント値をカウントするとともに、第1接点オン時
に記憶された所定値をこのカウンタのカウント周期経過
に同期して変更し、この変更された所定値に対応した演
算形態で、第1及び第2接点オン時に記憶されたカウン
ト値に基づいてタッチデータを演算生成するように構成
したから、自然楽器のように押鍵速度に対して非直線的
に変化するタッチデータの生成が可能になり、しかもそ
のために、押鍵開始時から終了時まで連続的に一定方向
にカウントするためのビット数の大きなカウンタを必要
としない、という利点を有する。[Effects of the Invention] As described in detail above, according to the present invention, the deviation of two contacts is counted by a counter having a count cycle smaller than the maximum measurable time, and when the first contact is on and the second contact is on. While counting the count value, the predetermined value stored when the first contact is turned on is changed in synchronization with the passage of the count cycle of the counter, and the first and second contacts are changed in an arithmetic form corresponding to the changed predetermined value. Since the touch data is configured to be calculated and generated based on the count value stored when it is turned on, it is possible to generate touch data that changes non-linearly with respect to the key pressing speed like a natural musical instrument. In addition, there is an advantage that a counter having a large number of bits for continuously counting in a fixed direction from the start of key depression to the end thereof is not required.
図面は本発明の一実施例を示し、第1図はタッチレスポ
ンス装置の全体回路図、第2図は制御・演算部2の回路
図、第3図は記憶部3の1つの番地に記憶される所定値
(モードデータ)MとカウントデータDのデータ構成
図、第4図及び第5図は基本サイクルカウンタ4及び処
理ポインタ5の構成図、第6図は第1接点オンのタイミ
ングと設定モードデータMとの関係を示す図、第7図は
88鍵分のデータアクセス処理(キー処理)と減算処理の
タイムチャートの図、第8図はモード変更部11における
減算処理の内容を示す図、第9図はデータ変換部10にお
ける演算処理の内容を示す図、第10図はタッチデータTC
Dの一覧を示す図、第11図はタッチデータTCDを具体的に
求める一例を示す図である。 1……鍵状態処理装置、2……制御・演算部、3……記
憶部、4……基本サイクルカウンタ、5……処理ポイン
タ、6……鍵カウンタ部、9……モード設定部、10……
データ変換部、11……モード変更部。FIG. 1 shows an embodiment of the present invention, FIG. 1 is an overall circuit diagram of a touch response device, FIG. 2 is a circuit diagram of a control / arithmetic unit 2, and FIG. 3 is stored in one address of a storage unit 3. Data structure diagram of predetermined value (mode data) M and count data D, FIGS. 4 and 5 are configuration diagrams of basic cycle counter 4 and processing pointer 5, and FIG. 6 is timing and setting mode of first contact ON FIG. 7 shows the relationship with the data M, and FIG.
FIG. 8 is a time chart of data access processing (key processing) for 88 keys and subtraction processing, FIG. 8 is a diagram showing the content of subtraction processing in the mode change unit 11, and FIG. 9 is content of arithmetic processing in the data conversion unit 10. Fig. 10 shows touch data TC
FIG. 11 is a diagram showing a list of D, and FIG. 11 is a diagram showing an example of specifically obtaining the touch data TCD. 1 ... Key state processing device, 2 ... Control / arithmetic unit, 3 ... Storage unit, 4 ... Basic cycle counter, 5 ... Processing pointer, 6 ... Key counter unit, 9 ... Mode setting unit, 10 ......
Data converter, 11 ... Mode changer.
Claims (1)
て動作する少なくとも第1及び第2の接点と、 この第1及び第2の接点の動作時間のずれを計測可能な
最長時間より小さな周期で、かつ一定速度でカウントを
行うカウント手段と、 上記第1の接点の動作に応答して演算形態を示す所定値
及び上記カウント手段のその時のカウント情報を記憶す
る記憶手段と、 上記カウント手段のカウント情報が所定の値になる毎に
カウントを行い、かつこのカウント値が上記記憶手段の
所定値に対応した値になると、この所定値を変更する変
更手段と、 上記第2の接点の動作に応答して上記カウント手段のそ
の時のカウント情報を読取る読取り手段と、 複数の異なる演算形態で演算可能に構成され、この読取
り手段で読取られたカウント情報と上記記憶手段に記憶
されているカウント情報に基づき、上記記憶手段に記憶
されている所定値に対応する演算形態で演算してタッチ
データを出力する演算手段と、 を有することを特徴とするタッチレスポンス装置。1. At least a first and a second contact, which are sequentially operated with a time lag due to the operation of one operator, and a difference between the operating times of the first and the second contacts, which is smaller than the maximum measurable time. Counting means that counts at a constant speed at a cycle; storage means that stores a predetermined value indicating a calculation form and count information of the counting means at that time in response to the operation of the first contact; and the counting means. The count information is counted every time the count information reaches a predetermined value, and when the count value reaches a value corresponding to the predetermined value in the storage means, the changing means changes the predetermined value and the operation of the second contact. In response to the reading means for reading the count information at that time of the counting means, and the count information read by the reading means and the count information read by the reading means. A touch response device comprising: an arithmetic unit that performs an arithmetic operation on the basis of count information stored in the storage unit and outputs touch data by performing an arithmetic operation corresponding to a predetermined value stored in the storage unit. .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61253486A JPH0740189B2 (en) | 1986-10-24 | 1986-10-24 | Touch response device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61253486A JPH0740189B2 (en) | 1986-10-24 | 1986-10-24 | Touch response device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63106796A JPS63106796A (en) | 1988-05-11 |
| JPH0740189B2 true JPH0740189B2 (en) | 1995-05-01 |
Family
ID=17252051
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61253486A Expired - Lifetime JPH0740189B2 (en) | 1986-10-24 | 1986-10-24 | Touch response device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0740189B2 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5843757A (en) * | 1981-09-08 | 1983-03-14 | T Hasegawa Co Ltd | Vanilla flavor and its manufacturing method |
| JPS59838A (en) * | 1982-06-26 | 1984-01-06 | Toshiba Corp | Focus ion beam device |
| JPS59232396A (en) * | 1983-06-16 | 1984-12-27 | ヤマハ株式会社 | Touch response device for electronic musical apparatus |
-
1986
- 1986-10-24 JP JP61253486A patent/JPH0740189B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63106796A (en) | 1988-05-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2571911B2 (en) | Music signal generator | |
| JPH0760310B2 (en) | Touch control device | |
| JP2764961B2 (en) | Electronic musical instrument | |
| US5117727A (en) | Tone pitch changing device for selecting and storing groups of pitches based on their temperament | |
| US4267586A (en) | Electrophonic musical instrument | |
| JP2785531B2 (en) | Electronic musical instrument | |
| JPH0740189B2 (en) | Touch response device | |
| US5585586A (en) | Tempo setting apparatus and parameter setting apparatus for electronic musical instrument | |
| JPS6114518B2 (en) | ||
| JPH01319793A (en) | Interruption processing control part for play information processor | |
| JPH0722716Y2 (en) | Touch response device | |
| US5060179A (en) | Mathematical function-generating device for electronic musical instruments | |
| JPS6330638B2 (en) | ||
| JPS6340318B2 (en) | ||
| US4498364A (en) | Electronic musical instrument | |
| JP2576615B2 (en) | Processing equipment | |
| JPH0210556Y2 (en) | ||
| JP2707885B2 (en) | Bit number converter | |
| JP2736550B2 (en) | Electronic musical instrument interpolation circuit | |
| JPS6336394Y2 (en) | ||
| JPS63271498A (en) | touch response device | |
| JPS5842477B2 (en) | electronic musical instruments | |
| JPS6212518B2 (en) | ||
| JPS60191297A (en) | Channel alloter for electronic musical instrument | |
| US4936179A (en) | Electronic musical instrument |