JP3951842B2 - Spectrum setting apparatus and spectrum setting method - Google Patents

Spectrum setting apparatus and spectrum setting method Download PDF

Info

Publication number
JP3951842B2
JP3951842B2 JP2002212221A JP2002212221A JP3951842B2 JP 3951842 B2 JP3951842 B2 JP 3951842B2 JP 2002212221 A JP2002212221 A JP 2002212221A JP 2002212221 A JP2002212221 A JP 2002212221A JP 3951842 B2 JP3951842 B2 JP 3951842B2
Authority
JP
Japan
Prior art keywords
spectrum
data
channel
area
copy
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
JP2002212221A
Other languages
Japanese (ja)
Other versions
JP2004053991A (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2002212221A priority Critical patent/JP3951842B2/en
Publication of JP2004053991A publication Critical patent/JP2004053991A/en
Application granted granted Critical
Publication of JP3951842B2 publication Critical patent/JP3951842B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、倍音合成方式で楽音を発生する楽音発生装置に用いて好適なスペクトル設定装置およびスペクトル設定方法に関する。
【0002】
【従来の技術】
正弦波形などの基本波とその倍音成分(整数次倍音)とを重ね合わせて任意の倍音構造の楽音を発生する倍音合成方式の楽音発生装置が知られている。この種の装置では、予め各種倍音構造のスペクトルデータを記憶しておき、これらスペクトルデータの内から楽音発生装置側の発音チャンネルにアサインするスペクトルデータを選択すると、その選択されたスペクトルデータ、すなわち基本波およびその倍音成分毎のスペクトルレベル(振幅値)を、指定された発音チャンネルにコピーするスペクトル設定装置を備えている。
【0003】
【発明が解決しようとする課題】
ところで、従来のスペクトル設定装置では、基本波およびその倍音成分毎のスペクトルレベルから構成されるスペクトルデータを、楽音発生装置側の各発音チャンネル毎に一つ一つ個別にコピーしてスペクトル設定するように構成されている。この為、同じスペクトルデータを複数の発音チャンネルに設定する場合には、同じコピー動作を繰り返すことになり、一括して設定することができないという問題がある。
そこで本発明は、このような事情に鑑みてなされたもので、複数の発音チャンネルに同じスペクトルデータを一括して設定することができるスペクトル設定装置およびスペクトル設定方法を提供することを目的としている。
【0004】
【課題を解決するための手段】
上記目的を達成するため、請求項1に記載の発明では、発生すべき楽音波形の倍音構造を示すスペクトルデータ及び当該スペクトルデータに対応するスペクトル指定データを複数種記憶するスペクトルデータエリアと、楽音を発音する発音チャンネル毎にエリアが設けられ、エリア毎に前記スペクトル指定データ及び楽音波形が記憶可能なチャンネルデータエリアと、を有する記憶手段と、スペクトルデータ表示エリアとチャンネル表示エリアを有し、このスペクトル表示エリアに前記記憶手段のスペクトルデータエリアに記憶されている各スペクトル指定データを表示するとともに、前記チャンネル表示エリアに前記チャンネルデータエリアに記憶されている前記スペクトル指定データを前記発音チャンネルに対応させて表示する表示手段と、前記表示手段のスペクトルデータ表示エリアに表示されたスペクトル指定データと、前記チャンネル表示エリア内のいずれかのチャンネルをコピー先チャンネルとして指定することにより、指定されたスペクトル指定データを、指定されたチャンネルに対応するスペクトル指定データとして前記記憶手段のチャンネルデータエリア内に記憶させる、チャンネルスペクトルデータ指定手段と、前記表示手段のチャンネル表示エリアから、コピー先のチャンネルを指定するコピー先チャンネル指定手段と、このコピー先チャンネル指定手段によりコピー先チャンネルが指定されているときは、外部からの波形生成の指示に応答して、前記チャンネルスペクトルデータ指定手段にて指定されたスペクトル指定データをコピー元のスペクトル指定データとして指定するコピー元スペクトル指定データ指定手段と、コピー元スペクトル指定データ指定手段によりコピー元スペクトル指定データが指定された後、前記コピー先チャンネル指定手段により指定されたコピー先チャンネルに対しては、前記コピー元スペクトル指定データに対応するスペクトルデータを前記記憶手段から読み出して楽音波形を生成し、当該生成した楽音波形を前記記憶手段内のコピー先チャンネルに対応する前記記憶手段のエリアに記憶するとともに、コピー先チャンネルとして指定されていないチャンネルであって、前記記憶手段のチャンネルデータエリアに既にスペクトル指定データが記憶されているチャンネルに対しては、当該スペクトル指定データに対応するスペクトルデータを前記記憶手段から読み出して楽音波形を生成し、当該生成した楽音波形を前記記憶手段内のコピー先チャンネルに対応する楽音波形前記記憶手段のエリアに記憶する波形生成手段と、を有することを特徴とする。
【0005】
請求項2に記載の発明では、発生すべき楽音波形の倍音構造を示すスペクトルデータ及び当該スペクトルデータに対応するスペクトル指定データを複数種記憶するスペクトルデータエリアと、楽音を発音する発音チャンネル毎にエリアが設けられ、エリア毎に前記スペクトル指定データ及び楽音波形が記憶可能なチャンネルデータエリアと、を有する記憶手段に記憶された内容に基づき、表示手段のスペクトル表示エリアに前記記憶手段のスペクトルデータエリアに記憶されている各スペクトル指定データを表示させるとともに、前記表示手段のチャンネル表示エリアに前記チャンネルデータエリアに記憶されている前記スペクトル指定データを前記発音チャンネルに対応させて表示する表示過程と、前記表示手段のスペクトルデータ表示エリアに表示されたスペクトル指定データと、前記チャンネル表示エリア内のいずれかのチャンネルをコピー先チャンネルとして指定することにより、指定されたスペクトル指定データを、指定されたチャンネルに対応するスペクトル指定データとして前記記憶手段のチャンネルデータエリア内に記憶させる、チャンネルスペクトルデータ指定過程と、前記表示手段のチャンネル表示エリアから、コピー先のチャンネルを指定するコピー先チャンネル指定過程と、コピー先チャンネルが指定されているときは、外部からの波形生成の指示に応答して、前記チャンネルスペクトルデータ指定仮定にて指定されたスペクトル指定データをコピー元のスペクトル指定データとして指定するコピー元スペクトル指定データ指定過程と、コピー元スペクトル指定データが指定された後、前記指定されたコピー先チャンネルに対しては、前記コピー元スペクトル指定データに対応するスペクトルデータを前記記憶手段から読み出して楽音波形を生成し、当該生成した楽音波形を前記記憶手段内のコピー先チャンネルに対応する楽音波形前記記憶手段のエリアに記憶するとともに、コピー先チャンネルとして指定されていないチャンネルであって、前記記憶手段のチャンネルデータエリアに既にスペクトル指定データが記憶されているチャンネルに対しては、当該スペクトル指定データに対応するスペクトルデータを前記記憶手段から読み出して楽音波形を生成し、当該生成した楽音波形を前記記憶手段内のコピー先チャンネルに対応する前記記憶手段のエリアに記憶する波形生成過程と、を具備することを特徴とする。
【0010】
本発明では、各種倍音構造のスペクトルデータの内から楽音発生装置側で使用するスペクトルデータを選択する一方、楽音発生装置側が備える複数の発音チャンネルの内から、前記選択されたスペクトルデータをコピーするコピーチャンネルを指定すると、指定されたコピーチャンネル毎に、選択されたスペクトルデータに基づき波形を倍音合成して割り当てるので、結果的に複数の発音チャンネルに同じスペクトルデータを一括して設定することが可能になる。
【0011】
【発明の実施の形態】
本発明によるスペクトル設定装置は、倍音合成方式の楽音発生装置や電子楽器、あるいはパーソナルコンピュータを用いたDTM装置などに適用され得る。以下では、本発明の実施の形態によるスペクトル設定装置を搭載した楽音発生装置を実施例とし、これについて図面を参照して説明する。
【0012】
A.構成
(1)全体構成
図1は実施例の構成を示すブロック図である。この図において、1はパネルスイッチ操作に応じて装置各部の動作状態を設定したり、アイコン操作(後述する)に応じて基本波およびその倍音成分毎の各スペクトル値を設定するCPUである。また、CPU1では設定した基本波およびその倍音成分毎の各スペクトル値に基づき倍音合成した波形データを、後述する鍵盤4から供給される演奏情報に応じて再生する。2は上記CPU1にロードされる各種制御プログラムの他、各種スペクトルデータを記憶するROMである。このROM2に記憶される各種スペクトルデータは、イニシャライズ時にRAM3のデータエリアに転送される。
【0013】
RAM3は各種レジスタ・フラグデータを一時記憶するワークエリアと、ROM2から転送される各種スペクトルデータを格納するデータエリアとを備える。RAM3のデータエリアの構成については追って述べる。4は押離鍵操作(演奏操作)に応じたキーオン/キーオフイベントや鍵番号等の演奏情報を発生する鍵盤である。5は表示画面上に配置されるアイコン上にマウスカーソルをポインティングさせた状態でマウスボタンを押下する周知のクリック操作や、マウスボタンを押下した状態でマウスカーソルを表示画面上で移動させるドラッグ操作がなされるマウスである。
【0014】
6は装置パネルに配設されるパネルスイッチ群であり、各スイッチ操作に応じたスイッチイベントを発生する。図示していないが、パネルスイッチ群6には、例えば電源をオンオフする電源スイッチの他、動作モードを切換えるモードスイッチ等が設けられている。7はLCDパネル等から構成される表示部であり、CPU1から供給される表示制御信号に応じて装置各部の動作状態や設定状態等を画面表示する。8はCPU1が倍音合成方式にて発生した波形データをアナログ波形信号に変換して不要ノイズを除去する等のフィルタリングを施した後、これを増幅してスピーカSPから発音させるサウンドシステムである。
【0015】
(2)RAM3のデータエリアの構成
次に、図2〜図3を参照してRAM3が備えるデータエリアの構成について説明する。RAM3のデータエリアには、スペクトルデータエリアSDE、チャンネルデータエリアCDE、スペクトルコピーフラグSCFおよびレジスタSCNameが設けられる。
スペクトルデータエリアSDEには、図2に図示する通り、各種倍音構造に対応したスペクトルデータファイルSPEC(1)〜SPEC(N)が格納される。これらスペクトルデータファイルSPEC(1)〜SPEC(N)は、それぞれファイル名を表すSPECNameおよびスペクトルデータSPECDataから構成される。スペクトルデータSPECDataは、倍音次数毎のスペクトルレベル、すなわち基本波スペクトルのレベル(1)からN次倍音スペクトルのレベル(N)を有する。
【0016】
チャンネルデータエリアCDEは、本実施例の場合、8個の発音チャンネルに対応しており、各発音チャンネル毎に倍音合成される波形データおよびその属性を表すチャンネルデータCH(1)〜CH(8)を記憶する。チャンネルデータCHは、チャンネル名を表すCHName、上記スペクトルデータファイルSPEC中のどのファイル名SPECNameが割り当てられているかを表すCHSPECName、このCHSPECNameにて指定されるファイル名SPECNameのスペクトルデータSPECDataに基づき倍音合成される波形データCHWaveおよびコピーの有無を識別するフラグCFから構成される。スペクトルコピーフラグSCFは、後述するコピーモード下でスペクトルコピーするか否かを識別するフラグであり、スペクトルコピーを行う場合に「1」が、スペクトルコピーしない場合に「0」がセットされる。レジスタSCNameは、コピー元に指定された発音チャンネルのCHSPECNameを保持する。
【0017】
(3)表示画面の構成
次に、図4〜図7を参照して表示部7に画面表示される主要な表示画面の構成について説明する。後述するように、CPU1の動作モードは「再生モード」および「生成モード」に大別され、さらに「生成モード」は「コピーモード」および「スペクトル作成モード」から構成される。以下、各モード別に分けて説明を進める。
【0018】
▲1▼再生モードの表示画面
再生モードでは、図4に図示するように、コピーモードアイコンCMIおよびスペクトル作成アイコンSMIを備える再生モード画面RMGが表示部7に画面表示される。
コピーモードアイコンCMIがマウス5によりクリック操作された場合には生成モード下のコピーモードに遷移して後述のスペクトルコピー画面SCG(図5参照)が画面表示される。
一方、スペクトル作成アイコンSMIがクリック操作された場合には生成モード下のスペクトル作成モードに遷移して後述のスペクトル作成画面SSG(図7参照)が画面表示される。
【0019】
▲2▼コピーモードの表示画面
CPU1の動作モードが生成モード下のコピーモードに遷移すると、表示部7には図5に示すスペクトルコピー画面SCGが画面表示される。スペクトルコピー画面SCGは、スペクトルリストSLT、チャンネルリストCLT、コピーボタンCB、スペクトル生成アイコンSMI、波形作成アイコンWGIおよび再生アイコンRPIを備える。
スペクトルリストSLTには、RAM3のスペクトルデータエリアSDE(図2参照)に格納されるスペクトルデータファイルSPEC(1)〜SPEC(N)の各ファイル名SPECNameが一覧表示される。このスペクトルリストSLT中の各欄(表示フィールド)は、アイコンボタンとして機能し、クリック操作された欄に表示されるファイル名SPECNameが選択されるようになっている。
【0020】
チャンネルリストCLTには、RAM3のチャンネルデータエリアCDE(図3参照)に格納されるチャンネルデータCH(1)〜CH(8)の各CHSPECNameが一覧表示される。このチャンネルリストCLT中の各欄(表示フィールド)は、アイコンボタンとして機能し、クリック操作された欄に表示されるCHSPECNameが選択されるようになっている。
コピーボタンCBは、上記チャンネルリストCLTの各欄に対応して設けられ、コピー元に指定された発音チャンネルのCHSPECNameをコピーする場合にクリック操作される。
スペクトル生成アイコンSMIがクリック操作された場合には生成モード下のスペクトル作成モードに遷移して後述のスペクトル作成画面SSG(図7参照)が画面表示される。再生アイコンRPIがクリック操作された場合には再生モードに遷移して図4に図示する再生モード画面RMGが画面表示される。波形作成アイコンWGIがクリック操作された場合には波形生成処理(後述する)が実行される。
【0021】
▲3▼スペクトル作成モードの表示画面
CPU1の動作モードが生成モード下のスペクトル作成モードに遷移した当初には、表示部7に図6に示すスペクトルリスト画面SLGが画面表示される。スペクトルリスト画面SLGは、リスト表示欄LIST、コピーモードアイコンCMIおよび再生アイコンRPIを備える。
リスト表示欄LISTには、RAM3のスペクトルデータエリアSDE(図2参照)に格納されるスペクトルデータファイルSPEC(1)〜SPEC(N)の各ファイル名SPECNameが一覧表示される。このリスト表示欄LIST中の各欄(表示フィールド)は、アイコンボタンとして機能し、クリック操作された欄が新規に登録するスペクトルデータのファイル名入力欄に指定されるようになっている。
コピーモードアイコンCMIがクリック操作された場合には生成モード下のコピーモードに遷移して図5に図示したスペクトルコピー画面SCGが画面表示される。一方、再生アイコンRPIがクリック操作された場合には再生モードに遷移して図4に図示した再生モード画面RMGが画面表示される。
【0022】
スペクトルリスト画面SLGのリスト表示欄LIST中において、新たに作成するスペクトルデータのファイル名を登録する欄をクリック操作してファイル名入力欄を指定すると、表示部7には図7に示すスペクトル作成画面SSGが画面表示される。
スペクトル作成画面SSGは、描画エリアDE、直線アイコンSLI、正弦波アイコンSWI、上下アイコンUDI、クリアアイコンCLI、スペクトルアイコンSPI、再生アイコンRPIおよびコピーモードアイコンCMIを備える。
描画エリアDEは、エリア内でのクリック操作にて指定される始点および終点の間を直線もしくは曲線(正弦波状)で描くスペクトルエンベロープを描画するエリアである。直線アイコンSLIは、描画エリアDE内で指定された始点および終点間を直線で結ぶスペクトルエンベロープを描画する際にクリック操作される。
【0023】
正弦波アイコンSWIは、描画エリアDE内で指定された始点および終点間を、正弦波半周期分の曲線で結ぶスペクトルエンベロープを描画する際にクリック操作される。この正弦波アイコンSWIにて曲線的なスペクトルエンベロープを描画する場合には、上下アイコンUDIを併用する。上下アイコンUDIは、クリック操作される毎に交互に「上向き」あるいは「下向き」を指定するアイコンであり、「上向き」が指定された場合には上向きに凸の曲線(正弦波)となり、一方、「下向き」が指定された場合には下向きに凸の曲線(正弦波)となる。
【0024】
クリアアイコンCLIは、描画エリアDEに描画されたスペクトルエンベロープを消去する際にクリック操作される。スペクトルアイコンSPIは、描画エリアDEに描画されたスペクトルエンベロープから基本波およびその倍音成分毎のスペクトルレベルを抽出する際にクリック操作される。コピーモードアイコンCMIがクリック操作された場合には前述のスペクトルコピー画面SCG(図6参照)に遷移する。再生アイコンRPIがクリック操作された場合には前述の再生モード画面RMG(図4参照)に遷移する。
【0025】
B.動作
次に、上記構成による実施例の動作について説明する。
(1)メインルーチンの動作
最初に図8を参照してメインルーチンの動作について説明する。まず実施例に電源が投入されると、CPU1はROM2から所定の制御プログラムを読み出して自身にロードした後、図8に示すメインルーチンを実行してステップSA1に処理を進める。ステップSA1では、RAM3のワークエリアに格納される各種レジスタ・フラグデータを初期化したり、ROM2に記憶される各種スペクトルデータをRAM3のデータエリアに転送するイニシャライズを実行する。次いで、ステップSA2では、モードスイッチの操作により再生モードに設定されているかどうかを判断する。
【0026】
再生モードに設定されていると、判断結果は「YES」となり、ステップSA3に処理を進め、各発音チャンネル毎に設定されたスペクトルデータに基づき倍音合成された波形データを、鍵盤4の押離鍵操作に応じて発音/消音させる再生モード処理を実行する。
一方、生成モードに設定されていれば、上記ステップSA2の判断結果は「NO」となり、ステップSA4に処理を進め、RAM3のスペトルデータエリアSDEに格納されるスペクトルデータSPECDataをコピーし、それに基づき倍音合成される波形データを生成したり、形成したスペクトルエンベロープから基本波およびその倍音成分毎の各スペクトルレベルを抽出してスペクトル作成する生成モード処理を実行する。以後、モードスイッチで設定されるモードや、アイコンクリックに応じたモード遷移に従い、再生モード処理あるい生成モード処理が実行される。
【0027】
(2)再生モード処理の動作
次に、図9を参照して再生モード処理の動作について説明する。再生モード処理は、上述したメインルーチン(図8参照)のステップSA3を介して実行される他、前述した画面SCG,SLG,SSG(図5〜図7参照)に配設される再生アイコンRPIのクリック操作によるモード遷移に従って実行される。
再生モード処理が実行されると、CPU1は図9のステップSB1に進み、先ず図4に図示した再生モード画面RMGを表示部7に画面表示させると共に、鍵盤4の押離鍵操作の有無を検出すべく鍵走査する。次いで、ステップSB2では、その鍵走査結果に基づき鍵変化を判定する。
【0028】
押離鍵操作が行われず、鍵走査によってイベント検出されなかった場合には、何も処理せずに後述のステップSB9に処理を進めるが、押鍵操作に応じたキーオンイベントを検出した場合には、ステップSB3に処理を進める。ステップSB3では、押鍵された鍵の鍵番号をレジスタKEYにストアし、続くステップSB4では押鍵に応じて新たに発音を割当てる発音チャンネルを検出し、検出した発音チャンネル番号をレジスタnにセットする。そして、ステップSB5では、そのレジスタnに対応した発音チャンネルCH(n)にて倍音合成された波形データCHWave(n)を、レジスタKEYに対応する周波数で読み出して発音させる。
【0029】
一方、離鍵操作に応じたキーオフイベントを検出した場合には、ステップSB6に進む。ステップSB6では、離鍵された鍵の鍵番号をレジスタKEYにストアし、続くステップSB7では離鍵された鍵と同じ音高で発音中の発音チャンネルを検出し、検出した発音チャンネル番号をレジスタnにセットする。そして、ステップSB6では、そのレジスタnに対応した発音チャンネルCH(n)に波形データCHWave(n)の読み出しを停止させて消音させる。
【0030】
押離鍵操作に応じた発音/消音指示が完了すると、CPU1はステップSB9以降に処理を進め、再生モード画面RMGに配設されるコピーモードアイコンCMIあるいはスペクトル作成アイコンSMIのクリック操作に応じてモード遷移させる。
すなわち、コピーモードアイコンCMIがマウス5によりクリック操作されると、ステップSB9の判断結果が「YES」となり、ステップSB10に進み、スペクトルコピー画面SCG(図6参照)が画面表示されるコピーモードに遷移する。
一方、スペクトル作成アイコンSMIがクリック操作されると、ステップSB11の判断結果が「YES」となり、ステップSB12に進み、スペクトル作成画面SSG(図7参照)が画面表示されるスペクトル作成モードに遷移する。
【0031】
(3)生成モード処理の動作
次に、図10〜図17を参照して生成モード処理の動作について説明する。生成モード処理は、前述のメインルーチン(図8参照)のステップSA4を介して実行される他、前述した画面RMG,SCG,SLG,SSG(図4〜図7参照)に配設されるコピーモードアイコンCMIあるいはスペクトル作成アイコンSMIのクリック操作によるモード遷移に従って実行される。以下、コピーモード下の動作と、スペクトル作成モード下の動作とに分けて説明を進める。
【0032】
▲1▼コピーモード下の動作
コピーモードアイコンCMIがクリック操作されてコピーモードに遷移すると、ステップSC1の判断結果が「YES」となり、ステップSC2に進み、表示部7にスペクトルコピー画面SCG(図5参照)を表示する。次いで、ステップSC3では、RAM3のスペクトルデータエリアSDE(図2参照)に格納されるスペクトルデータファイルSPEC(1)〜SPEC(N)から各ファイル名SPECNameを読み出してスペクトルリストSLTに一覧表示する。続いて、ステップSC4では、RAM3のチャンネルデータエリアCDE(図3参照)から各チャンネルデータCH(1)〜CH(8)のCHSPECNameを読み出してチャンネルリストCLTに一覧表示する。
【0033】
以後、スペクトルコピー画面SCGに配設されるアイコン群のクリック操作に応じた処理を実行する。例えば、スペクトルリストSLTに一覧表示されたファイル名SPECNameの内、チャンネルリストCLTに割当てるファイル名SPECNameを選択すべく、ユーザがスペクトルリストSLT中の該当欄をクリック操作したとする。そうすると、ステップSC5の判断結果が「YES」となり、ステップSC6に進み、クリック操作された欄のリスト番号をレジスタmにストアする。以下、レジスタmの値をリスト番号mと記す。
【0034】
次に、スペクトルリストSLT中から選択したファイル名SPECNameを割当てる発音チャンネルを指定すべく、ユーザがチャンネルリストCLT中から所望の発音チャンネルに対応する欄をクリック操作したとする。そうすると、ステップSC7の判断結果が「YES」となり、ステップSC8に進み、クリック操作された欄のチャンネル番号をレジスタnにストアする。以下、レジスタnの値をチャンネル番号nと記す。
【0035】
次いで、ステップSC9では、スペクトルリストSLT中から選択されたリスト番号mのファイル名SPECName(m)を、チャンネルリストCLT中から選択されたチャンネル番号nのCHSPECName(n)にストアし、続くステップSC10では、そのCHSPECName(n)の内容をチャンネルリストCLT中の該当する欄に表示する。
したがって、例えばスペクトルリストSLTの第1番目の欄をクリック操作した後、チャンネルリストCLTの第1番目の欄をクリック操作すると、スペクトルリストSLTの第1番目の欄に表示されていたファイル名SPECName(2)が、チャンネルリストCLTの第1番目の欄に表示される。
【0036】
さて、スペクトルリストSLT中から選択したファイル名SPECNameをチャンネルリストCLTに割り当てた後は、その割り当てられたファイル名SPECName(CHSPECName)で指定されるスペクトルデータSPECDataを、どの発音チャンネルにコピーするかをコピーボタンCBのクリック操作により指定する。
例えばユーザが図5に図示するように、発音チャンネルCH1,3,5,7にコピーすべく、それらチャンネルに対応したコピーボタンCBが順番にクリック操作されたとする。そうすると、クリック操作される毎に、図11に示すステップSC11の判断結果が「YES」となり、ステップSC12〜SC13を実行し、クリック操作されたチャンネル番号nに対応したコピーフラグCF(n)に「1」をセットする。
【0037】
こうして、スペルトルデータSPECDataをコピーする発音チャンネルが指定されると、ユーザは波形作成アイコンWGIをクリック操作する。すると、図11に示すステップSC14の判断結果が「YES」となり、ステップSC15を介してコピーフラグ設定処理を実行した後、ステップSC16を介して波形生成処理を実行する。以下、コピーフラグ設定処理および波形生成処理の詳細について述べる。
【0038】
(イ)コピーフラグ設定処理の動作
上記ステップSC15を介してコピーフラグ設定処理が実行されると、CPU1は図12に示すステップSD1に処理を進め、RAM3のデータエリアに設けられているスペクトルコピーフラグSCFをゼロリセットすると共に、レジスタSCNameに無効データNULL(例えばブランク)をストアする。
続いて、ステップSD2では、チャンネル番号nに「1」をセットする。次いで、ステップSD3〜SD5では、チャンネル番号nを歩進させながら、コピーフラグCF(n)が「1」となる発音チャンネル(以下、コピーチャンネルと称す)を検索する。コピーチャンネルが検索されると、ステップSD3の判断結果が「NO」となり、ステップSD6に処理を進め、スペクトルコピーフラグSCFに「1」をセットする。
【0039】
次に、ステップSD7〜SD8では、検索されたコピーチャンネルがコピー元になるかどうかを判断する。検索されたコピーチャンネルがコピー元になる場合、ステップSD8の判断結果が「YES」となり、ステップSD9に進み、検索されたコピーチャンネルのCHSPECName(n)をレジスタSCNameにストアした後、ステップSD4に処理を戻す。そして、上記ステップSD3〜SD5によるコピーチャンネルの検索が終了すると、ステップSD5の判断結果が「YES」となり、本処理を完了させる。
【0040】
なお、前述したコピーボタンCBのクリック操作を誤り、これによりコピー元に成り得るコピーチャンネルが複数検索される状況になった場合、すなわちコピーチャンネルを検索する過程でステップSD8の判断結果が「NO」となると、ステップSD10に進み、スペクトルコピーフラグSCFをゼロリセットし、スペクトルコピーを中止させる。
【0041】
(ロ)波形生成処理の動作
上述のステップSC16(図11参照)を介して波形生成処理が実行されると、CPU1は図13に示すステップSE1に処理を進め、チャンネル番号nに「1」をセットし、続くステップSE2では、そのチャンネル番号nに対応したコピーフラグCF(n)が「0」であるか否か、つまりコピーチャンネルに設定されているかどうかを判断する。コピーチャンネルに設定されていない場合には、ここでの判断結果は「YES」となり、ステップSE4に進む。ステップSE4では、チャンネル番号nのチャンネル名CHName(n)が無効データNULLか否か、つまりチャンネルデータがセットされていない無効チャンネルであるかどうかを判断する。
【0042】
無効チャンネルであると、判断結果は「YES」となり、この場合、波形データを生成することなくステップSE8に進み、チャンネル番号nをインクリメントして歩進させる。次いで、ステップSE9では全発音チャンネルについて処理し終えたかどうかを判断する。処理し終えていなければ、判断結果は「NO」となり、上述のステップSE2に処理を戻す。
【0043】
そして、ステップSE2では、歩進されたチャンネル番号nに対応した発音チャンネルがコピーチャンネルであるかどうかを再び判断し、コピーチャンネルであれば、判断結果は「NO」となり、ステップSE3に進む。ステップSE3では、フラグSCFが「0」、つまりスペクトルコピーしない状態であるかどうかを判断する。
スペクトルコピーしない状態であれば、判断結果は「YES」となり、ステップSE4に進み、チャンネル番号nが無効チャンネルであるかどうかを判断する。無効チャンネルでなければ、判断結果は「NO」となり、ステップSE5に進み、チャンネル番号nに対応したCHSPECName(n)に対応したスペクトルデータSPECData(n)をRAM3のスペクトルデータエリアSDE(図2参照)から読み出した後、ステップSE7に進む。
【0044】
一方、スペクトルコピーする状態であると、上記ステップSE3の判断結果が「NO」となり、ステップSE6に進む。ステップSE6では、レジスタSCNameに格納され、コピー元となるコピーチャンネルのCHSPECName(n)に対応したスペクトルデータSPECData(n)をRAM3のスペクトルデータエリアSDE(図2参照)から読み出した後、ステップSE7に進む。
そして、ステップSE7では、RAM3のスペクトルデータエリアSDEから読み出したスペクトルデータSPECData(n)に基づき波形データを倍音合成する作成処理を実行する。
【0045】
すなわち、ステップSE7を介して作成処理が実行されると、CPU1は図14に示すステップSE7−1に進み、倍音次数tに初期値「1」をセットする。続いて、ステップSE7−2では、各倍音毎の波形データwを累算するレジスタWをゼロリセットする。
そして、ステップSE7−3では、RAM3のスペクトルデータエリアSDEから読み出したスペクトルデータSPECData(n)の内から倍音次数tに対応するスペクトルレベルL(t)を読み出す。次いで、ステップSE7−4では、倍音次数tに基本周波数fを乗算して得た周波数f・tと、スペクトルレベルL(t)とに応じて波形データwを生成する。
【0046】
次に、ステップSE7−5では、生成された波形データwをレジスタWに加算する。ステップSE7−6では、倍音次数tを歩進させ、続くステップSE7−7では、歩進された倍音次数tが最大数を超えたか、つまり倍音合成し終えたかどうかを判断し、その途中ならば、判断結果が「NO」となり、ステップSE7−3に処理を戻す。
【0047】
以後、第1次倍音(基本波)から第t次倍音までの波形データwを重ね合わせる倍音合成が完了する迄、ステップSE7−3〜SE7−7を繰り返し、倍音合成が完了すると、ステップSE7−7の判断結果が「YES」となり、ステップSE7−8に進む。ステップSE7−8では、第1次倍音(基本波)から第t次倍音までの波形データwを累算したレジスタWの値、すなわち、倍音合成された波形データをRAM3のチャンネルデータエリアCDEのCHWave(n)にストアする。
【0048】
以上のように、コピーモードでは、図5に図示したスペクトルコピー画面SCGにおいて、スペクトルリストSLT中から選択したファイル名SPECNameをチャンネルリストCLTに割り当てた後、その割り当てられたファイル名SPECName(CHSPECName)で指定されるスペクトルデータSPECDataを、どの発音チャンネルにコピーするかをコピーボタンCBのクリック操作により指定してから波形作成アイコンWGIをクリック操作すると、コピーボタンCBがクリック操作された各コピーチャンネルでは、コピー元となるコピーチャンネルに割り当てられたCHSPECName(n)に対応したスペクトルデータSPECData(n)に基づき波形データを倍音合成するので、各発音チャンネル毎に個別にスペクトルデータSPECDataをコピーする必要がなくなり、結果的に複数の発音チャンネルに同じスペクトルデータSPECDataを一括して設定することが可能になっている。
【0049】
▲2▼スペクトル作成モード下の動作
図4に図示した再生モード画面RMGにおいて、スペクトル作成アイコンSMIがクリック操作されてスペクトル作成モードに遷移すると、図10に図示するステップSC1の判断結果が「NO」となり、CPU1はステップSC21に処理を進め、表示部7にスペクトルリスト画面SLG(図6参照)を表示する。次いで、ステップSC22では、RAM3のスペクトルデータエリアSDE(図2参照)に格納されるスペクトルデータファイルSPEC(1)〜SPEC(N)から各ファイル名SPECNameを読み出してリスト表示欄LISTに一覧表示する。
【0050】
新たに作成するスペクトルデータをリスト表示欄LISTに登録すべく、例えばこのリスト表示欄LIST中の空欄をクリック操作したとする。そうすると、図10に示すステップSC23の判断結果が「YES」となり、ステップSC24に進み、クリック操作された欄のリスト番号をレジスタn(以後、レジスタnの値をリスト番号nと称す)にストアする。次いで、図15に示すステップSC25に処理を進め、図7に図示したスペクトル作成画面SSGを表示部7に画面表示する。
【0051】
さて、スペクトル作成画面SSGにおいて、スペクトルデータを作成するには、先ず描画エリアDE内でスペクトルエンベロープを描画する範囲(始点および終点)をクリック操作によって指定し、次にその始点および終点の間を結ぶスペクトルエンベロープの形状を直線アイコンSLI、正弦波アイコンSWIおよび上下アイコンUDIのクリック操作にて指定して描画させる。
そして、スペクトルエンベロープを描画し終えた後、スペクトルアイコンSPIのクリック操作すると、その描画されたスペクトルエンベロープから基本波およびその倍音成分毎の各スペクトルレベルを抽出することでスペクトルデータが生成される。以下では、こうした一連の操作に沿って動作説明を進める。
【0052】
(イ)始点および終点の指定
スペクトルエンベロープを描画する範囲を指定する為、スペクトル作成画面SSGの描画エリアDE内でクリック操作したとする。そうすると、図15に示すステップSC26の判断結果が「YES」となり、ステップSC27に進む。ステップSC27では、始点入力済みであるか否かを判断する。
最初のクリック操作であると、判断結果は「NO」となり、ステップSC28に進み、クリック操作された時点でマウスカーソルがポインティングする座標(X,Y)をレジスタXn,Ynにストアする。一方、2度目のクリック操作であると、判断結果が「NO」となり、ステップSC29に進み、そのクリック操作された座標(X,Y)をレジスタXm,Ymにストアする。
【0053】
(ロ)スペクトルエンベロープ描画
こうして、始点(Xn,Yn)および終点(Xm,Ym)が指定された後、それらの間を結ぶスペクトルエンベロープを直線で描く場合には、直線アイコンSLIをクリック操作する。すると、ステップSC30の判断結果が「YES」となり、ステップSC31に進み、フラグLINEをゼロリセットする。なお、このフラグLINEとは、エンベロープ形状を表すフラグであり、「0」の場合に直線を、「1」の場合に上向きに凸の正弦波を、「2」の場合に下向きに凸の正弦波を表す。
そして、ステップSC32〜SC36では、周知の直線補間演算式y=f0(x)に基づき始点(Xn,Yn)と終点(Xm,Ym)とを結ぶ表示座標(x,y)を算出し、これを描画エリアDE内で表示して直線状のスペクトルエンベロープを描画する。
【0054】
これに対し、始点(Xn,Yn)および終点(Xm,Ym)を結ぶスペクトルエンベロープを曲線(半周期分の正弦波)で描く場合には、正弦波アイコンSWIをクリック操作する。すると、図16に示すステップSC37の判断結果が「YES」となり、ステップSC38に進む。ステップSC38では、上下アイコンUDIの向きを判断する。すなわち、始点(Xn,Yn)および終点(Xm,Ym)を半周期分の正弦波で結ぶ場合、下向きに凸の曲線形状か、あるいは上向きに凸の曲線形状のいずれであるかを指定する必要がある為、上下アイコンUDIの向きを判断している。
【0055】
なお、上下アイコンUDIがクリック操作されると、ステップSC51の判断結果が「YES」となり、ステップSC52に進む。ステップSC52では、現在のフラグLINEの値が「1」(上向き)の場合には後述するステップSC45に処理を進め、現在のフラグLINEの値が「2」(下向き)の場合には後述するステップSC39に処理を進める。これにより、クリック操作される毎に交互に「上向き」あるいは「下向き」を指定するようになっている。
【0056】
そして、上下アイコンUDIが上向き状態にあると、ステップSC39に進み、上向きに凸の正弦波を描画する状態を表すべくフラグLINEに「1」をセットする。続いて、ステップSC40〜SC44では、上向きに凸の正弦波(半周期)で始点(Xn,Yn)と終点(Xm,Ym)との間を補間する演算式y=f1(x)に基づき表示座標(x,y)を算出し、これを描画エリアDE内で表示して上向きに凸の正弦波状スペクトルエンベロープを描画する。
一方、上下アイコンUDIが下向き状態にあると、ステップSC45に進み、上向きに凸の正弦波を描画する状態を表すべくフラグLINEに「2」をセットする。そして、ステップSC46〜SC50では、下向きに凸の正弦波(半周期)で始点(Xn,Yn)と終点(Xm,Ym)との間を補間する演算式y=f2(x)に基づき表示座標(x,y)を算出し、これを描画エリアDE内で表示して下向きに凸の正弦波状スペクトルエンベロープを描画する。
【0057】
(ハ)スペクトルデータ生成
スペクトルエンベロープを描画し終えた後、スペクトルアイコンSPIをクリック操作すると、図17に示すステップSC53の判断結果が「YES」となり、ステップSC54に進む。そして、ステップSC54〜SC57では、x座標値を始点から終点まで歩進させながら、倍音次数に対応するx座標値毎のスペクトルエンベロープ値(y座標値)を抽出し、それをスペクトルデータSPECData(n)のスペクトルレベルLとして格納する。なお、このスペクトルデータSPECData(n)は、スペクトルリスト画面SLG(図6参照)のリスト表示欄LIST中でクリック操作された欄のリスト番号nに対応する。
【0058】
(ニ)その他のアイコン操作
スペクトルデータの作成を中止すべくクリアアイコンCLIがクリック操作された場合には、図17に示すステップSC58の判断結果が「YES」となり、ステップSC59に進み、入力データをクリアする。次いで、ステップSC60ではスペクトル作成画面SSGの描画エリアDEの表示をクリアする。
【0059】
コピーモードアイコンCMIがクリック操作された場合には、ステップSC61の判断結果が「YES」となり、ステップSC62に進み、コピーモードに遷移する。コピーモードに遷移すると、図10のステップSC1を介してステップSC2に進み、表示部7にスペクトルコピー画面SCG(図5参照)を表示する状態に復帰する。
【0060】
再生モードアイコンRPIがクリック操作された場合には、ステップSC63の判断結果が「YES」となり、ステップSC64に進み、再生モードに遷移する。再生モードに遷移すると、図9のステップSB1を介して表示部7に再生モード画面RMG(図5参照)を表示する状態に復帰する。
【0061】
以上のように、スペクトル作成モードでは、描画エリアDE内で指定した始点および終点の間を直線状あるいは曲線状のスペクトルエンベロープで描き、描いたスペクトルエンベロープから基本波およびその倍音成分毎の各スペクトルレベルを抽出してなるスペクトルデータを生成するようにしたので、任意の形状に設定されたスペクトルエンベロープから基本波およびその倍音成分毎のスペクトルレベルを表すスペクトルデータを設定することが可能になっている。また、スペクトルエンベロープを描画するだけで基本波およびその倍音成分毎の各スペクトルレベルを設定し得る為、基本波およびその倍音成分毎のスペクトルレベルを一つ一つ個別に設定するという従来の煩雑な操作を解消することも可能になる。
【0062】
なお、上述した実施例では、描画エリアDE内で指定した始点から終点までを直線あるいは曲線(正弦波)のいずれかのエンベロープ形状を描画するようにしたが、これに限らず、例えば描画エリアDE内でマウス5をドラッグ操作して所望の形状のスペクトルエンベロープを描く態様も可能である。この場合、図15に図示したステップSC25〜SC36の処理に替えて、図18に図示する変形例にすれば良い。
【0063】
すなわち、ステップSC70にてスペクトル作成画面SSGを表示部7に画面表示させ、続くステップSC71では、描画エリアDE内で画面ドラッグの有無を判断する。そして、所望の形状のスペクトルエンベロープを描くようにドラッグ操作されると、判断結果が「YES」となり、ステップSC73に進み、ドラッグ操作された軌跡座標(x,y)を画面表示してスペクトルエンベロープを描画する。そして、この後は前述の実施例と同様、図17に示すステップSC53に処理を進める。
【0064】
さらに、上述した実施例では、コピー元のコピーチャンネルに割り当てられたCHSPECName(n)に対応したスペクトルデータSPECData(n)を参照して各コピーチャンネル毎に波形作成するようにしたが、これに替えて、例えばコピー元のコピーチャンネルに割り当てられたスペクトルデータSPECData(n)に基づき倍音合成される波形データCHWave(n)を、コピーボタンCBがクリック操作された各コピーチャンネルにコピーする形態、あるいは波形データCHWave(n)そのものをコピーする形態でなく、波形データCHWave(n)の読み出しアドレスだけを各コピーチャンネルにコピーする形態にすることも可能である。
【0065】
【発明の効果】
請求項1,2に記載の発明によれば、各種倍音構造のスペクトルデータの内から楽音発生装置側で使用するスペクトルデータを選択する一方、楽音発生装置側が備える複数の発音チャンネルの内から、前記選択されたスペクトルデータをコピーするコピーチャンネルを指定すると、指定されたコピーチャンネル毎に、選択されたスペクトルデータに基づき波形を倍音合成して割り当てるので、結果的に複数の発音チャンネルに同じスペクトルデータを一括して設定することができる。すなわち換言すれば、スペクトル設定する操作を簡略化できる。
【図面の簡単な説明】
【図1】本発明による一実施例の構成を示すブロック図である。
【図2】RAM3のデータエリアの構成を示す図である。
【図3】RAM3のデータエリアの構成を示す図である。
【図4】再生モード画面RMGの一例を示す図である。
【図5】スペクトルコピー画面SCGの一例を示す図である。
【図6】スペクトルリスト画面SLGの一例を示す図である。
【図7】スペクトル作成画面SSGの一例を示す図である。
【図8】メインルーチンの動作を示すフローチャートである。
【図9】再生モード処理の動作を示すフローチャートである。
【図10】生成モード処理の動作を示すフローチャートである。
【図11】図10に続く、生成モード処理の動作を示すフローチャートである。
【図12】コピーフラグ設定処理の動作を示すフローチャートである。
【図13】波形生成処理の動作を示すフローチャートである。
【図14】作成処理の動作を示すフローチャートである。
【図15】図10に続く、生成モード処理の動作を示すフローチャートである。
【図16】図15に続く、生成モード処理の動作を示すフローチャートである。
【図17】図16に続く、生成モード処理の動作を示すフローチャートである。
【図18】変形例による生成モード処理の動作を示すフローチャートである。
【符号の説明】
1 CPU
2 ROM
3 RAM
4 鍵盤
5 マウス
6 パネルスイッチ群
7 表示部
8 サウンドシステム
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a spectrum setting apparatus and a spectrum setting method suitable for use in a musical sound generating apparatus that generates musical sounds using a harmonic synthesis method.
[0002]
[Prior art]
2. Description of the Related Art There is known a harmonic sound generation type musical tone generator that generates a musical tone having an arbitrary harmonic structure by superimposing a fundamental wave such as a sine waveform and its harmonic component (integer harmonic). In this type of device, spectrum data of various overtone structures is stored in advance, and when the spectrum data to be assigned to the tone generation channel on the musical sound generator side is selected from these spectrum data, the selected spectrum data, that is, the basic data A spectrum setting device is provided for copying a spectrum level (amplitude value) for each wave and its harmonic component to a designated sound generation channel.
[0003]
[Problems to be solved by the invention]
By the way, in the conventional spectrum setting device, the spectrum data composed of the fundamental wave and the spectrum level for each harmonic component is individually copied for each tone generation channel on the musical sound generator side to set the spectrum. It is configured. For this reason, when the same spectrum data is set in a plurality of sound generation channels, the same copying operation is repeated, and there is a problem that the setting cannot be performed in a lump.
Therefore, the present invention has been made in view of such circumstances, and an object of the present invention is to provide a spectrum setting apparatus and a spectrum setting method that can set the same spectrum data in a plurality of tone generation channels in a lump.
[0004]
[Means for Solving the Problems]
In order to achieve the above object, according to the first aspect of the present invention, spectrum data indicating a harmonic structure of a musical sound waveform to be generated, a spectrum data area for storing a plurality of types of spectrum designation data corresponding to the spectrum data, and a musical sound are stored. An area is provided for each sounding sounding channel, and each area has a channel data area capable of storing the spectrum designation data and the musical sound waveform, and has a spectrum data display area and a channel display area. Each spectrum designation data stored in the spectrum data area of the storage means is displayed in the display area, and the spectrum designation data stored in the channel data area is associated with the sound generation channel in the channel display area. Display means to display By designating the spectrum designation data displayed in the spectrum data display area of the display means and any channel in the channel display area as the copy destination channel, the designated spectrum designation data is designated as the designated channel. Channel spectrum data designating means for storing in the channel data area of the storage means as spectrum designating data corresponding to, and a copy destination channel designating means for designating a copy destination channel from the channel display area of the display means, When the copy destination channel is designated by the copy destination channel designation means, the spectrum designation data designated by the channel spectrum data designation means is designated as the copy source spectrum in response to an external waveform generation instruction. A copy source spectrum designating data designating means for designating as a data, and a copy source spectrum designating data designating means for designating the copy source spectrum designating data, and a copy destination channel designated by the copy destination channel designating means The spectrum data corresponding to the copy source spectrum designation data is read from the storage means to generate a musical sound waveform, and the generated musical sound waveform is stored in the area of the storage means corresponding to the copy destination channel in the storage means. In addition, for channels that are not designated as copy destination channels and for which spectrum designation data has already been stored in the channel data area of the storage means, the spectrum data corresponding to the spectrum designation data is stored in the channel. Read from means Waveform generating means for generating a musical sound waveform and storing the generated musical sound waveform in an area of the musical sound waveform corresponding to the copy destination channel in the storage means .
[0005]
According to the second aspect of the present invention, there is provided a spectrum data area for storing a plurality of types of spectrum data indicating a harmonic structure of a musical sound waveform to be generated and spectrum designation data corresponding to the spectrum data, and an area for each sound generation channel that generates a musical sound. And a channel data area capable of storing the spectrum designation data and musical sound waveform for each area, and based on the content stored in the storage means, the spectrum display area of the display means and the spectrum data area of the storage means Displaying each stored spectrum designation data, and displaying the spectrum designation data stored in the channel data area in the channel display area of the display means corresponding to the sound generation channel, and the display Spectral data display The designated spectrum designation data is designated as the spectrum designation data corresponding to the designated channel by designating the designated spectrum designation data and any one of the channels in the channel display area as a copy destination channel. The channel spectrum data designation process stored in the channel data area of the storage means, the copy destination channel designation process for designating the copy destination channel from the channel display area of the display means, and the copy destination channel are designated In response to an external waveform generation instruction, a copy source spectrum designation data designation process for designating the spectrum designation data designated by the channel spectrum data designation assumption as a copy source spectrum designation data, and a copy source spectrum After the designated data is designated, for the designated copy destination channel, spectrum data corresponding to the copy source spectrum designation data is read from the storage means to generate a musical sound waveform, and the generated musical sound waveform is The musical tone waveform corresponding to the copy destination channel in the storage means is stored in the area of the storage means, and the spectrum designation data is already stored in the channel data area of the storage means that is not designated as the copy destination channel. For the channel that has been set, the spectrum data corresponding to the spectrum designation data is read from the storage means to generate a musical sound waveform, and the generated musical sound waveform is stored in the storage corresponding to the copy destination channel in the storage means. A waveform generation process stored in the area of the means It is characterized by that.
[0010]
In the present invention, the spectral data to be used on the musical tone generator side is selected from the spectral data of various harmonic structures, and the copy for copying the selected spectral data from among the plurality of tone generation channels provided on the musical tone generator side When a channel is specified, the waveform is overtone synthesized based on the selected spectrum data and assigned to each specified copy channel. As a result, the same spectrum data can be set for multiple sound channels in a batch. Become.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
The spectrum setting device according to the present invention can be applied to a musical tone generator of an overtone synthesis method, an electronic musical instrument, a DTM device using a personal computer, or the like. In the following, a musical sound generator equipped with a spectrum setting device according to an embodiment of the present invention will be described as an example, and this will be described with reference to the drawings.
[0012]
A. Configuration (1) Overall Configuration FIG. 1 is a block diagram showing the configuration of the embodiment. In this figure, reference numeral 1 denotes a CPU that sets the operating state of each part of the apparatus in accordance with panel switch operation, and sets each spectrum value for each fundamental wave and its harmonic components in accordance with icon operation (described later). Further, the CPU 1 reproduces waveform data obtained by synthesizing harmonics based on the set fundamental wave and each spectrum value for each harmonic component in accordance with performance information supplied from a keyboard 4 described later. Reference numeral 2 denotes a ROM for storing various spectrum data in addition to various control programs loaded on the CPU 1. Various spectrum data stored in the ROM 2 are transferred to the data area of the RAM 3 at the time of initialization.
[0013]
The RAM 3 includes a work area for temporarily storing various register / flag data and a data area for storing various spectrum data transferred from the ROM 2. The configuration of the data area of the RAM 3 will be described later. Reference numeral 4 denotes a keyboard that generates performance information such as key-on / key-off events and key numbers in response to pressing and releasing key operations (performance operations). 5 is a known click operation in which the mouse button is pressed while the mouse cursor is pointed on an icon arranged on the display screen, or a drag operation in which the mouse cursor is moved on the display screen while the mouse button is pressed. A mouse made.
[0014]
Reference numeral 6 denotes a panel switch group disposed on the apparatus panel, which generates a switch event corresponding to each switch operation. Although not shown, the panel switch group 6 is provided with, for example, a mode switch for switching the operation mode in addition to a power switch for turning on / off the power. Reference numeral 7 denotes a display unit composed of an LCD panel or the like, which displays the operation state and setting state of each part of the apparatus on the screen in accordance with a display control signal supplied from the CPU 1. Reference numeral 8 denotes a sound system in which the CPU 1 converts the waveform data generated by the overtone synthesis method into an analog waveform signal and performs filtering such as removing unnecessary noise, and then amplifies this to generate sound from the speaker SP.
[0015]
(2) Configuration of Data Area of RAM 3 Next, the configuration of the data area included in the RAM 3 will be described with reference to FIGS. In the data area of the RAM 3, a spectrum data area SDE, a channel data area CDE, a spectrum copy flag SCF, and a register SCName are provided.
In the spectrum data area SDE, spectrum data files SPEC (1) to SPEC (N) corresponding to various overtone structures are stored as shown in FIG. These spectral data files SPEC (1) to SPEC (N) are each composed of SPECName representing the file name and spectral data SPECData. The spectrum data SPECData has a spectrum level for each harmonic order, that is, a fundamental wave spectrum level (1) to an Nth harmonic spectrum level (N).
[0016]
In the present embodiment, the channel data area CDE corresponds to eight sound generation channels, and waveform data to be synthesized with overtones for each sound generation channel and channel data CH (1) to CH (8) representing its attributes. Remember. The channel data CH is overtone synthesized based on CHName indicating the channel name, CHSPECName indicating which file name SPECName in the spectrum data file SPEC is assigned, and the spectrum data SPECData of the file name SPECName specified by this CHSPECName. Waveform data CHWave and a flag CF for identifying the presence or absence of copying. The spectrum copy flag SCF is a flag for identifying whether or not spectrum copy is performed in a copy mode to be described later. “1” is set when spectrum copy is performed, and “0” is set when spectrum copy is not performed. The register SCName holds the CHSPECName of the tone generation channel designated as the copy source.
[0017]
(3) Configuration of Display Screen Next, the configuration of the main display screen displayed on the display unit 7 will be described with reference to FIGS. As will be described later, the operation mode of the CPU 1 is roughly divided into a “reproduction mode” and a “generation mode”, and the “generation mode” includes a “copy mode” and a “spectrum creation mode”. Hereinafter, the description will be made separately for each mode.
[0018]
{Circle around (1)} Reproduction Mode Display Screen In the reproduction mode, a reproduction mode screen RMG including a copy mode icon CMI and a spectrum creation icon SMI is displayed on the display unit 7 as shown in FIG.
When the copy mode icon CMI is clicked with the mouse 5, the copy mode is shifted to the copy mode under the generation mode, and a spectrum copy screen SCG (see FIG. 5) described later is displayed on the screen.
On the other hand, when the spectrum creation icon SMI is clicked, a transition is made to the spectrum creation mode under the generation mode, and a spectrum creation screen SSG (see FIG. 7) described later is displayed on the screen.
[0019]
(2) Copy mode display screen When the operation mode of the CPU 1 transitions to the copy mode under the generation mode, the spectrum copy screen SCG shown in FIG. The spectrum copy screen SCG includes a spectrum list SLT, a channel list CLT, a copy button CB, a spectrum generation icon SMI, a waveform creation icon WGI, and a reproduction icon RPI.
In the spectrum list SLT, the file names SPECName of the spectrum data files SPEC (1) to SPEC (N) stored in the spectrum data area SDE (see FIG. 2) of the RAM 3 are displayed in a list. Each column (display field) in the spectrum list SLT functions as an icon button, and the file name SPECName displayed in the clicked column is selected.
[0020]
The channel list CLT lists each CHSPECName of the channel data CH (1) to CH (8) stored in the channel data area CDE (see FIG. 3) of the RAM 3. Each column (display field) in the channel list CLT functions as an icon button, and the CHSPECName displayed in the clicked column is selected.
The copy button CB is provided corresponding to each column of the channel list CLT, and is clicked when copying the CHSPECName of the tone generation channel designated as the copy source.
When the spectrum generation icon SMI is clicked, a transition is made to the spectrum generation mode under the generation mode, and a spectrum generation screen SSG (see FIG. 7) described later is displayed on the screen. When the reproduction icon RPI is clicked, the reproduction mode is changed to the reproduction mode screen RMG shown in FIG. When the waveform creation icon WGI is clicked, a waveform generation process (described later) is executed.
[0021]
(3) Spectrum creation mode display screen When the operation mode of the CPU 1 shifts to the spectrum creation mode under the generation mode, the spectrum list screen SLG shown in FIG. The spectrum list screen SLG includes a list display field LIST, a copy mode icon CMI, and a reproduction icon RPI.
In the list display column LIST, the file names SPECName of the spectrum data files SPEC (1) to SPEC (N) stored in the spectrum data area SDE (see FIG. 2) of the RAM 3 are displayed as a list. Each field (display field) in the list display field LIST functions as an icon button, and the clicked field is designated as a file name input field for spectrum data to be newly registered.
When the copy mode icon CMI is clicked, a transition is made to the copy mode under the generation mode, and the spectrum copy screen SCG shown in FIG. 5 is displayed on the screen. On the other hand, when the playback icon RPI is clicked, the playback mode is changed to the playback mode screen RMG shown in FIG.
[0022]
In the list display field LIST of the spectrum list screen SLG, when the file name input field is designated by clicking the field for registering the file name of the spectrum data to be newly created, the spectrum creation screen shown in FIG. SSG is displayed on the screen.
The spectrum creation screen SSG includes a drawing area DE, a straight line icon SLI, a sine wave icon SWI, an up / down icon UDI, a clear icon CLI, a spectrum icon SPI, a reproduction icon RPI, and a copy mode icon CMI.
The drawing area DE is an area for drawing a spectrum envelope in which a straight line or a curved line (sinusoidal) is drawn between a start point and an end point specified by a click operation in the area. The straight line icon SLI is clicked when a spectral envelope that connects the start point and the end point specified in the drawing area DE with a straight line is drawn.
[0023]
The sine wave icon SWI is clicked when drawing a spectrum envelope that connects a start point and an end point specified in the drawing area DE with a curve corresponding to a half cycle of the sine wave. When a curved spectrum envelope is drawn with the sine wave icon SWI, the up / down icon UDI is used together. The up / down icon UDI is an icon that alternately designates “upward” or “downward” every time a click operation is performed, and when “upward” is designated, it becomes a convex curve (sine wave) upward, When “downward” is designated, a downwardly convex curve (sine wave) is obtained.
[0024]
The clear icon CLI is clicked when the spectrum envelope drawn in the drawing area DE is deleted. The spectrum icon SPI is clicked when the spectrum level for each fundamental wave and its harmonic components is extracted from the spectrum envelope drawn in the drawing area DE. When the copy mode icon CMI is clicked, the screen shifts to the above-described spectrum copy screen SCG (see FIG. 6). When the reproduction icon RPI is clicked, the display changes to the above-described reproduction mode screen RMG (see FIG. 4).
[0025]
B. Operation Next, the operation of the embodiment having the above configuration will be described.
(1) Main Routine Operation First, the main routine operation will be described with reference to FIG. First, when the power is turned on in the embodiment, the CPU 1 reads a predetermined control program from the ROM 2 and loads it on itself, and then executes the main routine shown in FIG. 8 to advance the process to step SA1. In step SA1, various registers and flag data stored in the work area of the RAM 3 are initialized, and various spectrum data stored in the ROM 2 are initialized to the data area of the RAM 3. Next, in step SA2, it is determined whether or not the playback mode is set by operating the mode switch.
[0026]
If the playback mode is set, the determination result is “YES”, the process proceeds to step SA3, and the waveform data synthesized with overtones based on the spectrum data set for each sound generation channel is used as the key release key on the keyboard 4. A playback mode process for sound generation / mute according to the operation is executed.
On the other hand, if the generation mode is set, the determination result in step SA2 is “NO”, the process proceeds to step SA4, the spectrum data SPECData stored in the spectrum data area SDE of the RAM 3 is copied, and based on that. Waveform data to be synthesized with harmonics is generated, or generation mode processing for generating a spectrum by extracting each spectrum level for each fundamental wave and its harmonic components from the formed spectrum envelope is executed. Thereafter, the playback mode process or the generation mode process is executed in accordance with the mode set by the mode switch and the mode transition according to the icon click.
[0027]
(2) Operation of Playback Mode Processing Next, the operation of playback mode processing will be described with reference to FIG. The reproduction mode process is executed through step SA3 of the main routine (see FIG. 8) described above, and the reproduction icon RPI arranged on the screens SCG, SLG, SSG (see FIGS. 5 to 7) described above. It is executed according to the mode transition by the click operation.
When the playback mode process is executed, the CPU 1 proceeds to step SB1 in FIG. 9, and first displays the playback mode screen RMG shown in FIG. 4 on the display unit 7 and detects the presence or absence of a key release operation on the keyboard 4. Key scan as much as possible. Next, in step SB2, a key change is determined based on the key scanning result.
[0028]
If no key release operation is performed and no event is detected by key scanning, no processing is performed and the process proceeds to step SB9 described later. However, if a key-on event corresponding to the key depression operation is detected. Then, the process proceeds to step SB3. In step SB3, the key number of the pressed key is stored in the register KEY, and in the subsequent step SB4, a sound channel to which sound is newly assigned according to the key press is detected, and the detected sound channel number is set in the register n. . In step SB5, the waveform data CHWave (n) synthesized with the harmonic overtone in the tone generation channel CH (n) corresponding to the register n is read out and generated at a frequency corresponding to the register KEY.
[0029]
On the other hand, if a key-off event corresponding to the key release operation is detected, the process proceeds to step SB6. In step SB6, the key number of the key that has been released is stored in the register KEY, and in the subsequent step SB7, the sounding channel that is sounding with the same pitch as the key that was released is detected, and the detected sounding channel number is stored in the register n. Set to. Then, in step SB6, reading of the waveform data CHWave (n) is stopped and the sound generation channel CH (n) corresponding to the register n is silenced.
[0030]
When the sound generation / mute instruction according to the key press / release operation is completed, the CPU 1 advances the process to step SB9 and subsequent steps, and changes the mode according to the click operation of the copy mode icon CMI or the spectrum creation icon SMI arranged on the reproduction mode screen RMG. Transition.
That is, when the copy mode icon CMI is clicked with the mouse 5, the determination result in step SB9 is "YES", the process proceeds to step SB10, and the spectrum copy screen SCG (see FIG. 6) is changed to the copy mode in which the screen is displayed. To do.
On the other hand, when the spectrum creation icon SMI is clicked, the determination result in step SB11 is “YES”, the process proceeds to step SB12, and a transition is made to a spectrum creation mode in which the spectrum creation screen SSG (see FIG. 7) is displayed.
[0031]
(3) Operation of Generation Mode Processing Next, the operation of the generation mode processing will be described with reference to FIGS. The generation mode process is executed through step SA4 of the above-described main routine (see FIG. 8), as well as a copy mode arranged on the above-described screens RMG, SCG, SLG, and SSG (see FIGS. 4 to 7). This is executed according to the mode transition by the click operation of the icon CMI or the spectrum creation icon SMI. Hereinafter, the description will be divided into an operation under the copy mode and an operation under the spectrum creation mode.
[0032]
(1) Operation under Copy Mode When the copy mode icon CMI is clicked to make a transition to the copy mode, the determination result in step SC1 is “YES”, the process proceeds to step SC2, and the spectrum copy screen SCG (FIG. 5) is displayed. Display). Next, at step SC3, each file name SPECName is read from the spectrum data files SPEC (1) to SPEC (N) stored in the spectrum data area SDE (see FIG. 2) of the RAM 3, and displayed in a list on the spectrum list SLT. Subsequently, in step SC4, CHSPECName of each channel data CH (1) to CH (8) is read from the channel data area CDE (see FIG. 3) of the RAM 3 and displayed in a list in the channel list CLT.
[0033]
Thereafter, processing corresponding to the click operation of the icon group arranged on the spectrum copy screen SCG is executed. For example, it is assumed that the user clicks on a corresponding column in the spectrum list SLT to select a file name SPECName assigned to the channel list CLT from among the file names SPECName displayed in the spectrum list SLT. Then, the determination result in step SC5 is “YES”, and the process advances to step SC6 to store the list number of the clicked column in the register m. Hereinafter, the value of the register m is referred to as a list number m.
[0034]
Next, it is assumed that the user clicks on a column corresponding to a desired tone generation channel in the channel list CLT in order to designate a tone generation channel to which the file name SPECName selected from the spectrum list SLT is assigned. Then, the determination result in step SC7 is “YES”, and the flow advances to step SC8 to store the channel number of the clicked column in the register n. Hereinafter, the value of the register n is referred to as a channel number n.
[0035]
Next, in step SC9, the file name SPECName (m) of the list number m selected from the spectrum list SLT is stored in the CHSPECName (n) of the channel number n selected from the channel list CLT, and in the next step SC10. The contents of the CHSPECName (n) are displayed in the corresponding column in the channel list CLT.
Therefore, for example, when the first column of the spectrum list SLT is clicked and then the first column of the channel list CLT is clicked, the file name SPECName (displayed in the first column of the spectrum list SLT is displayed. 2) is displayed in the first column of the channel list CLT.
[0036]
Now, after assigning the file name SPECName selected from the spectrum list SLT to the channel list CLT, it is copied to which sound channel the spectrum data SPECData specified by the assigned file name SPECName (CHSPECName) is copied. This is specified by clicking the button CB.
For example, as shown in FIG. 5, it is assumed that the user clicks the copy buttons CB corresponding to the sound channels CH1, 3, 5, and 7 in order to copy the sound channels. Then, every time a click operation is performed, the determination result in step SC11 shown in FIG. 11 is “YES”, and steps SC12 to SC13 are executed, and the copy flag CF (n) corresponding to the clicked channel number n is set to “ 1 ”is set.
[0037]
Thus, when the sound generation channel for copying the spell data SPECData is designated, the user clicks on the waveform creation icon WGI. Then, the determination result in step SC14 shown in FIG. 11 is “YES”, and after executing the copy flag setting process via step SC15, the waveform generation process is executed via step SC16. Details of the copy flag setting process and the waveform generation process will be described below.
[0038]
(A) Operation of copy flag setting process When the copy flag setting process is executed through step SC15, the CPU 1 advances the process to step SD1 shown in FIG. 12, and the spectrum copy flag provided in the data area of the RAM 3 The SCF is reset to zero and invalid data NULL (for example, blank) is stored in the register SCName.
Subsequently, in step SD2, “1” is set to the channel number n. Next, in steps SD3 to SD5, a sound generation channel (hereinafter referred to as a copy channel) in which the copy flag CF (n) is “1” is searched while the channel number n is incremented. When the copy channel is searched, the determination result in step SD3 is “NO”, the process proceeds to step SD6, and “1” is set in the spectrum copy flag SCF.
[0039]
Next, in steps SD7 to SD8, it is determined whether or not the searched copy channel is a copy source. If the retrieved copy channel is the copy source, the determination result in step SD8 is “YES”, the process proceeds to step SD9, the CHSPECName (n) of the retrieved copy channel is stored in the register SCName, and the process proceeds to step SD4. To return. When the copy channel search in steps SD3 to SD5 is completed, the determination result in step SD5 is “YES”, and this process is completed.
[0040]
If the click operation of the copy button CB described above is mistaken and a plurality of copy channels that can be the copy source are searched, that is, in the process of searching for a copy channel, the determination result in step SD8 is “NO”. Then, the process proceeds to step SD10, the spectrum copy flag SCF is reset to zero, and the spectrum copy is stopped.
[0041]
(B) Operation of Waveform Generation Processing When the waveform generation processing is executed through the above-described step SC16 (see FIG. 11), the CPU 1 advances the processing to step SE1 shown in FIG. 13 and sets “1” to the channel number n. In the subsequent step SE2, it is determined whether or not the copy flag CF (n) corresponding to the channel number n is “0”, that is, whether or not the copy channel is set. If the copy channel is not set, the determination result here is “YES”, and the flow proceeds to step SE4. In step SE4, it is determined whether or not the channel name CHName (n) of the channel number n is invalid data NULL, that is, whether or not it is an invalid channel for which channel data is not set.
[0042]
If it is an invalid channel, the determination result is “YES”. In this case, the process proceeds to step SE8 without generating waveform data, and the channel number n is incremented and stepped. Next, in step SE9, it is determined whether or not processing has been completed for all the sound generation channels. If the processing has not been completed, the determination result is “NO”, and the processing is returned to step SE2.
[0043]
In step SE2, it is determined again whether the sound generation channel corresponding to the stepped channel number n is a copy channel. If it is a copy channel, the determination result is “NO”, and the flow proceeds to step SE3. In step SE3, it is determined whether or not the flag SCF is “0”, that is, whether or not spectrum copying is in progress.
If the spectrum is not copied, the determination result is “YES”, and the process proceeds to step SE4 to determine whether the channel number n is an invalid channel. If it is not an invalid channel, the determination result is “NO”, and the process proceeds to step SE5, where the spectrum data SPECData (n) corresponding to CHSPECName (n) corresponding to the channel number n is stored in the spectrum data area SDE of the RAM 3 (see FIG. 2). After reading from, go to step SE7.
[0044]
On the other hand, if the spectrum is being copied, the determination result in step SE3 is “NO”, and the flow proceeds to step SE6. In step SE6, the spectral data SPECData (n) stored in the register SCName and corresponding to CHSPECName (n) of the copy channel serving as the copy source is read from the spectral data area SDE (see FIG. 2) of the RAM 3, and then in step SE7. move on.
Then, in step SE7, a creation process for synthesizing waveform data overtones based on the spectrum data SPECData (n) read from the spectrum data area SDE of the RAM 3 is executed.
[0045]
That is, when the creation process is executed via step SE7, the CPU 1 proceeds to step SE7-1 shown in FIG. 14, and sets the initial value “1” to the harmonic order t. Subsequently, in step SE7-2, the register W for accumulating the waveform data w for each overtone is reset to zero.
In step SE7-3, the spectrum level L (t) corresponding to the harmonic order t is read from the spectrum data SPECData (n) read from the spectrum data area SDE of the RAM 3. Next, in step SE7-4, waveform data w is generated according to the frequency f · t obtained by multiplying the harmonic order t by the fundamental frequency f and the spectrum level L (t).
[0046]
Next, in step SE7-5, the generated waveform data w is added to the register W. In step SE7-6, the harmonic order t is incremented. In the following step SE7-7, it is determined whether the incremented harmonic order t has exceeded the maximum number, that is, whether the harmonic synthesis has been completed. The determination result is “NO”, and the process returns to step SE7-3.
[0047]
Thereafter, steps SE7-3 to SE7-7 are repeated until overtone synthesis for superimposing the waveform data w from the first overtone (fundamental wave) to the tth overtone is completed. When overtone synthesis is completed, step SE7- The determination result of 7 is “YES”, and the flow proceeds to step SE7-8. In step SE7-8, the value of the register W obtained by accumulating the waveform data w from the first overtone (fundamental wave) to the tth overtone, that is, the overtone synthesized waveform data is used as the CHWave in the channel data area CDE of the RAM 3. Store in (n).
[0048]
As described above, in the copy mode, after assigning the file name SPECName selected from the spectrum list SLT to the channel list CLT on the spectrum copy screen SCG shown in FIG. 5, the assigned file name SPECName (CHSPECName) is used. When the waveform creation icon WGI is clicked after the specified spectral data SPECData is specified by clicking the copy button CB to which sound generation channel is to be copied, the copy channel is copied for each copy channel for which the copy button CB is clicked. Since the waveform data is overtone-synthesized based on the spectrum data SPECData (n) corresponding to CHSPECName (n) assigned to the original copy channel, it is necessary for each tone generation channel. It must be copied spectral data SPECData eliminated, and consequently it is possible to collectively set the same spectral data SPECData multiple sound channels.
[0049]
(2) Operation under Spectrum Creation Mode When the spectrum creation icon SMI is clicked on the reproduction mode screen RMG shown in FIG. 4 to shift to the spectrum creation mode, the determination result in step SC1 shown in FIG. 10 is “NO”. Then, the CPU 1 advances the process to step SC21, and displays the spectrum list screen SLG (see FIG. 6) on the display unit 7. Next, in step SC22, each file name SPECName is read from the spectrum data files SPEC (1) to SPEC (N) stored in the spectrum data area SDE (see FIG. 2) of the RAM 3, and displayed in a list in the list display field LIST.
[0050]
It is assumed that, for example, a blank field in the list display field LIST is clicked to register newly created spectrum data in the list display field LIST. Then, the determination result in step SC23 shown in FIG. 10 is “YES”, the process proceeds to step SC24, and the list number of the clicked column is stored in register n (hereinafter, the value of register n is referred to as list number n). . Next, the process proceeds to step SC25 shown in FIG. 15, and the spectrum creation screen SSG shown in FIG.
[0051]
In order to create spectrum data on the spectrum creation screen SSG, first, a range (start point and end point) for drawing a spectrum envelope is designated by clicking in the drawing area DE, and then the start point and end point are connected. The shape of the spectrum envelope is designated and drawn by clicking the straight line icon SLI, the sine wave icon SWI, and the up / down icon UDI.
When the spectrum icon SPI is clicked after drawing the spectrum envelope, spectrum data is generated by extracting each spectrum level of the fundamental wave and each harmonic component from the drawn spectrum envelope. In the following, the explanation of the operation will proceed along such a series of operations.
[0052]
(A) Designation of start point and end point It is assumed that a click operation is performed in the drawing area DE of the spectrum creation screen SSG in order to designate a range for drawing the spectrum envelope. Then, the determination result in step SC26 shown in FIG. 15 is “YES”, and the process proceeds to step SC27. In step SC27, it is determined whether or not the start point has been input.
If it is the first click operation, the determination result is “NO”, the process proceeds to step SC28, and the coordinates (X, Y) to which the mouse cursor is pointing when the click operation is performed are stored in the registers Xn, Yn. On the other hand, if it is the second click operation, the determination result is “NO”, the process proceeds to step SC29, and the clicked coordinates (X, Y) are stored in the registers Xm, Ym.
[0053]
(B) Spectral envelope drawing Thus, after the start point (Xn, Yn) and the end point (Xm, Ym) are designated, when the spectral envelope connecting them is drawn with a straight line, the line icon SLI is clicked. Then, the determination result in step SC30 is “YES”, the process proceeds to step SC31, and the flag LINE is reset to zero. The flag LINE is a flag representing an envelope shape. When the flag is “0”, a straight line is projected. When “1”, a convex sine wave is projected upward. When “2”, a convex sine is projected downward. Represents a wave.
In steps SC32 to SC36, display coordinates (x, y) connecting the start point (Xn, Yn) and the end point (Xm, Ym) are calculated based on the well-known linear interpolation equation y = f0 (x). Is displayed in the drawing area DE to draw a linear spectrum envelope.
[0054]
On the other hand, when the spectrum envelope connecting the start point (Xn, Yn) and the end point (Xm, Ym) is drawn with a curve (a sine wave corresponding to a half cycle), the sine wave icon SWI is clicked. Then, the determination result in step SC37 shown in FIG. 16 is “YES”, and the process proceeds to step SC38. In step SC38, the direction of the up / down icon UDI is determined. That is, when connecting the start point (Xn, Yn) and the end point (Xm, Ym) with a half-cycle sine wave, it is necessary to specify whether the curve is a downward convex curve or an upward convex curve. Therefore, the orientation of the up / down icon UDI is determined.
[0055]
When the up / down icon UDI is clicked, the determination result in step SC51 is “YES”, and the flow proceeds to step SC52. In step SC52, if the current flag LINE value is "1" (upward), the process proceeds to step SC45, which will be described later. If the current flag LINE value is "2" (downward), the step described later. The process proceeds to SC39. As a result, “upward” or “downward” is alternately designated every time a click operation is performed.
[0056]
If the up / down icon UDI is in the upward state, the process proceeds to step SC39, and "1" is set in the flag LINE to indicate a state in which an upward convex sine wave is drawn. Subsequently, in steps SC40 to SC44, the display is based on an arithmetic expression y = f1 (x) for interpolating between the start point (Xn, Yn) and the end point (Xm, Ym) with an upward convex sine wave (half cycle). Coordinates (x, y) are calculated and displayed in the drawing area DE to draw an upwardly convex sinusoidal spectrum envelope.
On the other hand, if the up / down icon UDI is in the downward state, the process proceeds to step SC45, and “2” is set in the flag LINE to indicate a state of drawing an upwardly convex sine wave. In steps SC46 to SC50, the display coordinates are based on an arithmetic expression y = f2 (x) for interpolating between the start point (Xn, Yn) and the end point (Xm, Ym) with a downwardly convex sine wave (half cycle). (X, y) is calculated and displayed in the drawing area DE to draw a downwardly convex sinusoidal spectrum envelope.
[0057]
(C) Spectral data generation When the spectral icon SPI is clicked after drawing the spectral envelope, the determination result in step SC53 shown in FIG. 17 is “YES”, and the flow proceeds to step SC54. In steps SC54 to SC57, while the x coordinate value is stepped up from the start point to the end point, a spectrum envelope value (y coordinate value) for each x coordinate value corresponding to the harmonic order is extracted, and the spectrum data SPECData (n ) Is stored as the spectrum level L. The spectrum data SPECData (n) corresponds to the list number n of the column clicked in the list display column LIST of the spectrum list screen SLG (see FIG. 6).
[0058]
(D) Other icon operations When the clear icon CLI is clicked to cancel the creation of spectrum data, the determination result in step SC58 shown in FIG. 17 is “YES”, and the flow proceeds to step SC59. clear. Next, in step SC60, the display of the drawing area DE on the spectrum creation screen SSG is cleared.
[0059]
When the copy mode icon CMI is clicked, the determination result in step SC61 is “YES”, the process proceeds to step SC62, and the mode is changed to the copy mode. When transitioning to the copy mode, the process proceeds to step SC2 via step SC1 in FIG. 10, and the display unit 7 returns to a state in which the spectrum copy screen SCG (see FIG. 5) is displayed.
[0060]
When the reproduction mode icon RPI is clicked, the determination result in step SC63 is “YES”, the process proceeds to step SC64, and the reproduction mode is entered. When the mode is changed to the reproduction mode, the state returns to the state where the reproduction mode screen RMG (see FIG. 5) is displayed on the display unit 7 through step SB1 of FIG.
[0061]
As described above, in the spectrum creation mode, a linear or curved spectral envelope is drawn between the start point and end point specified in the drawing area DE, and each spectral level for each fundamental wave and its harmonic components is drawn from the drawn spectral envelope. Therefore, it is possible to set spectrum data representing the spectrum level of each fundamental wave and its harmonic components from a spectrum envelope set in an arbitrary shape. In addition, since it is possible to set each spectrum level for each fundamental wave and its harmonic components simply by drawing the spectrum envelope, the conventional complicated process of individually setting the spectrum level for each fundamental wave and its harmonic components individually. It is also possible to eliminate the operation.
[0062]
In the above-described embodiment, the envelope shape of either a straight line or a curved line (sinusoidal wave) is drawn from the start point to the end point specified in the drawing area DE. It is also possible to draw a spectrum envelope of a desired shape by dragging the mouse 5 in the inside. In this case, instead of the processing of steps SC25 to SC36 shown in FIG. 15, a modification shown in FIG.
[0063]
That is, the spectrum creation screen SSG is displayed on the display unit 7 in step SC70, and in the subsequent step SC71, it is determined whether there is a screen drag in the drawing area DE. When the drag operation is performed so as to draw a spectrum envelope of a desired shape, the determination result is “YES”, the process proceeds to step SC73, and the trajectory coordinates (x, y) that have been dragged are displayed on the screen to display the spectrum envelope. draw. Thereafter, similarly to the above-described embodiment, the process proceeds to step SC53 shown in FIG.
[0064]
Further, in the above-described embodiment, the waveform is created for each copy channel by referring to the spectrum data SPECData (n) corresponding to CHSPECName (n) assigned to the copy source copy channel. For example, the waveform data CHWave (n) synthesized with harmonics based on the spectrum data SPECData (n) assigned to the copy channel of the copy source is copied to each copy channel where the copy button CB is clicked or the waveform Instead of copying the data CHWave (n) itself, it is also possible to copy only the read address of the waveform data CHWave (n) to each copy channel.
[0065]
【The invention's effect】
According to the first and second aspects of the present invention, the spectrum data to be used on the musical sound generator side is selected from the spectral data of various harmonic structures, while the plurality of tone generation channels provided on the musical sound generator side, When a copy channel for copying the selected spectrum data is specified, the waveform is overtone synthesized based on the selected spectrum data and assigned to each specified copy channel. As a result, the same spectrum data is assigned to multiple sound channels. Can be set in a batch. In other words, the operation for setting the spectrum can be simplified.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an embodiment according to the present invention.
FIG. 2 is a diagram illustrating a configuration of a data area of a RAM 3;
FIG. 3 is a diagram showing a configuration of a data area of a RAM 3;
FIG. 4 is a diagram showing an example of a playback mode screen RMG.
FIG. 5 is a diagram showing an example of a spectrum copy screen SCG.
FIG. 6 is a diagram showing an example of a spectrum list screen SLG.
FIG. 7 is a diagram illustrating an example of a spectrum creation screen SSG.
FIG. 8 is a flowchart showing an operation of a main routine.
FIG. 9 is a flowchart showing the operation of a playback mode process.
FIG. 10 is a flowchart showing an operation of generation mode processing.
FIG. 11 is a flowchart illustrating the operation of the generation mode process following FIG.
FIG. 12 is a flowchart showing an operation of a copy flag setting process.
FIG. 13 is a flowchart showing an operation of waveform generation processing.
FIG. 14 is a flowchart illustrating an operation of creation processing.
FIG. 15 is a flowchart illustrating the operation of the generation mode process following FIG.
FIG. 16 is a flowchart illustrating the operation of the generation mode process following FIG.
FIG. 17 is a flowchart illustrating the operation of the generation mode process following FIG.
FIG. 18 is a flowchart illustrating an operation of generation mode processing according to a modification.
[Explanation of symbols]
1 CPU
2 ROM
3 RAM
4 Keyboard 5 Mouse 6 Panel switch group 7 Display 8 Sound system

Claims (2)

発生すべき楽音波形の倍音構造を示すスペクトルデータ及び当該スペクトルデータに対応するスペクトル指定データを複数種記憶するスペクトルデータエリアと、楽音を発音する発音チャンネル毎にエリアが設けられ、エリア毎に前記スペクトル指定データ及び楽音波形が記憶可能なチャンネルデータエリアと、を有する記憶手段と、
スペクトルデータ表示エリアとチャンネル表示エリアを有し、このスペクトル表示エリアに前記記憶手段のスペクトルデータエリアに記憶されている各スペクトル指定データを表示するとともに、前記チャンネル表示エリアに前記チャンネルデータエリアに記憶されている前記スペクトル指定データを前記発音チャンネルに対応させて表示する表示手段と、
前記表示手段のスペクトルデータ表示エリアに表示されたスペクトル指定データと、前記チャンネル表示エリア内のいずれかのチャンネルをコピー先チャンネルとして指定することにより、指定されたスペクトル指定データを、指定されたチャンネルに対応するスペクトル指定データとして前記記憶手段のチャンネルデータエリア内に記憶させる、チャンネルスペクトルデータ指定手段と、
前記表示手段のチャンネル表示エリアから、コピー先のチャンネルを指定するコピー先チャンネル指定手段と、
このコピー先チャンネル指定手段によりコピー先チャンネルが指定されているときは、外部からの波形生成の指示に応答して、前記チャンネルスペクトルデータ指定手段にて指定されたスペクトル指定データをコピー元のスペクトル指定データとして指定するコピー元スペクトル指定データ指定手段と、
コピー元スペクトル指定データ指定手段によりコピー元スペクトル指定データが指定された後、前記コピー先チャンネル指定手段により指定されたコピー先チャンネルに対しては、前記コピー元スペクトル指定データに対応するスペクトルデータを前記記憶手段から読み出して楽音波形を生成し、当該生成した楽音波形を前記記憶手段内のコピー先チャンネルに対応する前記記憶手段のエリアに記憶するとともに、コピー先チャンネルとして指定されていないチャンネルであって、前記記憶手段のチャンネルデータエリアに既にスペクトル指定データが記憶されているチャンネルに対しては、当該スペクトル指定データに対応するスペクトルデータを前記記憶手段から読み出して楽音波形を生成し、当該生成した楽音波形を前記記憶手段内のコピー先チャンネルに対応する楽音波形前記記憶手段のエリアに記憶する波形生成手段と、
を有することを特徴とするスペクトル設定装置。
A spectrum data area for storing a plurality of types of spectrum data indicating the harmonic structure of a musical sound waveform to be generated and spectrum designation data corresponding to the spectrum data, and an area for each sound generation channel for generating a musical sound, and the spectrum for each area are provided. Storage means having channel data area capable of storing designated data and musical sound waveform;
It has a spectrum data display area and a channel display area, and each spectrum designation data stored in the spectrum data area of the storage means is displayed in this spectrum display area, and is stored in the channel data area in the channel display area. Display means for displaying the spectrum designation data corresponding to the sound generation channel;
By designating the spectrum designation data displayed in the spectrum data display area of the display means and any channel in the channel display area as a copy destination channel, the designated spectrum designation data is designated as the designated channel. Channel spectrum data designating means for storing the corresponding spectrum designating data in the channel data area of the storage means;
From the channel display area of the display means, copy destination channel designating means for designating a copy destination channel;
When the copy destination channel is designated by the copy destination channel designation means, the spectrum designation data designated by the channel spectrum data designation means is designated as a copy source spectrum designation in response to an external waveform generation instruction. Copy source spectrum designation data designation means to designate as data,
After the copy source spectrum designation data is designated by the copy source spectrum designation data designation means, for the copy destination channel designated by the copy destination channel designation means, the spectrum data corresponding to the copy source spectrum designation data is A musical tone waveform is generated by reading from the storage means, and the generated musical sound waveform is stored in an area of the storage means corresponding to the copy destination channel in the storage means, and is not designated as a copy destination channel. For a channel for which spectrum designation data has already been stored in the channel data area of the storage means, the spectrum data corresponding to the spectrum designation data is read from the storage means to generate a musical sound waveform, and the generated musical sound The waveform is stored in the storage means. A waveform generating means for storing in the area of the musical tone waveform the storage means corresponding to the copy destination channel,
Spectrum setting device characterized in that it comprises a.
発生すべき楽音波形の倍音構造を示すスペクトルデータ及び当該スペクトルデータに対応するスペクトル指定データを複数種記憶するスペクトルデータエリアと、楽音を発音する発音チャンネル毎にエリアが設けられ、エリア毎に前記スペクトル指定データ及び楽音波形が記憶可能なチャンネルデータエリアと、を有する記憶手段に記憶された内容に基づき、表示手段のスペクトル表示エリアに前記記憶手段のスペクトルデータエリアに記憶されている各スペクトル指定データを表示させるとともに、前記表示手段のチャンネル表示エリアに前記チャンネルデータエリアに記憶されている前記スペクトル指定データを前記発音チャンネルに対応させて表示する表示過程と、
前記表示手段のスペクトルデータ表示エリアに表示されたスペクトル指定データと、前記チャンネル表示エリア内のいずれかのチャンネルをコピー先チャンネルとして指定することにより、指定されたスペクトル指定データを、指定されたチャンネルに対応するスペクトル指定データとして前記記憶手段のチャンネルデータエリア内に記憶させる、チャンネルスペクトルデータ指定過程と、
前記表示手段のチャンネル表示エリアから、コピー先のチャンネルを指定するコピー先チャンネル指定過程と、
コピー先チャンネルが指定されているときは、外部からの波形生成の指示に応答して、前記チャンネルスペクトルデータ指定仮定にて指定されたスペクトル指定データをコピー元のスペクトル指定データとして指定するコピー元スペクトル指定データ指定過程と、
コピー元スペクトル指定データが指定された後、前記指定されたコピー先チャンネルに対 しては、前記コピー元スペクトル指定データに対応するスペクトルデータを前記記憶手段から読み出して楽音波形を生成し、当該生成した楽音波形を前記記憶手段内のコピー先チャンネルに対応する楽音波形前記記憶手段のエリアに記憶するとともに、コピー先チャンネルとして指定されていないチャンネルであって、前記記憶手段のチャンネルデータエリアに既にスペクトル指定データが記憶されているチャンネルに対しては、当該スペクトル指定データに対応するスペクトルデータを前記記憶手段から読み出して楽音波形を生成し、当該生成した楽音波形を前記記憶手段内のコピー先チャンネルに対応する前記記憶手段のエリアに記憶する波形生成過程と、
を具備することを特徴とするスペクトル設定方法。
A spectrum data area for storing a plurality of types of spectrum data indicating the harmonic structure of a musical sound waveform to be generated and spectrum designation data corresponding to the spectrum data, and an area for each sound generation channel for generating a musical sound, and the spectrum for each area are provided. Each of the spectrum designation data stored in the spectrum data area of the storage means is stored in the spectrum display area of the display means based on the contents stored in the storage means having a channel data area capable of storing the designated data and the musical sound waveform. A display process of displaying the spectrum designation data stored in the channel data area in the channel display area of the display means in correspondence with the sound generation channel,
By designating the spectrum designation data displayed in the spectrum data display area of the display means and any channel in the channel display area as a copy destination channel, the designated spectrum designation data is designated as the designated channel. A channel spectrum data designation process for storing the corresponding spectrum designation data in the channel data area of the storage means;
A copy destination channel designating process for designating a copy destination channel from the channel display area of the display means;
When the copy destination channel is specified, in response to an external waveform generation instruction, the copy source spectrum that specifies the spectrum specification data specified by the channel spectrum data specification assumption as the copy source spectrum specification data Specified data specification process,
After the copy source spectrum specified data is specified, and against the copy destination channel the specified generates tone waveform spectrum data corresponding to the copy source spectral specified data is read out from the storage unit, the generated The musical tone waveform is stored in the area of the storage means corresponding to the copy destination channel in the storage means, and the spectrum is already in the channel data area of the storage means that is not designated as the copy destination channel. For the channel in which the designation data is stored, the spectrum data corresponding to the spectrum designation data is read from the storage means to generate a musical sound waveform, and the generated musical sound waveform is stored in the copy destination channel in the storage means. Waveform generation to be stored in the corresponding area of the storage means And the extent,
The spectrum setting method characterized by comprising.
JP2002212221A 2002-07-22 2002-07-22 Spectrum setting apparatus and spectrum setting method Expired - Fee Related JP3951842B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002212221A JP3951842B2 (en) 2002-07-22 2002-07-22 Spectrum setting apparatus and spectrum setting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002212221A JP3951842B2 (en) 2002-07-22 2002-07-22 Spectrum setting apparatus and spectrum setting method

Publications (2)

Publication Number Publication Date
JP2004053991A JP2004053991A (en) 2004-02-19
JP3951842B2 true JP3951842B2 (en) 2007-08-01

Family

ID=31935215

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002212221A Expired - Fee Related JP3951842B2 (en) 2002-07-22 2002-07-22 Spectrum setting apparatus and spectrum setting method

Country Status (1)

Country Link
JP (1) JP3951842B2 (en)

Also Published As

Publication number Publication date
JP2004053991A (en) 2004-02-19

Similar Documents

Publication Publication Date Title
JP6167542B2 (en) Electronic device and program
JP3951842B2 (en) Spectrum setting apparatus and spectrum setting method
JP3916063B2 (en) Spectrum setting apparatus and spectrum setting method
JP6817551B2 (en) Musical tone generator, musical tone generator, program and electronic musical instrument
JP2016180795A (en) Musical sound generation device, musical sound generation method, program and electronic musical instrument
JP2962075B2 (en) Electronic musical instrument editing device
JP5347405B2 (en) Waveform generator and waveform generation processing program
JP2013178509A (en) Electronic equipment and voice guide program
JP2757711B2 (en) Electronic musical instrument
JPH0744343A (en) Automatic generating device for operation support information
JP3535360B2 (en) Sound generation method, sound generation device, and recording medium
McGlynn Interaction design for digital musical instruments
JP4662259B2 (en) Music score creation device and music score creation program
JP4613924B2 (en) Song editing apparatus and program
JP4239937B2 (en) Composition support apparatus and program
JP4994879B2 (en) Karaoke song selection device that can search artist names based on song selection history
JP5104078B2 (en) SPECTRUM SETTING DEVICE AND SPECTRUM SETTING PROCESSING PROGRAM
JP5029770B2 (en) Performance support information generation apparatus and performance support information generation program
JP4816930B2 (en) Performance support information generation apparatus and performance support information generation program
JP2010049032A (en) Electronic music device and music data utilization program
JP6540057B2 (en) Waveform reading apparatus, method, program, and electronic musical instrument
JP3675043B2 (en) Note information input device
JP2005049628A (en) Music learning device and music learning program
JP2002099276A (en) Playing action display device and recording medium
JP4877611B2 (en) Performance practice device and performance practice program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050209

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061127

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070123

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070314

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: 20070403

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070416

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: 20110511

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110511

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120511

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120511

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130511

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130511

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees