JPS6371898A - Key assigner for electronic musical instrument - Google Patents

Key assigner for electronic musical instrument

Info

Publication number
JPS6371898A
JPS6371898A JP61216105A JP21610586A JPS6371898A JP S6371898 A JPS6371898 A JP S6371898A JP 61216105 A JP61216105 A JP 61216105A JP 21610586 A JP21610586 A JP 21610586A JP S6371898 A JPS6371898 A JP S6371898A
Authority
JP
Japan
Prior art keywords
key
contact
processing means
sound
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP61216105A
Other languages
Japanese (ja)
Other versions
JPH0719149B2 (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.)
Kawai Musical Instrument Manufacturing Co Ltd
Original Assignee
Kawai Musical Instrument Manufacturing 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 Kawai Musical Instrument Manufacturing Co Ltd filed Critical Kawai Musical Instrument Manufacturing Co Ltd
Priority to JP61216105A priority Critical patent/JPH0719149B2/en
Publication of JPS6371898A publication Critical patent/JPS6371898A/en
Publication of JPH0719149B2 publication Critical patent/JPH0719149B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Abstract] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は電子楽器のキー開閉器走査状況を電子的に走査
し情報を得て、楽音発生器を制御する電子楽器のキーア
サイナに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a key assigner for an electronic musical instrument that electronically scans the scanning status of the key switch of the electronic musical instrument to obtain information and control a musical tone generator.

キーアサイナがキー開閉器の操作状況を知って発音処理
手段を動作させたとき、キー開閉器における接点構造と
して、第1・第2接点を有し、第1接点より時間的に遅
れて操作される第2接点の操作がなされたことを検出し
てから、発音処理をしていた。そのため各接点の出力信
号により発音される手段を各別に有する構成として、2
種類の発音処理を相次いで行ったとき、極めてゆっ(り
う押鍵されると不自然な楽音となって、演奏者に不評で
あった。その改善策が要望されている。
When the key assigner knows the operation status of the key switch and operates the sound processing means, the key switch has a first and second contact structure as a contact structure, and is operated with a time delay from the first contact. After detecting that the second contact was operated, the sound generation process was performed. Therefore, two methods are adopted in which each contact has its own means for generating sound based on the output signal of each contact.
When different types of pronunciation processing were performed one after another, when the keys were pressed extremely slowly, the musical tones produced an unnatural sound, which was unpopular with performers. Improvements to this problem are desired.

〔従来の技術〕[Conventional technology]

電子楽器特に電子鍵盤楽器では、演奏者が押鍵したとき
の速さを検出し、音色に「タッチレスポンス」効果を加
えることが多くなった。この押鍵速度検出のためキー開
閉器には、通常第12図または第13図に示す接点構造
を採用している。即ち1つの鍵に第1接点と、第2接点
2とを有し、2つの接点間を鍵3が移動する時間から押
鍵速度を検出していた。この構成は圧電素子や光学的方
式を用いたものと比較し、均一に製造することができ安
価である。第12図において、共通ライン4に高速パル
スを印加しておく、第1接点出力端子5には、常時正電
圧Vccを与えてあり、第1接点1は常時は閉じている
ので、端子5の信号は正電圧VCCと零電圧との間をパ
ルス状に高速に繰り返している。第2接点出力端子6は
正電圧VCCの値に一定である。キー3が押されたとき
棹7が押されて第1接点1を開き、間もなく第2接点を
閉じる。第2接点出力端子6の電位はその後にパルス状
の繰り返しを行うため、押鍵速度は第1接点出力端子5
のパルス状変化が停止してから、第2接点出力端子6が
パルス状の変化を始めるまでのパルス数に反比例する。
In electronic musical instruments, especially electronic keyboard instruments, the speed with which a performer presses a key is often detected and a "touch response" effect is often added to the tone. In order to detect this key pressing speed, a key switch usually employs a contact structure shown in FIG. 12 or 13. That is, one key has a first contact point and a second contact point 2, and the key pressing speed is detected from the time it takes for the key 3 to move between the two contact points. This structure can be manufactured uniformly and is inexpensive compared to those using piezoelectric elements or optical methods. In FIG. 12, a positive voltage Vcc is always applied to the first contact output terminal 5 to which a high-speed pulse is applied to the common line 4, and since the first contact 1 is normally closed, the terminal 5 The signal repeats pulse-like cycles between the positive voltage VCC and zero voltage at high speed. The second contact output terminal 6 is constant at the value of the positive voltage VCC. When the key 3 is pressed, the rod 7 is pressed, opening the first contact 1 and shortly closing the second contact. Since the potential of the second contact output terminal 6 is then repeated in a pulsed manner, the key pressing speed is the same as that of the first contact output terminal 5.
It is inversely proportional to the number of pulses from when the pulse-like change of 2 stops until the second contact output terminal 6 starts a pulse-like change.

第13図では冠状の上蓋8と、接点台9とが対向してい
る。第13図Bに示すように第1接点の接触面la、第
2接点の接触面2aが円環状をなしている。第13図C
に示すように接点台9の接触面では第1接点にlb、l
cが、第2接点に2b、2cが在る。キー3を押下げた
とき上蓋8が押下げられ、まず第1接点1aと1bが閉
じるから、第1接点出力端子5からパルス状変化のある
信号が得られる。第2接点は直流出力で変化がない0次
に第2接点が閉じたとき、端子6からパルス状変化のあ
る信号が得られ、端子5は相変わらず変化のある信号が
得られる。そのため端子5゜6間でパルス状変化の開始
時の間隔を訓べ、その間に生じたパルス数に反比例する
値が押鍵速度となる。
In FIG. 13, the crown-shaped upper cover 8 and the contact base 9 are facing each other. As shown in FIG. 13B, the contact surface la of the first contact and the contact surface 2a of the second contact have an annular shape. Figure 13C
As shown in the figure, on the contact surface of the contact base 9, the first contact
c, 2b and 2c are at the second contact point. When the key 3 is pressed down, the top cover 8 is pressed down and first contacts 1a and 1b are closed, so that a signal with pulse-like changes is obtained from the first contact output terminal 5. The second contact is a DC output with no change. When the second contact is closed, a signal with a pulse-like change is obtained from the terminal 6, and a signal with a change is still obtained from the terminal 5. Therefore, the interval between the terminals 5 and 6 at the start of the pulse-like change is determined, and the value inversely proportional to the number of pulses generated during that time is the key pressing speed.

したがって第12図・第13図に示す接点構造によりパ
ルス数を計測して、タッチレスポンス効実用信号として
いる。
Therefore, the number of pulses is measured using the contact structure shown in FIGS. 12 and 13, and is used as a touch response effectiveness signal.

押鍵が開始され、第1接点1が開または閉となった以降
第2接点2が閉じるまでの時間について調べた所、第1
4図に示すように1m秒乃至20m秒という極めて大き
な違いがあり、6〜12m秒の値となる場合の多いこと
が判った。第14図は棒グラフ状に示しであるが、その
中間値も存在する。第15図は前記所要時間の逆数とし
て押鍵速度を求めた例を示している。最高速度は1m秒
で得られ、最低速度は20m秒で得られる。押鍵速度の
例は1m秒に対し7Fll(Hは16進数の表示である
ことを表す)、20m秒以上はOo。
When we investigated the time from when the key press starts and the first contact 1 opens or closes until the second contact 2 closes, we found that the first
As shown in Figure 4, it was found that there was an extremely large difference between 1 msec and 20 msec, and the value was often between 6 and 12 msec. Although FIG. 14 is shown in the form of a bar graph, intermediate values also exist. FIG. 15 shows an example in which the key pressing speed is determined as the reciprocal of the required time. The highest speed is obtained in 1 msec and the lowest speed is obtained in 20 msec. An example of key pressing speed is 7Fll for 1 ms (H indicates hexadecimal notation), and Oo for 20 ms or more.

である。It is.

そしてハモンドオルガンで代表されるようなタッチレス
ポンス効果の必要のないティビア・ドローバ音などに対
しては、第1接点出力信号により直ぐ発音処理を開始さ
せ、ピアノ音のようにタッチレスポンス効果の必要のあ
る音に対しては第2接点出力信号により発音処理を行う
ことが検討された。
For tibia and drawbar sounds that do not require a touch response effect, such as those produced by a Hammond organ, the first contact output signal immediately starts the sound generation process, and for sounds that do not require a touch response effect, such as piano sounds. Consideration has been given to performing sound generation processing on a certain sound using a second contact output signal.

[発明が解決しようとする問題点コ 発音処理手段を2組具備し押鍵の時間経過に伴い、両者
が各別に発音を開始したとき、音の立上りに時間差が生
じた。その時間差が大きくなるとき例えばゆっくりとし
た押鍵のとき、演奏者に不快窓を与えるようになる。演
奏者が故意に第1接点と第2接点の間じ押鍵を中断すれ
ば、タッチレスポンス効果のついたピアノ音は発生でき
ない。
[Problems to be Solved by the Invention] Two sets of sound generation processing means are provided, and when the two sets of sound generation processing means start producing sounds separately as time elapses during key presses, a time difference occurs in the rise of the sound. When the time difference becomes large, for example when keys are pressed slowly, a window of discomfort is created for the performer. If the performer intentionally interrupts the key press between the first contact point and the second contact point, a piano sound with a touch response effect cannot be generated.

本発明の目的は前述の欠点を改善し、不自然な押鍵のさ
れたときも、発音処理手段の動作を出来るだけ自然な状
態で開始できるような電子楽器のキーアサイナを提供す
ることにある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a key assigner for an electronic musical instrument that can improve the above-mentioned drawbacks and can start the operation of a sound generation processing means as naturally as possible even when an unnatural key is pressed.

[問題点を解決するための手段] 第1図は本発明の原理構成を示すブロック図である。第
1図において、10はキー開閉器、11は第1接点、1
2は第2接点、13は切換開閉器、20はキーアサイナ
、21は第1発音処理手段、31は第2発音処理手段を
示すや 1鍵当たり第1・第2接点を有するキー開閉器
10に対し走査を行って、鍵の開閉情報を得る電子楽器
のキーアサイナにおいて、本発明は下記の構成としてい
る。
[Means for Solving the Problems] FIG. 1 is a block diagram showing the basic configuration of the present invention. In FIG. 1, 10 is a key switch, 11 is a first contact, 1
2 is a second contact, 13 is a switching switch, 20 is a key assigner, 21 is a first sound processing means, and 31 is a second sound processing means.The key switch 10 has first and second contacts per key. In contrast, the present invention has the following configuration in a key assigner for an electronic musical instrument that performs scanning to obtain key opening/closing information.

即ちキー開閉器10の接点は、第1接点11が開または
閉となったときの出力信号に続いて、第2接点12が閉
となったときの出力信号が得られる接点構造となってい
る。切換開閉農工3の接続は、通常は第1発音処理手段
21には第1接点の出力信号が印加され、第2発音処理
手段31には第2接点の出力信号が印加されるようにす
る。切換開閉器13の接続が変わると第1・第2発音処
理手段21・31に対し第2接点の出力信号のみが印加
される。
That is, the contacts of the key switch 10 have a contact structure that provides an output signal when the first contact 11 is opened or closed, followed by an output signal when the second contact 12 is closed. . The switching switch 3 is normally connected such that the output signal of the first contact is applied to the first sound processing means 21, and the output signal of the second contact is applied to the second sound processing means 31. When the connection of the switching switch 13 is changed, only the output signal of the second contact is applied to the first and second sound generation processing means 21 and 31.

[作用] 切換開閉器13を実線の位置としたとき、押鍵されたキ
ー開閉器10の開閉情報のうち第1接点11の出力信号
は第1発音処理手段21に印加され、例えばティビア・
ドローバ音のようにタッチレスポンスの不要な楽音を発
生させる。また第2接点12の出力信号は第2発音処理
手段31に印加されるから、第1発音処理手段21とは
異なる音色の楽音(例えばタッチレスポンスのついたピ
アノ音)を独立に発生させることができる。ティビア・
ドローバ音とピアノ音の両者を発生させるときは、切換
開閉器13を破線の位置に切換えて押鍵する。そのとき
は第1接点11の出力信号によっては何れの発音処理手
段も動作せず、第2接点12の出力信号が得られたとき
に両発音処理手段21.31が同時に発音して前記の両
方者を発生させる。
[Function] When the switching switch 13 is set to the solid line position, the output signal of the first contact 11 of the opening/closing information of the pressed key switch 10 is applied to the first sound processing means 21.
Generates a musical sound that does not require a touch response, such as a drawbar sound. Furthermore, since the output signal of the second contact 12 is applied to the second sound generation processing means 31, it is possible to independently generate a musical tone with a tone different from that of the first sound generation processing means 21 (for example, a piano sound with a touch response). can. Tibia
When generating both the drawbar sound and the piano sound, the switch 13 is switched to the position indicated by the broken line and the key is pressed. At that time, neither of the sound generation processing means operates depending on the output signal of the first contact 11, and when the output signal of the second contact 12 is obtained, both the sound generation processing means 21 and 31 simultaneously generate sound, and both of the above-mentioned to generate people.

[実施例] 第2図は本発明の実施例の構成を示すブロック図である
。第2図は切換開閉器13をソフトウェアで実現した場
合を示している。したがってハードウェアで切換開閉器
13を構成して良いことは勿論である。
[Embodiment] FIG. 2 is a block diagram showing the configuration of an embodiment of the present invention. FIG. 2 shows a case where the switching switch 13 is realized by software. Therefore, it goes without saying that the switching switch 13 may be configured by hardware.

第2図のキーアサイナ20において、30はマイクロプ
ロセッサ、23.33はメモリ類で旧キーデータメモリ
、新キーデータメモリ、イニシャル・タッチデータメモ
リをまとめて示す。24゜34はアサインメントメモリ
、25.35は押鍵順番メモリ、26.36はカウンタ
類で区域カウンタ・優先順番カウンタ・キー走査カウン
タ・ビットカウンタをまとめて示す。27は第1楽音発
生器、37は第2楽音発生器、28はXTV系列のアサ
インメントメモリ、38はTVI、TV2系列のアサイ
ンメントメモリを示す。マイクロプロセッサ30は処理
を始めるとき、楽音発生器におけるアサインメントメモ
リ28.38の動作状況を調べ、楽音発生に要求される
状態を知って、発音処理手段を個別に動作させるか、ま
たは両者同時に動作させるかを区別して動作に入ること
が概略の説明である。
In the key assigner 20 shown in FIG. 2, 30 is a microprocessor, and 23 and 33 are memories, which collectively represent an old key data memory, a new key data memory, and an initial touch data memory. 24.34 is an assignment memory, 25.35 is a key press order memory, and 26.36 are counters, including an area counter, a priority order counter, a key scan counter, and a bit counter. 27 is a first musical tone generator, 37 is a second musical tone generator, 28 is an assignment memory for the XTV series, and 38 is an assignment memory for the TVI and TV2 series. When starting processing, the microprocessor 30 checks the operating status of the assignment memory 28, 38 in the musical tone generator, learns the conditions required for musical tone generation, and operates the sound generation processing means individually or both simultaneously. The general explanation is to distinguish between the two types of operations and to start the operation.

次に前記動作の主ルーチンを第3図により説明する。第
3図において、開始後キーアサイナと楽音発生器に対し
所定の初朋設定を処理(11(2)により行う。次に処
理(3)によりキー開閉器の走査を始め、処理(4)に
おいて変化のあったキー開閉情報に関連する音色データ
を楽音発生器に送る。条件分岐(5)において楽音発生
器内の押鍵指示のため、切換開閉器のコントロール信号
が実線側(個別発音)か点線側(同時発音)かを調べる
。個別発音側の場合は処理(6)においてキーアサイナ
(11即ち第1発音処理手段21が動作し、処理(7)
により結果が格納されているアサインメントメモリ24
の変化データを楽音発生器27へ送り、またキーアサイ
ナ(2)即ち第2発音処理手段31が動作し、処理(9
)により結果が格納されているアサインメントメモリ3
4の変化データを楽音発生器37へ送る。条件分岐(5
)において同時発音側であったときは、処理(10)に
よりキーアサイナ(2)即ち第2発音処理手段22が動
作する。アサインメントメモリ34の変化データをTV
I、TV2系列の楽音発生器37へ送ると同時にXTV
系列の楽音発生器27へも送ることを処理(11) (
12)で行う。以上の処理が終わると主ルーチンが−通
り終わったため、ループを描いて処理(3)から繰り返
す。
Next, the main routine of the above operation will be explained with reference to FIG. In FIG. 3, after the start, predetermined initial settings for the key assigner and musical tone generator are performed in process (11(2)).Next, in process (3), scanning of the key switch is started, and in process (4), changes are made. Sends the tone data related to the key opening/closing information to the musical tone generator.In conditional branch (5), in order to instruct the musical tone generator to press a key, the control signal of the switching switch is either on the solid line side (individual sounding) or the dotted line. In the case of individual sound generation, the key assigner (11, that is, the first sound processing means 21 operates in step (6)), and in step (7)
Assignment memory 24 in which results are stored
The change data of is sent to the tone generator 27, and the key assigner (2), that is, the second sound generation processing means 31 operates, and the processing (9) is performed.
) Assignment memory 3 where the results are stored
4 is sent to the tone generator 37. Conditional branch (5
), when it is the simultaneous sound generation side, the key assigner (2), that is, the second sound generation processing means 22 operates in step (10). Change data of assignment memory 34 on TV
I, XTV at the same time as sending to the musical tone generator 37 of the TV2 series.
Process (11) to also send to the series musical tone generator 27 (
12). When the above processing is completed, the main routine is completed, so a loop is drawn and the processing is repeated from step (3).

次に楽音発生器27.37のアサインメントメモリ28
.38について説明する。第4図に示すように48個の
ノートレジスタ(NR)で構成する。第4図Aに示すT
VI、TV2系列は同様なアドレスに同じ情報を割当て
、タッチレスポンスを必要とする第2発音処理手段の側
に属する。そして第4図Bに示すX T、V系列はタッ
チレスポンスを不要とする第1発音処理手段の側に属す
る。
Next, the assignment memory 28 of the musical tone generator 27.37
.. 38 will be explained. As shown in FIG. 4, it consists of 48 note registers (NR). T shown in Figure 4A
The VI and TV2 series allocate the same information to similar addresses and belong to the second sound generation processing means that requires a touch response. The XT, V series shown in FIG. 4B belongs to the first sound generation processing means that does not require a touch response.

各ノートレジスタにはキーのオン/オフ・キ一番号・押
鍵速度・区域などを格納する。キーのオン/オフとは、
′0”でオフ、@11でオンとする。
Each note register stores key on/off, key number, key pressing speed, area, etc. What is key on/off?
'0' turns it off, @11 turns it on.

キ一番号は7ビツトで構成され、C0のときは00.1
.C+ のときはOCRというように1オクターブで1
2ずつ値が多くなる。押鍵速度は押鍵時のイニシャル・
タッチデータが格納され、6ビツトを使用する0区域と
鍵盤毎につけられた値であり、ソロ鍵盤を00i(mは
2遊杆号の意味)。
The key number consists of 7 bits, and when it is C0, it is 00.1.
.. For C+, one octave is 1, like OCR.
The value increases by 2. The key pressing speed is the initial key pressing speed.
Touch data is stored in the 0 area, which uses 6 bits, and a value assigned to each key.The solo keyboard is 00i (m stands for 2 game keys).

上鍵盤をOls、下鍵盤を10++、ペダル鍵盤を11
mとしている。
Ols on the upper keyboard, 10++ on the lower keyboard, 11 on the pedal keyboard
m.

楽音発生器における音色データは第5図に示すように格
納されている。第5図ムは第2発音処理手段側、同図B
は第1発音処理手段側に在る。第5図AのTVI系列に
おいてNROO〜NROBは上1/下鍵合わせて12チ
ヤネルの後押し優先方式であり、ピアノやハープシコー
ド等のプリセット・バーカンシラン音を発音するため使
用する。NROCとNRODは足付2チャネルの後押し
優先方式であり、エレクトリックベースなどのパーカッ
ション系ベース音を発音するため使用する。NROEと
NRIEは2DCOを構成しており、1つのソロ音を発
生させるのに2つのノートレジスタを使用している。N
ROFとNRIFは前述のように2QCOを構成してい
る。
Tone color data in the musical tone generator is stored as shown in FIG. Figure 5 shows the second sound processing means side, Figure B
is located on the first sound processing means side. In the TVI series shown in FIG. 5A, NROO to NROB are boost priority systems for a total of 12 channels of upper/lower keys, and are used to generate preset verkancilan sounds such as piano and harpsichord. NROC and NROD are two-channel boost priority systems, and are used to generate percussion bass sounds such as electric bass. NROE and NRIE constitute a 2DCO, and two note registers are used to generate one solo sound. N
ROF and NRIF constitute 2QCO as described above.

TV2系列のNRIO〜NRIBはTVI系列と同様に
上付・下鍵合わせて12チヤネルの後押し優先方式であ
り、ストリンゲス、リードのオーケストラ音を発音する
ため使用する。NRIC−NR1[)は足付2チャネル
後押し優先方式であり、オーケストラ系のベース音を発
音するため使用する。
Like the TVI series, the TV2 series' NRIO to NRIB are boost priority systems with a total of 12 channels of upper and lower keys, and are used to produce string and lead orchestral sounds. NRIC-NR1 [) is a 2-channel boost priority system, and is used to generate orchestral bass sounds.

、X T V系列のNR2O〜NR2Bは上付・下鍵合
わせて12チヤネルの後押し優先方式であり、ティビイ
ア・ドローバ音を発音するため使用する。なおこの例で
はNR2B−NR2Fは使用していない。
, NR2O to NR2B of the XTV series are boost priority systems with a total of 12 channels of upper and lower keys, and are used to produce tibia drawba sounds. Note that NR2B-NR2F are not used in this example.

次にマイクロプロセッサ30が管理するアサインメント
メモリ24.34を第6図に示す。第6図Aは第2接点
SW2によって得た情報で割当てを行ったものであり、
タッチスピードデータも有効である。このアサインメン
トメモリの内容は第3図のNROO〜NPIFの32個
のノートレジスタへ転送され、タッチレスポンス効果を
有する音を発生する。第6図Bは第1接点SWIによっ
て得られた情報で割当てを行ったものである。タッチス
ピードデータはマイクロプロセッサが適当な音量で発音
できる値をデフォルトデータとして、第6図Bのアサイ
ンメントメモリのCHO−CIl Dの「押鍵速度」の
(資)へ書込む、第6図に示すこのアサインメントメモ
リの内容は個別発音の場合、第4図のNR2O〜NR2
Dの14個のノートレジスタへ転送される。
Next, FIG. 6 shows the assignment memory 24, 34 managed by the microprocessor 30. FIG. 6A shows the assignment made using the information obtained by the second contact SW2,
Touch speed data is also useful. The contents of this assignment memory are transferred to the 32 note registers NROO to NPIF in FIG. 3 to generate a sound having a touch response effect. FIG. 6B shows the assignment made using the information obtained by the first contact SWI. The touch speed data is written to the "Key press speed" field of CHO-CIl D in the assignment memory shown in Fig. 6B, with the value that allows the microprocessor to produce sound at an appropriate volume as default data. The contents of this assignment memory shown in Fig. 4 are NR2O to NR2 in the case of individual pronunciation.
Transferred to the 14 note registers of D.

第6図のアサインメントメモリへの割当てを行うとき使
用する押鍵順番メモリを第7図に示す。
FIG. 7 shows the key press order memory used when making the assignment to the assignment memory shown in FIG.

第7図Aは第2発音処理手段に属し、第7図Bは第1発
音処理手段に属する。第7国人においては第2接点SW
2についてのキーオンオフビットとチャネル番号とを格
納し、第7図Bにおいては第1 接点s w 1につい
てのキーオンオフビットとチャネル番号を格納する。
7A belongs to the second sound generation processing means, and FIG. 7B belongs to the first sound generation processing means. For 7th nationals, the second contact point SW
In FIG. 7B, the key on/off bits and channel number for the first contact s w 1 are stored.

次にメモリ23.33におけるイニシャル・タッチデー
タメモリを61鍵の鍵盤の例で第8図に示す、第8図に
おいて、イニシャル・タッチデータは7ビツト構成で、
他の最上位1ビツトは各鍵の接点SW2の状態を示して
いる。キーのオン・オフビットは111でオン、IIQ
IIでオフであることを示す、第8図に示すタッチ情報
領域のアドレスは0ONから7F工まで鍵盤と1対1に
格納していて、小さいアドレスに低い音の鍵情報が格納
される。第7図においてアドレス80イ以降のデータは
、走査して得たスイッチの状態を格納していて、1バイ
ト (8ビツト)で4鍵分の情報を持っている。
Next, the initial touch data memory in the memory 23.33 is shown in FIG. 8 using an example of a 61-key keyboard. In FIG. 8, the initial touch data has a 7-bit configuration.
The other most significant bit indicates the state of the contact SW2 of each key. Key on/off bit is on at 111, IIQ
Addresses in the touch information area shown in FIG. 8, which indicate off in II, are stored one-to-one with the keyboard from 0ON to 7F, and key information for low notes is stored in small addresses. In FIG. 7, the data after address 80A stores the switch status obtained by scanning, and 1 byte (8 bits) contains information for 4 keys.

第9図は旧キーデータを接点SWI、SW2について示
す図である。
FIG. 9 is a diagram showing old key data regarding contacts SWI and SW2.

第10図は第1発音処理手段の動作フローチャートを示
す。第10図のステップ(1)においてカウンタ26内
の区域カウンタを零とする0次にステップ(2)におい
てカウンタ26内のキー走査カウンタを零とする。第1
接点SW1の状態について前回走査したデータの格納さ
れているメモリ23内の旧データメモリからキー走査カ
ウンタに対応したデータ、即ちアドレス零のデータを読
出す。このデータについて新たに走査して得たデータ(
新キーデータ)との比較をステップ(5)において行う
FIG. 10 shows an operation flowchart of the first sound generation processing means. In step (1) of FIG. 10, the area counter in the counter 26 is set to zero. Next, in step (2), the key scan counter in the counter 26 is set to zero. 1st
The data corresponding to the key scan counter, that is, the data at address zero, is read from the old data memory in the memory 23 in which the data scanned last time regarding the state of the contact SW1 is stored. Data obtained by newly scanning this data (
A comparison with new key data) is performed in step (5).

このとき通常はEOR回路を使用する。比較するデータ
は4ビット単位であって、4つの鍵についてオン/オフ
変化の検出が一度にできる。変化がないときステップ(
6)においてキー走査カウンタを+1して同様に処理す
る。ステップ(7)においてキー走査カウンタがオーバ
したときは区域カウンタを+1して(ステップ(8))
同様に処理することを繰す返す。区域カウンタがオーバ
したとき処理終了とする。このキー走査によりキー状況
変化の検出速度が上がり、プロセッサの負担が軽減する
At this time, an EOR circuit is usually used. The data to be compared is in 4-bit units, and on/off changes can be detected for four keys at once. Step when there is no change (
In step 6), the key scan counter is incremented by 1 and the same process is performed. If the key scan counter exceeds in step (7), add 1 to the area counter (step (8))
Repeat the same process. Processing ends when the area counter exceeds the limit. This key scanning increases the speed of detecting changes in key status and reduces the burden on the processor.

なお前述の区域とは鍵盤を識別して示す言葉で、例えば
区域00はソロ鍵盤を、区域01は上鍵盤を、区域10
は下鍵盤を、区域11は足鍵盤を示すように定める。
Note that the above-mentioned areas are words that identify and indicate the keyboard; for example, area 00 is the solo keyboard, area 01 is the upper keyboard, area 10 is the upper keyboard, etc.
indicates the lower keyboard, and area 11 indicates the foot keyboard.

次に条件分岐ステップ(5)以降の動作を説明する。Next, the operations after the conditional branching step (5) will be explained.

ステップ(5)において状況変化の起こったことが検出
されたとき、ステップ(10)においてカウンタ26に
在るピントカウンタを零としてお(。前記メモリ23に
在るイニシャル・タッチデータメモリにおける4ビツト
データのうち何処のビットに変化が起こったかを調べる
。そのため4ピント中の最下位ビットから1ビツトずつ
調べるようにステップ(11)においてピントカウンタ
の示す零番ピント以外をマスクして、もう一度新ビット
ー旧ビットをチェックする。ステップ(12)では変化
がないときステップ(13)においてピントカウンタを
+1して処理する。変化が検出できるまで繰り返し、次
に変化のあったビットについてステップ(15)におい
てチェックし、例えばデータビットが“1゛であればキ
ーオンに変化し、“0”であればキーオフに変化したと
判断しそれぞれの処理に移る。
When it is detected in step (5) that a change in the situation has occurred, the focus counter in the counter 26 is set to zero in step (10) (the 4-bit data in the initial touch data memory in the memory 23 is Check which bit of the 4 pinpoints has changed.For this purpose, in step (11), check each bit from the least significant bit among the 4 pinpoints, masking all the pinpoints other than the 0th pinpoint indicated by the focus counter, and once again compare the new bit to the old bit. The bits are checked. If there is no change in step (12), the focus counter is incremented by 1 in step (13). Repeat until a change is detected, and then the changed bits are checked in step (15). For example, if the data bit is "1", it is determined that the key-on state has changed, and if it is "0", it is determined that the key-off state has been changed, and the process proceeds to each process.

〔キーオフ処理について〕[About key-off processing]

キーオフ検出をしたとき、ステップ(19)においてキ
一番号を得る。次にステップ(20)と(21)におい
て、後述のアサインメントメモリ24上にそのキーオフ
されたキ一番号に対応するキーオン状態のチャネルがあ
るかどうかを調べる。探し出せた場合はそのチャネルへ
キーオファサインを行う処理としてステップ(22)を
行う。12チャネル全部を探しても無い場合はキーオフ
ァサインを行わずに、旧データメモリの書換え処理をス
テップ(28)で行う。この処理はキーオファサインし
たチャネルと同じチャネル番号を押鍵順番メモリ25の
中から探し出しそのオン/オフビットが必ずオンとなっ
ている筈なので、オフとする処理を行う。その後に旧キ
ーデータメモリの対応するビットをキーオフとする。ス
テップク20)と条件分岐(21)によってアサインメ
ントメモリ24の12チャネル全部を探しても同一のキ
一番号が見つからなかった場合は、キーオフのためのス
テップ(22) (23)を行わず旧キーデータSWI
の書換えだけを行いステ・7ブ(13)へ戻る。
When key-off is detected, a key number is obtained in step (19). Next, in steps (20) and (21), it is checked whether there is a key-on channel corresponding to the key number that has been keyed off in the assignment memory 24, which will be described later. If it can be found, step (22) is performed as a process for signing a key offer to that channel. If all 12 channels are not found even after all 12 channels are searched, the key offer is not performed and the old data memory is rewritten in step (28). This process searches the key press order memory 25 for the same channel number as the channel to which the key offer has been made, and since its on/off bit should always be on, processing is performed to turn it off. Thereafter, the corresponding bit in the old key data memory is turned off. If the same key number is not found even after searching all 12 channels of the assignment memory 24 using step 20) and conditional branching (21), do not perform steps 22 and 23 to turn off the key. Key data SWI
Only the rewriting is performed and the process returns to Step 7 (13).

〔キーオン処理について] 条件分岐(16)によってキーオンが検出されるとステ
ップ(25)によりキ一番号とキーオン処理ビ・ノドを
作成し、それがアサインメントメモリ24の第1バイト
になる。またステップ(26)によりイニシャル・タッ
チデータを基にテーブルを参照し、データ変換して押鍵
速度データとし、また2ビ・ノドからなる区域データを
加えて作成し第2バイトを得る。次にステップ(27)
と条件分岐(28)によりアサインメントメモリ24の
中に同一のキ一番号でオンオフビットがオフになってい
るチャネルを探す。これは同一鍵で次々と他のチャネル
に割当てて行くと、特にサスティンが長い音色では段々
音量が大きくなって不自然になるため、同一キ一番号で
リリース中のチャネルに割当てようとするものである。
[Regarding key-on processing] When key-on is detected by the conditional branch (16), a key number and key-on processing code are created in step (25), and these become the first byte of the assignment memory 24. Further, in step (26), a table is referred to based on the initial touch data, the data is converted into key press speed data, and area data consisting of 2 bits and knots is added to create the second byte. Next step (27)
The conditional branch (28) searches the assignment memory 24 for a channel with the same key number and whose on/off bit is turned off. This is because if you assign the same key to other channels one after another, the volume will gradually increase and become unnatural, especially for tones with a long sustain, so the idea is to assign the same key number to the channel that is currently being released. be.

条件分岐(2日)で探し出せたらステップ(32)によ
り、その同一キ一番号のチャネルを新たな押鍵に対する
割当てチャネルとする。条件分岐(28)でアサインメ
ントメモリ24の全てのチャネルの中に前記と同一キ一
番号が見つからなかった場合は条件分岐(29)により
押鍵順番メモリ25の中にキーオフチャネルがあるか8
周べる。キーオフチャネルがあると判った場合ステップ
(31)により押鍵順番メモリ25のSWlのキーオフ
チャネルの中で最も先に押鍵れれたチャネルを探し、新
たな押鍵に対する割当てチャネルとする。
If it is found using the conditional branch (2nd day), then in step (32), the channel with the same key number is set as the assigned channel for the new key press. If the same key number is not found in all the channels in the assignment memory 24 in the conditional branch (28), it is determined in the conditional branch (29) whether there is a key-off channel in the key press order memory 25.
I can go around. If it is determined that there is a key-off channel, in step (31), the channel that was pressed first among the key-off channels of SW1 in the key press order memory 25 is searched for and is set as the channel to be assigned to the new key press.

条件分岐(29)で押鍵順番メモリ25の中にS Wl
のキーオフチャネルが無くて、全てキーオンチャネルで
あった場合、処理ステップ(30)により押鍵順番メモ
リ25の中で最も先に押鍵れれたチャネルを探し新たな
押鍵に対する割当てチャネルとする。押鍵順番メモリ2
5は先頭アドレスから押鍵の古い順に割当てたチャネル
番号を格納しているので、先頭アドレスのメモリが格納
するチャネル番号が最も先に押鍵されたチャネルという
ことになる。
In the conditional branch (29), S Wl is stored in the key press order memory 25.
If there is no key-off channel and all are key-on channels, the channel that was pressed first in the key-pressing order memory 25 is searched for as the channel to be assigned to the new key-pressing channel in step (30). Key press order memory 2
5 stores channel numbers assigned in the order of oldest key presses starting from the first address, so the channel number stored in the memory at the first address is the channel that was pressed the earliest.

処理ステップ(30) (31) (32)の何れを行
った場合でもその後処理ステップ(33)によりアサイ
ンメントメモリ24への割当てを行う。その後押鍵順番
メモリ25への処理を処理ステップ(34)〜(41)
で行う。条件分岐(38)により優先順番カウンタがオ
ーバした場合、処理(39)のエラー処理に入る。その
後処理ステップ(42)で旧キーデータSWIの対応す
るビットをキーオンとする。
No matter which of the processing steps (30), (31), and (32) are performed, the allocation to the assignment memory 24 is then performed in the processing step (33). After that, processing to the key press order memory 25 is performed in steps (34) to (41).
Do it with If the priority order counter exceeds due to conditional branching (38), error processing of process (39) is entered. Thereafter, in a processing step (42), the corresponding bit of the old key data SWI is turned on.

押鍵有無の検出を行ったとき、検出できなければ次の4
鍵について検出を行うため、キー走査カウンタを+1し
てルーチンの最初へ戻る。キー走査カウンタが終了値を
オーバしたとき、区域カウンタの値を+1して次の区域
の最初の鍵から押鍵検出を行う。区域カウンタの値が終
了値をオーバしたとき第1発音処理手段の処理は終わる
When detecting the presence or absence of a key press, if it cannot be detected, proceed to the next 4.
To detect the key, increment the key scan counter by one and return to the beginning of the routine. When the key scan counter exceeds the end value, the value of the area counter is increased by 1 and key press detection is performed from the first key of the next area. When the value of the area counter exceeds the end value, the processing of the first sound generation processing means ends.

第11図は第2発音処理手段の動作フローチャートであ
る。第10図の場合と比較し異なるのは前者が5W1=
“1”でキーオン、5W1=’0″でキーオフの処理を
ステップ(16) (19)で行ったのに対し、後者で
は5W2−’1’でキーオン。
FIG. 11 is an operation flowchart of the second sound generation processing means. The difference compared to the case in Figure 10 is that the former is 5W1=
The key is turned on when it is "1" and the key is turned off when 5W1='0'' in steps (16) and (19), whereas in the latter case, the key is turned on when 5W2-'1' is turned on.

5W2−0”且つ5WI−”O″でキーオフの処理をス
テップ(16) (’17)で行うことである。
5W2-0" and 5WI-"O", key-off processing is performed in step (16) ('17).

[発明の効果コ このようにして本発明によると、発音処理手段を2組具
備していいて、各手段から音色の異なる発音をするとき
は、第1接点・第2接点の各出力信号で個別に発音する
。同時に発音するときは第2接点の出力信号により発音
するため演奏者にとって不自然さがなくなる。
[Effects of the Invention] As described above, according to the present invention, when two sets of sound generation processing means are provided and each means produces sounds with different tones, each output signal of the first contact and the second contact is individually processed. pronounced. When simultaneously producing sounds, the sounds are produced by the output signal of the second contact, which eliminates any unnaturalness for the performer.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の原理構成を示す図、 第2図は本発明の実施例の構成を示す図、第3図は第2
図の動作主ルーチンを示す図、第4図・第6図はアサイ
ンメントメモリのデータ格納を示す図、 第5図は音色データを格納するメモリを示す図、第8図
は為tタッチデータを格納するメモリを示す図、 第9図は旧キーデータを格納するメモリを示す図、第1
0図は第1発音処理手段の動作フローチャート、 第11図は第2発音処理手段の動作フローチャート、 第12図・第13図はキー開閉器の接点構造を示す図、 第14図は押鍵時間の例を示す図、 第15図は押鍵速度の例を示す図である。 1.11・・・第1接点 2.12・・−第2接点    3・・・鍵5・・−第
1接点出力端子 6−・・第2接点出力端子 13・・・切換開閉器 21・・・第1発音処理手段 31・・・第1発音処理手段
Fig. 1 is a diagram showing the principle configuration of the present invention, Fig. 2 is a diagram showing the configuration of an embodiment of the invention, and Fig. 3 is a diagram showing the configuration of the embodiment of the present invention.
Figures 4 and 6 are diagrams showing data storage in the assignment memory, Figure 5 is a diagram showing a memory that stores tone data, and Figure 8 is a diagram showing touch data. Figure 9 shows the memory to store the old key data. Figure 1 shows the memory to store the old key data.
Figure 0 is an operation flowchart of the first sound generation processing means, Figure 11 is an operation flowchart of the second sound generation processing means, Figures 12 and 13 are diagrams showing the contact structure of the key switch, and Figure 14 is the key press time. FIG. 15 is a diagram showing an example of key pressing speed. 1.11...First contact 2.12...-Second contact 3...Key 5...-First contact output terminal 6-...Second contact output terminal 13...Switching switch 21. ...First sound processing means 31...First sound processing means

Claims (1)

【特許請求の範囲】 1鍵当たり2個の接点を有するキー開閉器(10)に対
し走査を行って鍵の開閉情報を得る電子楽器のキーアサ
イナにおいて、 該開閉器(10)の接点は、第1接点(11)が開また
は閉となったときの出力信号に続いて、第2接点(12
)が閉となったときの出力信号が得られる接点構造であ
り、 キーアサイナには、第1発音処理手段(21)と、第2
発音処理手段(31)と、各接点出力信号端子と各発音
処理手段との間の接続路を切換え、両発音処理手段を同
時に動作させるときは第2接点(12)出力信号のみを
印加させる切換開閉器(13)とを具備すること を特徴とする電子楽器のキーアサイナ。
[Scope of Claims] In a key assigner for an electronic musical instrument that obtains key opening/closing information by scanning a key switch (10) having two contacts per key, the switch (10) has two contacts. Following the output signal when the first contact (11) opens or closes, the second contact (12)
) is closed, and the key assigner has a first sound processing means (21) and a second sound processing means (21).
Switching the connection path between the sound generation processing means (31), each contact output signal terminal, and each sound generation processing means, and applying only the second contact (12) output signal when both sound generation processing means are operated simultaneously. A key assigner for an electronic musical instrument, comprising a switch (13).
JP61216105A 1986-09-15 1986-09-15 Electronic musical instrument key assigner Expired - Lifetime JPH0719149B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61216105A JPH0719149B2 (en) 1986-09-15 1986-09-15 Electronic musical instrument key assigner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61216105A JPH0719149B2 (en) 1986-09-15 1986-09-15 Electronic musical instrument key assigner

Publications (2)

Publication Number Publication Date
JPS6371898A true JPS6371898A (en) 1988-04-01
JPH0719149B2 JPH0719149B2 (en) 1995-03-06

Family

ID=16683320

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61216105A Expired - Lifetime JPH0719149B2 (en) 1986-09-15 1986-09-15 Electronic musical instrument key assigner

Country Status (1)

Country Link
JP (1) JPH0719149B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07287575A (en) * 1995-01-27 1995-10-31 Kawai Musical Instr Mfg Co Ltd Channel allocation device of electronic musical instrument
JP2014010175A (en) * 2012-06-27 2014-01-20 Casio Comput Co Ltd Electronic keyboard instrument, method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07287575A (en) * 1995-01-27 1995-10-31 Kawai Musical Instr Mfg Co Ltd Channel allocation device of electronic musical instrument
JP2014010175A (en) * 2012-06-27 2014-01-20 Casio Comput Co Ltd Electronic keyboard instrument, method, and program

Also Published As

Publication number Publication date
JPH0719149B2 (en) 1995-03-06

Similar Documents

Publication Publication Date Title
US5160798A (en) Tone information processing device for an electronic musical instrument for generating sound having timbre corresponding to two parameters
JPH0721710B2 (en) Electronic keyboard instrument with pad
US3544697A (en) Keying system for electrical musical instruments
JPS6091393A (en) Electronic musical instrument
JPS63186296A (en) Musical sound generation controller for electronic musical instrument
US4463647A (en) Musical instrument
US3297812A (en) Gated function switches in electric organ
JPH04318596A (en) Pedal device of electronic musical instrument
JPS6371898A (en) Key assigner for electronic musical instrument
JPH06102866A (en) Electronic musical instrument
JPH0137757B2 (en)
US5783766A (en) Musical sound producing device in electronic musical instrument
JPS6370292A (en) Key assigner for electronic musical instrument
JP2768458B2 (en) Electronic musical instrument
US5218154A (en) Electronic keyboard instrument with an unique tone channel assignor for percussion tones
US5367119A (en) Local control function apparatus having a single switch
US3229022A (en) Dead key eliminator electrical musical instrument
JPS6371897A (en) Key assigner for electronic musical instrument
US3986425A (en) Bass signal control circuit
JPH0659669A (en) Musical sound generation device
JPH05281967A (en) Key assignor of electronic musical instrument
JPS5926038B2 (en) Performance effect device for electronic musical instruments
JPH06242781A (en) Electronic musical instrument
JP2639604B2 (en) Sound device for electronic keyboard instruments
JP2975510B2 (en) Electronic musical instrument