JP3590733B2 - Music signal generator - Google Patents

Music signal generator Download PDF

Info

Publication number
JP3590733B2
JP3590733B2 JP03642399A JP3642399A JP3590733B2 JP 3590733 B2 JP3590733 B2 JP 3590733B2 JP 03642399 A JP03642399 A JP 03642399A JP 3642399 A JP3642399 A JP 3642399A JP 3590733 B2 JP3590733 B2 JP 3590733B2
Authority
JP
Japan
Prior art keywords
tone
key
channel
tone signal
panning
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
JP03642399A
Other languages
Japanese (ja)
Other versions
JP2000235391A (en
Inventor
勉 斉藤
二朗 田中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kawai Musical Instrument Manufacturing Co Ltd
Original Assignee
Kawai Musical Instrument Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kawai Musical Instrument Manufacturing Co Ltd filed Critical Kawai Musical Instrument Manufacturing Co Ltd
Priority to JP03642399A priority Critical patent/JP3590733B2/en
Priority to US09/504,647 priority patent/US6198035B1/en
Publication of JP2000235391A publication Critical patent/JP2000235391A/en
Priority to US09/771,055 priority patent/US6316711B2/en
Application granted granted Critical
Publication of JP3590733B2 publication Critical patent/JP3590733B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、楽音信号発生装置の技術分野に属する。
【0002】
【従来の技術】
例えば電子ピアノに代表される電子鍵盤楽器には、楽音信号を生成する複数の楽音発生チャネル、各楽音発生チャネルの動作状態を記憶するチャネル状態記憶手段、キーオンが検出されると、チャネル状態記憶手段の記憶内容を参照して楽音発生チャネルの一対を選択し、選択された楽音発生チャネルの一方をLチャネルとしてステレオ演奏のための左楽音信号を割当て、他方をRチャネルとしてステレオ演奏のための右楽音信号を割当てる割当手段、左楽音信号を出力する左出力系及び右楽音信号を出力する右出力系を備える楽音信号発生装置を持ち、左出力系からの楽音信号により左スピーカを駆動し、右出力系からの楽音信号により右スピーカを駆動することによってステレオ演奏するものがある。
【0003】
ステレオ演奏するためには、1つの鍵の操作(キーオン)に対して2つの楽音発生チャネル(L/Rチャネル)が必要となる。こうしたL/Rチャネルの対を鍵数だけ用意すればチャネル不足になることはないが、楽音発生チャネルの数を増やすことはコストアップになるので、楽音発生チャネルの数をある程度に抑えて(例えば32チャネル)、限られた数の楽音発生チャネルの有効利用が研究されてきた。
【0004】
そのような楽音発生チャネルの有効利用技術の一つとして、特開平10−49159号公報に開示されている楽音発生装置がある。この楽音発生装置では、楽音発生チャネルの全数が使用されているときに新たなキーオンがなされると、L/Rチャネルの対を2つ選び、それら対をなしている楽音発生チャネルの片方をトランケート(急速減衰)させ、残りのチャネルはそのまま動作させる。これにより、2つの楽音発生チャネルが空きになるので、それらを新たにキーオンされた鍵に対応するL/Rチャネルとして使用できる。
【0005】
【発明が解決しようとする課題】
しかし、特開平10−49159号公報の技術では、ステレオ発音のうちの一方(片側チャネル)の発音のみが残るので、左右で音量バランスがばらつくおそれがある。これを防ぐには、トランケート処理するチャネルを「前回はLチャネルだったから今回はRチャネルにする」というような制御を行う必要があり、制御が複雑化する。
【0006】
また、トランケート処理により片側チャネルの発音は完全になくなってしまうため、例えばダンパーペダルが踏まれた状態でキーオンが相次いだならば全体音量は次第に増加してほしいのに、トータルチャネル数をステレオ発音した音量以上に増やすことはできなかった。
【0007】
本発明は、ステレオ発音していた楽音発生チャネルの片方をトランケートさせて、そのトランケートさせたチャネルを新たにキーオンされた鍵の発音に使用する楽音信号発生装置において、左右のバランスをそこなわず、またキーオンに応じてトータル音量も増加可能にすることを目的としている。
【0013】
【課題を解決するための手段および発明の効果】
上記課題を解決するための請求項1記載の楽音信号発生装置は、楽音信号を生成する複数の楽音発生チャネルと、前記各楽音発生チャネルの動作状態を記憶するチャネル状態記憶手段と、キーオンが検出されると、前記チャネル状態記憶手段の記憶内容を参照して前記楽音発生チャネルの一対を選択し、該選択された楽音発生チャネルの一方をLチャネルとしてステレオ演奏のための左楽音信号を割当て、他方をRチャネルとして前記ステレオ演奏のための右楽音信号を割当てる割当手段と、前記左楽音信号を出力する左出力系と、前記右楽音信号を出力する右出力系とを備える楽音信号発生装置において、
新たなキーオンが検出されると、前記チャネル状態記憶手段の記憶内容を参照して、それ以前にキーオンされた鍵に対応する一対の前記Lチャネル及びRチャネルを選択し、該選択した前記楽音発生チャネルの一方の楽音信号のパンニング値を0に漸近させる(0漸近という。)と共に、他方の楽音発生チャネルの楽音信号を、その楽音発生チャネルを動作させるきっかけとされた前記キーオン時のキースケールに基づくパンニング値に漸近させる(キースケール漸近という。)、漸化パンニング手段を備えたことを特徴とする。
【0014】
この楽音信号発生装置では、漸化パンニング手段が、新たなキーオンが検出されると、チャネル状態記憶手段の記憶内容を参照して、それ以前にキーオンされた鍵に対応する一対のLチャネル及びRチャネルを選択し、選択した楽音発生チャネルの一方の楽音信号のパンニング値を0漸近させると共に、他方の楽音発生チャネルの楽音信号を、その楽音発生チャネルを動作させるきっかけとされたキーオン時のキースケールに基づくパンニング値にキースケール漸近させる。
【0015】
これにより、パンニング値を0漸近させた楽音発生チャネルを新たなキーオンに対応する楽音発生チャネルとして使用できる。
そして、残りの楽音発生チャネルの楽音信号のパンニング値をキースケール漸近させることにより、0漸近による音量の減少を防止でき、例えばダンパーペダルが踏まれた状態でキーオンが相次いだならば全体音量は次第に増加させることができる。
新たなキーオンに対応して、それ以前にキーオンされた2つの鍵に対応する二対のLチャネル及びRチャネルを選択し、それぞれのチャネル対について0漸近とキースケール漸近とを行って2つの空チャネルを作り出せば、それらを新たなキーオンに対応するステレオ発音のための楽音発生チャネルにできる。
【0016】
この際に、請求項2記載のように、請求項1記載の楽音信号発生装置において、前記0漸近の速度と前記キースケール漸近の速度とをほぼ同じにすれば、0漸近による音量低下分をキースケール漸近による音量増加で補うことができ、総音量の変化を防ぎ、違和感を感じさせない。
【0017】
また請求項3記載のように、請求項1載の楽音信号発生装置において、前記0漸近させる楽音信号とキースケール漸近させる楽音信号との音量の和を略一定としても、請求項2と同様の効果を得ることができる。
【0021】
【発明の実施の形態】
次に、本発明の実施例を図面を参照して説明することにより発明の実施の形態を説明する。
【0022】
【実施例】
図1は、楽音信号発生装置を備える鍵盤式の電子楽器の全体的な構成を示すブロック図である。
この鍵盤式の電子楽器10は、鍵盤12とパネル14を備えており、演奏者は鍵盤12の鍵(キー)及びパネル14のスイッチ類を操作できる。
【0023】
鍵盤12の鍵が操作されると、キースキャン回路16が押鍵、離鍵すなわちキーオン、キーオフを検出し、検出したオン/オフ情報をそのキーナンバとともにバスライン17に送出する。バスライン17に送出されたキーオン/オフ情報及びキーナンバは、CPU24及び楽音信号発生装置40に取込まれ、またCPU24の制御下でCPUワークRAM30に記憶される。なお、CPUワークRAM30は、後述する楽音発生チャネルの動作状態を記憶し、チャネル状態記憶手段として機能する。
【0024】
パネル14のモード選択スイッチ、音色選択スイッチ、ボリュームコントローラのオン/オフやポジション等はパネルスキャン18にて検出される。それらのスイッチ情報は、パネルスキャン18からバスライン17に送出され、CPU24の制御下でCPUワークRAM30に記憶される。
【0025】
また、パネル14にはパネル表示20が付属しており、パネル表示20はCPU24の指示を受けて電子楽器10の状態等を表示するためのLEDを点灯、消灯させる。
さらに、バスライン17には、シリアル入出力回路であるUART22が接続されており、MIDI信号が入力される。
【0026】
CPU24はCPUプログラムROM26に格納されている動作プログラムに従って動作し、電子楽器10の各部の動作を制御する。
音色パラメータROM28には、図4に示される構造のステレオ音色パラメータと図5に示されるモノラル音色パラメータが格納されている。図4に示すように、ステレオ音色パラメータは、音色毎にL側DCOとR側DCOとが対になり、それぞれのDCOはウェーブスタートアドレス(Wave Start Address)、L側並びにR側パンニング係数、アタック(Attack)、ディケイ(Decay )及びリリース(Release )の各エンベロープデータ(Ebv. data )を含んでいる。なお、本実施例の場合、L側DCOのL側パンニング係数は低音、中音、高音とも70、R側パンニング係数は低音、中音、高音とも0に設定され、R側DCOではこれと逆にL側パンニング係数は低音、中音、高音とも0、R側パンニング係数は低音、中音、高音とも70に設定されている。
【0027】
また、図5に示すように、モノラル音色パラメータには、L/R共通DCOとしてウェーブスタートアドレス、L側並びにR側パンニング係数、アタック、ディケイ及びリリースの各エンベロープデータが含まれている。本実施例ではモノラル音色パラメータのパンニング係数は図6に示されるパンニングカーブ(低音側80−高音側40のカーブ(L)と低音側40−高音側80のカーブ(R))に従っており、低音はL側が80でR側が40、中音はL側、R側とも70、高音はL側が40でR側が80となるように設定されている。
【0028】
図1に戻り、バスライン17には、楽音信号発生装置40が接続されている。楽音信号発生装置40は、サンプル波形データを格納している波形ROM42、波形ROM42から読み込んだサンプル波形データに基づいてサンプル波形(楽音信号)を生成するサンプル波形発生器44、サンプル波形発生器44の一部となるRAMのアサイメントメモリ46、サンプル波形発生器44が生成したサンプル波形にパンニング処理を施すパンニング回路50、パンニング処理されたサンプル波形を系列累算処理するための系列累算回路60等から構成されている。
【0029】
なお、本実施例の楽音信号発生装置40においては、サンプル波形発生器44はサンプル波形を生成する楽音発生チャネルを32チャネル備えており、各チャネルが1音のサンプル波形を生成する。
そして、アサイメントメモリ46は、各チャネル毎に、図3に示されるとおりのキーアサイメント情報を記憶する。すなわち、キーナンバ、そのオン/オフ情報、ウェーブスタートアドレス、L側及びR側パンニング係数、アタック、ディケイ及びリリースの各エンベロープデータ、ラウドネスデータが1チャネル分のアサイメント情報であり、それを32チャネル分記憶できる。
【0030】
記憶されるキーナンバとそのオン/オフ情報は、上述のキースキャン回路16がバスライン17に送出したものである。ウェーブスタートアドレス、L側及びR側パンニング係数及びエンベロープデータは、パネル14の音色選択スイッチに基づいて音色パラメータROM28から獲得したものである。ラウドネスデータは、ボリュームコントローラのポジションをパネルスキャン18が検出し、それを数値化してバスライン17に送出したデータである。すなわち、アサイメントメモリ46は、それぞれのチャネルが生成しているサンプル波形が対応しているキーナンバ、音色及び音量に関するデータを記憶すると言える。
【0031】
図1に戻り、系列累算回路60にはディジタルアナログコンバータ(DAC)62L、アンプ(Amp)64L及びスピーカ(SP)66Lからなる左出力系と同様にDAC62R、Amp64R及びSP66Rからなる右出力系とが接続されており、左右出力系は、それぞれ系列累算回路60から出力されるデジタル信号をアナログ信号に変換し、増幅し、音声出力することができる。
【0032】
図2に示すように、サンプル波形発生器44にはFナンバROM70、Fナンバ累算器72、サンプル補間器74、エンベロープ発生器76、アサイメントメモリ46(図2には示さない)等が備わっている。これらのうちでFナンバ累算器72、サンプル補間器74及びエンベロープ発生器76が1組となって1つのサンプル波形を生成するので、本実施例ではこれらの組が32組(すなわち楽音発生チャネルが32チャネル)ある。
【0033】
FナンバROM70にはアサイメントメモリ46からのキーナンバが入力され、そのキーナンバに対応するFナンバがFナンバ累算器72に読み込まれる。また、アサイメントメモリ46からのキーオン/オフ情報もFナンバ累算器72に入力される。Fナンバ累算器72は、Fナンバの整数部分を加算器ADD1に送出し、小数部分をサンプル補間器74に送出する。加算器ADD1では、Fナンバの整数部分にアサイメントメモリ46からのウェーブスタートアドレスが加算され、その加算後のデータが波形ROM42のアドレスを指定する。サンプル補間器74は、このアドレス指定されたサンプル波形データを読込み、Fナンバの小数部分を用いてサンプル波形データに補間処理を施す。
【0034】
サンプル補間器74から出力されたサンプル波形データは、乗算器MLT1に送られる。乗算器MLT1には、エンベロープ発生器76からのエンベロープデータが入力され、サンプル波形データにエンベロープデータが乗算される。このエンベロープデータは、アサイメントメモリ46からエンベロープ発生器76に供給されるアタック、ディケイ及びリリースのエンベロープデータに基づいている。さらに、サンプル波形データには、乗算器MLT2において、アサイメントメモリ46からのラウドネスデータが乗算される。
【0035】
このようにエンベロープデータとラウドネスデータが乗算されたサンプル波形データはパンニング回路50に送られる。
パンニング回路50は、L側パンニング値補間回路50Lと乗算器MLT3とで構成されるL側系列及びR側パンニング値補間回路50Rと乗算器MLT4とで構成されるR側系列からなり、その下流側の系列累算回路60も加算器ADD3とラッチ60LとからなるL側系列と加算器ADD4とラッチ60RからなるR側系列とからなっている。
【0036】
L側パンニング値補間回路50L及びR側パンニング値補間回路50Rは、CPU24から補間の有無を指示され、補間有りならアサイメントメモリ46から取得したパンニング係数(パン値)を乗算器MLT3、MLT4に送出する。乗算器MLT3、MLT4にパンニング係数が送出された際には、そのパンニング係数がサンプル波形データに乗算される。
【0037】
さらにサンプル波形データは、加算器ADD3、ADD4を経てラッチ60L、60Rに送られ、全チャネル分の累算処理が行われる。累算されたデータは、上述したように左右出力系において、アナログ変換され、増幅され、音声として出力される。
【0038】
さて、この電子楽器10においては、図7に示すように、電子楽器10の電源がオンされると、CPU24は各種の初期化処理を行う(S101)。
以後は、パネル14のモード選択スイッチ、音色選択スイッチ、ボリュームコントローラのオン/オフやポジション等に応じて、音色、音量等を設定するためのパネル処理(S102)、キーオン/オフに対応しての発音、消音を実行するための処理であるキーイベント(S103)、その他の処理(S104)を繰り返し実行する。
【0039】
キーイベント(S103)に含まれるサブルーチンとして、本発明に関わりの深いキーアサイン処理が行われるので、その処理を図8に従って説明する。
キーアサイン処理では、CPU24はまずキーオンの有無を判断し(S120)、キーオンがあればCPUワークRAM30を検索して空チャネルが2チャネルあるか否かを判断する(S121)。空チャネルがない場合には、ステレオ発音のペアチャネルを1ペア選択する(S122)。この選択基準は適宜設定されればよく、本実施例では最も古く発音を開始したペアチャネルを選択する。
【0040】
続いて、CPU24は、楽音信号発生装置40に指示して、選択したペアチャネルの一方(本実施例ではLチャネル)を高速リリース(すなわちトランケート)させる(S123)。また、CPU24は、楽音信号発生装置40に指示して、選択したペアチャネルの他方(本実施例ではRチャネル)のパンニング係数をキーナンバに基づいて変更させ、Rチャネルのモノラル音を左右の出力系から出力させる(S124)。このパンニング係数は、例えば図6(この図6の例はモノラルピアノ音のパンニングカーブである)に示すパンニングカーブ(本実施例の場合、80−40のパンニングカーブと40−80のパンニングカーブ)により、キーナンバに対応するパンニング係数が決定される。この実施例では前述のパンニングカーブを採用しているが、他の形態のパンニングカーブ、例えばフルパンニングカーブ(L、R)を用いてもよい。
【0041】
なお、高速リリースはエンベロープ発生器76の働きによって実現され、パンニングの変更はパンニング回路50の働きによって実現される。したがって、モノラル化を指示するCPU24、その指示を実現するエンベロープ発生器76及びパンニング回路50が共同してモノラル化手段及び補正パンニング手段として機能している。
【0042】
次に、CPU24は、ステレオ発音のもう1つのペアチャネルを選択し(S125)、選択したペアチャネルの一方(本実施例ではLチャネル)を高速リリースさせ(S126)、そのペアチャネルの他方(本実施例ではRチャネル)のパンニング係数をキーナンバに基づいて変更させ、そのモノラル音を左右の出力系から出力させる(S127)。
【0043】
そして、こうして2つの空チャネルができるので、それらに新たなキーオンのL及びRチャネルをアサインする(S128)。詳しくは、アサイメントメモリ46上の2つの空チャネルに対応する領域に、図3に示される内容のデータを書込み、CPUワークRAM30の楽音発生チャネルの動作状態の記憶を更新させる。
【0044】
なお、キーオンがなかったときは(S120:NO)、S121以下の処理を行うことなくリターンし、空チャネルがあるときには(S121:YES)、S122〜S127の処理をジャンプしてS128を実行する。
このように、新たなキーオンがなされたときに、それをアサインすべき空チャネルがない場合には、2組のペアチャネルを選択し、それぞれのペアの一方のチャネルをトランケートさせて2つの空チャネルを作り出し、それらを新たなキーオンにアサインするので、新たなキーオンに対応するステレオ発音が可能になる。しかも、その際にトランケートされなかった方のチャネルのパンニング係数を変更して左右両方の出力系から出力させるので、左右のバランスを維持できる。また、残ったモノラル音でトランケートによる音量の減少を防止でき、例えばダンパーペダルが踏まれた状態でキーオンが相次いだときには全体音量は次第に増加させることができる。
漸近処理例
上述の例はペアチャネルの一方を高速リリースする手法を採用しているが、図9に示すように、パンニング係数を0(S123’、S126’)にしても、2つの空チャネルを作り出してそれらを新たなキーオンにアサインでき、また残ったチャネルのモノラル音で総音量の減少を防止できる。なお、S123’及びS126’において0漸近を、S124、S127においてキースケール漸近を行う(漸化パンニング手段)。
【0045】
以上、実施例に従って、本発明の実施の形態について説明したが、本発明はこのような実施例に限定されるものではなく、本発明の要旨を逸脱しない範囲でさまざまに実施できることは言うまでもない。
【図面の簡単な説明】
【図1】実施例の電子楽器の全体的な構成のブロック図である。
【図2】実施例の電子楽器の楽音信号発生装置の詳細を説明するブロック図である。
【図3】実施例の楽音信号発生装置のアサイメントメモリの構造の説明図である。
【図4】実施例の電子楽器の音色パラメータROM内のステレオ音色パラメータの構造の説明図である。
【図5】実施例の電子楽器の音色パラメータROM内のモノラル音色パラメータの構造の説明図である。
【図6】実施例の電子楽器におけるモノラルピアノ音のパンニングカーブのグラフである。
【図7】実施例の電子楽器のCPUが実行するメイン処理のフローチャートである。
【図8】実施例の電子楽器のCPUが実行するキーアサイン処理のフローチャートである。
【図9】キーアサイン処理の変型例のフローチャートである。
【符号の説明】
10…電子楽器
24…CPU(割当手段、モノラル化手段、補正パンニング手段)
26…CPUプログラムROM
28…音色パラメータROM
30…CPUワークRAM(チャネル状態記憶手段)
40…楽音信号発生装置
42…波形ROM
44…サンプル波形発生器
46…アサイメントメモリ
50…パンニング回路(モノラル化手段、補正パンニング手段)
60…系列累算回路
62L…ディジタルアナログコンバータ(左出力系)
64L…アンプ(左出力系)
66L…スピーカ(左出力系)
62R…ディジタルアナログコンバータ(右出力系)
64R…アンプ(右出力系)
66R…スピーカ(右出力系)
70…FナンバROM
72…Fナンバ累算器
74…サンプル補間器
76…エンベロープ発生器(モノラル化手段、補正パンニング手段)
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention belongs to the technical field of a tone signal generator.
[0002]
[Prior art]
For example, an electronic keyboard instrument represented by an electronic piano includes a plurality of tone generation channels for generating tone signals, channel state storage means for storing the operation state of each tone generation channel, and channel state storage means for detecting key-on. , A pair of tone generation channels is selected, a left tone signal for stereo performance is assigned to one of the selected tone generation channels as an L channel, and a right tone signal for stereo performance is assigned to the other as an R channel. A tone signal generator having a left output system for outputting a left tone signal and a right output system for outputting a right tone signal; a left speaker driven by a tone signal from the left output system; There is a type in which a right speaker is driven by a tone signal from an output system to perform a stereo performance.
[0003]
In order to perform a stereo performance, two tone generation channels (L / R channels) are required for one key operation (key-on). If such L / R channel pairs are prepared by the number of keys, the number of channels does not become insufficient. However, increasing the number of tone generating channels increases the cost. 32 channels), the effective use of a limited number of tone generation channels has been studied.
[0004]
As one of the techniques for effectively utilizing such a tone generation channel, there is a tone generation device disclosed in Japanese Patent Application Laid-Open No. Hei 10-49159. In this tone generating apparatus, when a new key-on is performed when all the tone generating channels are used, two pairs of L / R channels are selected, and one of the tone generating channels forming the pair is truncated. (Rapid decay), and the remaining channels are operated as they are. As a result, the two tone generation channels become free, and they can be used as the L / R channels corresponding to the newly keyed-on keys.
[0005]
[Problems to be solved by the invention]
However, according to the technique disclosed in Japanese Patent Application Laid-Open No. H10-49159, only one of the stereo sounds (one-side channel) remains, and there is a possibility that the volume balance may vary between the left and right. In order to prevent this, it is necessary to control the channel to be truncated such that "the channel was previously the L channel and the R channel is used this time", which complicates the control.
[0006]
In addition, since the sound of one channel is completely eliminated by the truncation process, for example, if the key-on successively occurs with the damper pedal depressed, the total number of channels is stereo-generated, although the overall volume is desired to gradually increase. The volume could not be increased beyond the volume.
[0007]
The present invention provides a tone signal generating apparatus that truncates one of the tone generating channels that are sounding in stereo, and uses the truncated channel for sounding a newly keyed-on key. It is another object of the present invention that the total volume can be increased according to key-on.
[0013]
Means for Solving the Problems and Effects of the Invention
According to a first aspect of the present invention, there is provided a tone signal generating apparatus , comprising: a plurality of tone generating channels for generating tone signals; channel state storage means for storing an operating state of each tone generating channel; Then, a pair of the tone generation channels is selected with reference to the storage contents of the channel state storage means, and one of the selected tone generation channels is assigned as an L channel, and a left tone signal for stereo performance is assigned. A tone signal generating apparatus comprising: allocating means for assigning a right tone signal for the stereo performance using the other as an R channel; a left output system for outputting the left tone signal; and a right output system for outputting the right tone signal. ,
When a new key-on is detected, a pair of the L channel and the R channel corresponding to the key that has been keyed on before is selected by referring to the storage contents of the channel state storage means, and the selected tone generation is selected. The panning value of one tone signal of the channel is asymptotically reduced to 0 (referred to asymptotically 0), and the tone signal of the other tone generating channel is converted to the key scale at the time of key-on which triggered the operation of the tone generating channel. And a recurrence panning means for asymptotically approaching a panning value based on the panning value (referred to as asymptotic key scale).
[0014]
In this tone signal generating apparatus, when a new key-on is detected, the recurrence panning means refers to the contents stored in the channel state storage means and refers to a pair of the L channel and the R channel corresponding to the key that was previously keyed on. A channel is selected, and the panning value of one tone signal of the selected tone generation channel is asymptotically reduced to 0, and the tone signal of the other tone generation channel is converted to a key scale at the time of key-on which triggered the operation of the tone generation channel. Key scale asymptotics to the panning value based on.
[0015]
As a result, a tone generation channel whose panning value is asymptotically set to 0 can be used as a tone generation channel corresponding to a new key-on.
Then, by decreasing the panning value of the tone signal of the remaining tone generating channel to the key scale asymptotically, it is possible to prevent the volume from decreasing due to the asymptotic approach to zero. Can be increased.
In response to the new key-on, two pairs of L and R channels corresponding to the two keys previously keyed on are selected, and zero asymptotic and key-scale asymptotically performed for each channel pair to obtain two empty channels. Once the channels are created, they can be used as tone generation channels for stereo sound corresponding to the new key-on.
[0016]
At this time, as described in claim 2, in the tone signal generating apparatus according to claim 1 , if the speed of the asymptotic zero and the speed of the key scale asymptotically are substantially the same, the volume decrease due to the asymptotic zero is reduced. It can be compensated for by increasing the volume due to the asymptotic key scale, preventing a change in the total volume and not giving a sense of incongruity.
[0017]
Also, as claimed in claim 3, wherein, in the musical tone signal generating apparatus of the mounting according to claim 1, wherein 0 is also the sum of the volume of the asymptotic tone signal to the key scale asymptotic is to tone signal as substantially constant, the same as defined in Claim 2 The effect can be obtained.
[0021]
BEST MODE FOR CARRYING OUT THE INVENTION
Next, an embodiment of the present invention will be described by describing an embodiment of the present invention with reference to the drawings.
[0022]
【Example】
FIG. 1 is a block diagram showing an overall configuration of a keyboard-type electronic musical instrument provided with a tone signal generating device.
The keyboard-type electronic musical instrument 10 includes a keyboard 12 and a panel 14. A player can operate keys on the keyboard 12 and switches on the panel 14.
[0023]
When a key on the keyboard 12 is operated, the key scan circuit 16 detects key depression and key release, that is, key-on and key-off, and sends the detected on / off information to the bus line 17 together with the key number. The key-on / off information and the key number sent to the bus line 17 are taken into the CPU 24 and the tone signal generator 40, and stored in the CPU work RAM 30 under the control of the CPU 24. The CPU work RAM 30 stores an operation state of a tone generation channel described later, and functions as a channel state storage unit.
[0024]
The on / off and position of the mode selection switch, tone color selection switch, and volume controller of the panel 14 are detected by the panel scan 18. The switch information is transmitted from the panel scan 18 to the bus line 17 and stored in the CPU work RAM 30 under the control of the CPU 24.
[0025]
Further, the panel 14 is provided with a panel display 20, which receives an instruction from the CPU 24 and turns on and off an LED for displaying the state of the electronic musical instrument 10 and the like.
Further, a UART 22, which is a serial input / output circuit, is connected to the bus line 17, and receives a MIDI signal.
[0026]
The CPU 24 operates according to the operation program stored in the CPU program ROM 26, and controls the operation of each unit of the electronic musical instrument 10.
The tone color parameter ROM 28 stores a stereo tone color parameter having the structure shown in FIG. 4 and a monaural tone color parameter shown in FIG. As shown in FIG. 4, the stereo timbre parameters are such that the L-side DCO and the R-side DCO are paired for each timbre, and each DCO has a wave start address (Wave Start Address), L-side and R-side panning coefficients, and an attack side. (Attack), decay (Decay), and release (Release). In the case of the present embodiment, the L-side panning coefficient of the L-side DCO is set to 70 for all of the low, middle, and treble, and the R-side panning coefficient is set to 0 for all of the low, middle, and treble. In addition, the L-side panning coefficient is set to 0 for both low, middle, and high sounds, and the R-side panning coefficient is set to 70 for low, middle, and high sounds.
[0027]
Further, as shown in FIG. 5, the monaural tone color parameters include a wave start address, L-side and R-side panning coefficients, attack, decay and release envelope data as an L / R common DCO. In the present embodiment, the panning coefficients of the monaural tone parameters follow the panning curves shown in FIG. 6 (the low-frequency side 80-the high-frequency side 40 curve (L) and the low-frequency side 40-the high-frequency side 80 curve (R)). The L side is set to 80 and the R side is set to 40, the middle tone is set to L side and the R side is set to 70, and the high tone is set to 40 on the L side and 80 on the R side.
[0028]
Returning to FIG. 1, the tone signal generator 40 is connected to the bus line 17. The tone signal generator 40 includes a waveform ROM 42 storing sample waveform data, a sample waveform generator 44 for generating a sample waveform (tone signal) based on the sample waveform data read from the waveform ROM 42, and a sample waveform generator 44. An assignment memory 46 of a RAM as a part, a panning circuit 50 for performing a panning process on the sample waveform generated by the sample waveform generator 44, a sequence accumulation circuit 60 for performing a sequence accumulation process on the panned sample waveform, and the like. It is composed of
[0029]
In the tone signal generator 40 of the present embodiment, the sample waveform generator 44 has 32 tone generation channels for generating a sample waveform, and each channel generates a sample waveform of one sound.
Then, the assignment memory 46 stores key assignment information as shown in FIG. 3 for each channel. That is, the key number, its on / off information, the wave start address, the L-side and R-side panning coefficients, each of the attack, decay and release envelope data, and the loudness data are assignment information for one channel. I can remember.
[0030]
The stored key numbers and their on / off information are transmitted from the key scan circuit 16 to the bus line 17. The wave start address, the L-side and R-side panning coefficients, and the envelope data are obtained from the timbre parameter ROM 28 based on the timbre selection switch on the panel 14. The loudness data is data that the position of the volume controller is detected by the panel scan 18, digitized, and transmitted to the bus line 17. In other words, it can be said that the assignment memory 46 stores data on the key number, timbre, and volume corresponding to the sample waveform generated by each channel.
[0031]
Returning to FIG. 1, the series accumulation circuit 60 has a right output system including DAC 62R, Amp64R, and SP66R as well as a left output system including a digital-analog converter (DAC) 62L, an amplifier (Amp) 64L, and a speaker (SP) 66L. Are connected, and the left and right output systems can convert digital signals output from the sequence accumulation circuit 60 into analog signals, amplify the signals, and output audio.
[0032]
As shown in FIG. 2, the sample waveform generator 44 includes an F-number ROM 70, an F-number accumulator 72, a sample interpolator 74, an envelope generator 76, an assignment memory 46 (not shown in FIG. 2), and the like. ing. Of these, the F number accumulator 72, the sample interpolator 74, and the envelope generator 76 form one set to generate one sample waveform. In this embodiment, 32 sets of these sets (ie, the tone generation channel) Are 32 channels).
[0033]
The key number from the assignment memory 46 is input to the F number ROM 70, and the F number corresponding to the key number is read into the F number accumulator 72. The key on / off information from the assignment memory 46 is also input to the F number accumulator 72. The F number accumulator 72 sends the integer part of the F number to the adder ADD1 and sends the decimal part to the sample interpolator 74. In the adder ADD1, the wave start address from the assignment memory 46 is added to the integer part of the F number, and the data after the addition specifies the address of the waveform ROM 42. The sample interpolator 74 reads the addressed sampled waveform data, and performs an interpolation process on the sampled waveform data using the decimal part of the F number.
[0034]
The sample waveform data output from the sample interpolator 74 is sent to the multiplier MLT1. The multiplier MLT1 receives the envelope data from the envelope generator 76, and multiplies the sample waveform data by the envelope data. The envelope data is based on the attack, decay and release envelope data supplied from the assignment memory 46 to the envelope generator 76. Further, the sample waveform data is multiplied by the loudness data from the assignment memory 46 in the multiplier MLT2.
[0035]
The sample waveform data obtained by multiplying the envelope data and the loudness data in this manner is sent to the panning circuit 50.
The panning circuit 50 is composed of an L-side sequence composed of an L-side panning value interpolation circuit 50L and a multiplier MLT3, and an R-side sequence composed of an R-side panning value interpolation circuit 50R and a multiplier MLT4. The series accumulation circuit 60 also includes an L-side series including an adder ADD3 and a latch 60L, and an R-side series including an adder ADD4 and a latch 60R.
[0036]
The L-side panning value interpolation circuit 50L and the R-side panning value interpolation circuit 50R are instructed by the CPU 24 whether or not interpolation is performed, and if interpolation is performed, send the panning coefficient (pan value) acquired from the assignment memory 46 to the multipliers MLT3 and MLT4. I do. When the panning coefficient is sent to the multipliers MLT3 and MLT4, the panning coefficient is multiplied by the sample waveform data.
[0037]
Further, the sample waveform data is sent to the latches 60L and 60R via the adders ADD3 and ADD4, and the accumulation processing for all channels is performed. As described above, the accumulated data is converted into an analog signal in the left and right output systems, amplified, and output as audio.
[0038]
In the electronic musical instrument 10, as shown in FIG. 7, when the power of the electronic musical instrument 10 is turned on, the CPU 24 performs various initialization processes (S101).
Thereafter, panel processing (S102) for setting the tone color, volume, and the like in accordance with the mode selection switch, tone color selection switch, and on / off and position of the volume controller on the panel 14, and key on / off. The key event (S103), which is a process for executing sound generation and mute, and other processes (S104) are repeatedly executed.
[0039]
As a subroutine included in the key event (S103), a key assignment process closely related to the present invention is performed, and the process will be described with reference to FIG.
In the key assignment process, the CPU 24 first determines whether there is a key-on (S120). If there is a key-on, the CPU 24 searches the CPU work RAM 30 to determine whether there are two empty channels (S121). If there is no empty channel, one pair of stereo sounding pair channels is selected (S122). This selection criterion may be appropriately set. In this embodiment, the oldest paired channel that starts sounding is selected.
[0040]
Subsequently, the CPU 24 instructs the tone signal generator 40 to release one of the selected pair channels (the L channel in the present embodiment) at a high speed (that is, truncate) (S123). Further, the CPU 24 instructs the tone signal generator 40 to change the panning coefficient of the other of the selected pair channels (the R channel in this embodiment) based on the key number, and converts the monaural sound of the R channel into the left and right output systems. (S124). This panning coefficient is determined by, for example, a panning curve (a panning curve of 80-40 and a panning curve of 40-80 in the present embodiment) shown in FIG. 6 (the example of FIG. 6 is a panning curve of a monaural piano sound). , A panning coefficient corresponding to the key number is determined. Although the above-described panning curve is employed in this embodiment, other types of panning curves, for example, full panning curves (L, R) may be used.
[0041]
The fast release is realized by the operation of the envelope generator 76, and the change of the panning is realized by the operation of the panning circuit 50. Therefore, the CPU 24 for instructing monauralization, the envelope generator 76 for realizing the instruction, and the panning circuit 50 function together as monauralizing means and correction panning means.
[0042]
Next, the CPU 24 selects another pair channel of stereo sound (S125), releases one of the selected pair channels (the L channel in this embodiment) at a high speed (S126), and releases the other of the pair channels (this channel). The panning coefficient of the R channel in the embodiment is changed based on the key number, and the monaural sound is output from the left and right output systems (S127).
[0043]
Then, since two empty channels are thus created, new key-on L and R channels are assigned to them (S128). More specifically, data having the contents shown in FIG. 3 is written into an area corresponding to the two empty channels on the assignment memory 46, and the storage of the operating state of the tone generation channel in the CPU work RAM 30 is updated.
[0044]
If there is no key-on (S120: NO), the process returns without performing the processing of S121 and thereafter, and if there is an empty channel (S121: YES), the processing of S122 to S127 is jumped to S128.
In this way, when a new key-on is performed and there is no empty channel to which it is assigned, two pairs of channels are selected, and one channel of each pair is truncated to form two empty channels. And assigning them to a new key-on, enabling stereo sound corresponding to the new key-on. In addition, since the panning coefficient of the channel that has not been truncated at that time is changed and output from both the left and right output systems, the left and right balance can be maintained. Further, the volume of the remaining monaural sound can be prevented from decreasing due to truncation. For example, when key-on is performed successively with the damper pedal depressed, the overall volume can be gradually increased.
( Example of asymptotic processing )
Although the above example employs a technique of rapidly releasing one of the paired channels, as shown in FIG. 9, even if the panning coefficient is set to 0 (S123 ′, S126 ′), two empty channels are created and Can be assigned to a new key-on, and the monaural sound of the remaining channels can prevent the total volume from decreasing. In S123 'and S126', zero asymptote is performed, and in S124 and S127, key scale asymptote is performed (recursive panning means).
[0045]
As described above, the embodiments of the present invention have been described according to the examples. However, it is needless to say that the present invention is not limited to such examples, and can be variously implemented without departing from the gist of the present invention.
[Brief description of the drawings]
FIG. 1 is a block diagram of the overall configuration of an electronic musical instrument according to an embodiment.
FIG. 2 is a block diagram illustrating details of a musical sound signal generating device for an electronic musical instrument according to an embodiment.
FIG. 3 is an explanatory diagram of a structure of an assignment memory of the musical sound signal generator according to the embodiment.
FIG. 4 is an explanatory diagram of a structure of a stereo timbre parameter in a timbre parameter ROM of the electronic musical instrument of the embodiment.
FIG. 5 is an explanatory diagram of a structure of a monaural tone color parameter in a tone color parameter ROM of the electronic musical instrument of the embodiment.
FIG. 6 is a graph showing a panning curve of a monaural piano sound in the electronic musical instrument of the embodiment.
FIG. 7 is a flowchart of a main process executed by a CPU of the electronic musical instrument of the embodiment.
FIG. 8 is a flowchart of a key assignment process executed by a CPU of the electronic musical instrument according to the embodiment.
FIG. 9 is a flowchart of a modified example of the key assignment process.
[Explanation of symbols]
10 electronic musical instrument 24 CPU (allocation means, monaural means, correction panning means)
26 ... CPU program ROM
28 ... Tone parameter ROM
30 ... CPU work RAM (channel state storage means)
40 ... tone signal generator 42 ... waveform ROM
44 sample waveform generator 46 assignment memory 50 panning circuit (monaural means, correction panning means)
60: Series accumulation circuit 62L: Digital-to-analog converter (left output system)
64L… Amplifier (left output system)
66L ... speaker (left output system)
62R: Digital-to-analog converter (right output system)
64R ... Amplifier (right output system)
66R: Speaker (right output system)
70… F number ROM
72 ... F number accumulator 74 ... Sample interpolator 76 ... Envelope generator (monaural unit, correction panning unit)

Claims (3)

楽音信号を生成する複数の楽音発生チャネルと、前記各楽音発生チャネルの動作状態を記憶するチャネル状態記憶手段と、キーオンが検出されると、前記チャネル状態記憶手段の記憶内容を参照して前記楽音発生チャネルの一対を選択し、該選択された楽音発生チャネルの一方をLチャネルとしてステレオ演奏のための左楽音信号を割当て、他方をRチャネルとして前記ステレオ演奏のための右楽音信号を割当てる割当手段と、前記左楽音信号を出力する左出力系と、前記右楽音信号を出力する右出力系とを備える楽音信号発生装置において、
新たなキーオンが検出されると、前記チャネル状態記憶手段の記憶内容を参照して、それ以前にキーオンされた鍵に対応する一対の前記Lチャネル及びRチャネルを選択し、該選択した前記楽音発生チャネルの一方の楽音信号のパンニング値を0に漸近させる(0漸近という。)と共に、他方の楽音発生チャネルの楽音信号を、その楽音発生チャネルを動作させるきっかけとされた前記キーオン時のキースケールに基づくパンニング値に漸近させる(キースケール漸近という。)、漸化パンニング手段を備えたことを特徴とする楽音信号発生装置。
A plurality of tone generation channels for generating a tone signal; channel state storage means for storing an operation state of each of the tone generation channels; and when a key-on is detected, the tone is referred to by referring to storage contents of the channel state storage means. Assigning means for selecting a pair of generation channels, assigning one of the selected tone generation channels as an L channel to assign a left tone signal for stereo performance, and assigning the other as an R channel to assign a right tone signal for the stereo performance; And a left output system for outputting the left tone signal, and a right output system for outputting the right tone signal.
When a new key-on is detected, by referring to the stored contents of the channel state storage means, previous to select the pair of the L channel and R channel corresponding to the key-on the provided key, the selected said musical tone-generating The panning value of one tone signal of the channel is asymptotically reduced to 0 (referred to asymptotically 0), and the tone signal of the other tone generating channel is converted to the key scale at the time of key-on which triggered the operation of the tone generating channel. A tone signal generating apparatus comprising: a recurrence panning means for asymptotically approaching a panning value based on the panning value (referred to as key-scale asymptosis) .
請求項1記載の楽音信号発生装置において、
前記0漸近の速度と前記キースケール漸近の速度とがほぼ同じであることを特徴とする楽音信号発生装置。
The tone signal generating device according to claim 1,
The tone signal generating device according to claim 1, wherein the asymptotic speed is substantially the same as the key scale asymptotic speed .
請求項1記載の楽音信号発生装置において、
前記0漸近させる楽音信号とキースケール漸近させる楽音信号との音量の和が略一定であることを特徴とする楽音信号発生装置。
The tone signal generating device according to claim 1 ,
A tone signal generating apparatus , wherein the sum of the volume of the tone signal to be asymptotic to 0 and the tone volume of the tone signal to be asymptotic to the key scale is substantially constant .
JP03642399A 1999-02-15 1999-02-15 Music signal generator Expired - Fee Related JP3590733B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP03642399A JP3590733B2 (en) 1999-02-15 1999-02-15 Music signal generator
US09/504,647 US6198035B1 (en) 1999-02-15 2000-02-14 Musical sound signal generation apparatus
US09/771,055 US6316711B2 (en) 1999-02-15 2001-01-26 Musical sound signal generation apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03642399A JP3590733B2 (en) 1999-02-15 1999-02-15 Music signal generator

Publications (2)

Publication Number Publication Date
JP2000235391A JP2000235391A (en) 2000-08-29
JP3590733B2 true JP3590733B2 (en) 2004-11-17

Family

ID=12469427

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03642399A Expired - Fee Related JP3590733B2 (en) 1999-02-15 1999-02-15 Music signal generator

Country Status (1)

Country Link
JP (1) JP3590733B2 (en)

Also Published As

Publication number Publication date
JP2000235391A (en) 2000-08-29

Similar Documents

Publication Publication Date Title
EP0454047B1 (en) Tone waveform generation apparatus
US5602358A (en) Effect imparting device and electronic musical instrument incorporating same
JP3590733B2 (en) Music signal generator
US6198035B1 (en) Musical sound signal generation apparatus
JP3571565B2 (en) Music signal generator
US5221803A (en) Tone signal generation from fewer circuits
US6316711B2 (en) Musical sound signal generation apparatus
JP4201153B2 (en) Electronic instrument resonance sound generator
JP3721789B2 (en) Mixing equipment
JP2817521B2 (en) Electronic musical instrument
JPH067327B2 (en) Parameter setting device for musical tone generator
JP2001265342A (en) Musical sound signal generator
JPH0667671A (en) Musical sound generating device
JP3022170B2 (en) Control device
JPH10124050A (en) Electronic musical instrument
JP3105132B2 (en) Tone generator for electronic musical instruments
JP3018620B2 (en) Electronic musical instrument
JP2933186B2 (en) Music synthesizer
JP2953217B2 (en) Electronic musical instrument
JP3561983B2 (en) Electronic musical instrument
JP3614117B2 (en) Music signal processor
JPH1074084A (en) Electronic musical instrument
JPH10222165A (en) Sound effect adding device
JPH0416898A (en) Envelope generator
JPH06348263A (en) Electronic musical instrument

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040525

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040601

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040709

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040803

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040823

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070827

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080827

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090827

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090827

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100827

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110827

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120827

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120827

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130827

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees