JP2562260B2 - Electronic musical instrument assigner - Google Patents

Electronic musical instrument assigner

Info

Publication number
JP2562260B2
JP2562260B2 JP4212133A JP21213392A JP2562260B2 JP 2562260 B2 JP2562260 B2 JP 2562260B2 JP 4212133 A JP4212133 A JP 4212133A JP 21213392 A JP21213392 A JP 21213392A JP 2562260 B2 JP2562260 B2 JP 2562260B2
Authority
JP
Japan
Prior art keywords
channel
channels
note
performance data
tone generation
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
Application number
JP4212133A
Other languages
Japanese (ja)
Other versions
JPH05210386A (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.)
Roland Corp
Original Assignee
Roland Corp
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 Roland Corp filed Critical Roland Corp
Priority to JP4212133A priority Critical patent/JP2562260B2/en
Publication of JPH05210386A publication Critical patent/JPH05210386A/en
Application granted granted Critical
Publication of JP2562260B2 publication Critical patent/JP2562260B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 【0001】 【産業上の利用分野】この発明は、それぞれ音色の異な
る複数のパートを同時に演奏できる電子楽器に係り、さ
らに詳しくは、押鍵などにより新たに入力された演奏デ
ータに割り当てる楽音発生チャンネルを選定する電子楽
器のアサイナに関するものである。 【0002】 【従来の技術】電子楽器は一般に複数の楽音発生チャン
ネル(以下、単にチャンネルとも称する)を有してお
り、新たな押鍵などによる楽音の発音に際しては、その
新たに入力された演奏データに割り当てるべきチャンネ
ルをその複数のチャンネルのうちから選定している。 【0003】このチャンネルの選定方法としては、種々
の方法があり、例えば、空いているチャンネルのうち
から選定する、最も早く発音を開始したチャンネル、
つまり最も早く押鍵した楽音に対応するチャンネルを選
定する、最も早く離鍵した楽音に対応するチャンネル
を選定する、最も発音量等の小さいチャンネルを選定
する、これらを組み合わせる、などがある。 【0004】また、電子楽器にはそれぞれ音色の異なる
複数のパートを同時に演奏できるいわゆるマルチティン
バ電子楽器があり、例えば自動演奏装置は複数のパート
の演奏情報を記憶し、これを順次に読み出して所定のテ
ンポで同時演奏を行う。 【0005】さて、この種の電子楽器では、同時に発音
できるチャンネル数が有限であるため、演奏を始める前
に、各パートに対して個々のパートが専用的に使用でき
るチャンネル数をそれぞれ固定的に割り当てている。例
えば、全チャンネル数が「16」であれば、ピアノ
「8」、ストリングス「5」、フルート「1」、トラン
ペット「1」、ベース「1」というように、それぞれの
パートに対してチャンネル数を固定的に配分設定する。
これにより、各パートにおいて同時発音できる楽音の数
が決まるのである。 【0006】 【発明が解決しようとする課題】ところが、この方法で
は、各パートは使用できるチャンネル数を固定的に定め
られてしまっているため、その定められたチャンネル数
の範囲内でしかチャンネルを使用できないことになる。
このため、例えばあるパートの押鍵が連続的になされ
て、そのパートが使用するチャンネルの数がそのパート
に定められた上限値に達すると、他のパートでは使用さ
れていないチャンネルがあるにもかかわらず、そのパー
トでは最早それ以上チャンネルが選定できないことにな
り、このため演奏が単調なものになりがちで、演奏表現
の豊かさが損なわれる。 【0007】本発明は上記問題点を解決するためになさ
れたものであり、各パートの使用できるチャンネル数が
固定的とならないようにして、演奏表現の豊かさが損な
われないようにすることを目的とする。 【0008】 【課題を解決するための手段】上述の問題点を解決する
ために、本発明に係る電子楽器のアサイナは、1つの形
態として、複数の楽音発生チャンネルを用いて複数のパ
ートの演奏を行う電子楽器において、該複数のパートの
1つを演奏するための演奏データが新たに入力されたと
きに該新たな演奏データを割り当てる楽音発生チャンネ
ルを選定するアサイナであって、該複数のパートについ
て各パートの優先順位を記憶する記憶手段と、該新たな
演奏データを割り当てる楽音発生チャンネルの選定を行
うにあたり、該新たな演奏データを割り当てる楽音発生
チャンネルが不足する場合には、該記憶手段に記憶され
た該パートの優先順位に基づいて、優先順位が低いパー
トが割り当てられている楽音発生チャンネルの方から順
に選定する選定手段とを備える。 また本発明に係る電子
楽器のアサイナは、他の形態として、複数の楽音発生チ
ャンネルを用いて複数のパートの演奏を行う電子楽器に
おいて、該複数のパートの1つを演奏するための演奏デ
ータが新たに入力されたときに該新たな演奏データを割
り当てる楽音発生チャンネルを選定するアサイナであっ
て、該複数のパートについて各パートの優先順位を記憶
する記憶手段と、該新たな演奏データを割り当てる楽音
発生チャンネルの選定を行うにあたり、該新たな演奏デ
ータを割り当てる楽音発生チャンネルが不足する場合に
は、該記憶手段に記憶された該パートの優先順位に基づ
いて、該優先順位が低いパートの方から順にその着目す
るパートで使用している楽音発生チャンネルのうち割当
て可能な楽音発生チャンネルがあるか否かを検索し、あ
れば該割当て可能な楽音発生チャネルを選定する選定手
段とを備える。 【0009】 【作用】複数の楽音発生チャネルを用いて複数のパート
の演奏を行う場合、従来広く行われている方法では、各
パートに対して所定数の楽音発生チャンネルを予め固定
的に割り当てておいて、各パートの演奏では、そのパー
トに割り当てられた所定数を超えて楽音発生チャンネル
を使用することはなく、またそのパートの演奏に必要な
楽音発生チャンネルの数が上記所定数に達していない場
合でもその差分数の楽音発生チャンネルを他のパートの
演奏に使用させることもしていない。このため、楽音発
生チャンネルが効率的に使用されているとはいえなかっ
た。 そこで、本発明に係る電子楽器のアサイナでは、各
パートの演奏に使用する楽音発生チャネルの数を各パー
トに対して固定的な数に割り当てるのではなく、すなわ
ち上記のような固定配分はやめ、各パートに優先順位を
付け、新たな演奏データに割り当てる楽音発生チャンネ
ルの選定を、空き状態の楽音発生チャンネルからし終わ
るなどして各パートで発音中の楽音発生チャネルから
する必要がある場合には、優先順位の低いパートで使用
中の楽音発生チャネルの方から順に選定する。これによ
り新たに入力された演奏データが属するパートは、使用
できる楽音発生チャンネル数を固定数に制限されること
がなくなるこの選定にあたっては、優先順位が低いパ
ートの方から順にその着目するパートで使用している楽
音発生チャンネルのうち割当て可能な楽音発生チャンネ
ルがあるか否かを検索し、割当て可能な楽音発生チャネ
ルがあったらそれに新たな演奏データを割り当てるよう
にすれば、各パートに、割り当てできない楽音発生チャ
ネルとして幾つかの数の発音中の楽音発生チャンネルを
残すなどすることもでき、これにより演奏表現が豊かに
なる。 【0010】 【実施例】図1は本発明の一実施例としてのアサイナを
備えた電子楽器を示すブロック図である。 【0011】演奏データ発生装置1はミュージックシー
ケンサとも呼ばれる装置であり、鍵盤やコンピュータを
用いて作成される各パート毎の演奏情報を記憶し、これ
を順次に読み出して演奏データを発生する。 【0012】演奏データ発生装置1から発生される演奏
データにはMIDI規格によるフォーマットが用いられ
る。このMIDI規格を用いる場合には、各パートに別
々のMIDIチャンネルを割り当てることにより、複数
のパートの演奏データを送受することができる。例え
ば、ピアノ音をMIDIチャンネル1、ストリングスを
MIDIチャンネル2というように割り当て、演奏デー
タはこのMIDIチャンネルにより識別されてそれぞれ
送受される。 【0013】チャンネルアサイナ2 はこのMIDI演奏
データを受信し、このMIDIチャンネルに対応するパ
ートに応じて、メモリ3を参照して、その演奏データに
割り当てる所要のチャンネルを選定し、その選定データ
および演奏データに基づいて楽音発生装置4を制御す
る。 【0014】楽音発生装置4は楽音発生用のチャンネル
を24チャンネル有する装置であり、その楽音発生方式
としては各種の方式を用いることができる。近年、楽音
発生回路はディジタル化が進み、波形読出し方式、周波
数変調方式、位相歪方式などが実用化され、さらにはこ
れらの方式を組み合わせることによって、より豊かな音
色が得られるようになっている。したがって、この実施
例の楽音発生装置4では一つの楽音を発生するために複
数のチャンネルが使われている。 【0015】メモリ3はチャンネルアサインなどの際に
必要な各種データを記憶・管理するための記憶領域であ
り、ここにはパートテーブル、ノートテーブル、チャン
ネルテーブル等が記憶されている。 【0016】パートテーブルは図2の(A)に示される
形態のものであり、各パート#1〜#8別に、各パート
のチャンネル数、音色ナンバー、リザーブチャンネル
数、使用チャンネル数、ノートリンク番号等を記憶す
る。 【0017】ここで、パートテーブル第2行のチャンネ
ル数は当該パートの一つのノート(あるいは楽音)に対
して使用されるチャンネルの数である。なお各パート毎
のパラメータは図示しない別のメモリ領域に記憶されて
おり、発音時にそのパートの楽音を発生するために必要
なチャンネルに送信される。 【0018】パートテーブル第3行目には当該パートに
割り当てられた音色番号が記憶されており、この音色番
号によって上記パラメータの記憶されている位置がアド
レスされる。 【0019】パートテーブル第4行は当該パートについ
てのチャンネルのリザーブチャンネル数である。このリ
ザーブチャンネル数は後に詳しく述べるが、当該パート
で現に発音中のチャンネルのうちから演奏データに割り
当てるチャンネルの選定を行う場合に、その発音中のチ
ャンネルのうち発音継続を保証するチャンネルの最少数
を定めるものである。 【0020】パートテーブル第5行は当該パートにおい
て現在使用中のチャンネル数である。パートテーブル第
6行目は、次に述べるノートテーブルとの関係(リン
ク)を示すノートリンク番号である。 【0021】ノートテーブルは図2の(B)に示される
形態のもの、チャンネルテーブルは同図(C)示される
形態のものであり、それぞれチャンネル数に等しい24
の列を設けている。またノートテーブルはフリーノート
リンクレジスタを有し、チャンネルテーブルはフリーチ
ャンネルリンクレジスタとフリーチャンネル数レジスタ
を有する。 【0022】ノートテーブル第1行目にはノートリンク
番号を記憶する。パートテーブルおよびノートテーブル
のノートリンク番号は、同一パートについてのノートオ
ン(押鍵信号)のリンク順を表すか、または使用されて
いないフリーノートのリンク状態を表わす。 【0023】例えば、電源を投入した直後のリセットさ
れた状態ではフリーノートリンクレジスタに番号「1」
が記入されており、ノートテーブルのノートリンク番号
欄は第1列には「2」、第2列には「3」、同様に第3
〜23列には各々その番号の列番号に1を加えた値が記
入され、第24列には“終り”という意味の記号「E」
が記入されている。 【0024】パート#1のノートオンが発生すると、そ
のノートを、フリーノートリンクレジスタの番号「1」
で指示されるノートテーブルの第1列に割り当て、パー
トテーブルのパート#1のノートリンク番号を「1」、
ノートテーブル第1行のノートリンク番号を「E」、フ
リーノートリンクレジスタの番号を「2」と書き替え
る。 【0025】次に同じくパート#1のノートオンが発生
すると、そのノートを、フリーノートリンクレジスタの
番号「2」で指示されるノートテーブルの第2列に割り
当て、パートテーブルのパート#1のノートリンク番号
を「2」とし、ノートテーブル第2列のノートリンク番
号を「1」、フリーノートリンクレジスタの番号を
「3」とする。 【0026】すなわち、パートテーブルのノートリンク
番号はそのパートで最新にノートオンしたノートを割り
当てたノートテーブルの列を表わす。ノートテーブルの
ノートリンク番号は同一パートであって、そのノートオ
ンの直前に発生したノートオンのノートを記入する列番
号を表わし、この列番号が「E」であれば同一パートで
直前に発生したノートオンはないことを表わす。 【0027】同様に現在使用されていないノートテーブ
ルの列のうち先頭のものがフリーノートリンクレジスタ
に記入されており、ノートテーブルにおけるそれぞれの
使用されていない列(空き列)には次の空き列の列番号
がノートリンク番号として記入される。 【0028】ノートテーブルにおける各列は単にノート
を管理するためのスペースにすぎないが、図2の(C)
に示すチャンネルテーブルの各列はそれぞれのチャンネ
ルに対応している。すなわち、第1列は第1チャンネル
であり、第2列は第2チャンネル、・・・以下同様であ
る。 【0029】チャンネルテーブルにおいても同様にフリ
ーチャンネルリンクレジスタが設けられており、使用さ
れていないチャンネルの先頭チャンネル番号が記入され
ている。さらにフリーチャンネル数レジスタが設けられ
ており、現在の空チャンネルの数を表わしている。した
がって、電源投入直後のフリーチャンネルリンク番号は
「1」であり、フリーチャンネル数は「24」である。
また、ノートテーブルの最下位行にはチャンネルリンク
番号が記入される。 【0030】ノートテーブルの第1列にパート#1のノ
ートが割り当てられると、パート#1のノートは、パー
トテーブルから明らかなように、3つのチャンネルを使
用するので、このノートに第1〜第3チャンネルの3つ
を割り当てる。このときノートテーブルの第1列のチャ
ンネルリンク番号は「1」とし、チャンネルテーブルの
チャンネルリンク番号欄は、第1チャンネルには「2」
を、第2チャンネルには「3」、第3チャンネルには
「E」を記入する。 【0031】同様にノートテーブルの第2列に、パート
#1において続いてノートオンしたノートを割り当てる
と、ノートテーブルのチャンネルリンク番号は「4」が
記入され、チャンネルテーブルの第4チャンネルのチャ
ンネルリンク番号は「5」、第5チャンネルのチャンネ
ルリンク番号は「6」、第6チャンネルのチャンネルリ
ンク番号は「E」がそれぞれ記入される。この変更に伴
い、フリーチャンネルリンクレジスタのフリーチャンネ
ルリンク番号を「7」に、フリーチャンネル数レジスタ
のフリーチャンネル数を「18」にそれぞれ更新する。 【0032】ノートテーブルの第2行は各列に割り当て
られたノートの番号、第3行にはノートベロシティーを
記憶する。 【0033】チャンネルテーブルの第2行以下には各チ
ャンネルの担当する音色番号やステータス、例えばエン
ベロープがどのような状態にあるか等を記入する。この
ステータスは音源方式により各種の方式があるのでここ
では詳述しない。 【0034】割り当て処理 チャンネルアサイナ2は、新たなノートオン(押鍵)信
号を受けると、図3の流れ図に示す手順に従ってチャン
ネルの割り当て処理を行う。 【0035】まず、新たなノートオン信号を受けると、
その受信したノートオン信号のMIDIチャンネルから
そのノートオン信号がいずれのパートのものかを判定
し、パートテーブルを参照してそのパートのノートを発
音するに必要なチャンネル数を調べる(ステップS
1)。 【0036】次に、この必要チャンネル数をフリーチャ
ンネル数レジスタが示すフリーチャンネル数と比較する
(ステップS2)。このとき、フリーチャンネル数の方
が大きい場合には、楽音データをフリーノートリンクレ
ジスタの示す番号のノートテーブルの列に割り当てると
ともにそのフリーノートリンクレジスタの番号を更新す
る(ステップS3)。そして前述のとおり、パートテー
ブルの該当パートのノートリンク番号およびノートテー
ブルのノートリンク番号をそれぞれ更新する。 【0037】そして次に、フリーチャンネルリンクレジ
スタが示すチャンネル番号を先頭とする3つのチャンネ
ルを楽音データに割り当てると共に、フリーチャンネル
リンクレジスタの番号を更新する(ステップS4)。同
様に、フリーチャンネル数レジスタのフリーチャンネル
数、ノートテーブルおよびチャンネルテーブルのチャン
ネルリンク番号をそれぞれ更新する。 【0038】入力されたノートの必要チャンネル数を割
り当てる空チャンネルがない場合、または不足している
場合には、現に使用しているチャンネル、つまり現に発
音中のチャンネルを停止させるトランケート処理を行っ
て、その停止させたチャンネルを新たなノートに割り当
てる。この場合の停止させる順位は次のようになる。 【0039】各パートに優先順位を設け、優先順位の
低いパートから高いパートへと順に、各パートで使用中
のチャンネルのうちリザーブチャンネル数を超える数の
チャンネルを停止させる。本実施例ではパート#1、#
2・・・#8の順に優先順位が低く設定されている。 【0040】パート毎にリザーブチャンネル数(最低
保証チャンネル数)を設ける。図2の(A)のパートテ
ーブルの第4行はこのリザーブチャンネル数で、例えば
パート#2のリザーブチャンネル数は「6」であるか
ら、現在使用中の9つのチャンネルのうち6つのチャン
ネルはトランケートされることはない。すなわち、現在
使用中のチャンネルのうち最低6つのチャンネルはパー
ト#2が継続して使用できることを保証するというもの
である。これにより各パートの中で演奏表現上最低限必
要と考えられる数のチャンネルがトランケートされずに
残るため、音楽的に好ましい演奏が、限られたチャンネ
ル数で可能となるものである。 【0041】すなわち、図3の流れ図のステップS2に
おいて空チャンネルが不足している場合には、まず最も
優先順位の低いパート#8が現に使用しているチャンネ
ル数をパートテーブルで調べ、その使用チャンネル数と
当該パート#8のリザーブチャンネル数「2」とを比較
する(ステップS11)。 【0042】このパート#8においてリザーブチャンネ
ル数「2」よりも多い数のチャンネルが使用されている
場合には、そのリザーブチャンネル数「2」を超える数
の使用中のチャンネルをトランケートする。また反対
に、このパート#8においてリザーブチャンネル数
「2」以下の数のチャンネルしか使用されていない場合
には、パート#8で使用中のチャンネルはトランケート
せず、次に優先度の低いパート#7のチャンネルの使用
状態を調べる(ステップS10)。 【0043】前述の使用チャンネル数がリザーブチャン
ネル数より多い場合にトランケートする使用中チャンネ
ルの選び方は、まずそのパートの1つのノートに対応す
る数のチャンネルをトランケートする。そしてそのパー
ト内で複数のノートが発音されている場合には、最も早
く離鍵されたノート、または最も減衰の進んでいるノー
トをトランケートするのが望ましい。また、離鍵されて
いない場合には高音の高いノート、もしくはレベルの大
きいノートを優先して残すようにするなどの方法が考え
られる。 【0044】ここでは、最も早く発音が開始されたノー
トをトランケートする。この時は、パートテーブルの該
当するパートのノートリンク番号からノートテーブルの
ノートテーブル番号を順にたどり、「E」が記入されて
いる列に記載されたノートおよびその列のチャンネルリ
ンク番号からチャンネルテーブルを順にたどり、該当す
るチャンネルの発音を強制的に停止させる。これに伴っ
てフリーノートリンク、フリーチャンネルリンク、フリ
ーチャンネル数をそれぞれ更新する(ステップS1
1)。そして再びステップS2に戻り、必要とするチャ
ンネル数とフリーチャンネル数を比較する。 【0045】なお、上記の実施例はリザーブチャンネル
数をそのパートの最低保証チャンネル数としたが、これ
は最低保証ノート数としてもよい。例えば図2のパート
テーブルにおいて、パート#1のチャンネル数は
「3」、リザーブチャンネル数は「6」であるから、最
低保証ノート数で管理する場合にはリザーブノート数は
「2」である。このように、リザーブ数はチャンネル数
で定義しても、あるいはノート数で定義してもよい。 【0046】 【発明の効果】以上に説明したように、本発明において
は、各パートが使用する楽音発生チャンネルの数が各パ
ート毎に固定配分されていないので、新たに入力される
パートは必要な数の楽音発生チャンネルを獲得でき、よ
って演奏音が制限されず、演奏表現を豊かにすることが
できる。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic musical instrument capable of simultaneously playing a plurality of parts each having a different tone color, and more specifically, newly input by pressing a key or the like. The present invention relates to an assigner of an electronic musical instrument that selects a tone generation channel to be assigned to performance data. 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, the newly input musical tone is played. A channel to be assigned to data is selected from the plurality of channels. There are various methods for selecting this channel. For example, a channel that starts sounding earliest, which is selected from among available channels,
That is, there is a method of selecting a channel corresponding to the musical tone which is pressed the earliest, a channel corresponding to the musical tone which is released the earliest, a channel having the smallest sound generation amount, a combination thereof and the like. There is a so-called multi-timbre electronic musical instrument which can simultaneously play a plurality of parts each having a different tone color, and for example, an automatic performance device stores performance information of a plurality of parts and sequentially reads out this information to determine a predetermined value. Perform at the same tempo. In this type 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 fixed for each part before starting playing. Have been assigned. For example, if the total number of channels is "16", the number of channels for each part is piano "8", strings "5", flute "1", trumpet "1", bass "1". Fixed allocation is set.
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 fixed, the number of channels that can be used is fixed only within the specified number of channels. You will not be able to use it.
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 in order to solve the above problems, and it is an object of the present invention to prevent the number of usable channels of each part from being fixed so as not to impair the richness of performance expression. To aim. In order to solve the above problems, the assigner of the electronic musical instrument according to the present invention has one form.
As an example, multiple musical tone generation channels are used to
In an electronic musical instrument that plays a musical instrument,
When the performance data for playing one is newly input
Tone generation channel to which the new performance data is assigned each time
Which is an assigner for selecting a plurality of parts,
Storage means for storing the priority order of each part, and
Select the tone generation channel to which performance data is assigned
To generate a musical tone, to which the new performance data is assigned
If there are not enough channels, it will be stored in the storage means.
Based on the priority of the part
From the tone generation channel to which the
And a selecting means for selecting. In addition, the electronic according to the present invention
In another form, the instrument assigner is a musical tone generator.
For electronic musical instruments that perform multiple parts using channels
In order to play one of the parts.
When new data is input, the new performance data is
It is an assigner that selects the tone generation channel to be applied.
Stores the priority of each part for the plurality of parts.
Storage means and musical tone to which the new performance data is assigned
When selecting the generation channel, the new performance data
If there are not enough musical sound generation channels to allocate
Is based on the priority of the part stored in the storage means.
The parts with the lowest priority order in order.
Assigned among the tone generation channels used in the part
Search for possible tone generation channels,
If so, a selector for selecting the assignable tone generation channels
And a step. [0009] By using a plurality of tone generation channels, a plurality of parts
In the case of performing
Pre-fix a predetermined number of musical sound generation channels for parts
Assigned to each part, and when playing each part, that part
Channels that exceed the specified number assigned to
Is not required, and is necessary for playing that part.
If the number of tone generation channels does not reach the above specified number,
Even if the difference is the number of difference tone generation channels of other parts
I haven't even used it for playing. Because of this,
Raw channels are not being used efficiently
It was Therefore, in the electronic musical instrument assigner according to the present invention,
Specify the number of tone generation channels used for playing the part for each par.
Instead of assigning a fixed number to
The above fixed allocation is stopped, priority is given to each part, and the tone generation channel to be assigned to new performance data is selected from the tone generation channel in the empty state. If you need to start from a channel etc. , use it in a part with a lower priority
The sound generation channels are selected in order. Thus part of the performance data belongs newly inputted is made without being limited to the tone generating channel number that can be used for a fixed number. In making this selection, the lower priority
The music used in the part of interest
Assignable tone generation channels among the tone generation channels
Tone generation channel that can be assigned by searching for
If there is a song, assign new performance data to it
If this is set to
As a channel, a number of musical tone generating channels
You can also leave it, etc., which enriches the performance expression
Become. FIG. 1 is a block diagram showing an electronic musical instrument provided with an assigner as an embodiment of the present invention. 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. A format according to the MIDI standard is used for performance data generated by the performance data generator 1. When the 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, a piano sound is assigned as MIDI channel 1 and strings are assigned as MIDI channel 2, and performance data is identified by this MIDI channel and transmitted / received. The channel assigner 2 receives this MIDI performance data, refers to the memory 3 according to the part corresponding to this MIDI channel, selects a required channel to be assigned to the performance data, and selects the selected data and The tone generator 4 is controlled based on the performance data. The tone generation device 4 is a device having 24 channels for tone generation, and various tone generation systems can be used. In recent years, the tone generation circuit has been digitized, and a waveform reading method, a frequency modulation method, a phase distortion method, and the like have been put into practical use. Furthermore, by combining these methods, a richer tone color can be obtained. . Therefore, the tone generator 4 of this embodiment uses a plurality of channels to generate one tone. The memory 3 is a storage area for storing and managing various data necessary for channel assignment and the like, and a part table, a note table, a channel table, etc. are stored therein. The part table has the form shown in FIG. 2A, and the number of channels, tone number, reserve channel, number of used channels, note link number of each part is # 1 to # 8. Etc. are memorized. Here, the number of channels in the second row of the part table is the number of channels used for one note (or tone) 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. The third line of the part table stores the tone color number assigned to the part. The tone color number addresses the position where the above parameters are stored. 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. The fifth line of the part table is the number of channels currently in use in the part. The sixth line of the part table is a note link number indicating the relationship (link) with the note table described below. The note table has the form shown in FIG. 2B and the channel table has the form shown in FIG.
Columns are provided. 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. 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. For example, in the reset state immediately after the power is turned on, the free note link register has the number "1".
Is entered, the note link number field of the note table is "2" in the first column, "3" in the second column, and similarly in the third column.
The value obtained by adding 1 to the column number of that number is entered in each of columns ~ 23, and the symbol "E" meaning "end" is entered in the 24th column.
Is entered. When the note-on of part # 1 occurs, the note is set to the free note link register number "1".
Assigned to the first column of the note table indicated by, and the note link number of part # 1 of the part table is "1",
Rewrite the note link number in the first row of the note table as "E" and the free note link register number as "2". Similarly, when the note-on of part # 1 occurs, the note is assigned to the second column of the note table designated by the number "2" of the free note link register, and the note of part # 1 of the part table is assigned. The link number is "2", the note link number in the second column of the note table is "1", and the free note link register number is "3". That is, the note link number in 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 occurred immediately before in the same part. Indicates that there is no note-on. Similarly, among the columns of the note table which are not currently used, the first column is written in the free note link register, and the unused column (empty column) in the note table is replaced by the next empty column. The column number of is written as the note link number. Each column in the note table is merely a space for managing notes, but FIG.
Each column of the channel table shown in (1) corresponds to each channel. That is, the first row is the first channel, the second row is the second channel, and so on. 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. 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 apparent from the part table. Allocate 3 of 3 channels. 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.
Enter "3" in the second channel and "E" in the third channel. Similarly, when a note that is subsequently note-on in part # 1 is assigned to the second column of the note table, "4" is entered as the channel link number of the note table, and the channel link of the fourth channel of the channel table is entered. The number 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 in the free channel link register is updated to "7" and the free channel number in the free channel number register is updated to "18". The second row of the note table stores the number of the note assigned to each column, and the third row stores the note velocity. In the second and subsequent rows of the channel table, the tone color number and status of each channel, such as the state of the envelope, are entered. There are various methods for this status, depending on the sound source method, and will not be described in detail here. 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. First, when a new note-on signal is received,
From the MIDI channel of the received note-on signal, it is determined which part the note-on signal belongs to, and the part table is referred to check the number of channels required to generate the note of the part (step S).
1). Next, this required channel number is compared with the free channel number indicated by the free channel number register (step S2). At this time, if the number of free channels is larger, the musical tone 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. Then, the three channels starting with the channel number indicated by the free channel link register 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 is no empty channel to allocate the required number of channels of the input note, or if there is not enough channels, a truncation process is performed to stop the currently used channel, that is, the currently sounding channel, Assign the stopped channel to a new note. 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 a high priority. In this embodiment, parts # 1 and #
The order of priority is set low in the order of 2 ... # 8. A reserve channel number (minimum guaranteed channel number) is set for each part. The fourth row of the part table of FIG. 2A shows 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 six channels among the channels currently in use are guaranteed to be continuously usable in part # 2. 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. That is, when the number of empty channels is insufficient in step S2 of the flow chart of FIG. 3, first, the number of channels currently used by the lowest priority part # 8 is checked in the part table, and the used channels are searched. The number is compared with the reserved channel number "2" of the part # 8 (step S11). 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. The usage status of channel 7 is checked (step S10). 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. Here, the note whose pronunciation has started 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 S1).
1). Then, the process returns to step S2 again to compare the required channel number and the free channel number. 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, since the number of tone generation channels used by each part is not fixedly allocated to each part, a new input part is required. It is possible to obtain as many musical sound generation channels as possible, so that the performance sound is not limited and the performance expression can be enriched.

【図面の簡単な説明】 【図1】本発明の一実施例としてのアサイナを備えた電
子楽器を示すブロック図である。 【図2】実施例装置におけるメモリに記憶する各種テー
ブルを示す図である。 【図3】実施例装置におけるチャンネルアサイナによる
チャンネル割当て処理の手順を示す流れ図である。 【符号の説明】 1 演奏データ発生装置 2 チャンネルアサイナ 3 メモリ 4 楽音発生装置
BRIEF DESCRIPTION OF THE DRAWINGS 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 in the apparatus of the embodiment. FIG. 3 is a flowchart showing a procedure of channel assignment processing by a channel assigner in the apparatus of the embodiment. [Explanation of symbols] 1 performance data generator 2 channel assigner 3 memory 4 tone generator

Claims (1)

(57)【特許請求の範囲】 (1)複数の楽音発生チャンネルを用いて複数のパート
の演奏を行う電子楽器において、該複数のパートの1つ
を演奏するための演奏データが新たに入力されたときに
該新たな演奏データを割り当てる楽音発生チャンネルを
選定するアサイナであって、 該複数のパートについて各パートの優先順位を記憶する
記憶手段と、 該新たな演奏データを割り当てる楽音発生チャンネルの
選定を行うにあたり、該新たな演奏データを割り当てる
楽音発生チャンネルが不足する場合には、該記憶手段に
記憶された該パートの優先順位に基づいて、優先順位が
低いパートが割り当てられている楽音発生チャンネルの
方から順に選定する選定手段と を備えた電子楽器のアサ
イナ。(2)複数の楽音発生チャンネルを用いて複数のパート
の演奏を行う電子楽器において、該複数のパートの1つ
を演奏するための演奏データが新たに入力されたときに
該新たな演奏データを割り当てる楽音発生チャンネルを
選定するアサイナであって、 該複数のパートについて各パートの優先順位を記憶する
記憶手段と、 該新たな演奏データを割り当てる楽音発生チャンネルの
選定を行うにあたり、該新たな演奏データを割り当てる
楽音発生チャンネルが不足する場合には、該記憶手段に
記憶された該パートの優先順位に基づいて、該優先順位
が低いパートの方から順にその着目するパートで使用し
ている楽音発生チャンネルのうち割当て可能な楽音発生
チャンネルがあるか否かを検索し、あれば該割当て可能
な楽音発生チャネルを選定する選定手段とを備えた電子
楽器のアサイナ。
(57) [Claims] (1) Multiple parts using multiple tone generation channels
One of the multiple parts in an electronic musical instrument that performs
When new performance data for playing is input
The tone generation channel to which the new performance data is assigned
An assigner to be selected, which stores the priority of each part for the plurality of parts
The storage means and the musical tone generation channel to which the new performance data is assigned
Allocate the new performance data for selection
If there are not enough music sound generation channels,
The priority order is based on the stored priority order of the part.
Of the tone generation channel to which the lower part is assigned
An electronic musical instrument assigner equipped with a selection means for sequentially selecting from one side . (2) Multiple parts using multiple tone generation channels
One of the multiple parts in an electronic musical instrument that performs
When new performance data for playing is input
The tone generation channel to which the new performance data is assigned
An assigner to be selected, which stores the priority of each part for the plurality of parts
The storage means and the musical tone generation channel to which the new performance data is assigned
Allocate the new performance data for selection
If there are not enough music sound generation channels,
The priority based on the stored priority of the part
Use the parts with the lowest
Of the available tone generation channels
Search whether there is a channel, and if there is, assign it
Equipped with a selection means for selecting various musical tone generation channels
Musical instrument assigner.
JP4212133A 1992-07-16 1992-07-16 Electronic musical instrument assigner Expired - Fee Related JP2562260B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4212133A JP2562260B2 (en) 1992-07-16 1992-07-16 Electronic musical instrument assigner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4212133A JP2562260B2 (en) 1992-07-16 1992-07-16 Electronic musical instrument assigner

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP62176813A Division JPH0719150B2 (en) 1987-07-14 1987-07-14 Electronic musical instrument assigner

Publications (2)

Publication Number Publication Date
JPH05210386A JPH05210386A (en) 1993-08-20
JP2562260B2 true JP2562260B2 (en) 1996-12-11

Family

ID=16617444

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4212133A Expired - Fee Related JP2562260B2 (en) 1992-07-16 1992-07-16 Electronic musical instrument assigner

Country Status (1)

Country Link
JP (1) JP2562260B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7465865B2 (en) 2005-03-28 2008-12-16 Casio Computer Co., Ltd. Sound generation assignment device, music sound generator and sound generation assignment process program
CN107863093A (en) * 2017-11-03 2018-03-30 得理电子(上海)有限公司 Pronunciation management method, apparatus, electronic musical instrument and storage medium

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4409354A (en) * 1980-01-21 1983-10-11 Daikin Kogyo Co., Ltd. Fluorinated resin coating composition containing micaceous iron oxide
JP3615143B2 (en) * 2000-11-16 2005-01-26 株式会社フェイス Pronunciation control device for game machines
JP5769080B2 (en) * 2011-10-11 2015-08-26 カシオ計算機株式会社 Sound channel assignment apparatus and program
JP2017080352A (en) * 2015-10-30 2017-05-18 株式会社大一商会 Game machine
JP6235626B2 (en) * 2016-01-25 2017-11-22 株式会社大一商会 Game machine

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6113296A (en) * 1984-06-29 1986-01-21 カシオ計算機株式会社 Electronic musical instrument with key split function
JPH0631971B2 (en) * 1984-11-19 1994-04-27 松下電器産業株式会社 Electronic musical instrument
JPS6223093A (en) * 1985-07-24 1987-01-31 ヤマハ株式会社 Electronic musical instrument

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7465865B2 (en) 2005-03-28 2008-12-16 Casio Computer Co., Ltd. Sound generation assignment device, music sound generator and sound generation assignment process program
CN107863093A (en) * 2017-11-03 2018-03-30 得理电子(上海)有限公司 Pronunciation management method, apparatus, electronic musical instrument and storage medium
CN107863093B (en) * 2017-11-03 2022-01-07 得理电子(上海)有限公司 Pronunciation management method, pronunciation management device, electronic musical instrument, and storage medium

Also Published As

Publication number Publication date
JPH05210386A (en) 1993-08-20

Similar Documents

Publication Publication Date Title
US6576828B2 (en) Automatic composition apparatus and method using rhythm pattern characteristics database and setting composition conditions section by section
KR100200290B1 (en) Automatic playing apparatus substituting available pattern for absent pattern
JP3177374B2 (en) Automatic accompaniment information generator
JP2562260B2 (en) Electronic musical instrument assigner
US4083283A (en) Electronic musical instrument having legato effect
JP3372124B2 (en) Electronic musical instrument
JP2004045669A (en) Automatic playing device, automatic playing program, and automatic playing data recording medium
JPH0719150B2 (en) Electronic musical instrument assigner
JP2562261B2 (en) Electronic musical instrument assigner
US6274798B1 (en) Apparatus for and method of setting correspondence between performance parts and tracks
JPS58220189A (en) Automatic performer
JPH06259064A (en) Electronic musical instrument
JP2562260C (en)
JP3674469B2 (en) Performance guide method and apparatus and recording medium
JPH0115878B2 (en)
JP3217772B2 (en) Apparatus and method for processing sound waveform data
JP4097325B2 (en) Music information setting device
JP5648791B2 (en) Music signal generator
JPH04313800A (en) Electronic music reproducing device
JP2639604B2 (en) Sound device for electronic keyboard instruments
JPH08314484A (en) Automatic playing device
JPH04360199A (en) Automatic player
JP2681146B2 (en) Electronic musical instrument automatic performance device and automatic performance method
JPH0962280A (en) 'karaoke' device
US5403965A (en) Sequencer having a reduced number of panel switches

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
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R370 Written measure of declining of transfer procedure

Free format text: JAPANESE INTERMEDIATE CODE: R370