JPH0719150B2 - Electronic musical instrument assigner - Google Patents
Electronic musical instrument assignerInfo
- Publication number
- JPH0719150B2 JPH0719150B2 JP62176813A JP17681387A JPH0719150B2 JP H0719150 B2 JPH0719150 B2 JP H0719150B2 JP 62176813 A JP62176813 A JP 62176813A JP 17681387 A JP17681387 A JP 17681387A JP H0719150 B2 JPH0719150 B2 JP H0719150B2
- Authority
- JP
- Japan
- Prior art keywords
- channels
- channel
- tone generation
- note
- assigner
- 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 - Fee Related
Links
- 238000000034 method Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000002238 attenuated effect Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、それぞれ音色の異なる複数のパートを同時
に演奏できる電子楽器に係り、さらに詳しくは、押鍵な
どにより新たに入力された演奏データに割り当てる楽音
発生チャンネルを選定する電子楽器のアサイナに関する
ものである。Description: TECHNICAL FIELD The present invention relates to an electronic musical instrument capable of simultaneously playing a plurality of parts each having a different timbre, and more specifically, to playing data newly input by pressing a key or the like. The present invention relates to an electronic musical instrument assigner for selecting a musical tone generation channel to be assigned.
電子楽器は一般に複数の楽音発生チャンネル(以下、単
にチャンネルとも称する)を有しており、新たな押鍵な
どによる楽音の発音に際しては、その新たに入力された
演奏データに割り当てるべきチャンネルをその複数のチ
ャンネルのうちから選定している。Electronic musical instruments generally have a plurality of musical tone generation channels (hereinafter, also simply referred to as channels), and when a musical tone is to be sounded by a new key depression or the like, a plurality of channels to be assigned to the newly input performance data are to be allocated. We have selected from among the channels.
このチャンネルの選定方法としては、種々の方法があ
り、例えば、空いているチャンネルのうちから選定す
る。最も早く発音を開始したチャンネル、つまり最も
早く押鍵した楽音に対応するチャンネルを選定する、
最も早く離鍵した楽音に対応するチャンネルを選定す
る、最も発音量等の小さいチャンネルを選定する、
これらを組み合わせる、などがある。There are various methods for selecting this channel, and for example, it is selected from among available channels. Select the channel that started to sound the earliest, that is, the channel that corresponds to the musical sound you pressed the earliest,
Select the channel corresponding to the musical sound released the earliest, select the channel with the smallest sound volume,
There is a combination of these.
また、電子楽器にはそれぞれ音色の異なる複数のパート
を同時に演奏できるいわゆるマルチティンバ電子楽器が
あり、例えば自動演奏装置は複数のパートの演奏情報を
記憶し、これを順次に読み出して所定のテンポで同時演
奏を行う。Electronic musical instruments include so-called multitimbral electronic musical instruments that can simultaneously play a plurality of parts each having a different tone color.For example, an automatic performance device stores performance information of a plurality of parts, and sequentially reads this information to obtain a predetermined tempo. Perform simultaneously.
さて、この種の電子楽器では、同時に発音できるチャン
ネル数が有限であるため、演奏を始める前に、各パート
に対して個々のパートが専用的に使用できるチャンネル
数をそれぞれ固定的に割り当てている。例えば、全チャ
ンネル数が「16」であれば、ピアノ「8」ストリングス
「5」、フルート「1」、トランペット「1」、ベース
「1」というように、それぞれのパートに対してチャン
ネル数を固定的に配分設定する。これにより、各パート
において同時発音できる楽音の数が決まるのである。Now, in this kind of electronic musical instrument, since the number of channels that can be sounded at the same time is finite, the number of channels that can be exclusively used by each part is fixedly assigned to each part before starting playing. . For example, if the total number of channels is "16", the number of channels is fixed for each part, such as piano "8" strings "5", flute "1", trumpet "1", bass "1". To set distribution. This determines the number of tones that can be sounded simultaneously in each part.
ところが、この方法では、各パートの使用できるチャン
ネル数を固定的に定められてしまっているため、その定
められたチャンネル数の範囲内でしかチャンネルを使用
できないことになる。このため、例えばあるパートの押
鍵が連続的になされて、そのパートが使用するチャンネ
ルの数がそのパートに定められた上限値に達すると、他
のパートでは使用されていないチャンネルがあるにもか
かわらず、そのパートでは最早それ以上チャンネルが選
定できないことになり、このため演奏が単調なものにな
りがちで、演奏表現の豊かさが損なわれる。However, in this method, since the number of channels that can be used by each part is fixedly determined, the channels can be used only within the determined number of channels. For this reason, for example, when a certain key is pressed continuously and the number of channels used by that part reaches the upper limit value set for that part, other channels may not be used. Regardless, no more channels can be selected for that part anymore, which tends to make the performance monotonous and impairs the richness of performance expression.
本発明は上記問題点を解決するためになされたものであ
り、各パートの使用できるチャンネル数が固定的となら
ないようにして、演奏表現の豊かさが損なわれないよう
にすることを目的とする。The present invention has been made to solve the above problems, and an object of the present invention is to prevent the number of channels that can be used by each part from being fixed so as not to impair the richness of performance expression. .
上記問題点を解決するために、本発明の電子楽器のアサ
イナは、一つの形態として、複数のパートを有する電子
楽器において新たに入力された演奏データに割り当てる
楽音発生チャンネルを選定するアサイナであって、各パ
ートについてそのパートを発音中の楽音発生チャンネル
のうち発音継続を保証する楽音発生チャンネルの最低数
に相当するリザーブ数を記憶するリザーブ数記憶手段
と、新たな演奏データに割り当てる楽音発生チャンネル
の選定を行うにあたり各パートで発音中の楽音発生チャ
ンネルのうちから選定する場合に、そのパートのリザー
ブ数相当分の楽音発生チャンネルは選定対象から除外し
てリザーブ数相当分を超える数の楽音発生チャンネルか
ら選定を行う選定手段とを備えたものである。In order to solve the above-mentioned problems, an assigner for an electronic musical instrument of the present invention is, as one form, an assigner for selecting a musical tone generation channel to be assigned to newly input performance data in an electronic musical instrument having a plurality of parts. , For each part, the reserve number storage means for storing the reserve number corresponding to the minimum number of the tone generation channels that guarantees continued tone generation among the tone generation channels that are producing that part, and the tone generation channels assigned to new performance data. When selecting from among the tone generation channels that are sounding in each part when selecting, the number of tone generation channels corresponding to the reserve number of that part is excluded from the selection target and the number of tone generation channels exceeding the number equivalent to the reserve number is selected. It is provided with a selection means for selecting from.
また本発明の電子楽器のアサイナは、他の形態として、
複数のパートを有する電子楽器において新たに入力され
た演奏データに割り当てる楽音発生チャンネルを選定す
るアサイナであって、各パートについてそのパートを発
音中の楽音発生チャンネルのうち発音継続を保証する楽
音発生チャンネルの最低数に相当するリザーブ数を記憶
するリザーブ数記憶手段と、各パートの優先順位を記憶
する優先順位記憶手段と、新たな演奏データに割り当て
る楽音発生チャンネルの選定を行うにあたり各パートで
発音中の楽音発生チャンネルのうちから選定する場合
に、優先順位の低いパートから高いパートへと順次に選
定を行い、その際に各パートではそのパートのリザーブ
数相当分の楽音発生チャンネルは選定対象から除外して
リザーブ数相当分を超える数の楽音発生チャンネルから
選定を行う選定手段とを備えたものである。In addition, the assigner of the electronic musical instrument of the present invention, as another form,
An assigner for selecting a musical tone generation channel to be assigned to newly input performance data in an electronic musical instrument having a plurality of parts, wherein the musical tone generation channel guarantees continuation of the musical tone generation channel among the musical tone generation channels for which the part is being pronounced. The number of reserves that stores the minimum number of reserves, the priority storage that stores the priority of each part, and the tone generation channel that is assigned to new performance data When selecting from among the sound generation channels of, the parts with lower priority are selected in order from the higher priority, and at that time, the sound generation channels corresponding to the reserve number of that part are excluded from the selection target in each part. Means for selecting from a number of musical tone generation channels that exceed the number of reserves It is those with a.
前者の形態の電子楽器のアサイナにおいては、すべての
楽音発生チャンネルをパート毎に固定配分せず、各パー
ト毎にリザーブ数を設け、新たな演奏データに割り当て
る楽音発生チャンネルを各パートで発音中の楽音発生チ
ャンネルから選定する必要がある場合には、そのパート
のリザーブ数相当分の最低数の楽音発生チャンネルまた
はノートについては選定対象から除外してその発音継続
を保証するようにしている。In the former form of the electronic musical instrument assigner, all tone generation channels are not fixedly allocated to each part, but a reserve number is set for each part, and the tone generation channels assigned to new performance data are being played by each part. When it is necessary to select from the tone generation channels, the minimum number of tone generation channels or notes corresponding to the reserve number of the part is excluded from the selection target, and the continuation of the sound generation is guaranteed.
また後者の形態の電子楽器のアサイナにおいては、各パ
ートに優先順位を付け、新たな演奏データに割り当てる
楽音発生チャンネルを各パートで発音中の楽音発生チャ
ンネルから選定する必要がある場合には、優先順位の低
いパートから高いパートへの順に、そのパートのリザー
ブ数相当分の楽音発生チャンネルまたはノートは選定対
象から除外して選定している。Also, in the latter form of the electronic musical instrument assigner, if it is necessary to prioritize each part and select the tone generation channel to be assigned to new performance data from the tone generation channels currently sounding in each part, In order from the part having the lowest order to the part having the highest order, the tone generation channels or notes corresponding to the reserve number of the part are excluded from the selection target.
第1図は本発明の一実施例としてのアサイナを備えた電
子楽器を示すブロック図である。FIG. 1 is a block diagram showing an electronic musical instrument provided with an assigner as an embodiment of the present invention.
演奏データ発生装置1はミュージックシーケンサとも呼
ばれる装置であり、鍵盤やコンピュータを用いて作成さ
れる各パート毎の演奏情報を記憶し、これを順次に読み
出して演奏データを発生する。The performance data generator 1 is a device also called a music sequencer, which stores performance information for each part created by using a keyboard or a computer, and sequentially reads this to generate performance data.
演奏データ発生装置1から発生される演奏データにはMI
DI規格によるフォーマットが用いられる。このMIDI規格
を用いる場合には、各パートに別々のMIDIチャンネルを
割り当てることにより、複数のパートの演奏データを送
受することができる。例えば、ピアノ音をMIDIチャンネ
ル1、ストリングスをMIDIチャンネル2というように割
り当て、演奏データはこのMIDIチャンネルにより識別さ
れてそれぞれ送受される。The performance data generated from the performance data generator 1 is MI
The DI standard format is used. When this MIDI standard is used, performance data of a plurality of parts can be transmitted and received by assigning different MIDI channels to each part. For example, piano sounds are assigned to MIDI channel 1 and strings are assigned to MIDI channel 2, and performance data is identified by this MIDI channel and transmitted / received.
チャンネルアサイナ2はこのMIDI演奏データを受信し、
このMIDIチャンネルに対応するパートに応じて、メモリ
3を参照して、その演奏データに割り当てる所要のチャ
ンネルを選定し、その選定データおよび演奏データに基
づいて楽音発生装置4を制御する。Channel assigner 2 receives this MIDI performance data,
According to the part corresponding to this MIDI channel, the memory 3 is referred to, a required channel to be assigned to the performance data is selected, and the musical sound generator 4 is controlled based on the selected data and the performance data.
楽音発生装置4は楽音発生用のチャンネルを24チャンネ
ル有する装置であり、その楽音発生方式としては各種の
方式を用いることができる。近年、楽音発生回路はディ
ジタル化が進み、波形読出し方式、周波数変調方式、位
相歪方式などが実用化され、さらにはこれらの方式を組
み合わせることによって、より豊かな音色が得られるよ
うになっている。したがって、この実施例の楽音発生装
置4では一つの楽音を発生するために複数のチャンネル
が使われている。The tone generating device 4 is a device having 24 channels for tone generation, and various tone generating systems can be used. In recent years, musical tone generating circuits have been digitized, and waveform reading methods, frequency modulation methods, phase distortion methods, etc. have been put into practical use. Furthermore, by combining these methods, richer tones can be obtained. . Therefore, the tone generator 4 of this embodiment uses a plurality of channels to generate one tone.
メモリ3はチャンネルアサイナなどの際に必要な各種デ
ータを記憶・管理するための記憶領域であり、ここには
パートテーブル、ノートテーブル、チャンネルテーブル
等が記憶されている。The memory 3 is a storage area for storing and managing various data necessary for a channel assigner and the like, and a part table, a note table, a channel table, etc. are stored therein.
パートテーブルは第2図(A)に示される形態のもので
あり、各パート#1〜#8別に、各パートのチャンネル
数、音色ナンバー、リザーブチャンネル数、使用チャン
ネル数、ノートリンク番号等を記憶する。The part table is of the form shown in FIG. 2 (A), and stores the number of channels, tone number, reserve channel, number of channels used, note link number, etc. for each part # 1 to # 8. To do.
ここで、パートテーブル第2行のチャンネル数は当該パ
ートの一つのノート(あるいは楽音)に対して使用され
るチャンネルの数である。なお各パート毎のパラメータ
は図示しない別のメモリ領域に記憶されており、発音時
にそのパートの楽音を発生するために必要なチャンネル
に送信される。Here, the number of channels in the second row of the part table is the number of channels used for one note (or musical sound) of the part. The parameters for each part are stored in another memory area (not shown), and are transmitted to the channels required to generate the musical sound of the part when the sound is generated.
パートテーブル第3行目には当該パートに割り当てられ
た音色番号が記憶されており、この音色番号によって上
記パラメータの記憶されている位置がアドレスされる。The tone color number assigned to the part is stored in the third line of the part table, and the position where the above parameters are stored is addressed by this tone color number.
パートテーブル第4行は当該パートについてのチャンネ
ルのリザーブチャンネル数である。このリザーブチャン
ネル数は後に詳しく述べるが、当該パートで現に発音中
のチャンネルのうちから演奏データに割り当てるチャン
ネルの選定を行う場合に、その発音中のチャンネルのう
ち発音継続を保証するチャンネルの最少数を定めるもの
である。The fourth row of the part table is the number of reserved channels of the channel for the part. The number of reserved channels will be described in detail later.When selecting the channel to be assigned to performance data from the channels currently sounding in the part, select the minimum number of channels that are sounding to guarantee continuous sounding. It is determined.
パートテーブル第5行は当該パートにおいて現在使用中
のチャンネル数である。The fifth line of the part table is the number of channels currently in use in the part.
パートテーブル第6行目は、次に述べるノートテーブル
との関係(リンク)を示すノートリンク番号である。The sixth line of the part table is a note link number indicating the relationship (link) with the note table described below.
ノートテーブルは第2図(B)に示される形態のもの、
チャンネルテーブルは同図(C)示される形態のもので
あり、それぞれチャンネル数に等しい24の列を設けてい
る。またノートテーブルはフリーノートリンクレジスタ
を有し、チャンネルテーブルはフリーチャンネルリンク
レジスタとフリーチャンネル数レジスタを有する。The note table has the form shown in FIG. 2 (B),
The channel table is of the form shown in FIG. 1C and has 24 rows, each of which has the same number of channels. The note table has a free note link register, and the channel table has a free channel link register and a free channel number register.
ノートテーブル第1行目にはノートリンク番号を記憶す
る。The note link number is stored in the first line of the note table.
パートテーブルおよびノートテーブルのノートリンク番
号は、同一パートについてのノートオン(押鍵信号)の
リンク順を表すか、または使用されていないフリーノー
トのリンク状態を表わす。The note link numbers of the part table and the note table represent the link order of note-on (key depression signal) for the same part, or the link state of free notes that are not used.
例えば、電源を投入した直後のリセットされた状態では
フリーノートリンクレジスタに番号「1」が記入されて
おり、ノートテーブルのノートリンク番号欄は第1列に
は「2」、第2列には「3」、同様に第3〜23列には各
々その番号の列番号に1を加えた値が記入され、第24列
には“終り”という意味の記号「E」が記入されてい
る。For example, the number "1" is written in the free note link register in the reset state immediately after the power is turned on, and the note link number column of the note table has "2" in the first column and the note link number column in the second column. Similarly, a value obtained by adding 1 to the column number of that number is entered in the 3rd to 23rd columns, and a symbol "E" meaning "end" is entered in the 24th column.
パート#1のノートオンが発生すると、そのノートを、
フリーノートリンクレジスタの番号「1」で指示される
ノートテーブルの第1列に割り当て、パートテーブルの
パート#1のノートリンク番号を「1」、ノートテーブ
ル第1行のノートリンク番号を「E」、フリーノートリ
ンクレジスタの番号を「2」と書き替える。When the note-on of Part # 1 occurs,
It is assigned to the first column of the note table designated by the number "1" of the free note link register, the note link number of part # 1 of the part table is "1", and the note link number of the first row of the note table is "E". , Rewrite the free note link register number as "2".
次に同じくパート#1のノートオンが発生すると、その
ノートを、フリーノートリンクレジスタの番号「2」で
指示されるノートテーブルの第2列に割り当て、パート
テーブルのパート#1のノートリンク番号を「2」と
し、ノートテーブル第2列のノートリンク番号を
「1」、フリーノートリンクレジスタの番号を「3」と
する。Similarly, when the note-on of part # 1 occurs, the note is assigned to the second column of the note table designated by the free note link register number "2", and the note link number of part # 1 of the part table is assigned. It is assumed that "2" is set, the note link number in the second column of the note table is "1", and the free note link register number is "3".
すなわち、パートテーブルのノートリンク番号はそのパ
ートで最新にノートオンしたノートを割り当てたノート
テーブルの列を表わす。ノートテーブルのノートリンク
番号は同一パートであって、そのノートオンの直前に発
生したノートオンのノートを記入する列番号を表わし、
この列番号が「E」であれば同一パートで直前に発生し
たノートオンはないことを表わす。That is, the note link number of the part table represents the row of the note table to which the note most recently note-on in the part is assigned. The note link number in the note table is the same part, and represents the column number in which the note-on note that occurred immediately before that note-on is entered,
If this column number is "E", it means that there is no note-on that occurred immediately before in the same part.
同様に現在使用されていないノートテーブルの列のうち
先頭のものがフリーノートリンクレジスタに記入されて
おり、ノートテーブルにそけるそれぞれの使用されてい
ない列(空き列)には次の空き列の番号がノートリンク
番号として記入される。Similarly, the first unused note table column is written in the free note link register, and each unused column (empty column) in the note table is filled with the next empty column. The number is entered as the note link number.
ノートテーブルにおける各列は単にノートを管理するた
めのスペースにすぎないが、第2図(C)に示すチャン
ネルテーブルの各列はそれぞれのチャンネルに対応して
いる。すなわち、第1列は第1チャンネルであり、第2
列は第2チャンネル、・・・以下同様である。Each column in the note table is merely a space for managing notes, but each column in the channel table shown in FIG. 2C corresponds to each channel. That is, the first row is the first channel and the second
The row is the second channel, and so on.
チャンネルテーブルにおいても同様にフリーチャンネル
リンクレジスタが設けられており、使用されていないチ
ャンネルの先頭チャンネル番号が記入されている。さら
にフリーチャンネル数レジスタが設けられており、現在
の空チャンネルの数を表わしている。したがって、電源
投入直後のフリーチャンネルリンク番号は「1」であ
り、フリーチャンネル数は「24」である。また、ノート
テーブルの最下位行にはチャンネルリンク番号が記入さ
れる。A free channel link register is also provided in the channel table in the same manner, and the leading channel numbers of unused channels are entered. Further, a free channel number register is provided, which represents the current number of empty channels. Therefore, the free channel link number immediately after the power is turned on is "1", and the number of free channels is "24". Also, the channel link number is entered in the lowest row of the note table.
ノートテーブルの第1列にパート#1のノートが割り当
てられると、パート#1のノートは、パートテーブルか
ら明らかなように、3つのチャンネルを使用するので、
このノートに第1〜第3チャンネルの3つを割り当て
る。このときノートテーブルの第1列のチャンネルリン
ク番号は「1」とし、チャンネルテーブルのチャンネル
リンク番号欄は、第1チャンネルには「2」を、第2チ
ャンネルには「3」、第3チャンネルには「E」を記入
する。When the note of part # 1 is assigned to the first column of the note table, the note of part # 1 uses three channels, as is clear from the part table.
Three of the first to third channels are assigned to this note. At this time, the channel link number in the first column of the note table is "1", and the channel link number column of the channel table is "2" for the first channel, "3" for the second channel, and "3" for the third channel. Enter "E".
同様にノートテーブルの第2列に、パート#1において
続いてノートオンしたノートを割り当てると、ノートテ
ーブルのチャンネルリンク番号は「4」が記入され、チ
ャンネルテーブルの第4チャンネルのチャンネルリンク
番号は「5」、第5チャンネルのチャンネルリンク番号
は「6」、第6チャンネルのチャンネルリンク番号は
「E」がそれぞれ記入される。この変更に伴い、フリー
チャンネルリンクレジスタのフリーチャンネルリンク番
号を「7」に、フリーチャンネル数レジスタのフリーチ
ャンネル数を「18」にそれぞれ更新する。Similarly, if the note that is subsequently note-on in part # 1 is assigned to the second column of the note table, the channel link number of the note table is "4", and the channel link number of the fourth channel of the channel table is " 5 ", the channel link number of the fifth channel is" 6 ", and the channel link number of the sixth channel is" E ". With this change, the free channel link number of the free channel link register is updated to "7" and the free channel number of the free channel number register is updated to "18".
ノートテーブルの第2行は各列に割り当てられたノート
の番号、第3行にはノートベロシティーを記憶する。The note number assigned to each column is stored in the second row of the note table, and the note velocity is stored in the third row.
チャンネルテーブルの第2行以下には各チャンネルの担
当する音色番号やステータス、例えばエンネベロープが
どのような状態にあるか等を記入する。このステータス
は音源方式により各種の方式があるのでここでは詳述し
ない。In the second and subsequent rows of the channel table, the tone color number and status of each channel are recorded, for example, the state of the envelope. There are various methods for this status, depending on the sound source method, and will not be described in detail here.
割り当て処理 チャンネルアサイナ2は、新たなノートオン(押鍵)信
号を受けると、第3図の流れ図に示す手順に従ってチャ
ンネルの割り当て処理を行う。Allocation Processing When the channel assigner 2 receives a new note-on (key depression) signal, it performs channel allocation processing according to the procedure shown in the flowchart of FIG.
まず、新たなノートオン信号を受けると、その受信した
ノートオン信号のMIDIチャンネルからそのノートオン信
号がいずれかのパートのものかを判定し、パートテーブ
ルを参照してそのパートのノートを発音するに必要なチ
ャンネル数を調べる(ステップS1)。First, when a new note-on signal is received, it is judged from the MIDI channel of the received note-on signal whether that note-on signal belongs to any part, and the note of that part is pronounced by referring to the part table. Check the number of channels required for (step S1).
次に、この必要チャンネル数をフリーチャンネル数レジ
スタが示すフリーチャンネル数と比較する(ステップS
2)。このとき、フリーチャンネル数の方が大きい場合
には、楽音データをフリーノートリンクレジスタの示す
番号のノートテーブルの列に割り当てるとともにそのフ
リーノートリンクレジスタの番号を更新する(ステップ
S3)。そして前述のとおり、パートテーブルの該当パー
トのノートリンク番号およびノートテーブルのノートリ
ンク番号をそれぞれ更新する。Next, this required channel number is compared with the free channel number indicated by the free channel number register (step S
2). At this time, if the number of free channels is larger, the musical sound data is assigned to the row of the note table having the number indicated by the free note link register and the number of the free note link register is updated (step
S3). Then, as described above, the note link number of the corresponding part in the part table and the note link number in the note table are updated.
そして次に、フリーチャンネルリンクレジスタが示すチ
ャンネル番号を先頭とする3つのチャンネルを楽音デー
タに割り当てると共に、フリーチャンネルリンクレジス
タの番号を更新する(ステップS4)。同様に、フリーチ
ャンネル数レジスタのフリーチャンネル数、ノートテー
ブルおよびチャンネルテーブルのチャンネルリンク番号
をそれぞれ更新する。Then, next, the three channels having the channel number indicated by the free channel link register as the head are assigned to the musical sound data, and the number of the free channel link register is updated (step S4). Similarly, the free channel number of the free channel number register and the channel link numbers of the note table and the channel table are respectively updated.
入力されたノートの必要チャンネル数を割り当てる空チ
ャンネルがない場合、または不足している場合には、現
に使用しているチャンネル、つまり更に発音中のチャン
ネルを停止させるトランケート処理を行って、その停止
させたチャンネルを新たなノートに割り当てる。この場
合の停止させる順位は次のようになる。If there are no empty channels to allocate the required number of channels for the input notes, or if there are not enough channels, the currently used channel, that is, the channel that is currently sounding, is truncate and stopped. Assigned channels to new notes. The order of stopping in this case is as follows.
各パートに優先順位を設け、優先順位の低いパートか
ら高いパートへと順に、各パートで使用中のチャンネル
のうちリザーブチャンネル数を超える数のチャンネルを
停止させる。A priority is set for each part, and the number of channels in use in each part that exceeds the number of reserved channels is stopped in order from the part with the lowest priority to the part with high priority.
本実施例ではパート#1、#2・・・#8の順に優先順
位が低く設定されている。In the present embodiment, the priorities are set low in the order of parts # 1, # 2 ... # 8.
パート毎にリザーブチャンネル数(最低保証チャンネ
ル数)を設ける。Reserve channel number (minimum guaranteed channel number) is set for each part.
第2図(A)のパートテーブルの第4行はこのリザーブ
チャンネル数で、例えばパート#2のリザーブチャンネ
ル数は「6」であるから、現在使用中の9つのチャンネ
ルのうち6つのチャンネルはトランケートされることは
ない。すなわち、現在使用中のチャンネルのうち最低6
つのチャンネルはパート#2が継続して使用できること
を保証するというものである。これにより各パートの中
で演奏表現上最低限必要と考えられる数のチャンネルが
トランケートされずに残るため、音楽的に好ましい演奏
が、限られたチャンネル数で可能となるものである。The fourth row of the part table of FIG. 2 (A) is this reserved channel number. For example, since the reserved channel number of part # 2 is "6", six channels out of the nine channels currently in use are truncated. It will not be done. That is, at least 6 of the channels currently in use
One channel guarantees that Part # 2 will continue to be available. As a result, the minimum number of channels that are considered to be the minimum required for performance expression in each part remain untruncated, so that a musically preferable performance is possible with a limited number of channels.
すなわち、第3図の流れ図のステップS2において空チャ
ンネルが不足している場合には、まず最も優先順位の低
いパート#8が現に使用しているチャンネル数をパート
テーブルで調べ、その使用チャンネル数と当該パート#
8のリザーブチャンネル数「2」とを比較する(ステッ
プS11)。That is, when the number of empty channels is insufficient in step S2 of the flowchart of FIG. 3, first, the number of channels currently used by the lowest priority part # 8 is checked in the part table, and the number of used channels is calculated. Part #
The number of reserved channels "8" of 8 is compared (step S11).
このパート#8においてリザーブチャンネル数「2」よ
りも多い数のチャンネルが使用されている場合には、そ
のリザーブチャンネル数「2」を超える数の使用中のチ
ャンネルをトランケートする。また反対に、このパート
#8においてリザーブチャンネル数「2」以下の数のチ
ャンネルしか使用されていない場合には、パート#8で
使用中のチャンネルはトランケートせず、次に優先度の
低いパート#7のチャンネルの使用状態を調べる(ステ
ップS10)。When a number of channels larger than the reserved channel number “2” is used in this part # 8, the number of used channels exceeding the reserved channel number “2” is truncated. On the other hand, if only the number of reserved channels equal to or less than "2" is used in this part # 8, the channel being used in the part # 8 will not be truncated and the part # 8 having the next lowest priority will be used. Check the usage status of channel 7 (step S10).
前述の使用チャンネル数がリザーブチャンネル数より多
い場合にトランケートする使用中チャンネルの選び方
は、まずそのパートの1つのノートに対応する数のチャ
ンネルをトランケートする。そしてそのパート内で複数
のノートが発音されている場合には、最も早く離鍵され
たノート、または最も減衰の進んでいるノートをトラン
ケートするのが望ましい。また、離鍵されていない場合
には高音の高いノート、もしくはレベルの大きいノート
を優先して残すようにするなどの方法が考えられる。To select the in-use channel to be truncated when the number of used channels is larger than the number of reserved channels, first, the number of channels corresponding to one note of the part is truncated. If multiple notes are sounded in the part, it is desirable to truncate the earliest released key or the most attenuated note. If the key is not released, a method of giving priority to a note having a high treble or a note having a high level may be considered.
ここでは、最も早く発音が開始されたノートをトランケ
ートする。この時は、パートテーブルの該当するパート
のノートリンク番号からノートテーブルのノートテーブ
ル番号を順にたどり、「E」が記入されている列に記載
されたノートおよびその列のチャンネルリンク番号から
チャンネルテーブルを順にたどり、該当するチャンネル
の発音を強制的に停止させる。これに伴ってフリーノー
トリンク、フリーチャンネルリンク、フリーチャンネル
数をそれぞれ更新する(ステップS11)。そして再びス
テップS2に戻り、必要とするチャンネル数とフリーチャ
ンネル数を比較する。Here, the note that started sounding earliest is truncated. In this case, follow the note table number of the note table in order from the note link number of the corresponding part in the part table, and open the channel table from the note described in the column marked "E" and the channel link number of that column. Follow the steps in sequence to forcibly stop the sound of the corresponding channel. Along with this, the free note link, the free channel link, and the number of free channels are updated (step S11). Then, the process returns to step S2 again to compare the number of required channels and the number of free channels.
なお、上記の実施例はリザーブチャンネル数をそのパー
トの最低保証チャンネル数としたが、これは最低保証ノ
ート数としてもよい。例えば第2図のパートテーブルに
おいて、パート#1のチャンネル数は「3」、リザーブ
チャンネル数は「6」であるから、最低保証ノート数で
管理する場合にはリザーブノート数は「2」である。こ
のように、リザーブ数はチャンネル数で定義しても、あ
るいはノート数で定義してもよい。Although the number of reserved channels is the minimum guaranteed channel number of the part in the above embodiment, this may be the minimum guaranteed note number. For example, in the part table of FIG. 2, the number of channels of part # 1 is "3" and the number of reserved channels is "6". Therefore, when managing with the minimum guaranteed number of notes, the number of reserved notes is "2". . Thus, the reserve number may be defined by the number of channels or the number of notes.
以上に説明したように、本発明においては、各パート毎
にリザーブ数を設定することで、各パートにおいてその
リザーブ数に相応する最低発音数が発音継続を保証され
るようになり、したがって音楽的に重要なパートがトラ
ンケートされることを防止でき、またパート間の発音の
バランスをとることができ、演奏表現が豊かになるとい
う優れた効果を有する。As described above, in the present invention, by setting the reserve number for each part, the minimum number of pronunciations corresponding to the reserve number in each part can be guaranteed to continue sounding, and thus musical It is possible to prevent important parts from being truncated, and it is possible to balance the pronunciation of the parts, which has the excellent effect of enriching performance expression.
第1図は本発明の一実施例としてのアサイナを備えた電
子楽器を示すブロック図、 第2図は実施例装置のメモリに記憶する各種テーブルを
示す図、 第3図は実施例のチャンネルアサイナによるチャンネル
割当て処理の手順を示す流れ図である。FIG. 1 is a block diagram showing an electronic musical instrument provided with an assigner as one embodiment of the present invention, FIG. 2 is a diagram showing various tables stored in a memory of an embodiment apparatus, and FIG. 3 is a channel assignment of the embodiment. 9 is a flow chart showing the procedure of a channel allocation process by a router.
Claims (4)
たに入力された演奏データに割り当てる楽音発生チャン
ネルを選定するアサイナであって、 各パートについてそのパートを発音中の楽音発生チャン
ネルのうち発音継続を保証する楽音発生チャンネルの最
低数に相当するリザーブ数を記憶するリザーブ数記憶手
段と、 新たな演奏データに割り当てる楽音発生チャンネルの選
定を行うにあたり各パートで発音中の楽音発生チャンネ
ルのうちから選定する場合に、そのパートのリザーブ数
相当分の楽音発生チャンネルは選定対象から除外してリ
ザーブ数相当分を超える数の楽音発生チャンネルから選
定を行う選定手段と を備えた電子楽器のアサイナ。1. An assigner for selecting a tone generation channel to be assigned to performance data newly input in an electronic musical instrument having a plurality of parts, wherein the tone generation channel among the tone generation channels in which the part is being produced is continued. Reserve number storage means that stores the reserve number equivalent to the minimum number of guaranteed tone generation channels, and the tone generation channel that is sounding in each part when selecting the tone generation channel to be assigned to new performance data. In this case, the electronic musical instrument assigner is provided with a selecting means for excluding the musical tone generating channels corresponding to the reserve number of the part from the selection target and selecting from the musical tone generating channels of the number exceeding the reserve number.
発生チャネルまたはノートの最低数として定義される特
許請求の範囲第1項に記載の電子楽器のアサイナ。2. The assigner for an electronic musical instrument according to claim 1, wherein the reserve number is defined as a minimum number of musical tone generation channels or notes that guarantee continuous tone generation.
たに入力された演奏データに割り当てる楽音発生チャン
ネルを選定するアサイナであって、 各パートについてそのパートを発音中の楽音発生チャン
ネルのうち発音継続を保証する楽音発生チャンネルの最
低数に相当するリザーブ数を記憶するリザーブ数記憶手
段と、 各パートの優先順位を記憶する優先順位記憶手段と、 新たな演奏データに割り当てる楽音発生チャンネルの選
定を行うにあたり各パートで発音中の楽音発生チャンネ
ルのうちから選定する場合に、優先順位の低いパートか
ら高いパートへと順次に選定を行い、その際に各パート
ではそのパートのリザーブ数相当分の楽音発生チャンネ
ルは選定対象から除外してリザーブ数相当分を超える数
の楽音発生チャンネルから選定を行う選定手段と を備えた電子楽器のアサイナ。3. An assigner for selecting a tone generation channel to be assigned to newly input performance data in an electronic musical instrument having a plurality of parts, wherein the tone generation continuation channel among the tone generation channels in which that part is being produced is continued. In order to select a tone generation channel to be assigned to new performance data, a reserve number storage means for storing the reserve number equivalent to the minimum number of guaranteed tone generation channels, a priority order storage means for storing the priority order of each part. When selecting from the tone generation channels that are sounding for each part, the parts with lower priority are selected in order from the higher tone generation channels, and at that time, each part has the tone generation channels equivalent to the reserve number of that part. Are excluded from the selection target and selected from a number of musical tone generation channels that exceed the number of reserves Electronic musical instrument assigner that includes a selection unit configured to perform.
発生チャネルまたはノートの最低数として定義される特
許請求の範囲第3項に記載の電子楽器のアサイナ。4. The assigner for an electronic musical instrument according to claim 3, wherein the number of reserves is defined as a minimum number of tone generation channels or notes that guarantee continuation of sound generation.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62176813A JPH0719150B2 (en) | 1987-07-14 | 1987-07-14 | Electronic musical instrument assigner |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62176813A JPH0719150B2 (en) | 1987-07-14 | 1987-07-14 | Electronic musical instrument assigner |
Related Child Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4212133A Division JP2562260B2 (en) | 1992-07-16 | 1992-07-16 | Electronic musical instrument assigner |
| JP4212134A Division JP2562261B2 (en) | 1992-07-16 | 1992-07-16 | Electronic musical instrument assigner |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6419393A JPS6419393A (en) | 1989-01-23 |
| JPH0719150B2 true JPH0719150B2 (en) | 1995-03-06 |
Family
ID=16020292
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62176813A Expired - Fee Related JPH0719150B2 (en) | 1987-07-14 | 1987-07-14 | Electronic musical instrument assigner |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0719150B2 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2780403B2 (en) * | 1989-12-21 | 1998-07-30 | ブラザー工業株式会社 | Performance recording device |
| JP2573416Y2 (en) * | 1990-12-11 | 1998-05-28 | カシオ計算機株式会社 | Music information processing device |
| JP3190103B2 (en) * | 1992-04-09 | 2001-07-23 | ヤマハ株式会社 | Music synthesizer |
| EP1011091B1 (en) | 1995-09-29 | 2004-04-28 | Yamaha Corporation | Musical tone-generating method and musical tone-generating apparatus |
-
1987
- 1987-07-14 JP JP62176813A patent/JPH0719150B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6419393A (en) | 1989-01-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100200290B1 (en) | Automatic performance device | |
| JP3177374B2 (en) | Automatic accompaniment information generator | |
| JP2003263159A (en) | Musical sound generation device and computer program for generating musical sound | |
| JP2562260B2 (en) | Electronic musical instrument assigner | |
| JP2004045669A (en) | Automatic playing device, automatic playing program, and automatic playing data recording medium | |
| JPH0719150B2 (en) | Electronic musical instrument assigner | |
| JPS6222157B2 (en) | ||
| JP2562261B2 (en) | Electronic musical instrument assigner | |
| US7109406B2 (en) | System and method for dynamic note assignment for musical synthesizers | |
| JP2586450B2 (en) | Waveform storage and playback device | |
| JPS6231358B2 (en) | ||
| JP3312939B2 (en) | Electronic musical instrument | |
| JP2562260C (en) | ||
| JPH06259064A (en) | Electronic musical instrument | |
| JPH08314484A (en) | Automatic playing device | |
| JPH04168492A (en) | Musical sound playback device | |
| JPH0367276B2 (en) | ||
| JP3674469B2 (en) | Performance guide method and apparatus and recording medium | |
| JPH1091160A (en) | Electronic musical instrument effect imparting device | |
| JP3217772B2 (en) | Apparatus and method for processing sound waveform data | |
| JPS6318759B2 (en) | ||
| JP5648791B2 (en) | Music signal generator | |
| JPH07104753A (en) | Electronic musical instrument automatic tuning device | |
| JP2636393B2 (en) | Automatic performance device | |
| JP3755385B2 (en) | Sound source device and recording medium readable by sound source device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |