JP4279997B2 - Sound source control apparatus, electronic musical instrument, MIDI system, sound source control method, storage medium - Google Patents

Sound source control apparatus, electronic musical instrument, MIDI system, sound source control method, storage medium Download PDF

Info

Publication number
JP4279997B2
JP4279997B2 JP2001098036A JP2001098036A JP4279997B2 JP 4279997 B2 JP4279997 B2 JP 4279997B2 JP 2001098036 A JP2001098036 A JP 2001098036A JP 2001098036 A JP2001098036 A JP 2001098036A JP 4279997 B2 JP4279997 B2 JP 4279997B2
Authority
JP
Japan
Prior art keywords
sound source
information
setup
source control
effect
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
JP2001098036A
Other languages
Japanese (ja)
Other versions
JP2002297133A (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 JP2001098036A priority Critical patent/JP4279997B2/en
Publication of JP2002297133A publication Critical patent/JP2002297133A/en
Application granted granted Critical
Publication of JP4279997B2 publication Critical patent/JP4279997B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、例えば、MIDI(Musical Instrument Digital Interface)規格に対応した機器(MIDI機器)等に用いられる、音源制御装置、電子楽器、MIDIシステム、音源制御方法、及びそれを実施するための処理ステップをコンピュータが読出可能に格納した記憶媒体に関するものである。
【0002】
【従来の技術】
従来より例えば、演奏情報のデータ転送規格であるMIDI規格に対応した電子楽器では、自側に限られず、外部で生成されたMIDI規格の演奏情報(16チャンネルのMIDIデータ)に基づいて、様々な楽音の発生が可能となっている。
【0003】
ところで、MIDIデータでは、ボイス・メッセージと呼ばれるメッセージデータにより、ノートオン/オフ(押鍵/離鍵)、ベロシティ(押鍵時の強さ)、ゲートタイム(押鍵時間)、及びタイミング(押鍵タイミング)等の情報が定義される。
【0004】
具体的には、ボイスメッセージには、ノートオン/オフ、及びモジュレーション・ホイールやペダル等の様々なエフェクトが定義されるコントロール・チェンジ、音色切り換えに関して定義されるプログラム・チェンジ、ベンド情報が定義されるピッチ・ホイール・チェンジ、及びアフター・タッチが含まれる。
【0005】
特に、コントロール・チェンジは、MIDIデータの送信先の音源(電子楽器が有する音源)の音色等をコントロールするために使用され、後述するような、音量、カットオフ、及びサステイン等の様々なエフェクトが定義される。
【0006】
コントロール・チェンジは、それぞれが1バイトデータである“Bn”、“CC”、及び“vv”の計3バイトデータで形成される。
“Bn”において、“B”は、コントロールチェンジコマンドを示し、“n”は、MIDIチャンネル指定(1チャンネル〜16チャンネル)を示す。
“CC”は、“0”〜“127”の値をとるコントロール番号を示し、“vv”は、値(設定値)を示す。
【0007】
コントロール・チェンジで定義されるエフェクトとしては、以下のようなものが挙げられる。
・演奏時にリアルタイムで使用されるエフェクト(モジュレーション、ブレスコントロール、チャンネルボリューム、エクスプレッション、及びペダル等に関するエフェクト)。
・音色変化や音の鳴り方等を変化させるエフェクト(バンクセレクト、ポルタメント、パンポット、エフェクト、ハーモニックインテンシティ、リリースタイム、アタックタイム、及びブライトネス等に関するエフェクト)。
・音源の設定を変化させるエフェクト(データエントリ、ピッチベンドセンシティビティ、ファインチューン、コースチューン、RPNヌル、NRPN MSB、及びNRPN LSB等に関するエフェクト)
・音色を変化させるエフェクト(カットオフフリケンシー、レゾナンス等に関するエフェクト)
・ドラムパートのパラメータを変化させるエフェクト(ドラムインストールメント等に関するエフェクト)。
【0008】
したがって、電子楽器では、外部から送信されてきた、或いは自側で生成されたMIDIデータに含まれる、上述したようなコントロール・チェンジによるエフェクトの定義に従ったセットアップが行なわれ、その後、様々な音色や、音色変化、或いは様々な形態での演奏が可能となる。
【0009】
【発明が解決しようとする課題】
しかしながら、従来のMIDI規格に対応した電子楽器では、コントロール・チェンジによるセットアップ変更時等において、以前のコントロール・チェンジによるセットアップ状態が放置されてしまうことによる不具合が生じる場合があった。
【0010】
具体的には例えば、電子楽器において、現在のコントロール・チェンジによるセットアップでは、発音する楽音に対して様々な効果を付与させるための複数のフェーダの中の任意のフェーダ(第1のフェーダとする)に対して、音量コントロールのエフェクトがアサインされているものとする。このようなセットアップ状態(以下、「第1のセットアップ状態」と言う)での演奏に合わせて、ユーザは、第1のフェーダを操作して所望する音量にコントロールし、最終的に音量ゼロに設定したものとする。
【0011】
このとき、第1のセットアップ状態で、ユーザからの所定の操作等により、新たなコントロール・チェンジによるセットアップの変更が行なわれ、第2のセットアップ状態となり、当該新たなコントロール・チェンジでは、第1のフェーダに対して、パンポット(MIDIチャンネルの定位を変化させるコマンド)のエフェクトがアサインされているものとする。
【0012】
しかしながら、第2のセットアップ状態では、音量について、第1のセットアップ状態が放置されたままの状態、すなわち音量ゼロの状態となっているため、第1のフェーダを操作してパンポットを変更しても、全く発音されない。
【0013】
そこで、本発明は、上記の欠点を除去するために成されたもので、セットアップ変更が行なわれた場合等であっても、常に良好な所望する演奏が行なえる、音源制御装置、電子楽器、MIDIシステム、音源制御方法、及びそれを実施するための処理ステップをコンピュータが読出可能に格納した記憶媒体を提供することを目的とする。
【0014】
【課題を解決するための手段】
斯かる目的下において、第1の発明は、所定のデータ転送規格に準拠した演奏情報に基づいて発音する音源と通信可能な音源制御装置であって、上記音源制御のための制御情報を複数パターン記憶する第1の記憶手段と、上記音源制御のセットアップ変更時に、上記第1の記憶手段内の該当するパターンの制御情報に基づいて、上記音源での発音に対して付与する効果がアサインされる操作手段と、上記操作手段に対してアサイン可能な複数の効果のそれぞれについて、対象効果の性格に基づいた上記セットアップ変更時の対象効果の状態に関する情報を記憶する第2の記憶手段と、上記音源制御のセットアップ変更時に、上記第1の記憶手段内の前回のセットアップで使用された第1の制御情報、今回のセットアップで使用された第2の制御情報、及び上記第2の記憶手段内の記憶情報に基づいて、上記音源へ送信する上記演奏情報を生成する生成手段とを備えることを特徴とする。
【0015】
第2の発明は、上記第1の発明において、上記生成手段は、上記第1の制御情報により示される前回のセットアップで上記操作手段にアサインされた第1の効果と、上記第2の制御情報により示される今回のセットアップで上記操作手段にアサインされた第2の効果とが異なる場合、上記第1の効果の状態を上記第2の記憶手段内の情報により示される状態とし、上記第2の効果の状態を上記操作手段の操作に基づいた状態とする上記演奏情報を生成することを特徴とする。
【0016】
第3の発明は、上記第1の発明において、上記生成手段は、外部指示に基づいて、上記第1の制御情報及び上記第2の記憶手段内の記憶情報を用いた上記演奏情報の生成処理を実行することを特徴とする。
【0017】
第4の発明は、所定のデータ転送規格に準拠した演奏情報に基づいて発音する音源手段を備える電子楽器であって、請求項1〜3の何れかに記載の音源制御装置の機能を更に備えることを特徴とする。
【0018】
第5の発明は、MIDI規格に対応した複数の機器が互いに通信可能に接続されてなるMIDIシステムであって、上記複数の機器のうち少なくとも1つの機器は、請求項1〜3の何れかに記載の音源制御装置の機能、又は請求項4記載の電子楽器の機能を有することを特徴とする。
【0019】
第6の発明は、所定のデータ転送規格に準拠した演奏情報に基づいて発音する音源を制御するための音源制御方法であって、上記音源制御のための制御情報を、上記音源制御のセットアップパターン毎に複数記憶する第1の記憶ステップと、ユーザからの上記音源制御のセットアップ変更指示時に、上記第1の記憶ステップによる記憶情報の中の該当する制御情報に基づいて、上記音源での発音に対して付与する効果を操作手段へアサインするアサインステップと、上記アサインステップにより上記操作手段に対してアサイン可能な複数の効果のそれぞれについて、対象効果の性格に基づいた上記セットアップ変更指示時の対象効果の状態に関する情報を記憶する第2の記憶ステップと、上記音源制御のセットアップ変更指示時に、上記第1の記憶ステップによる記憶情報の中の前回のセットアップで使用された第1の制御情報、今回のセットアップで使用された第2の制御情報、及び上記第2の記憶ステップによる記憶情報に基づいて、上記音源へ送信する上記演奏情報を生成する生成ステップとを含むことを特徴とする。
【0020】
第7の発明は、上記第6の発明において、上記生成ステップは、上記第1の制御情報により示される前回のセットアップで上記操作手段にアサインされた第1の効果と、上記第2の制御情報により示される今回のセットアップで上記操作手段にアサインされた第2の効果とが異なる場合、上記第1の効果の状態を上記第2の記憶手段内の情報により示される状態とし、上記第2の効果の状態を上記操作手段の操作に基づいた状態とする上記演奏情報を生成するステップを含むことを特徴とする。
【0021】
第8の発明は、上記第6の発明において、上記生成ステップは、ユーザからの指示に基づいて、上記第1の制御情報及び上記第2の記憶手段内の記憶情報を用いた上記演奏情報の生成処理を実行するステップを含むことを特徴とする。
【0022】
第9の発明は、請求項1〜3の何れかに記載の音源制御装置の機能、又は請求項4記載の電子楽器の機能、又は請求項5記載のMIDIシステムの機能をコンピュータに実現させるためのプログラムをコンピュータ読出可能な記憶媒体に記録したことを特徴とする。
【0023】
第10の発明は、請求項6〜8の何れかに記載の音源制御方法の処理ステップをコンピュータに実行させるためのプログラムをコンピュータ読出可能な記憶媒体に記録したことを特徴とする。
【0024】
【発明の実施の形態】
以下、本発明の実施の形態について図面を用いて説明する。
【0025】
本発明は、例えば、図1に示すような音源制御装置100に適用される。
特に、本実施の形態の音源制御装置100は、外部音源200(x)に対するセットアップ変更時において、当該変更前のセットアップ状態が放置されてしまうことによる不具合が生じないように、当該変更前のセットアップの内容に基いて、必要な設定を自動的に行なえるように構成されている。
以下、音源制御装置100の構成及び動作について具体的に説明する。
【0026】
<音源制御装置100の構成>
音源制御装置100は、上記図1に示すように、操作パネル110、MIDIインターフェース120、CPU130、ROM140、及びRAM150が、バス160を介して互いに通信可能に接続された構成としている。
【0027】
尚、音源制御装置100としては、例えば、上記図1中の点線に示すように、更に、キーボード170、音源モジュール180、アンプ181、及びスピーカ182を備えた電子楽器等をも適用可能である。
【0028】
MIDIインターフェース120は、外部の音源200(x)との間でMIDIデータの送受信を行なう。
【0029】
尚、上記図1では、説明の簡単のため、音源制御装置100に対して、1つの音源200(x)のみを接続する構成としているが、この接続数に限られることはなく、様々な音源を接続するように構成してもよい。
【0030】
操作パネル110は、ユーザが所望するセットアップを指定するための操作子や、その他の各種操作子と共に、図2に示すように、複数のフェーダからなるアサイナブルフェーダ部111を備えている。
ここでは、説明の簡単のため、アサイナブルフェーダ部111は、8つのフェーダ111(1)〜111(8)し、これらのフェーダに対して、セットアップ時に様々なエフェクトがアサインされるものとする。
【0031】
ROM140は、各種プログラム用のROM141と、各種パラメータ用のROM142とを含んでいる。
【0032】
RAM150は、作業用メモリ等として使用されるが、特に、図3に示すようなコントロールチェンジ対応テンプレートデータ200と、図4に示すようなセットアップ対応データ300とが記憶される。
【0033】
コントロールチェンジ対応テンプレートデータ200は、コントロール・チェンジで定義される各種エフェクトの性格に応じて、セットアップ変更直後の適切な値或いは所望する任意の値が設定されたデータであり、上記図3に示すように、コントロール番号CCにより示されるコントロール・チェンジのそれぞれに対して、セットアップ変更前の状態に関する項目(以下、「END用項目」と言う)、セットアップ変更後の状態に関する項目(以下、「NEW用項目」と言う)、及びタイプ(type)の項目が設けられている。
【0034】
END用項目には、現在のセットアップ状態から離脱する時のアサイン情報が設定される。
例えば、END用項目は、end項目と値項目からなる。end項目には、「デフォルト値出力(Df)」又は「何もしない(Non)」が設定される。値項目には、end項目に「デフォルト値出力(Df)」が設定された場合に、そのデフォルト値が設定される。
【0035】
NEW用項目には、現在のセットアップ状態から離脱した後の、新たなセットアップ状態時(アサイン時)のアサイン情報が設定される。
例えば、NEW用項目は、セットアップ変更前(END用)の項目と同様に、end項目と値項目からなる。end項目には、「デフォルト値出力(Df)」、又は「何もしない(Non)」、又は「設定値を出力(Set)」が設定される。値項目には、end項目に「デフォルト値出力(Df)」又は「設定値を出力(Set)」が設定された場合に、その値が設定される。
【0036】
タイプ項目は、ボリュームタイプ(0〜127(Vol)等)であるのか、或いは相対値(−50〜0〜+50(Rel)等)であるのか、或いはスイッチ(0、127(SW))であるのかが設定される。
【0037】
尚、上記図3のコントロールチェンジ対応テンプレートデータ200への各種情報の設定に関しては、例えば、ユーザが、操作パネル110の各種操作子を操作することで、任意に設定可能なように構成するようにしてもよい。或いは、予め設定されているものとしてもよい。
【0038】
セットアップ対応データ300は、操作パネル110によりユーザから指定可能な各種セットアップのパターン毎の、操作パネル110の各種操作子へのアサイン内容(コントロール・チェンジ)等を含むデータ(以下、「パネル編集データ300(#x)」とも言う)である。
ここでは、#1〜#nのパターンのセットアップが可能となっているため、こられに対応するパネル編集データ300(#1)〜パネル編集データ300(#n)が、セットアップ対応データ300として構成される。
【0039】
したがって、例えば、ユーザからの操作パネル110によるセットアップの変更指示に基づいて、セットアップ対応データ300の該当するパネル編集データ300(#x)が読み出され、これをコントロール・チェンジとするMIDIデータが生成され、音源200(x)に対して出力される。音源200(x)では、当該MIDIデータのパネル編集データ300(#x)に基づいたセットアップが行なわれた後、演奏が開始される。
【0040】
CPU130は、音源制御装置100全体の動作制御を司るものであり、例えば、ROM140のプログラム用のROM141に予め格納された所定の処理シーケンスに従った処理プログラムを、RAM150上にロードして実行することで、後述するような本実施の形態の特徴とする動作(機能)を実施する。
【0041】
<音源制御装置100の動作>
図5〜図10は、音源制御装置100の動作をフローチャートによって示したものである。
例えば、プログラム用ROM141には、図5〜図10のフローチャートに従った処理プログラムが予め格納されている。CPU130は、プログラム用ROM141から当該処理プログラムを読み出して実行する。これにより、音源制御装置100は、以下のように動作する。
【0042】
[メイン処理]:図5参照
先ず、CPU130は、操作パネル110におけるユーザからの操作状態を検出し、その結果に基いた処理を実行する(ステップS401)。
【0043】
次に、CPU130は、ステップS401の処理結果に基いた処理(A/D処理)を実行する(ステップS402)。
【0044】
そして、CPU130は、必要に応じて該当する処理を実行した後(ステップS403)、再びステップS401へ戻り、以降の処理ステップを繰り返し実行する。
【0045】
[パネル処理(ステップS401)]:図6参照
先ず、CPU130は、必要に応じて該当する処理(他の処理)を実行した後(ステップS411)、ユーザからの操作指示によりセットアップ変更がなされたか否かを判別する(ステップS412)。
この判別の結果、セットアップ変更無しの場合には、そのまま本処理終了となり、セットアップ変更有りの場合のみ、次のステップS413からの処理が実行される。
【0046】
ステップS412の判別の結果、セットアップ変更有りの場合、CPU130は、RAM150に格納されているセットアップ対応データ300(上記図4参照)において、セットアップ変更前のパネル編集データ300(#x)と、セットアップ変更後のパネル編集データ300(#y)とを参照し、操作パネル110の8つのフェーダ111(1)〜111(8)のそれぞれについて、次のステップS413〜ステップS415の処理を繰り返し実行する。
【0047】
すなわち、CPU130は、先ず、セットアップ変更後(今回ユーザから指定された新たなセットアップ状態)のパネル編集データ300(#y)に設定されている対象フェーダ111(n)へのアサイン情報(CC_new)と、セットアップ変更前(以前のセットアップ状態)のパネル編集データ300(#x)に設定されている対象フェーダ111(n)へのアサイン情報(CC_old)とが同じであるか否かを判別する(ステップS413)。
ここでのアサイン情報とは、対象フェーダ111(n)に対して、パネル編集データ(コントロール・チェンジ)によって定義(アサイン)されたコントロール番号(CC#)を示す。
【0048】
具体的には例えば、対象フェーダ111(n)が、フェーダ111(1)である場合で、セットアップ変更前のパネル編集データ300(#x)が、パネル編集データ300(#1)である場合、上記図4に示すように、フェーダ111(1)(Fader1)のアサイン情報(CC_old)は、“cc64”である。したがって、ステップS413では、この“cc64”と、これと同様にして得られる、セットアップ変更後のパネル編集データ300(#y)に設定されているフェーダ111(1)へのアサイン情報(CC_new)との比較が行なわれる。
【0049】
ステップS413の判別の結果、対象フェーダ111(n)の変更後のアサイン情報(CC_new)と、対象フェーダ111(n)の変更前のアサイン情報(CC_old)とが同じ情報である場合、CPU130は、ステップS414及びステップS415の処理を実行せずに、操作パネル110の全てのフェーダ111(1)〜111(8)のそれぞれについて、ステップS413〜ステップS415の処理を実行し終えたか否かを判別し(ステップS416)、この判別の結果、処理終了の場合のみ、本処理終了とし、そうでない場合には、次のフェーダ111(n+1)の処理を実行するために、再びステップS413へ戻り、以降の処理ステップを繰り返し実行する。
【0050】
一方、ステップS413の判別の結果、対象フェーダ111(n)の変更後のアサイン情報(CC_new)と、対象フェーダ111(n)の変更前のアサイン情報(CC_old)とが同じ情報でない場合、CPU130は、対象フェーダ111(n)の変更前のアサイン情報(CC_old)に対する処理(CC_oldのEND処理)を実行した後(ステップS414)、対象フェーダ111(n)の変更後のアサイン情報(CC_new)に対する処理(CC_newのNEW処理)を実行する(ステップS415)。
【0051】
そして、CPU130は、操作パネル110の全てのフェーダ111(1)〜111(8)のそれぞれについて、ステップS413〜ステップS415の処理を実行し終えたか否かを判別し(ステップS416)、この判別の結果、処理終了の場合のみ、本処理終了とし、そうでない場合には、次のフェーダ111(n+1)の処理を実行するために、再びステップS413へ戻り、以降の処理ステップを繰り返し実行する。
【0052】
[CC_oldのEND処理(ステップS414)]:図7参照
先ず、CPU130は、RAM150に格納されているコントロールチェンジ対応テンプレートデータ200において(上記図3参照)、対象フェーダ111(n)のセットアップ変更前のアサイン情報(CC_old)に対応するEND用項目のend項目の内容を取得する(ステップS421)。
【0053】
具体的には例えば、対象フェーダ111(n)がフェーダ111(1)である場合で、セットアップ変更前のパネル編集データ300(#x)により、フェーダ111(1)のアサイン情報(CC_old)が“cc64”である場合、これに対応するEND用項目のend項目の内容は、上記図3では“Df”であるため、ステップS421では当該“Df”が取得される。
【0054】
そして、CPU130は、ステップS421で取得した項目内容が、デフォルト値出力(Df)であるか否かを判別する(ステップS422)。
【0055】
ステップS422の判別の結果、デフォルト値出力(Df)に設定されていた場合、CPU130は、コントロールチェンジ対応テンプレートデータ200において、当該設定項目に対応する値項目に設定されたデフォルト値を取得し、アサイン情報(CC_old)により示されるエフェクトを当該デフォルト値とするためのコントロール・チェンジを含むMIDIデータを生成する(ステップS423)。
【0056】
具体的には例えば、対象フェーダ111(n)がフェーダ111(1)である場合で、セットアップ変更前のパネル編集データ300(#x)により、フェーダ111(1)のアサイン情報(CC_old)が“cc64”である場合、これに対応するEND用項目のend項目の内容は、上記図3では“Df”である。また、これに対する値項目には“0”が設定されている。このような場合、ステップS423では、“cc64”により示されるエフェクト(“hold”)を“0”とするコントロール・チェンジを含むMIDIデータが生成される。
【0057】
上述のようにして生成されたMIDIデータは、MIDIインターフェース120を介して外部の音源200(x)(又は、音源制御装置100内の音源モジュール180)に供給される。
その後、本処理終了となる。
【0058】
したがって、例えば、現在のコントロール・チェンジによるセットアップでは、フェーダ111(1)に対して音量コントロールのエフェクトがアサインされており、このセットアップ状態において、ユーザからフェーダ111(1)の操作により音量ゼロに設定され、その後、新たなコントロール・チェンジによるセットアップの変更が行なわれ、当該新たなコントロール・チェンジでは、フェーダ111(1)に対してパンポットのエフェクトがアサインされていた場合であっても、セットアップ変更後、以前の状態である音量ゼロの状態ではなく、コントロールチェンジ対応テンプレートデータ200に設定された所望の音量での出力が可能となる。
【0059】
一方、ステップS422の判別の結果、デフォルト値出力(Df)に設定されていない場合、CPU130は、そのまま本処理終了とする。
【0060】
[CC_oldのNEW処理(ステップS415)]:図8参照
先ず、CPU130は、RAM150に格納されているコントロールチェンジ対応テンプレートデータ200において(上記図3参照)、対象フェーダ111(n)の変更後のアサイン情報(CC_new)に対応するNEW用項目のnew項目の内容を取得し(ステップS431)、この項目内容が、デフォルト値出力(Df)であるか否かを判別する(ステップS432)。
【0061】
ステップS432の判別の結果、デフォルト値出力(Df)に設定されていた場合、CPU130は、コントロールチェンジ対応テンプレートデータ200においてにおいて、当該設定項目に対応する値項目に設定されたデフォルト値を取得し、アサイン情報(CC_new)により示されるエフェクトを当該デフォルト値とするためのコントロール・チェンジを含むMIDIデータを生成する(ステップS433)。
ここで生成されたMIDIデータは、MIDIインターフェース120を介して外部の音源200(x)(又は、音源制御装置100内の音源モジュール180)に供給される。
その後、本処理終了となる。
【0062】
ステップS432の判別の結果、デフォルト値出力(Df)に設定されていない場合、CPU130は、上記のnew項目の内容が、設定値出力(Set)であるか否かを判別する(ステップS434)。
【0063】
ステップS434の判別の結果、設定値出力(Set)に設定されていた場合、CPU130は、コントロールチェンジ対応テンプレートデータ200においてにおいて、当該設定項目に対応する値項目に設定された設定値を取得し、アサイン情報(CC_new)により示されるエフェクトを当該設定値とするためのコントロール・チェンジを含むMIDIデータを生成する(ステップS435)。
ここで生成されたMIDIデータは、MIDIインターフェース120を介して外部の音源200(x)(又は、音源制御装置100内の音源モジュール180)に供給される。
その後、本処理終了となる。
【0064】
一方、ステップS434の判別の結果、設定値出力(Set)に設定されていない場合、CPU130は、そのまま本処理終了とする。
【0065】
[A/D処理(ステップS402)]:図9参照
先ず、CPU130は、必要に応じて該当する処理(他の処理)を実行し(ステップS441)、操作パネル110のフェーダ111(1)〜111(8)のそれぞれについて、次のステップS442からの処理を繰り返し実行する。
【0066】
すなわち、CPU130は、対象フェーダ111(n)が操作されたか否か(変化があったか否か)を判別する(ステップS442)。
【0067】
ステップS442の判別の結果、対象フェーダ111(n)が変化無しの場合、CPU130は、ステップS443及びステップS444の処理は実行せずに、全てのフェーダ111(1)〜111(8)について、ステップS442〜ステップS444の処理を実行し終えたか否かを判別し(ステップS445)、この判別の結果、処理終了の場合のみ、本処理終了とし、そうでない場合には、次のフェーダ111(n+1)の処理を実行するために、再びステップS442へ戻り、以降の処理ステップを繰り返し実行する。
【0068】
ステップS442の判別の結果、対象フェーダ111(n)が変化有りの場合、CPU130は、対象フェーダ111(n)に対する処理(MIDI処理)を実行し(ステップS443)、必要に応じて該当する処理(他の処理)を実行する(ステップS444)。
【0069】
その後、CPU130は、全てのフェーダ111(1)〜111(8)について、ステップS442〜ステップS444の処理を実行し終えたか否かを判別し(ステップS445)、この判別の結果、処理終了の場合のみ、本処理終了とし、そうでない場合には、次のフェーダ111(n+1)の処理を実行するために、再びステップS442へ戻り、以降の処理ステップを繰り返し実行する。
【0070】
[対象フェーダ111(n)に対するMIDI処理(ステップS443)]:図10参照
先ず、CPU130は、対象フェーダ111(n)の操作量をディジタル化して、そのディジタル値を、RAM150のワークエリア(ここでは、“A”とする)へ一旦格納する(ステップS451)。
【0071】
次に、CPU130は、対象フェーダ111(n)が、“0”〜“127”等のボリューム値をとるタイプ(ボリュームタイプ)のものであるか否かを判別する(ステップS452)。
この判別の結果、対象フェーダ111(n)がボリュームタイプである場合、CPU130は、そのまま後述するステップS458からの処理を実行する。
【0072】
ステップS452の判別の結果、対象フェーダ111(n)がボリュームタイプでない場合、CPU130は、 “−50”〜“0”〜“+50”等の相対値をとるタイプ(相対値タイプ)のものであるか否かを判別する(ステップS453)。
【0073】
ステップS452の判別の結果、対象フェーダ111(n)が相対値タイプである場合、CPU130は、ステップS451で一旦保持したエリアA内の値から“64”差し引き、その結果で、エリアA内の値を更新する(ステップS457)。これは、対象フェーダ111(n)が相対値タイプのものである場合、その操作量に対する値(エリアA内の値)の6ビット目が、“+”又は“−”を示すためである。
その後、CPU130は、後述するステップS458からの処理を実行する。
【0074】
ステップS452の判別の結果、対象フェーダ111(n)が相対値タイプでない場合、CPU130は、対象フェーダ111(n)はON/OFF値をとるタイプ(スイッチタイプ)のものであると認識し、対象フェーダ111(n)のON/OFF変化を判別する(ステップS454、ステップS455)。
【0075】
具体的には、対象フェーダ111(n)がスイッチタイプの場合、その操作に対する値(エリアA内の値)の6ビット目が、ON/OFFを示す。このため、以前の対象フェーダ111(n)の状態が格納されているRAM150のワークエリアA_old内の値の6ビット目(A_old.6)と、現在の対象フェーダ111(n)の状態が格納されているエリアA内の値の6ビット目(A.6)との排他的論理和(exclusiv)をとり(ステップS454)、その結果により、対象フェーダ111(n)のON/OFF変化を判別する(ステップS454、ステップS455)。
【0076】
ステップS455の判別の結果、対象フェーダ111(n)のON/OFF変化有りの場合、CPU130は、エリアA_oldに対して、エリアA内の値を格納し(ステップS456)、後述するS458からの処理を実行する。
【0077】
一方、ステップS455の判別の結果、対象フェーダ111(n)のON/OFF変化無しの場合、CPU130は、そのまま本処理終了とする。
【0078】
ステップS458からの処理としては、CPU130は、MIDIインターフェース120の接続先の音源200(x)(又は、音源制御装置100の音源モジュール180)に対して、所定のコマンドを出力し(ステップ458)、対象フェーダ111(n)にアサインされているエフェクトを示す情報(CC#)を出力し(ステップS459)、そして、エリアA内の値(操作量に対応する値)を出力する(ステップS460)。
その後、CPU130は、本処理終了とする。
【0079】
尚、本実施の形態における音源制御装置100において、例えば、操作パネル110に機能選択スイッチを設け、当該機能選択スイッチのユーザから操作に基づいて、上述した本実施の形態によるセットアップ機能を実施するか、或いは従来通りのセットアップ機能を実施するかを、任意に選択可能なように構成してもよい。
【0080】
また、本実施の形態では、音源200(x)との間の演奏情報転送を、MIDIに従ったものとしているが、これに限られることはなく、様々な情報転送の規格を適用可能である。
【0081】
また、本発明の目的は、本実施の形態のホスト及び端末の機能を実現するソフトウェアのプログラムコードを記憶した記憶媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU)が記憶媒体に格納されたプログラムコードを読みだして実行することによっても、達成されることは言うまでもない。
この場合、記憶媒体から読み出されたプログラムコード自体が本実施の形態の機能を実現することとなり、そのプログラムコードを記憶した記憶媒体は本発明を構成することとなる。
プログラムコードを供給するための記憶媒体としては、ROM、フロッピーディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード等を用いることができる。
また、コンピュータが読みだしたプログラムコードを実行することにより、本実施の形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS等が実際の処理の一部又は全部を行い、その処理によって本実施の形態の機能が実現される場合も含まれることは言うまでもない。
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された拡張機能ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部又は全部を行い、その処理によって本実施の形態の機能が実現される場合も含まれることは言うまでもない。
【0082】
【発明の効果】
以上説明したように本発明では、複数のセットアップパターン毎の制御情報(MIDIデータにおけるコントロール・チェンジ等の情報)の中から、ユーザからの指示等に応じた制御情報に基づいて、音源での演奏情報(MIDIデータ等)に基づいた発音制御のための、操作手段への効果のアサイン(任意のフェーダへの音量制御やパンポットの割り当て等)を含むセットアップの変更を行う際、操作手段に割り当て可能な効果のそれぞれについて、予め定義したセットアップ変更時の理想的な効果の状態(例えば、音量コントロールであればセットアップ変更時の適切な音量値)等に関する情報、以前のセットアップ状態での制御情報(第1の制御情報)、及び今回のセットアップ状態での制御情報(第2の制御情報)に基づいて、音源での発音の元となる演奏情報を生成するように構成した。
【0083】
上記の構成により、例えば、現在のセットアップでは、操作手段に対して音量コントロール(第1の効果)がアサインされており、このセットアップ状態において、ユーザから操作手段の操作により音量ゼロに設定され、その後、セットアップの変更が行なわれ、当該変更後には、操作手段に対してパンポット(第2の効果)がアサインされていた場合であっても、セットアップ変更後、以前の状態である音量ゼロの状態ではなく、適切な音量値での演奏を実現できる演奏情報を生成することができる。
【0084】
したがって、本発明によれば、セットアップ変更が行なわれた場合等であっても、常に良好な所望する演奏が行なえるようになる。
【図面の簡単な説明】
【図1】本発明を適用した音源制御装置の構成を示すブロック図である。
【図2】上記音源制御装置の操作パネルの構成を説明するための図である。
【図3】上記音源制御装置のRAMのコントロールチェンジ対応テンプレートデータを説明するための図である。
【図4】上記音源制御装置のRAMのセットアップ対応テンプレートデータを説明するための図である。
【図5】上記音源制御装置のメイン処理を説明するためのフローチャートである。
【図6】上記メイン処理のパネル処理を説明するためのフローチャートである。
【図7】上記パネル処理のCC_oldのEnd処理を説明するためのフローチャートである。
【図8】上記パネル処理のCC_newのNEW処理を説明するためのフローチャートである。
【図9】上記メイン処理のA/D処理を説明するためのフローチャートである。
【図10】上記A/D処理の対象フェーダに対するMIDI処理を説明するためのフローチャートである。
【符号の説明】
100 音源制御装置
110 操作パネル
120 MIDIインターフェース
130 CPU
140 ROM
141 プログラム用ROM
142 パラメータ用ROM
150 RAM
160 バス
200 音源
201 操作パネル
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to, for example, a sound source control device, an electronic musical instrument, a MIDI system, a sound source control method, and a processing step for carrying out the same, which are used for a device (MIDI device) compliant with the MIDI (Musical Instrument Digital Interface) standard. Is stored in a computer-readable manner.
[0002]
[Prior art]
Conventionally, for example, an electronic musical instrument compliant with the MIDI standard, which is a performance information data transfer standard, is not limited to its own, and various types of musical instruments can be used based on externally generated MIDI standard performance information (16-channel MIDI data). Musical sound can be generated.
[0003]
By the way, in MIDI data, note on / off (key press / key release), velocity (strength at the time of key press), gate time (key press time), and timing (key press) are determined by message data called a voice message. Timing) and the like are defined.
[0004]
Specifically, voice messages define note on / off, control changes that define various effects such as modulation wheels and pedals, program changes that are defined for tone switching, and bend information. Includes pitch wheel change and aftertouch.
[0005]
In particular, the control change is used to control the tone of the sound source (sound source possessed by the electronic musical instrument) to which MIDI data is transmitted, and various effects such as volume, cutoff, and sustain, as will be described later. Defined.
[0006]
The control change is formed by a total of 3 byte data of “Bn”, “CC”, and “vv”, each of which is 1 byte data.
In “Bn”, “B” indicates a control change command, and “n” indicates MIDI channel designation (1 channel to 16 channels).
“CC” indicates a control number having a value of “0” to “127”, and “vv” indicates a value (set value).
[0007]
Examples of effects defined by control changes include the following.
-Effects used in real time during performance (effects related to modulation, breath control, channel volume, expression, pedals, etc.).
・ Effects that change timbre changes and how sounds are played (bank select, portamento, panpot, effects, harmonic intensity, release time, attack time, brightness, etc.).
-Effects that change sound source settings (effects related to data entry, pitch bend sensitivity, fine tune, coarse tune, RPN null, NRPN MSB, NRPN LSB, etc.)
-Effects that change the tone (effects related to cutoff frequency, resonance, etc.)
-Effects that change drum part parameters (effects related to drum installations, etc.).
[0008]
Therefore, the electronic musical instrument is set up according to the definition of the effect by the control change as described above, which is included in the MIDI data transmitted from the outside or generated by itself. It is possible to perform in various forms, or timbre changes.
[0009]
[Problems to be solved by the invention]
However, in the conventional electronic musical instrument compliant with the MIDI standard, there is a case in which a setup state due to a previous control change is left unattended when changing a setup due to a control change.
[0010]
Specifically, in an electronic musical instrument, for example, in the current setup by control change, an arbitrary fader (referred to as a first fader) among a plurality of faders for imparting various effects to the tone to be generated. On the other hand, it is assumed that a volume control effect is assigned. In accordance with the performance in such a setup state (hereinafter referred to as the “first setup state”), the user operates the first fader to control the desired volume, and finally sets the volume to zero. Shall be.
[0011]
At this time, in the first setup state, a change in the setup by a new control change is performed by a predetermined operation from the user and the second setup state is entered. In the new control change, It is assumed that an effect of pan pot (command for changing the localization of the MIDI channel) is assigned to the fader.
[0012]
However, in the second setup state, since the first setup state is left as it is, that is, the volume is zero, the panpot is changed by operating the first fader. Is not pronounced at all.
[0013]
Therefore, the present invention was made to eliminate the above-described drawbacks, and even when a setup change is made, a sound source control device, an electronic musical instrument, It is an object of the present invention to provide a MIDI system, a sound source control method, and a storage medium in which processing steps for implementing the MIDI system are stored in a computer-readable manner.
[0014]
[Means for Solving the Problems]
Under such an object, the first invention is a sound source control apparatus capable of communicating with a sound source that generates sound based on performance information compliant with a predetermined data transfer standard, and includes a plurality of patterns of control information for sound source control. At the time of changing the setup of the first storage means to be stored and the sound source control, the effect to be given to the sound generation by the sound source is assigned based on the control information of the corresponding pattern in the first storage means. For each of a plurality of effects assignable to the operation means, a second storage means for storing information on the state of the target effect at the time of the setup change based on the character of the target effect, and the sound source When the control setup is changed, the first control information used in the previous setup in the first storage means and the second control used in the current setup are stored. Information, and based on the stored information in said second storage means, characterized in that it comprises generating means for generating said performance information to be transmitted to the sound source.
[0015]
In a second aspect based on the first aspect, the generation means includes the first effect assigned to the operation means in the previous setup indicated by the first control information, and the second control information. If the second effect assigned to the operation means is different in the current setup shown by the above, the state of the first effect is set to the state indicated by the information in the second storage means, and the second effect The performance information is generated so that the effect state is based on the operation of the operation means.
[0016]
In a third aspect based on the first aspect, the generation means generates the performance information using the first control information and the stored information in the second storage means based on an external instruction. It is characterized by performing.
[0017]
4th invention is an electronic musical instrument provided with the sound source means to sound based on the performance information based on predetermined | prescribed data transmission standard, Comprising: The function of the sound source control apparatus in any one of Claims 1-3 is further provided It is characterized by that.
[0018]
A fifth invention is a MIDI system in which a plurality of devices corresponding to the MIDI standard are connected so as to communicate with each other, and at least one of the plurality of devices is defined in any one of claims 1 to 3. It has the function of the sound source control device as described above, or the function of the electronic musical instrument according to claim 4.
[0019]
A sixth invention is a sound source control method for controlling a sound source that generates sound based on performance information compliant with a predetermined data transfer standard, wherein the control information for the sound source control is used as a setup pattern for the sound source control. A first storage step for storing a plurality of sounds for each sound source and a sound generation by the sound source based on the corresponding control information in the stored information by the first storage step at the time of a sound source control setup change instruction from the user An assigning step for assigning the effect to be given to the operating means, and a target effect at the time of the setup change instruction based on the nature of the target effect for each of a plurality of effects assignable to the operating means by the assigning step A second storage step for storing information relating to the state of the sound source, and the first sound source control at the time of the sound source control setup change instruction The sound source based on the first control information used in the previous setup in the stored information in the storage step, the second control information used in the current setup, and the stored information in the second storage step Generating the performance information to be transmitted to the computer.
[0020]
In a seventh aspect based on the sixth aspect, the generation step includes the first effect assigned to the operation means in the previous setup indicated by the first control information, and the second control information. If the second effect assigned to the operation means is different in the current setup shown by the above, the state of the first effect is set to the state indicated by the information in the second storage means, and the second effect The step of generating the performance information which sets the state of the effect based on the operation of the operation means is included.
[0021]
According to an eighth aspect based on the sixth aspect, the generating step includes generating the performance information using the first control information and the stored information in the second storage means based on an instruction from a user. The method includes a step of executing a generation process.
[0022]
According to a ninth aspect of the invention, there is provided a computer for realizing the function of the sound source control device according to any one of claims 1 to 3, the function of the electronic musical instrument according to claim 4, or the function of the MIDI system according to claim 5. The program is recorded on a computer-readable storage medium.
[0023]
According to a tenth aspect of the invention, a program for causing a computer to execute the processing steps of the sound source control method according to any one of claims 6 to 8 is recorded on a computer-readable storage medium.
[0024]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0025]
The present invention is applied to, for example, a sound source control device 100 as shown in FIG.
In particular, the sound source control device 100 according to the present embodiment has a setup before the change so as not to cause a problem caused by leaving the setup state before the change when the setup for the external sound source 200 (x) is changed. The system is configured to automatically perform the necessary settings based on the contents of.
Hereinafter, the configuration and operation of the sound source control device 100 will be specifically described.
[0026]
<Configuration of Sound Source Control Device 100>
As shown in FIG. 1, the sound source control device 100 is configured such that the operation panel 110, the MIDI interface 120, the CPU 130, the ROM 140, and the RAM 150 are communicably connected to each other via a bus 160.
[0027]
As the sound source control device 100, for example, as shown by the dotted line in FIG. 1, an electronic musical instrument provided with a keyboard 170, a sound source module 180, an amplifier 181, and a speaker 182 can also be applied.
[0028]
The MIDI interface 120 transmits / receives MIDI data to / from the external sound source 200 (x).
[0029]
In FIG. 1, for the sake of simplicity, only one sound source 200 (x) is connected to the sound source control device 100. However, the number of connections is not limited, and various sound sources are used. May be configured to be connected.
[0030]
The operation panel 110 includes an assignable fader unit 111 including a plurality of faders, as shown in FIG. 2, together with an operator for specifying a setup desired by the user and other various operators.
Here, for simplicity of explanation, the assignable fader unit 111 has eight faders 111 (1) to 111 (8), and various effects are assigned to these faders during setup.
[0031]
The ROM 140 includes a ROM 141 for various programs and a ROM 142 for various parameters.
[0032]
The RAM 150 is used as a working memory or the like. In particular, control change correspondence template data 200 as shown in FIG. 3 and setup correspondence data 300 as shown in FIG. 4 are stored.
[0033]
The control change corresponding template data 200 is data in which an appropriate value immediately after the setup change or any desired value is set according to the characteristics of the various effects defined by the control change, as shown in FIG. In addition, for each control change indicated by the control number CC, an item relating to the state before the setup change (hereinafter referred to as “END item”), an item relating to the state after the setup change (hereinafter referred to as “NEW item”). And “type” items are provided.
[0034]
In the END item, assignment information when leaving the current setup state is set.
For example, the END item includes an end item and a value item. In the end item, “default value output (Df)” or “do nothing (Non)” is set. In the value item, when “default value output (Df)” is set in the end item, the default value is set.
[0035]
In the NEW item, assignment information in a new setup state (at the time of assignment) after leaving the current setup state is set.
For example, the NEW item includes an end item and a value item in the same manner as the item before the setup change (for END). In the end item, “default value output (Df)”, “do nothing (Non)”, or “set value output (Set)” is set. In the value item, when “default value output (Df)” or “output setting value (Set)” is set in the end item, the value is set.
[0036]
The type item is a volume type (0 to 127 (Vol) or the like), a relative value (−50 to 0 to +50 (Rel) or the like), or a switch (0, 127 (SW)). Is set.
[0037]
The setting of various information in the control change correspondence template data 200 in FIG. 3 is configured such that the user can arbitrarily set the information by operating various controls on the operation panel 110, for example. May be. Alternatively, it may be set in advance.
[0038]
The setup-corresponding data 300 includes data (hereinafter referred to as “panel editing data 300”) for each setup pattern that can be designated by the user through the operation panel 110, such as contents (control change) assigned to various operators of the operation panel 110. (#X) ").
Here, since the patterns # 1 to #n can be set up, the panel editing data 300 (# 1) to panel editing data 300 (#n) corresponding to the patterns are configured as the setup corresponding data 300. Is done.
[0039]
Therefore, for example, on the basis of a setup change instruction from the operation panel 110 from the user, the corresponding panel edit data 300 (#x) of the setup correspondence data 300 is read, and MIDI data using this as a control change is generated. And output to the sound source 200 (x). In the sound source 200 (x), after the setup based on the panel edit data 300 (#x) of the MIDI data is performed, the performance is started.
[0040]
The CPU 130 controls the overall operation of the sound source control device 100. For example, a processing program according to a predetermined processing sequence stored in advance in the ROM 141 for the program of the ROM 140 is loaded onto the RAM 150 and executed. Thus, an operation (function) that is a feature of the present embodiment as described later is performed.
[0041]
<Operation of Sound Source Control Device 100>
5 to 10 are flowcharts showing the operation of the sound source control device 100. FIG.
For example, the processing ROM 141 according to the flowcharts of FIGS. 5 to 10 is stored in advance in the program ROM 141. The CPU 130 reads the processing program from the program ROM 141 and executes it. Thereby, the sound source control device 100 operates as follows.
[0042]
[Main processing]: See Fig. 5
First, the CPU 130 detects an operation state from the user on the operation panel 110, and executes processing based on the result (step S401).
[0043]
Next, the CPU 130 executes processing (A / D processing) based on the processing result of step S401 (step S402).
[0044]
Then, after executing the corresponding process as necessary (step S403), the CPU 130 returns to step S401 again, and repeatedly executes the subsequent processing steps.
[0045]
[Panel Processing (Step S401)]: See FIG.
First, after executing a corresponding process (other process) as necessary (step S411), the CPU 130 determines whether or not a setup change has been made according to an operation instruction from the user (step S412).
If the result of this determination is that there is no change in the setup, this processing is terminated as it is, and the processing from the next step S413 is executed only when there is a change in the setup.
[0046]
If the result of determination in step S412 is that there is a setup change, the CPU 130 uses the panel editing data 300 (#x) before the setup change and the setup change in the setup correspondence data 300 (see FIG. 4 above) stored in the RAM 150. With reference to the subsequent panel editing data 300 (#y), the processing of the next steps S413 to S415 is repeatedly executed for each of the eight faders 111 (1) to 111 (8) of the operation panel 110.
[0047]
That is, the CPU 130 first assigns the assignment information (CC_new) to the target fader 111 (n) set in the panel edit data 300 (#y) after the setup change (a new setup state designated by the user this time). It is determined whether or not the assignment information (CC_old) to the target fader 111 (n) set in the panel edit data 300 (#x) before the setup change (previous setup state) is the same (step) S413).
The assignment information here indicates a control number (CC #) defined (assigned) by panel editing data (control change) for the target fader 111 (n).
[0048]
Specifically, for example, when the target fader 111 (n) is the fader 111 (1) and the panel edit data 300 (#x) before the setup change is the panel edit data 300 (# 1), As shown in FIG. 4, the assignment information (CC_old) of fader 111 (1) (Fader1) is “cc64”. Therefore, in step S413, this “cc64” and the assignment information (CC_new) to the fader 111 (1) set in the panel edit data 300 (#y) after the setup change obtained in the same manner as this. Are compared.
[0049]
As a result of the determination in step S413, if the assignment information (CC_new) after the change of the target fader 111 (n) and the assignment information (CC_old) before the change of the target fader 111 (n) are the same information, the CPU 130 Without executing the processing of step S414 and step S415, it is determined whether or not the processing of step S413 to step S415 has been completed for each of all the faders 111 (1) to 111 (8) of the operation panel 110. (Step S416) As a result of this determination, the present process ends only when the process ends. Otherwise, the process returns to step S413 again to execute the process of the next fader 111 (n + 1). Repeat the processing steps.
[0050]
On the other hand, as a result of the determination in step S413, if the assignment information (CC_new) after the change of the target fader 111 (n) and the assignment information (CC_old) before the change of the target fader 111 (n) are not the same information, the CPU 130 After executing the process (CC_old) for the assignment information (CC_old) before the change of the target fader 111 (n) (step S414), the process for the assignment information (CC_new) after the change of the target fader 111 (n) (New processing of CC_new) is executed (step S415).
[0051]
Then, CPU 130 determines whether or not the processing of steps S413 to S415 has been completed for each of all faders 111 (1) to 111 (8) of operation panel 110 (step S416). As a result, the present process is terminated only when the process is terminated. Otherwise, the process returns to step S413 to execute the process of the next fader 111 (n + 1), and the subsequent process steps are repeatedly performed.
[0052]
[END process of CC_old (step S414)]: See FIG.
First, in the control change correspondence template data 200 stored in the RAM 150 (see FIG. 3 above), the CPU 130 is the end item of the END item corresponding to the assignment information (CC_old) before the setup change of the target fader 111 (n). Is acquired (step S421).
[0053]
Specifically, for example, when the target fader 111 (n) is the fader 111 (1), the assignment information (CC_old) of the fader 111 (1) is ““ In the case of cc64 ", since the content of the END item of the END item corresponding to this is" Df "in FIG. 3," Df "is acquired in step S421.
[0054]
Then, the CPU 130 determines whether or not the item content acquired in step S421 is a default value output (Df) (step S422).
[0055]
If the default value output (Df) is set as a result of the determination in step S422, the CPU 130 acquires the default value set in the value item corresponding to the setting item in the control change correspondence template data 200, and assigns it. MIDI data including a control change for setting the effect indicated by the information (CC_old) to the default value is generated (step S423).
[0056]
Specifically, for example, when the target fader 111 (n) is the fader 111 (1), the assignment information (CC_old) of the fader 111 (1) is ““ In the case of cc64 ", the content of the END item of the END item corresponding to this is" Df "in FIG. Also, “0” is set in the value item for this. In such a case, in step S423, MIDI data including a control change in which the effect (“hold”) indicated by “cc64” is set to “0” is generated.
[0057]
The MIDI data generated as described above is supplied to the external sound source 200 (x) (or the sound source module 180 in the sound source control device 100) via the MIDI interface 120.
Thereafter, this process ends.
[0058]
Therefore, for example, in the current setup by control change, the volume control effect is assigned to the fader 111 (1), and in this setup state, the volume is set to zero by the user operating the fader 111 (1). After that, a setup change is made by a new control change, and the setup change is made even if a panpot effect is assigned to fader 111 (1) in the new control change. After that, it is possible to output at a desired volume set in the control change corresponding template data 200, instead of the previous volume zero state.
[0059]
On the other hand, as a result of the determination in step S422, if the default value output (Df) is not set, the CPU 130 ends the process as it is.
[0060]
[New processing of CC_old (step S415)]: See FIG.
First, in the control change correspondence template data 200 stored in the RAM 150 (see FIG. 3 above), the CPU 130 sets the new item of the NEW item corresponding to the assignment information (CC_new) after the change of the target fader 111 (n). The content is acquired (step S431), and it is determined whether or not the item content is a default value output (Df) (step S432).
[0061]
If the default value output (Df) is set as a result of the determination in step S432, the CPU 130 acquires the default value set in the value item corresponding to the setting item in the control change correspondence template data 200, MIDI data including a control change for setting the effect indicated by the assignment information (CC_new) to the default value is generated (step S433).
The generated MIDI data is supplied to the external sound source 200 (x) (or the sound source module 180 in the sound source control device 100) via the MIDI interface 120.
Thereafter, this process ends.
[0062]
If the default value output (Df) is not set as a result of the determination in step S432, the CPU 130 determines whether or not the content of the new item is a set value output (Set) (step S434).
[0063]
If the setting value output (Set) is set as a result of the determination in step S434, the CPU 130 acquires the setting value set in the value item corresponding to the setting item in the control change correspondence template data 200, MIDI data including a control change for setting the effect indicated by the assignment information (CC_new) to the set value is generated (step S435).
The generated MIDI data is supplied to the external sound source 200 (x) (or the sound source module 180 in the sound source control device 100) via the MIDI interface 120.
Thereafter, this process ends.
[0064]
On the other hand, if the setting value output (Set) is not set as a result of the determination in step S434, the CPU 130 ends the process as it is.
[0065]
[A / D processing (step S402)]: See FIG.
First, the CPU 130 executes a corresponding process (other processes) as necessary (step S441), and processes from the next step S442 for each of the faders 111 (1) to 111 (8) of the operation panel 110. Repeatedly.
[0066]
That is, CPU 130 determines whether target fader 111 (n) has been operated (whether there has been a change) (step S442).
[0067]
As a result of the determination in step S442, if the target fader 111 (n) has not changed, the CPU 130 does not execute the processes in steps S443 and S444, and performs the steps for all faders 111 (1) to 111 (8). It is determined whether or not the processing of S442 to Step S444 has been completed (Step S445). As a result of this determination, the processing is terminated only when the processing is terminated. Otherwise, the next fader 111 (n + 1) is determined. In order to execute the process, the process returns to step S442 again, and the subsequent process steps are repeatedly executed.
[0068]
As a result of the determination in step S442, if the target fader 111 (n) has changed, the CPU 130 executes a process (MIDI process) for the target fader 111 (n) (step S443), and the corresponding process (step S443). The other process is executed (step S444).
[0069]
Thereafter, the CPU 130 determines whether or not the processing of steps S442 to S444 has been completed for all faders 111 (1) to 111 (8) (step S445). However, in order to execute the process of the next fader 111 (n + 1), the process returns to step S442 again, and the subsequent process steps are repeatedly executed.
[0070]
[MIDI processing for target fader 111 (n) (step S443)]: See FIG.
First, the CPU 130 digitizes the operation amount of the target fader 111 (n), and temporarily stores the digital value in the work area of the RAM 150 (here, “A”) (step S451).
[0071]
Next, the CPU 130 determines whether or not the target fader 111 (n) is of a type (volume type) that takes a volume value such as “0” to “127” (step S452).
As a result of this determination, if the target fader 111 (n) is a volume type, the CPU 130 executes the processing from step S458 described later as it is.
[0072]
If it is determined in step S452 that the target fader 111 (n) is not a volume type, the CPU 130 is of a type that takes a relative value such as “−50” to “0” to “+50” (relative value type). Whether or not (step S453).
[0073]
If it is determined in step S452 that the target fader 111 (n) is a relative value type, the CPU 130 subtracts “64” from the value in the area A temporarily held in step S451, and as a result, the value in the area A is obtained. Is updated (step S457). This is because when the target fader 111 (n) is of the relative value type, the sixth bit of the value (the value in the area A) for the manipulated variable indicates “+” or “−”.
Thereafter, the CPU 130 executes processing from step S458 described later.
[0074]
If it is determined in step S452 that the target fader 111 (n) is not a relative value type, the CPU 130 recognizes that the target fader 111 (n) is of a type that takes an ON / OFF value (switch type), and the target The ON / OFF change of fader 111 (n) is determined (step S454, step S455).
[0075]
Specifically, when the target fader 111 (n) is a switch type, the sixth bit of the value for the operation (the value in the area A) indicates ON / OFF. For this reason, the sixth bit (A_old.6) of the value in the work area A_old of the RAM 150 in which the state of the previous target fader 111 (n) is stored, and the current state of the target fader 111 (n) are stored. The exclusive OR (exclusive) with the 6th bit (A.6) of the value in the area A is taken (step S454), and the ON / OFF change of the target fader 111 (n) is discriminated based on the result. (Step S454, Step S455).
[0076]
As a result of the determination in step S455, when the target fader 111 (n) is ON / OFF changed, the CPU 130 stores the value in the area A for the area A_old (step S456), and processing from S458 described later. Execute.
[0077]
On the other hand, if the result of the determination in step S455 is that there is no ON / OFF change of the target fader 111 (n), the CPU 130 ends this processing as it is.
[0078]
As processing from step S458, the CPU 130 outputs a predetermined command to the tone generator 200 (x) to which the MIDI interface 120 is connected (or the tone generator module 180 of the tone generator control device 100) (step 458). Information (CC #) indicating the effect assigned to the target fader 111 (n) is output (step S459), and a value in area A (a value corresponding to the operation amount) is output (step S460).
Thereafter, the CPU 130 ends the process.
[0079]
In the sound source control device 100 according to the present embodiment, for example, a function selection switch is provided on the operation panel 110, and the above-described setup function according to the present embodiment is performed based on an operation from the user of the function selection switch. Alternatively, it may be configured to arbitrarily select whether the conventional setup function is performed.
[0080]
In the present embodiment, performance information transfer with the sound source 200 (x) is in accordance with MIDI. However, the present invention is not limited to this, and various information transfer standards can be applied. .
[0081]
Also, an object of the present invention is to supply a storage medium storing software program codes for realizing the functions of the host and terminal of the present embodiment to a system or apparatus, and the computer of the system or apparatus (or CPU or MPU). Needless to say, this can also be achieved by reading and executing the program code stored in the storage medium.
In this case, the program code itself read from the storage medium realizes the function of the present embodiment, and the storage medium storing the program code constitutes the present invention.
A ROM, floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, or the like can be used as a storage medium for supplying the program code.
Further, by executing the program code read by the computer, not only the functions of the present embodiment are realized, but also an OS or the like running on the computer based on an instruction of the program code performs actual processing. It goes without saying that a case where the function of this embodiment is realized by performing part or all of the above and the processing thereof is included.
Further, after the program code read from the storage medium is written to the memory provided in the extension function board inserted in the computer or the function extension unit connected to the computer, the function extension is performed based on the instruction of the program code. It goes without saying that the CPU or the like provided in the board or function expansion unit performs part or all of the actual processing, and the functions of the present embodiment are realized by the processing.
[0082]
【The invention's effect】
As described above, according to the present invention, a performance on a sound source is performed based on control information corresponding to an instruction from a user among control information (information such as control changes in MIDI data) for each of a plurality of setup patterns. Assigned to operation means when changing the setup including assigning effects to operation means (volume control to any fader, panpot assignment, etc.) for sound generation control based on information (MIDI data, etc.) For each possible effect, information on the ideal effect state at the time of setup change (for example, an appropriate volume value at the time of setup change if volume control), etc., control information in the previous setup state ( Based on the first control information) and the control information in the current setup state (second control information) And configured to generate the underlying performance data pronunciation.
[0083]
With the above configuration, for example, in the current setup, the volume control (first effect) is assigned to the operation means. In this setup state, the volume is set to zero by the operation of the operation means from the user, and thereafter The setup is changed, and after the change, even if the pan pot (second effect) is assigned to the operation means, the volume is zero after the setup change. Instead, it is possible to generate performance information that can realize performance at an appropriate volume value.
[0084]
Therefore, according to the present invention, it is possible to always perform a good desired performance even when the setup is changed.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a sound source control apparatus to which the present invention is applied.
FIG. 2 is a diagram for explaining a configuration of an operation panel of the sound source control device.
FIG. 3 is a diagram for explaining control change correspondence template data in a RAM of the sound source control device.
FIG. 4 is a diagram for explaining set-up correspondence template data in a RAM of the sound source control device.
FIG. 5 is a flowchart for explaining a main process of the sound source control device.
FIG. 6 is a flowchart for explaining panel processing of the main processing.
FIG. 7 is a flowchart for explaining CC_old End processing of the panel processing;
FIG. 8 is a flowchart for explaining a new process of CC_new in the panel process.
FIG. 9 is a flowchart for explaining an A / D process of the main process.
FIG. 10 is a flowchart for explaining a MIDI process for a target fader of the A / D process.
[Explanation of symbols]
100 Sound source control device
110 Operation panel
120 MIDI interface
130 CPU
140 ROM
141 Program ROM
142 Parameter ROM
150 RAM
160 bus
200 sound sources
201 Operation panel

Claims (10)

所定のデータ転送規格に準拠した演奏情報に基づいて発音する音源と通信可能な音源制御装置であって、
上記音源制御のための制御情報を複数パターン記憶する第1の記憶手段と、
上記音源制御のセットアップ変更時に、上記第1の記憶手段内の該当するパターンの制御情報に基づいて、上記音源での発音に対して付与する効果がアサインされる操作手段と、
上記操作手段に対してアサイン可能な複数の効果のそれぞれについて、対象効果の性格に基づいた上記セットアップ変更時の対象効果の状態に関する情報を記憶する第2の記憶手段と、
上記音源制御のセットアップ変更時に、上記第1の記憶手段内の前回のセットアップで使用された第1の制御情報、今回のセットアップで使用された第2の制御情報、及び上記第2の記憶手段内の記憶情報に基づいて、上記音源へ送信する上記演奏情報を生成する生成手段とを備えることを特徴とする音源制御装置。
A sound source control device capable of communicating with a sound source that generates sound based on performance information compliant with a predetermined data transfer standard,
First storage means for storing a plurality of patterns of control information for sound source control;
An operation unit to which an effect to be given to the sound generation by the sound source is assigned based on the control information of the corresponding pattern in the first storage unit when the sound source control setup is changed;
Second storage means for storing information on the state of the target effect at the time of the setup change based on the character of the target effect for each of a plurality of effects assignable to the operation means;
When changing the setup of the sound source control, the first control information used in the previous setup in the first storage means, the second control information used in the current setup, and the second storage means A sound source control apparatus comprising: generating means for generating the performance information to be transmitted to the sound source based on the stored information.
上記生成手段は、上記第1の制御情報により示される前回のセットアップで上記操作手段にアサインされた第1の効果と、上記第2の制御情報により示される今回のセットアップで上記操作手段にアサインされた第2の効果とが異なる場合、上記第1の効果の状態を上記第2の記憶手段内の情報により示される状態とし、上記第2の効果の状態を上記操作手段の操作に基づいた状態とする上記演奏情報を生成することを特徴とする請求項1記載の音源制御装置。The generating means is assigned to the operating means in the first effect assigned to the operating means in the previous setup indicated by the first control information and in the current setup indicated by the second control information. When the second effect is different, the state of the first effect is set to the state indicated by the information in the second storage means, and the state of the second effect is a state based on the operation of the operating means. The sound source control device according to claim 1, wherein the performance information is generated. 上記生成手段は、外部指示に基づいて、上記第1の制御情報及び上記第2の記憶手段内の記憶情報を用いた上記演奏情報の生成処理を実行することを特徴とする請求項1記載の音源制御装置。2. The performance information generation process according to claim 1, wherein the generation means executes the performance information generation process using the first control information and the stored information in the second storage means based on an external instruction. Sound source control device. 所定のデータ転送規格に準拠した演奏情報に基づいて発音する音源手段を備える電子楽器であって、
請求項1〜3の何れかに記載の音源制御装置の機能を更に備えることを特徴とする電子楽器。
An electronic musical instrument provided with sound source means for generating sound based on performance information compliant with a predetermined data transfer standard,
An electronic musical instrument further comprising the function of the sound source control device according to claim 1.
MIDI規格に対応した複数の機器が互いに通信可能に接続されてなるMIDIシステムであって、
上記複数の機器のうち少なくとも1つの機器は、請求項1〜3の何れかに記載の音源制御装置の機能、又は請求項4記載の電子楽器の機能を有することを特徴とするMIDIシステム。
A MIDI system in which a plurality of devices conforming to the MIDI standard are connected so as to communicate with each other,
A MIDI system, wherein at least one of the plurality of devices has the function of the sound source control device according to any one of claims 1 to 3 or the function of an electronic musical instrument according to claim 4.
所定のデータ転送規格に準拠した演奏情報に基づいて発音する音源を制御するための音源制御方法であって、
上記音源制御のための制御情報を、上記音源制御のセットアップパターン毎に複数記憶する第1の記憶ステップと、
ユーザからの上記音源制御のセットアップ変更指示時に、上記第1の記憶ステップによる記憶情報の中の該当する制御情報に基づいて、上記音源での発音に対して付与する効果を操作手段へアサインするアサインステップと、
上記アサインステップにより上記操作手段に対してアサイン可能な複数の効果のそれぞれについて、対象効果の性格に基づいた上記セットアップ変更指示時の対象効果の状態に関する情報を記憶する第2の記憶ステップと、
上記音源制御のセットアップ変更指示時に、上記第1の記憶ステップによる記憶情報の中の前回のセットアップで使用された第1の制御情報、今回のセットアップで使用された第2の制御情報、及び上記第2の記憶ステップによる記憶情報に基づいて、上記音源へ送信する上記演奏情報を生成する生成ステップとを含むことを特徴とする音源制御方法。
A sound source control method for controlling a sound source that generates sound based on performance information compliant with a predetermined data transfer standard,
A first storage step of storing a plurality of control information for the sound source control for each set-up pattern of the sound source control;
Assigning to the operation means an effect to be given to the sound generation by the sound source based on the corresponding control information in the stored information by the first storage step when the user instructs to change the sound source control setup Steps,
A second storage step for storing information on the state of the target effect at the time of the setup change instruction based on the character of the target effect for each of a plurality of effects that can be assigned to the operation means by the assigning step;
At the time of the sound source control setup change instruction, the first control information used in the previous setup in the stored information in the first storage step, the second control information used in the current setup, and the first A sound source control method comprising: a generation step of generating the performance information to be transmitted to the sound source based on the stored information in the second storage step.
上記生成ステップは、上記第1の制御情報により示される前回のセットアップで上記操作手段にアサインされた第1の効果と、上記第2の制御情報により示される今回のセットアップで上記操作手段にアサインされた第2の効果とが異なる場合、上記第1の効果の状態を上記第2の記憶手段内の情報により示される状態とし、上記第2の効果の状態を上記操作手段の操作に基づいた状態とする上記演奏情報を生成するステップを含むことを特徴とする請求項6記載の音源制御方法。The generation step is assigned to the operation means in the first effect assigned to the operation means in the previous setup indicated by the first control information and in the current setup indicated by the second control information. When the second effect is different, the state of the first effect is set to the state indicated by the information in the second storage means, and the state of the second effect is a state based on the operation of the operating means. The sound source control method according to claim 6, further comprising: generating the performance information. 上記生成ステップは、ユーザからの指示に基づいて、上記第1の制御情報及び上記第2の記憶手段内の記憶情報を用いた上記演奏情報の生成処理を実行するステップを含むことを特徴とする請求項6記載の音源制御方法。The generation step includes a step of executing the performance information generation process using the first control information and the stored information in the second storage means based on an instruction from a user. The sound source control method according to claim 6. 請求項1〜3の何れかに記載の音源制御装置の機能、又は請求項4記載の電子楽器の機能、又は請求項5記載のMIDIシステムの機能をコンピュータに実現させるためのプログラムを記録したコンピュータ読出可能な記憶媒体。A computer recording a program for causing a computer to realize the function of the sound source control device according to any one of claims 1 to 3, the function of the electronic musical instrument according to claim 4, or the function of the MIDI system according to claim 5. A readable storage medium. 請求項6〜8の何れかに記載の音源制御方法の処理ステップをコンピュータに実行させるためのプログラムを記録したコンピュータ読取可能な記憶媒体。A computer-readable storage medium storing a program for causing a computer to execute the processing steps of the sound source control method according to claim 6.
JP2001098036A 2001-03-30 2001-03-30 Sound source control apparatus, electronic musical instrument, MIDI system, sound source control method, storage medium Expired - Fee Related JP4279997B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001098036A JP4279997B2 (en) 2001-03-30 2001-03-30 Sound source control apparatus, electronic musical instrument, MIDI system, sound source control method, storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001098036A JP4279997B2 (en) 2001-03-30 2001-03-30 Sound source control apparatus, electronic musical instrument, MIDI system, sound source control method, storage medium

Publications (2)

Publication Number Publication Date
JP2002297133A JP2002297133A (en) 2002-10-11
JP4279997B2 true JP4279997B2 (en) 2009-06-17

Family

ID=18951734

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001098036A Expired - Fee Related JP4279997B2 (en) 2001-03-30 2001-03-30 Sound source control apparatus, electronic musical instrument, MIDI system, sound source control method, storage medium

Country Status (1)

Country Link
JP (1) JP4279997B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015076625A (en) * 2013-10-04 2015-04-20 パイオニア株式会社 Control apparatus, control method, and program

Also Published As

Publication number Publication date
JP2002297133A (en) 2002-10-11

Similar Documents

Publication Publication Date Title
US6281421B1 (en) Remix apparatus and method for generating new musical tone pattern data by combining a plurality of divided musical tone piece data, and storage medium storing a program for implementing the method
JP4279997B2 (en) Sound source control apparatus, electronic musical instrument, MIDI system, sound source control method, storage medium
JP4548292B2 (en) Sound source setting device and sound source setting program
US7465865B2 (en) Sound generation assignment device, music sound generator and sound generation assignment process program
JP3615143B2 (en) Pronunciation control device for game machines
JP4443658B2 (en) Musical sound generator, electronic musical instrument, and recording medium
JP5397637B2 (en) Karaoke equipment
JP3003659B2 (en) Tone generator, style switching control method for tone generator, and recording medium storing style switching control program for tone generator
JP2000089774A (en) Karaoke device
JP6686756B2 (en) Electronic musical instrument
JP4037551B2 (en) Musical sound generator, electronic musical instrument, and storage medium
JP3650526B2 (en) Automatic performance device and storage medium
KR101786461B1 (en) MIDI Tone Generator Module based in multiple sound bank using single syntheizer and karaoke device using it
JP4835434B2 (en) Performance pattern playback device and computer program therefor
JP3680732B2 (en) Performance device and storage medium
JP2002132257A (en) Method of reproducing midi musical piece data
JP3278857B2 (en) Musical tone generator
JP3399333B2 (en) Music control device
JP3982532B2 (en) Musical sound reproducing device and portable terminal device
JP3241832B2 (en) Music generator
JP3034398B2 (en) Electronic musical instrument controller
JPH10312189A (en) Musical sound generation method
JP3931460B2 (en) Sound generator
JP3561983B2 (en) Electronic musical instrument
JP2012042842A (en) Electronic musical sound generator

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080121

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090216

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090313

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

Free format text: PAYMENT UNTIL: 20120319

Year of fee payment: 3

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees