JPH03171197A - Channel allocating device for electronic musical instrument - Google Patents

Channel allocating device for electronic musical instrument

Info

Publication number
JPH03171197A
JPH03171197A JP1312175A JP31217589A JPH03171197A JP H03171197 A JPH03171197 A JP H03171197A JP 1312175 A JP1312175 A JP 1312175A JP 31217589 A JP31217589 A JP 31217589A JP H03171197 A JPH03171197 A JP H03171197A
Authority
JP
Japan
Prior art keywords
weighting coefficient
data
coefficient data
channel
key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1312175A
Other languages
Japanese (ja)
Inventor
Kazunori Matsuda
寿徳 松田
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 JP1312175A priority Critical patent/JPH03171197A/en
Publication of JPH03171197A publication Critical patent/JPH03171197A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

PURPOSE:To surely search the most attenuated musical tone by computing and synthesizing the data indicating the speed or intensity of a sound release instruction with respect to the weight coefft. data indicating the degree of priority of channel allocation and executing the channel allocation in accordance with the value of the synthesized weight coefft. data. CONSTITUTION:The weight coefft. data indicating the degree of priority of the channel allocation set in an assignment memory 8 is subjected to the computation and synthesis of the initial touch data indicating the key touch speed and the after touch data indicating the touch pressure and the fresh channel allocation is executed in accordance with the value of this synthesized weight coefft. The degree of priority of the channel allocation is, therefore, determined according to the speed or intensity of the sound release instruction. The most attenuated musical tone is surely searched in this way even if the state of the sound release instruction changes.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、電子楽器のチャンネル割り当て装置に関し、
特にチャンネル割り当ての優先順位の決定の仕方の改良
に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a channel allocation device for an electronic musical instrument,
In particular, it relates to improvements in how to determine channel allocation priorities.

[従来技術] 従来、このようなチャンネル割り当て装置においては、
キーボードを例にとると、全ての楽音発生チャンネルが
オン状態にある場合、新たな抑鍵があると次のような方
法で、新たなチャン不ル割り当てを行っていた。
[Prior Art] Conventionally, in such a channel allocation device,
Taking a keyboard as an example, when all musical sound generation channels are in the on state, when a new key is pressed, a new channel assignment is performed in the following manner.

すなわち、各鍵に応じたチャンネル割り当ての優先度を
示す重み係数データを記憶しておき、この重み係数デー
タをチャンネル割り当てと同時に読み出して、各チャン
ネルに対応して記憶し、この各チャンネルに対応した各
重み係数データを時間の経過とともに一律に小さくして
ゆく。そして、この各重み係数データのうち、最も値が
小さいデータに係るチャンネルに、新たな押鍵に係る楽
音を割り当てるようにしていた。
That is, weighting coefficient data indicating the priority of channel assignment according to each key is stored, this weighting coefficient data is read out at the same time as channel assignment, and stored corresponding to each channel. Each weighting coefficient data is uniformly reduced over time. Then, the musical tone associated with the new key depression is assigned to the channel associated with the data having the smallest value among the respective weighting coefficient data.

他の方l去は、各楽音発生チャンネルに割当てられた鍵
が離鍵される毎に、既に離鍵状態にある全ての楽音発生
チャンネルに関して各々計数値を一律に土曽加する。こ
れにより、この計数値によって各楽音発生チャンネルの
離鍵の順序を示しておき、各楽音発生チャンネルの計数
値を各々比較して計数値が最も大きい(すなわち最も古
く離鍵された)楽音発生チャンネルを検出する。この検
出した楽音発生チャンネルに新たな押鍵に係る楽音を割
り当てるようにしていた。
In the other method, each time the key assigned to each tone generation channel is released, the count values are uniformly added to all the tone generation channels that are already in the released state. As a result, the order in which the keys of each tone generation channel are released is indicated by this count value, and the count value of each tone generation channel is compared and the tone generation channel with the largest count value (that is, the one whose key was released the earliest) is Detect. A musical tone associated with a new key press is assigned to the detected musical tone generation channel.

[発明が解決しようとする課題] しかしながら、上述のチャンネル割り当て方法では、次
にような場合、問題が生してしまう。すなわち、同し音
高のキーを操作しても、通常速く(強く)操作したとき
には、楽音の鳴っている時間が長く、エンベロープ波形
の長さも長いが、ゆっくり(弱く)操作したときには、
楽音の鳴っている時間が短かく、エンベロープ波形の長
さも短かい。
[Problems to be Solved by the Invention] However, the above channel allocation method causes problems in the following cases. In other words, even if you operate keys of the same pitch, normally when you operate them quickly (strongly), the musical note will last for a long time and the envelope waveform will be long, but when you operate them slowly (softly),
The duration of the musical tone is short, and the length of the envelope waveform is also short.

従って、楽ぎのチャンネル割り当ての優先順僚の決定の
仕方を音高に応じて変えたとしても、エンベロープのレ
ベルが小さいチャンネルから順に、新たな楽音を割り当
てできるとは限らなかった。
Therefore, even if the method of determining the priority order of music channel assignment is changed depending on the pitch, it is not always possible to allocate new musical tones in order from the channels with the lowest envelope level.

本発明は、上述した課題を解決するためになされたもの
でめり、放音操作の速さ又は強さに応じて、8k音時間
が変わり、エンベロープ波形の長さが変化しても、いち
ばん減衰の進んだ楽音を確実にサーチして、新たなチャ
ンネル割り当てのできる電子楽器のチャンネル割り当て
装置を提供することを目的としている。
The present invention has been made to solve the above-mentioned problems, and even if the 8k sound time changes depending on the speed or strength of the sound emitting operation and the length of the envelope waveform changes, It is an object of the present invention to provide a channel assignment device for an electronic musical instrument that can reliably search for musical tones with advanced attenuation and assign new channels.

[課題をjKI決するための千段] 上記1−1的を達成するために、本発明においては、チ
ャンネル割り当ての優先度を示す重み係数データに対し
、放音指示の速さまたは強さを示すデータを演算合成し
、この合成重み係数データの値に基づいて新たなチャン
ネル割り当てを行うようにしたものである。
[A thousand steps to resolve the problem] In order to achieve the above-mentioned objective 1-1, in the present invention, the speed or strength of the sound emission instruction is indicated for the weighting coefficient data indicating the priority of channel allocation. The data are computationally combined and a new channel assignment is performed based on the value of the combined weighting coefficient data.

[作用] これにより、放音指示の速さまたは強さに応じて、チャ
ンネル割り当ての優先度が決められ、放音指示の状態が
変化しても、いちばん減衰の進んた楽音を確実にサーチ
することができる。
[Function] As a result, the priority of channel assignment is determined according to the speed or strength of the sound emission instruction, and even if the state of the sound emission instruction changes, the musical tone that has decayed the most is reliably searched. be able to.

[実施例コ 以下、本発明の実施例を図面とともに詳細に説明する。[Example code] Embodiments of the present invention will be described in detail below with reference to the drawings.

1,全体回路構成 第1図は、電子楽器の全体回路を示すものである。キー
ボード1の各キーは、キースキャン回路2によってスキ
ャンされ、キーオン、およびキーオフのイベント、押鍵
速度(イニシャルタッチ)、即鍵圧力(アフタータッチ
)が検出される。この検出結果は、CPU6によって、
トーンジェネレ−夕7内のアサイメントメモリ8にセッ
トされる。
1. Overall circuit configuration Figure 1 shows the overall circuit of an electronic musical instrument. Each key on the keyboard 1 is scanned by a key scan circuit 2, and key-on and key-off events, key press speed (initial touch), and immediate key pressure (aftertouch) are detected. This detection result is processed by the CPU 6.
It is set in the assignment memory 8 in the tone generator 7.

パネルスイッチ群3の各スイッチは、音色、リズム等の
選択を行うもので、各スイッチは、パネルスキャン回路
4によってスキャンされる。このスキャン結果、すなわ
ち選択指定された音色、リズム等に関するデータは、C
PU6によって、トーンジエネレータフに送られる。ま
た、このスキャン結果は、バネルLED回路5にセット
され、パネルスイッチ群3の対応するLED (発光ダ
イオード)が点灯される。
Each switch in the panel switch group 3 is used to select a tone, rhythm, etc., and each switch is scanned by a panel scan circuit 4. This scan result, that is, data regarding the selected tone, rhythm, etc.
It is sent to the tone generator turf by PU6. Further, this scan result is set in the panel LED circuit 5, and the corresponding LED (light emitting diode) of the panel switch group 3 is turned on.

ペダル群12は、ダンパーペダル、ソステヌートペダル
、ソフトペダル等の各種ペダルよりなる。
The pedal group 12 includes various pedals such as a damper pedal, a sostenuto pedal, and a soft pedal.

ペダル検出回路13は、ペダル群12の各ペダルのオン
、オフ、踏み込み量等を検出する回路である。この回路
13は次のように構成される。すなわち、ダンパーペダ
ルに設けた差動変圧器等の位置センサまたはロータリエ
ンコーダ等の角度センサからのデータの各ビットの論理
和をとり、この論理和信号のアップエッジおよびダウン
エッジを検出し、これをダンパーイベント検出信号とし
て、CPU6に与える。これにより、位置センサまたは
角度センサからデータ出力があると、ダンパーイベント
検出信号が出力されることになる。このような構成は、
マフラーペダル、ミュートペダル、シフティングペダル
等で同様に実現してもよい。
The pedal detection circuit 13 is a circuit that detects whether each pedal in the pedal group 12 is turned on or off, the amount of depression, etc. This circuit 13 is configured as follows. That is, each bit of data from a position sensor such as a differential transformer or an angle sensor such as a rotary encoder provided on the damper pedal is logically summed, the up edge and down edge of this logical sum signal are detected, and this is It is given to the CPU 6 as a damper event detection signal. Thereby, when data is output from the position sensor or angle sensor, a damper event detection signal is output. Such a configuration is
The same effect may be achieved using a muffler pedal, a mute pedal, a shifting pedal, etc.

なお、上記キーボード1は、電子ギター等の電子弦楽器
、電子吹奏楽器、電子打楽器等で代用してもよく、楽音
の放音指示ができれば何でもよい。
Note that the keyboard 1 may be replaced by an electronic stringed instrument such as an electronic guitar, an electronic wind instrument, an electronic percussion instrument, etc., and any keyboard may be used as long as it can issue instructions to emit musical tones.

トーンジエネレータ7では、送られてきた各種データや
、アサイメントメモリ8にセットされたデータに応じた
楽音信号が生威され、サウンドシステム9へ送られて、
楽音が生成放音される。ROMIOには、CPU6が各
種処理を行うためのプログラムや、後述する重み係数デ
ータ、場合によっては楽音波形データやエンベロープ波
形データか記憶されている。RAMI 1には、各種処
理データが3己憶される。
The tone generator 7 generates musical tone signals according to the various data sent and the data set in the assignment memory 8, and sends them to the sound system 9.
A musical tone is generated and emitted. The ROMIO stores programs for the CPU 6 to perform various processes, weighting coefficient data to be described later, and, depending on the case, musical waveform data and envelope waveform data. RAMI 1 stores three types of processing data.

トーンジェネレータ7は、時分割処理により、8チャン
ネル分の楽音生成システムが形成されており、これに対
応してアサイメントメモリ8には、この8つの楽音生威
チャンネルに割り当てられる楽音データが記憶される。
The tone generator 7 forms a musical tone generation system for eight channels through time-sharing processing, and correspondingly, the assignment memory 8 stores musical tone data assigned to these eight musical tone generation channels. Ru.

第2図は、アサイメントメモリ8の一部を示すもので、
このアサイメントメモリ8の1つのチャンネルエリアに
は、オン/オフデータ、キーナンパ、合成重み係数デー
タのほか、音色データ、周波数ナンパ、エンベロープデ
ー夕、ベロシティデータ等も記憶される。このアサイメ
ントメモリ8のチャンネルエリア数は「8」以外でもよ
い。また、アサイメントメモリ8とは別のメモリに重み
係数データを記憶させてもよく、重み係数データをチャ
ンネル割り当て内容に対応させて記憶できれば、どのよ
うな記憶形態をとってもよい。
FIG. 2 shows a part of the assignment memory 8.
One channel area of the assignment memory 8 stores not only on/off data, key pick-up data, and composite weighting coefficient data, but also timbre data, frequency pick-up data, envelope data, velocity data, and the like. The number of channel areas in this assignment memory 8 may be other than "8". Further, the weighting coefficient data may be stored in a memory separate from the assignment memory 8, and any storage format may be used as long as the weighting coefficient data can be stored in correspondence with the channel assignment contents.

オン/オフデータは、キーボード1の各キーの押鍵(オ
ン)、離鍵(オフ)を示す1ビットデータてある。この
オン/オフデータは、上記ペダル群12の中のダンパー
ペダルが踏まれた状態のときには、キーが離鍵されても
、オフ状態とならず、ダンバーペダルが離されるまで、
オン状態となる。
The on/off data is 1-bit data indicating whether each key on the keyboard 1 is pressed (on) or released (off). This on/off data indicates that when the damper pedal in the pedal group 12 is depressed, it will not turn off even if the key is released, and will not turn off until the damper pedal is released.
Turns on.

従って、ダンパーペダルが踏まれたまま、同じキ−が何
回も押されると、この押鍵ごとに同じキーナンパのチャ
ンネル割り当てが行われていくことになる。
Therefore, if the same key is pressed many times while the damper pedal is depressed, the same key pick-up channel will be assigned each time the key is pressed.

キーナンパは、キーボード1の各キーに低音側から割り
振られた「1」〜「88」の値であり、音高を表してい
る。
The key pick-up is a value from "1" to "88" assigned to each key on the keyboard 1 starting from the bass side, and represents the pitch.

第3図は、重み係数データを示すものである。FIG. 3 shows weighting coefficient data.

この重み係数データは、チャンネル割り当ての優先度を
示すデータであり、各キーナンパごとに異なる値で記憶
されている。この重み係数データは、低音側ほど値が大
きく、それだけ新たな楽音にチャンネルを明け渡すのが
難しく、途中で音が消えてしまうことがないようになっ
ている。
This weighting coefficient data is data indicating the priority of channel allocation, and is stored as a different value for each key pick-up. This weighting coefficient data has a larger value on the bass side, which makes it more difficult to give up the channel to a new musical tone, and prevents the tone from disappearing midway.

この重み係数データは、アサイメントメモリ8にセット
されるときには、上述した押鍵速度を示すイニシャルタ
ッチデータIDと押鍵圧カを示すアフタータッチデータ
ADとが加算されて合成重み係数データの形でセットさ
れる。これにより、イニシャルタッチとアフタータッチ
との大きさに応じても、チャンネル割り当ての優先度が
決定される。なお、このイニシャルタッチデータIDと
アフタータッチデータADとは、重み係数データに単に
加算するだけでなく、いずれかに重み付けをして加算し
たり、その他乗算、減算、除算等、各データの特性を合
成できれば演算合成形態はどのような形態でもよい。そ
して、新たなチャンネル割り当てが行われるとき、最も
含或重み係数データの小さいチャンネルがセレクトされ
て、新たな楽音の割り当てが行われる。
When this weighting coefficient data is set in the assignment memory 8, the above-mentioned initial touch data ID indicating the key pressing speed and aftertouch data AD indicating the key pressing force are added and are in the form of composite weighting coefficient data. Set. Thereby, the priority of channel assignment is determined also according to the magnitude of initial touch and aftertouch. Note that the initial touch data ID and aftertouch data AD are not only added to the weighting coefficient data, but also weighted and added, or other characteristics of each data such as multiplication, subtraction, division, etc. Any form of arithmetic synthesis may be used as long as it can be synthesized. Then, when a new channel assignment is performed, the channel containing the smallest weighting coefficient data is selected, and a new musical tone is assigned.

この重み係数データは、第3図に示すもの以外に、高音
側も値が大きく、中音域で最も値が小さくなっているも
のでもよいし、一定汗域ごとに値か嚢化するものでもよ
く、形態はどのようなものでもよい。また合成重み係数
データの特性は、値が小さいほど、新たな楽音にチャン
ネルを明け渡すのが困難なものとしてもよい。この場合
、時間の経過とともに合成重み係数データは加算され、
サーチチャンネルエリアのうち、最も合成重み係数デー
タの大きいものに新たなチャンネル割り当てが行われる
In addition to the weighting coefficient data shown in Fig. 3, the weighting coefficient data may have a large value in the high-pitched range and the smallest value in the mid-range, or may have values that vary in each certain range. , it can take any form. Furthermore, the characteristics of the synthesis weighting coefficient data may be such that the smaller the value, the more difficult it is to surrender the channel to a new musical tone. In this case, the composite weighting coefficient data is added over time,
A new channel is assigned to the search channel area that has the largest combined weighting coefficient data.

また、この重み係数データは、ROMIOに記憶してお
くのではなく、演算処理によりキーナンパの値から求め
るようにしてもよい。例えば、キーナンパ「1」〜「8
8」に対し、重み係数データを「88」〜rlJとすれ
ば、(重み係数データ)− (89)− (キーナンパ
値)で求めることができる。このほか、(重み係数デー
タ)×(キーナンパ値)−A,(重み係数データ)一(
(キーナンパ値) 一B)” +C (ASB,Cは定
数)等の51算式で求めてもよい。
Moreover, this weighting coefficient data may not be stored in the ROMIO, but may be obtained from the key pick-up value through arithmetic processing. For example, key pick-up "1" to "8"
If the weighting coefficient data is set to "88" to rlJ for "8", it can be obtained as (weighting coefficient data) - (89) - (key pick-up value). In addition, (weighting coefficient data) × (key pick-up value) - A, (weighting coefficient data) - (
(Key pick-up value) 1B)" +C (ASB and C are constants) may be calculated using a formula such as 51.

第4図は、RAMII内のレジスタ群を示すものである
。レジスタNは、上記アサイメントメモリ8の各チャン
ネルエリアをサーチするときの、サーチ同数カウント用
のレジスタである。レジスタWn e w, Wo l
 dは、アサイメントメモリ8の各チャンネルエリアの
重み係数データとそのチャンネルナンパがセットされ、
最も重み係数データの小さいチャンネルのサーチに用い
られる。
FIG. 4 shows a group of registers in RAM II. Register N is a register for counting the number of searches when searching each channel area of the assignment memory 8. Register Wnew, Wo l
In d, the weighting coefficient data of each channel area of the assignment memory 8 and its channel number are set,
Used to search for the channel with the smallest weighting coefficient data.

2,キースキャン回路2の構成 第5図はキースキャン回路2の構成を示すものてある。2. Configuration of key scan circuit 2 FIG. 5 shows the configuration of the key scan circuit 2. As shown in FIG.

第1のスイッチ群31と第2のスイッチ群32とは、キ
ーボード1の各キーに設けられた第1のスイッチと第2
のスイッチとのグループを示している。この第1のスイ
ッチと第2のスイッチとは、接点間隔が異なり、タイミ
ングがずれてオンするようになっている。従って、この
2つのスイッチのオンタイミングの時間差により、イニ
シャルタッチデータIDが決定される。
The first switch group 31 and the second switch group 32 are a first switch and a second switch provided for each key of the keyboard 1.
shows a group with a switch. The first switch and the second switch have different contact intervals and are turned on at different timings. Therefore, the initial touch data ID is determined by the time difference between the on timings of these two switches.

この第1のスイッチ群31と第2のスイッチ群32とは
、電気的にマトリクス接続され、複数の列と複数の行の
形に接続される。通常、1つの列には1オクターブ分の
12鍵分のスイッチが接続されるが、これ以外の接続形
式でもよい、カウンタ33からはキースキャン用のカウ
ントデータが出力され、デコーダ14を通し、セレクタ
15を介して、第1のスイッチ群31または第2のスイ
ンチ群32に与えられる。デコーダ14からは、第1の
スイッチ群31及び第2のスイッチ群32の列数と同し
ビット数であって、キーオン特にはいずれかのビットが
「1」のスキャンデー夕が出力される。
The first switch group 31 and the second switch group 32 are electrically connected in a matrix and connected in a plurality of columns and a plurality of rows. Normally, switches for 12 keys for one octave are connected to one column, but other connection formats are also possible.Count data for key scanning is output from the counter 33, passed through the decoder 14, and then sent to the selector. 15 to the first switch group 31 or the second switch group 32. The decoder 14 outputs a scan data having the same number of bits as the number of columns of the first switch group 31 and the second switch group 32, and in particular, when the key is on, any bit is "1".

第1のスイッチ群31または第2のスイッチ群32から
のスキャン結果データすなわち、スキャン列の各スイッ
チのオン/オフデータは、セレクタ16を介して、比較
回路17に与えられる。一方、オン/オフメモリ18に
は、第1のスイッチ群31と第2のスイッチ群32の各
列のオン/オフデータが各番地に記憶されており、上記
カウンタ33からのカウントデータがアドレスデータと
して与えられ、現在スキャンしている列と同じ列のオン
/オフデータが読み出される。この読み出されたオン/
オフデータは、以前のオン/オフデータとして比較回路
17に与えられる。比較回路17では、以前のオン/オ
フデータと、新しいオン/オフデータとを比較し、以前
のものが大きいか、新しいものが大きいかを比較する。
The scan result data from the first switch group 31 or the second switch group 32, that is, the on/off data of each switch in the scan column, is provided to the comparison circuit 17 via the selector 16. On the other hand, in the on/off memory 18, on/off data of each column of the first switch group 31 and the second switch group 32 is stored at each address, and the count data from the counter 33 is used as the address data. The on/off data of the same column as the column currently being scanned is read out. This read out on/off
The off data is provided to the comparison circuit 17 as previous on/off data. The comparison circuit 17 compares the previous on/off data and the new on/off data to determine whether the previous data is larger or the new data is larger.

以前キーオフ状態で、新しくキーオン状態になれば、オ
ン/オフデータの対応ビットは「0」から「1」となっ
て、オン/オフデータの値自体としては大きくなる。従
って新しいオン/オフデータの方が大きくなる。逆の以
前キーオン状態で、新しくキーオフ状態の場合は、以前
のオン/オフデータの方が大きくなる。
If the key is previously in the key-off state and the key is now in the key-on state, the corresponding bit of the on/off data changes from "0" to "1", and the value of the on/off data itself becomes large. Therefore, the new on/off data will be larger. Conversely, if the key was previously in the key-on state and the key is now in the key-off state, the previous on/off data will be larger.

この比較回路17の比較判別信号のうち、新しいオン/
オフデータが大きいときのA>B信号と、以前のオン/
オフデータが大きいときのA<B信号とは、ともにオア
ゲートORIを介し、ディレイ回路19を経て、オン/
オフメモリ18に書込/読出信号W/Rとして与えられ
る。これにより、オン/オフデータに変化があったとき
、すなわちキーオンまたはキーオフがあったとき、新た
なオン/オフデータがオン/オフメモリ18に書き込ま
れる。このオアゲー}ORIからの信号は、キーオンま
たはキーオフがあったことを示すイベント信号として、
CPU6に与えられる。また、新しいオン/オフデータ
が大きいときのA>B信号は、そのままCPU6に与え
られ、イベント内容が、キーオン( rlJ )か、キ
ーオフ( rOJ )かが示される。
Among the comparison judgment signals of this comparison circuit 17, the new on/off
A>B signal when off data is large and previous on/on signal
The A<B signal when the off data is large is the on/off signal through the OR gate ORI and the delay circuit 19.
It is applied to the off-memory 18 as a write/read signal W/R. Thereby, when there is a change in the on/off data, that is, when there is a key-on or key-off, new on/off data is written to the on/off memory 18. This signal from ORI is an event signal indicating that there is a key-on or key-off.
It is given to CPU6. Further, the A>B signal when the new on/off data is large is given as is to the CPU 6, and indicates whether the event content is key-on (rlJ) or key-off (rOJ).

上記セレクタ16からのオン/オフデータは、セレクタ
20を介し、エンコーダ2lを通じ、ラッチ22にラッ
チされて、キーオンイベントに係るキーナンバデータと
して、CPU6に与えられる。また、上記オン/オフメ
モリ18からのオン/オフデータは、セレクタ20を介
し、エンコーダ21を通じ、ラッチ22にラッチされて
、キオンイベントに係るキーナンバデータとして、CP
U6に与えられる。上記セレクタ20には、上記比較回
路]7からのA>B信号が、セレクタ20にセレクト信
号として人力され、キーオン時には、セレクタ16から
のオン/オフデータがセレクトされ、キーオフ時には、
オン/オフメモリ18からのオン/オフデータがセレク
トされる。
The on/off data from the selector 16 passes through the selector 20, the encoder 2l, and is latched by the latch 22, and is provided to the CPU 6 as key number data related to a key-on event. Further, the on/off data from the on/off memory 18 is passed through the selector 20, the encoder 21, and latched by the latch 22, and is stored in the CP as key number data related to the Kion event.
Given to U6. The A>B signal from the comparison circuit [7] is inputted to the selector 20 as a selection signal, and when the key is on, the on/off data from the selector 16 is selected, and when the key is off, the on/off data from the selector 16 is selected.
On/off data from on/off memory 18 is selected.

上記ラソチ22には、カウンタ33からのデータも上位
ビットデータとして人力され、ラッチしたデータかどの
列のものかを示すデータが付加され、これがキーナンパ
として出力される。このラッチ22には、上記オアゲー
トORIからのイベント信号がラッチ信号として人力さ
れる。
The data from the counter 33 is also manually inputted to the rasochi 22 as upper bit data, data indicating which column the latched data belongs to is added, and this is output as a key pick-up. An event signal from the OR gate ORI is input to this latch 22 as a latch signal.

上記カウンタ33の最上位ビットデータは、カウンタ3
3がスキャンするスイッチ群が、第1のスイッチ群31
か、第2のスイッチ群32かを示す第17第2信号であ
る。この第1/第2信号は、CPU6に与えられ、イベ
ントのあったスイッチが第1のスイッチ群31か第2の
スイッチ群32かが示される。また、この第1/第2信
号は、セレクタ15、セレクタ16にもセレクト信号と
して与えられ、スキャンを行うスイッチ群の選択の同期
がとられる。さらに、この第1/第2信号は、オン/オ
フメモリ18のアドレスデータの最上位ビットデータと
しても与えられ、アクセスエリアが第1のスイッチ群3
1のオン/オフデータのものと第2のスイッチ群32の
オン/オフデータのものとて切り換えられる。
The most significant bit data of the counter 33 is
The switch group 3 scans is the first switch group 31
or the second switch group 32. This first/second signal is given to the CPU 6 and indicates whether the switch where the event occurred is the first switch group 31 or the second switch group 32. The first/second signals are also applied to the selectors 15 and 16 as select signals to synchronize the selection of the switch groups to be scanned. Furthermore, this first/second signal is also given as the most significant bit data of the address data of the on/off memory 18, and the access area is set to the first switch group 3.
The on/off data of the first switch group 32 and the on/off data of the second switch group 32 are switched.

第1のスイッチ群31でキーオンイベントがあると、C
PU6はタイミングメモリ23に対し、そのキーナンパ
と時間データ例えばrl00Jのデータをセットする。
When a key-on event occurs in the first switch group 31, C
The PU 6 sets the key number and time data such as rl00J in the timing memory 23.

そして、CPU6は一定時間ごとにインタラブト処理で
、このrl00Jの時間データに縮小データ例えばrO
.9Jのデータを逐次乗算していく。
Then, the CPU 6 performs an interrupt process at regular intervals to add reduced data such as rO to the time data of rl00J.
.. 9J data is successively multiplied.

次いで、第2のスイッチ群32てキーオンイベントがあ
ると、CPU6は、タイミングメモリ23から同じキー
ナンパの番地の時間データを読み出し、これを上記イニ
シャルタッチデータIDとして出力する。このイニシャ
ルタッチデータIDは、同様の処理により、キーオフ時
にも求めるようにしてもよい。タイミングメモリ23は
多数の番地をもっており、タイミングメモリ23の書込
アドレスデータは書込ごとに+1される循環インクリメ
ント式のものである。
Next, when a key-on event occurs at the second switch group 32, the CPU 6 reads time data at the same key pick-up address from the timing memory 23 and outputs this as the initial touch data ID. This initial touch data ID may also be obtained when the key is turned off using a similar process. The timing memory 23 has a large number of addresses, and the write address data of the timing memory 23 is of a circular increment type in which it is incremented by 1 every time a write is made.

このイニシャルタッチデータIDは、上述のほか、第1
スイッチオンから第2スイッチオンまでのタイムカウン
トデータの逆数や、このタイムカウントデータTDをe
xp(−TD)等の演算処理をしたもの等、押鍵速度を
示すデータなら、どのような形態のものでもよい。また
、第1のスイッチ群31、第2のスイッチ群32のキー
スキャンもCPU6によるプログラム処理によって行う
よう,ニしてもよい。圧カセンサ24・・・は、キーボ
ード1の各キーに設けられており、各キーの神鍵圧力が
検出される。この圧カセンサ24は、圧電素子等が用い
られる。
In addition to the above, this initial touch data ID
The reciprocal of the time count data from switch-on to second switch-on and this time count data TD are
The data may be in any form as long as it indicates the key pressing speed, such as data that has been subjected to arithmetic processing such as xp(-TD). Further, the key scanning of the first switch group 31 and the second switch group 32 may also be performed by program processing by the CPU 6. The pressure sensors 24... are provided for each key of the keyboard 1, and detect the key pressure of each key. This pressure sensor 24 uses a piezoelectric element or the like.

この圧カセンサ24からの出力は、アナログマルチブレ
クサ25を介して、いずれか1つの圧力センサ24の出
力が選択され、A−D (アナログーデジタル)変換器
26を経て、ラッチ27にラッチされ、CPU6にアフ
タータッチデータADとして与えられる。
The output from this pressure sensor 24 is selected via an analog multiplexer 25, and the output of one of the pressure sensors 24 is selected via an A-D (analog-digital) converter 26 and latched into a latch 27. , is given to the CPU 6 as aftertouch data AD.

一方、カウンタ28は、キーボード1の全キー数分以上
のステップ分のカウントを行うものて、このカウンタ2
8のカウントデータは、人力ライン切換用のデータとし
て、上記アナログマルチプレクサ25に与えられる。こ
のカウンタ28のカウントデータは、ラッチ29にもラ
ッチされ、キーナンバデータとして、CPU6に与えら
れる。
On the other hand, the counter 28 counts steps equal to or more than the total number of keys on the keyboard 1.
The count data of 8 is given to the analog multiplexer 25 as data for manual line switching. The count data of this counter 28 is also latched in a latch 29, and is given to the CPU 6 as key number data.

上記A−D変換器26からの各ビット出力は、オアゲー
トOR2を介して、イベント信号として出力される。こ
のイベント信号は、上記ラッチ27、2つにラッチ信号
として与えられるとともに、CPU6にも与えられる。
Each bit output from the A-D converter 26 is output as an event signal via an OR gate OR2. This event signal is given as a latch signal to the two latches 27 and also to the CPU 6.

このようなアフタータッチデータADと、イニシャルタ
ッチデータIDとが、上述の重み係数データに加算され
て、合成重み係数データとなる。
Such aftertouch data AD and initial touch data ID are added to the above-mentioned weighting coefficient data to form composite weighting coefficient data.

この場合、重み係数データに加算するデータは、アフタ
ータッチデータADまたはイニシャルタッチデータID
のいずれかとしてもよい。
In this case, the data to be added to the weighting coefficient data is aftertouch data AD or initial touch data ID.
Either of these may be used.

3.キー処理 第6図は、キー処理のフローチャートを示すもので、こ
のキー処理は、イニシャライズ処理、パネルスイッチ処
理等とともに全体処理の1つを形成している。この全体
処理は電源投入とともに、スタートする。
3. Key Processing FIG. 6 shows a flowchart of key processing, which forms one of the overall processes together with initialization processing, panel switch processing, etc. This entire process starts when the power is turned on.

この処理では、まずCPU6は、キースキャン回路2か
らの出力により、キーオンイベントかあZ .A・ キ
ーオフイベントがあるかを判別する(ステップ01、0
2)。キーオンイベントがあれば、次述するステップ0
3〜06のイニシャルタッチデータ作成処理、及びステ
ップ08〜14のチャンネル割り当て処理を行い、キー
オフイベントがあれば、ステップ15〜17のキーオフ
処理を行つO キーオンイベント時のイニシャルタッチデータ作戊処理
では、まずキーオンがキーボード1の各キーの第1スイ
ッチのオンであれば(ステップ05)、キーオンにかか
るキーナンパと時間データをタイミングメモリ23に書
き込む(ステップ06)。第2スイッチのオンであれば
(ステップ03) キーオンにかかるキーナンパの記憶
されている番地の時間データを読み出し(ステップ04
)、これをイニシャルタッチデータIDとする。
In this process, the CPU 6 first detects a key-on event or Z . A. Determine whether there is a key-off event (steps 01, 0
2). If there is a key-on event, step 0 described below
Initial touch data creation processing in steps 3 to 06 and channel assignment processing in steps 08 to 14 are performed, and if there is a key-off event, key-off processing in steps 15 to 17 is performed. First, if the key-on is the first switch of each key on the keyboard 1 (step 05), the key pick-up and time data related to the key-on are written into the timing memory 23 (step 06). If the second switch is on (step 03), read the time data of the address where the key pick-up related to key-on is stored (step 04)
), this is set as the initial touch data ID.

次にキーオンイベント峙のチャンネル割り当て処理では
、まずアサイメントメモリ8にオン/オフデータがオフ
状態のチャンネルエリアがあるかをサーチし(ステップ
08)、オフチャンネルエリアがあれば、オフチャンネ
ルエリアの中で最もN h3t.重み係数データの小さ
いチャンネルに、上記キーオンイベントに係る楽音を割
り当てる(ステップ09)。
Next, in the channel assignment process in response to a key-on event, first, the assignment memory 8 is searched to see if there is a channel area where the on/off data is in the off state (step 08). The most N h3t. The musical tone associated with the key-on event is assigned to the channel with the smaller weighting coefficient data (step 09).

上記ステップ08で、オフチャンネルエリアがなければ
、最も合成重み係数データの小さいチャンネルに、上記
キーオンイベントに係る楽音を割り当てる(ステップ1
0)。
In step 08 above, if there is no off-channel area, the musical tone related to the key-on event is assigned to the channel with the smallest synthesis weighting coefficient data (step 1
0).

そして、アサイメントメモリ8の全チャンネルエリアの
合成重み係数データを各々−1し(ステップ11)、こ
のキーオンイベントに係るキーナンパに対応する重み係
数データをROMIOより読み出す(ステップ12)。
Then, the combined weight coefficient data of all channel areas in the assignment memory 8 are each decremented by 1 (step 11), and the weight coefficient data corresponding to the key pick-up related to this key-on event is read from the ROMIO (step 12).

次いで、この読み出した重み係数データに、上記イニシ
ャルタッチデータIDとアフタータッチデータADとを
加算し、合成重み係数データとする(ステップ13)。
Next, the above-mentioned initial touch data ID and aftertouch data AD are added to the read weighting coefficient data to obtain composite weighting coefficient data (step 13).

最後に、上記割り当てられたチャンネルエリアに、キー
オンイベントに係る各種データ、すなわちオン状態のオ
ン/オフデータ、キーナンパ、合成重み係数データ等を
書き込む(ステップ14)。
Finally, various data related to the key-on event, ie, on/off data of the on state, key pick-up, composite weighting coefficient data, etc., are written in the allocated channel area (step 14).

上記ステップ11の合成重み係数データを−1する処理
は、一定周期ごとにインタラプト処理により行うように
してもよく、時間の経過とともに小さくできれば何でも
よい。また、演算形態は−1のほか、乗算、除算、加算
等でもよい。
The process of decrementing the composite weighting coefficient data by 1 in step 11 above may be performed by interrupt processing at regular intervals, or any other method may be used as long as it can be reduced over time. Further, the calculation form may be multiplication, division, addition, etc. in addition to -1.

まtこ、上5己ステップ02で、キーオフイベントのあ
ることが判別されれば、ペダル検出回路13よりダンバ
ーペダルのダンパーオンイベント信号が出力されている
かを判別する(ステップ15)。
If it is determined in step 02 that there is a key-off event, it is determined whether a damper-on event signal of the damper pedal is output from the pedal detection circuit 13 (step 15).

ダンパーオンイベント信号が出力されていなければ、キ
ーオフイベントに係るキーナンパと同じキーナンパがセ
ットされているチャンネルエリアをサーチし(ステップ
16)、このチャンネルエリアのオン/オフデータをク
リアしてオフ状態とする(ステップ17)。
If the damper on event signal is not output, a channel area in which the same key pick-up as the key pick-up related to the key-off event is set is searched (step 16), and the on/off data of this channel area is cleared to set it to the off state. (Step 17).

また、上記ステップ15で、ダンパーオンイベント信号
が出力されていれば、ステップ16〜17のキーオフ処
理は行われず、引き続き楽音が鳴り続ける。ダンバーペ
ダルが解放されて、ダンバーオフイベント信号が出力さ
れれば、インタラプト処理により、キーオフ処理が行わ
れる。このキーオフ処理は、次のように行われる。アサ
イメントメモリ8の各チャンネルエリアの各オン/オフ
データに対し、キースキャン回路2からのスキャン結果
が一致しないものについて、オン/オフデータがオン状
態からオフ状態に切り換えられる。
Further, if the damper-on event signal is output in step 15, the key-off processing in steps 16-17 is not performed and the musical tone continues to sound. When the damper pedal is released and a damper-off event signal is output, key-off processing is performed by interrupt processing. This key-off processing is performed as follows. If the scan results from the key scan circuit 2 do not match each of the on/off data in each channel area of the assignment memory 8, the on/off data is switched from the on state to the off state.

このキーオフイベント時の処理においても、タッチデー
タを求める処理を行うようにしてもよい。
Also in the process at the time of this key-off event, a process to obtain touch data may be performed.

この場合、ステップ02の後、第2スイッチのオフであ
れば、キーオフに係るキーナンパと時間データとをタイ
ミングメモリ23に書き込んでリターンする。第1スイ
ッチのオフであれば、キーオフに係るキーナンパの記憶
番地の時間データを読み出して、これをオフタッチデー
夕とし、ステップ15に進むことになる。
In this case, after step 02, if the second switch is off, the key pick-up and time data related to the key-off are written in the timing memory 23 and the process returns. If the first switch is off, the time data of the memory address of the key pick-up related to the key off is read out, this is set as the off touch data, and the process proceeds to step 15.

4,オフチャンネルエリアサーチ 第7図は、上記ステップ08のオフチャンネルエリアサ
ーチ処理のフローチャートを示すものである。
4. Off-channel area search FIG. 7 shows a flowchart of the off-channel area search process in step 08 above.

この処理ては、まずレジスタNをクリアし(ステップ2
1)、次いてレジスタNを+1して(ステップ22)、
このレジスタNの値に応じたアサイメントメモリ8のチ
ャンネルエリアのオン/オフデータがオフか否か判断す
る(ステップ23)。
In this process, first clear register N (step 2).
1), then add 1 to register N (step 22),
It is determined whether the on/off data of the channel area of the assignment memory 8 corresponding to the value of this register N is off (step 23).

オフ状態でなければ、このステップ22、23のサーチ
処理を、レジスタNの値が「8」となって、全チャンネ
ル分終了するまで行う(ステ・ンプ24)。
If it is not in the off state, the search processing in steps 22 and 23 is repeated until the value of register N becomes "8" and the search processing is completed for all channels (step 24).

上記ステップ23て、オフチャンネルエリアが見つかれ
ば、上述のステップ09へ進む。また、ステップ24て
、全チャンネルサーチしてもオフチャンネルエリアがな
ければ、上述のステ・ソブ10へ進む。
If an off-channel area is found in step 23 above, the process proceeds to step 09 above. Further, in step 24, if no off-channel area is found even after searching all channels, the process proceeds to step 10 described above.

第8図は、上記ステップ09のオフチャンネル群の中の
最小合成重み係数データをもつもののサチ処理のフロー
チャートを示すものである。
FIG. 8 is a flowchart of the search process for the off-channel group having the minimum combination weighting coefficient data in step 09.

この処理では、まずCPU6は、レジスタWnewをク
リアし、レジスタW o 1 dに最大値「11・・・
1」をセットし(ステップ31)、上記第7図のステッ
プ23でサーチしたオフチャンネルエリアの合成重み係
数データを読み出して、レジスタW n e wにその
チャンネルナンパとともにセ・ソトする(ステップ32
)。そして、レジスタWnewの合成重み係数データが
、レジスタWoldの合成重み係数データより小さけれ
ば(ステップ33)、レジスタW n e wの合戒重
み係数データをレジスタWoldに転送する(ステップ
34)。
In this process, the CPU 6 first clears the register Wnew and sets the maximum value "11..." in the register W o 1 d.
1" (step 31), reads out the composite weighting coefficient data of the off-channel area searched in step 23 of FIG.
). If the combined weighting coefficient data in the register W new is smaller than the combined weighting coefficient data in the register Wold (step 33), the combined weighting coefficient data in the register Wnew is transferred to the register Wold (step 34).

このステップ33、34の処理により、最も合威重み係
数データの小さいチャンネルナンパとその合成重み係数
データがサーチされる。
Through the processing in steps 33 and 34, the channel number with the smallest combined weighting coefficient data and its combined weighting coefficient data are searched.

そして、このサーチ処理を、レジスタNの値が「8」と
なって、全チャンネル分終了するまで(ステップ35)
、レジスタNの値を+1して(ステップ36)、オフチ
ャンネルエリアについてのみ行う(ステップ37)。全
チャンネル分、サーチを終えて、オフチャンネルエリア
群の中で最も合成重み係数データの小さいものが見つか
れば(ステップ35)、上述の第5図のステップ11に
進む。
Then, this search process is continued until the value of register N becomes "8" and the search process is completed for all channels (step 35).
, the value of register N is incremented by 1 (step 36), and the process is performed only for the off-channel area (step 37). When the search for all channels is completed and the off-channel area group with the smallest combined weighting coefficient data is found (step 35), the process proceeds to step 11 in FIG. 5 described above.

なお、この処理は、第9図に示すフローチャートと同じ
形態で行ってもよい。
Note that this process may be performed in the same form as the flowchart shown in FIG.

最小合成重み係数データサーチ 第9図は、上記ステップ10のオンチャンネル群の中の
最小合戊重み係数データをもつもののサーチ処理のフロ
ーチャートを示すものである。
Minimum Combined Weighting Coefficient Data Search FIG. 9 is a flowchart of the search process for the channel having the minimum combined weighting coefficient data in the on-channel group in step 10.

この処理では、まずCPU6は、レジスタWnewをク
リアし、レジスタWoldに最大値「11・・・1」を
セットし(ステップ41)、レジスタNをクリアした後
(ステップ42)、レジスタNの値を+1し(ステップ
43) このレジスタNの値に応したアサイメントメモ
リ8のチャンネルエリアの合成重み係数データを読み出
して、レジスタW n e wにそのチャンネルナンパ
とともにセットする(ステップ44)。
In this process, the CPU 6 first clears the register Wnew, sets the maximum value "11...1" in the register Wold (step 41), clears the register N (step 42), and then sets the value of the register N. +1 (step 43) The combined weight coefficient data of the channel area of the assignment memory 8 corresponding to the value of this register N is read out and set in the register W new together with the channel number (step 44).

そして、レジスタW n e wの合成重み係数データ
が、レジスタWoldの合成重み係数データより小さけ
れば(ステップ45) レジスタWneWの合戊重み係
数データをレジスタWoldにトランスファする(ステ
ップ46)。このステップ45、46の処理により、オ
ンチャンネル群の中で最も合成重み係数データの小さい
チャンネルナンバとその合成重み係数データがサーチさ
れる。
If the combined weighting coefficient data in the register Wnew is smaller than the combined weighting coefficient data in the register Wold (step 45), the combined weighting coefficient data in the register WneW is transferred to the register Wold (step 46). Through the processing of steps 45 and 46, the channel number with the smallest combined weighting coefficient data among the on-channel group and its combined weighting coefficient data are searched.

次いで、このサーチ処理を、レジスタNの値が「8」と
なって、全チャンネル分終了するまで(ステップ47)
、繰り返し行う。全チャンネル分、サーチを終えて、最
も合戊重み付け係数データの小さいものをサーチすると
、上述の第6図のステップ11に進む。
Next, this search process is continued until the value of register N becomes "8" and the search process is completed for all channels (step 47).
, repeat. After completing the search for all channels and searching for the one with the smallest combined weighting coefficient data, the process proceeds to step 11 in FIG. 6 described above.

本発明は上記実施例に限定されず、本発明の趣旨を逸脱
しない範囲で種々変更可能である。
The present invention is not limited to the above embodiments, and various changes can be made without departing from the spirit of the present invention.

[発明の効果] 以上詳述したように、本発明によれば、チャンネル割り
当ての優先度を示す重み係数データに対し、放音指示の
状態(速さまたは強さ等)を示す放音指示状態データを
演算合成し、この合戊重み係数データの値に基づいて新
たなチャンネル割り当てを行うようにしたから、放音指
示の状態(速さまたは強さ等)に応じて、チャンネル割
り当ての優先度が決められ、放音指示の状態が変化して
も、いちばん減衰の進んだ楽音を確実にサーチすること
ができる等の効果を奏する。
[Effects of the Invention] As described in detail above, according to the present invention, the sound emission instruction state indicating the state of the sound emission instruction (speed, intensity, etc.) is determined based on the weighting coefficient data indicating the priority of channel allocation. Since the data is computationally synthesized and a new channel is assigned based on the value of this combined weighting coefficient data, the priority of channel assignment is determined according to the state of the sound emission instruction (speed, strength, etc.). is determined, and even if the state of the sound emission instruction changes, it is possible to reliably search for the musical tone that has decayed the most.

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

第1図乃至第9図は本発明の実施例を示すもので、第1
図は全体回路図であり、第2図はアサイメントメモリ8
を示す図であり、第3図はROM10に記憶されている
重み係数データの内容を示す図であり、第4図はRAM
IIの各種レジスタを示す図であり、第5図はキースキ
ャン回路2の回路図であり、第6図はキー処理のフロー
チャート図であり、第7図はオフチャンネルエリアサー
チ処理のフローチャート図であり、第8図はオフチャン
ネル群の中の最小重み係数データサーチ処理のフローチ
ャート図であり、第9図はオンチャンネル群の中の最小
重み係数データのサーチ処理のフローチャート図である
。 1・・・キーボード、2・・・キースキャン回路、3・
・・パネルスイッチ群、6・・・CPU,7・・・トー
ンジエネレー夕、8・・・アサイメントメモリ、10・
・・ROM111・・・RAM,12・・・ペダル群、
17・・・比較回路、18・・・オン/オフメモリ、2
3・・・タイミングメモリ、25・・・アナログマルチ
ブレクサ、28、33・・・カウンタ、31・・・第1
のスイッチ群、32・・・第2のスイッチ群。
1 to 9 show embodiments of the present invention.
The figure shows the overall circuit diagram, and Figure 2 shows the assignment memory 8.
FIG. 3 is a diagram showing the contents of weighting coefficient data stored in the ROM 10, and FIG.
FIG. 5 is a circuit diagram of the key scan circuit 2, FIG. 6 is a flowchart of key processing, and FIG. 7 is a flowchart of off-channel area search processing. , FIG. 8 is a flowchart of the minimum weighting coefficient data search process in the off-channel group, and FIG. 9 is a flowchart of the minimum weighting coefficient data search process in the on-channel group. 1...Keyboard, 2...Key scan circuit, 3.
...Panel switch group, 6...CPU, 7...Tone generator, 8...Assignment memory, 10.
...ROM111...RAM, 12...pedal group,
17... Comparison circuit, 18... On/off memory, 2
3... Timing memory, 25... Analog multiplexer, 28, 33... Counter, 31... First
switch group, 32... second switch group.

Claims (4)

【特許請求の範囲】[Claims] (1)楽音の放音指示を行う複数の放音指示手段と、こ
の放音指示手段の数より少ない数の同時最大発音数に相
当する複数の楽音発生チャンネルを有し、この楽音発生
チャンネルは各々当該チャンネルに割り当てられた放音
指示手段に対応する音高の楽音を発生する楽音発生手段
とを備えた電子楽器において、 上記放音指示手段の放音指示の速さまたは強さを検出す
る指示検出手段と、 上記チャンネル割り当ての優先度を示す重み係数データ
を、音高又は音域ごとに異なる値で出力する重み係数デ
ータ出力手段と、 この重み係数データ出力手段から出力された重み係数デ
ータに対し、上記指示検出手段で検出された放音指示の
速さまたは強さのデータを演算合成する演算合成手段と
、 この演算合成手段で演算合成された合成重み係数データ
を、上記チャンネル割り当て内容に対応させて記憶する
割り当て合成重み係数データ記憶手段と、 この割り当て合成重み係数データ記憶手段に記憶された
各合成重み係数データを、時間の経過とともに小さくま
たは大きくする変化手段と、上記楽音発生手段の複数の
割り当てチャンネルのうち、上記重み係数データの最小
または最大のチャンネルをサーチするサーチ手段と、 このサーチ手段でサーチされたチャンネルを、上記新た
に操作された楽音放音手段に割り当てる割り当て手段と
を備えたことを特徴とする電子楽器のチャンネル割り当
て装置。
(1) It has a plurality of sound emission instruction means for instructing the emission of musical tones, and a plurality of musical tone generation channels corresponding to the maximum number of simultaneous pronunciations, which number is smaller than the number of the sound emission instruction means, and the musical tone generation channels are In an electronic musical instrument, the speed or strength of the sound emission instruction of the sound emission instruction means is detected in an electronic musical instrument equipped with a musical tone generating means that generates a musical tone of a pitch corresponding to the sound emission instruction means assigned to each channel. an instruction detection means; a weighting coefficient data outputting means for outputting weighting coefficient data indicating the priority of the channel allocation as a different value for each pitch or range; On the other hand, there is an arithmetic synthesis means for arithmetic and synthesis of the speed or strength data of the sound emitting instruction detected by the instruction detection means, and a synthesis weighting coefficient data which is arithmetic and synthesized by the arithmetic synthesis means, into the channel assignment contents. an assigned composite weighting coefficient data storage means for storing the assigned composite weighting coefficient data in a corresponding manner; a changing means for decreasing or increasing each composite weighting coefficient data stored in the assigned composite weighting coefficient data storing means over time; and a musical tone generating means. a search means for searching for the channel with the minimum or maximum weighting coefficient data among the plurality of allocated channels; and an allocation means for allocating the channel searched by the search means to the newly operated musical sound emitting means. A channel assignment device for an electronic musical instrument.
(2)上記演算合成手段は、重み係数データに対し、放
音指示の速さまたは強さのデータを加算することを特徴
とする請求項1記載の電子楽器のチャンネル割り当て装
置。
(2) The channel allocation device for an electronic musical instrument according to claim 1, wherein the calculation/synthesis means adds data on the speed or intensity of the sound emission instruction to the weighting coefficient data.
(3)上記重み係数データ記憶手段は、音高が大きくな
るほど重み係数データが小さく、新たなチャンネル割り
当てが容易となっていることを特徴とする請求項1記載
の電子楽器のチャンネル割り当て装置。
(3) The channel allocation device for an electronic musical instrument according to claim 1, wherein the weighting coefficient data storage means has a smaller weighting coefficient data as the pitch becomes larger, making it easier to allocate a new channel.
(4)上記変化手段は、新たに放音指示手段の操作があ
るごとに、割り当て重み付け係数データ記憶手段に記憶
されている全重み係数データを変化させる手段であるこ
とを特徴とする請求項1記載の電子楽器のチャンネル割
り当て装置。
(4) Claim 1, wherein the changing means is a means for changing all weighting coefficient data stored in the assigned weighting coefficient data storage means each time there is a new operation of the sound emission instructing means. The described electronic musical instrument channel assignment device.
JP1312175A 1989-11-30 1989-11-30 Channel allocating device for electronic musical instrument Pending JPH03171197A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1312175A JPH03171197A (en) 1989-11-30 1989-11-30 Channel allocating device for electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1312175A JPH03171197A (en) 1989-11-30 1989-11-30 Channel allocating device for electronic musical instrument

Publications (1)

Publication Number Publication Date
JPH03171197A true JPH03171197A (en) 1991-07-24

Family

ID=18026127

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1312175A Pending JPH03171197A (en) 1989-11-30 1989-11-30 Channel allocating device for electronic musical instrument

Country Status (1)

Country Link
JP (1) JPH03171197A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6031173A (en) * 1997-09-30 2000-02-29 Kawai Musical Inst. Mfg. Co., Ltd. Apparatus for generating musical tones using impulse response signals
US6762357B2 (en) 2001-04-17 2004-07-13 Kawai Musical Instruments Mfg. Co., Ltd. Resonance apparatus, resonance method and computer program for resonance processing
JP2019168515A (en) * 2018-03-22 2019-10-03 カシオ計算機株式会社 Electronic musical instrument, method, and program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57136698A (en) * 1981-02-19 1982-08-23 Nippon Musical Instruments Mfg Electronic musical instrument
JPS60191297A (en) * 1984-03-13 1985-09-28 カシオ計算機株式会社 Channel alloter for electronic musical instrument
JPH01169497A (en) * 1987-10-29 1989-07-04 Roorand Kk Electronic musical instrument

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57136698A (en) * 1981-02-19 1982-08-23 Nippon Musical Instruments Mfg Electronic musical instrument
JPS60191297A (en) * 1984-03-13 1985-09-28 カシオ計算機株式会社 Channel alloter for electronic musical instrument
JPH01169497A (en) * 1987-10-29 1989-07-04 Roorand Kk Electronic musical instrument

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6031173A (en) * 1997-09-30 2000-02-29 Kawai Musical Inst. Mfg. Co., Ltd. Apparatus for generating musical tones using impulse response signals
US6762357B2 (en) 2001-04-17 2004-07-13 Kawai Musical Instruments Mfg. Co., Ltd. Resonance apparatus, resonance method and computer program for resonance processing
JP2019168515A (en) * 2018-03-22 2019-10-03 カシオ計算機株式会社 Electronic musical instrument, method, and program

Similar Documents

Publication Publication Date Title
JPH0219960B2 (en)
JP2522761B2 (en) Electronic musical instrument channel assignment device
JPH03174590A (en) Electronic musical instrument
JP2641605B2 (en) Electronic musical instrument channel assignment device and channel assignment method
JP2655905B2 (en) Electronic musical instrument channel assignment device
JP2664098B2 (en) Electronic musical instrument pedal device
JPH04181295A (en) Electronic musical instrument
US4724736A (en) Keyboard musical instruments with transpositional function
JPH03171197A (en) Channel allocating device for electronic musical instrument
JPH0572596B2 (en)
JPH0429249B2 (en)
JP2640992B2 (en) Pronunciation instruction device and pronunciation instruction method for electronic musical instrument
JPH01321492A (en) Electronic musical instrument
US5218154A (en) Electronic keyboard instrument with an unique tone channel assignor for percussion tones
JP2685419B2 (en) Electronic musical instrument channel assignment device and channel assignment method
JPH0515279B2 (en)
JPH058439B2 (en)
JP2814479B2 (en) Electronic musical instrument
JPH07175480A (en) Data setter for electronic musical instrument
JP2531317B2 (en) Key press assigning device for electronic musical instruments
JP2606459B2 (en) Touch response device for electronic musical instruments
JPH0128397B2 (en)
JPH08278781A (en) Sound source module
JP2639604B2 (en) Sound device for electronic keyboard instruments
JP4124434B2 (en) Electronic musical instrument with digital sound source