JP4078769B2 - Musical sound control apparatus and recording medium recording musical sound control processing program - Google Patents
Musical sound control apparatus and recording medium recording musical sound control processing program Download PDFInfo
- Publication number
- JP4078769B2 JP4078769B2 JP27916599A JP27916599A JP4078769B2 JP 4078769 B2 JP4078769 B2 JP 4078769B2 JP 27916599 A JP27916599 A JP 27916599A JP 27916599 A JP27916599 A JP 27916599A JP 4078769 B2 JP4078769 B2 JP 4078769B2
- Authority
- JP
- Japan
- Prior art keywords
- value
- parameter
- pedal
- musical sound
- switch
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、楽音制御装置及び楽音制御処理のプログラムを記録した記録媒体に関する。
【0002】
【従来の技術】
電子楽器やエフェクタその他の楽音制御装置においては、フットコントローラであるペダル、ベンダーレバー、ホイール等のように、操作に応じて連続的に変位する操作子が設けられている。このような操作子は、操作がされない状態ではばね等の弾性部材によって所定位置(ホーム位置)で静止している。ユーザは、ばね等に抗してこの操作子を所定方向又は逆方向に操作し、その変位位置に応じてあらかじめ設定されている楽音のパラメータを制御することができる。例えば、鍵盤楽器において、ペダルに対して楽音データのピッチ(音高)を制御するパラメータが設定されている場合には、鍵盤を演奏しながらペダルを踏み込むことによって、押鍵によって入力された楽音データのピッチを微妙に変化させて、表現豊かな楽音を発生することができる。
【0003】
【発明が解決しようとする課題】
しかしながら従来の楽音制御装置においては、任意の楽音について操作子を所定方向又は逆方向に操作してパラメータを制御した後に、ノイズが発生するという問題があった。例えば、ペダルを踏み込んでその変位位置に応じて楽音のピッチを制御した場合において、まだその楽音のリリース等の残響がある間に、ペダルのばねに押されて足の位置が戻ったり、次の楽音のためにペダルから足を離したりすると、発音中の楽音のピッチが急激に変化して、ノイズが発生していた。本発明の課題は、連続的に変位する操作子によって楽音のパラメータを制御する際にノイズが発生するのを防止することである。
【0004】
【課題を解決するための手段】
請求項1に記載の楽音制御装置は、所定方向又はその逆方向の操作に応じて連続的に変位する操作手段と、この操作手段の変位位置を検出する位置検出手段と、この位置検出手段が検出した変位位置によって前記操作手段の操作方向を判別する操作判別手段と、この操作判別手段によって前記操作方向が前記所定方向と判別されたときは前記位置検出手段によって検出された変位位置に応じて、発音する楽音のパラメータ値を変更するパラメータ制御手段と、前記操作判別手段によって前記操作方向が前記所定方向から前記逆方向に変化したと判別されたときから前記操作手段が所定位置に至るまで前記楽音の発音の音量を抑制する音量制御手段と、を備えた構成になっている。
請求項3に記載の記録媒体は、所定方向又はその逆方向の操作に応じて連続的に変位する操作手段の変位位置を検出する位置検出手順と、この位置検出手順により検出された変位位置によって前記操作手段の操作方向を判別する操作判別手順と、この操作判別手順によって前記操作方向が前記所定方向と判別されたときは前記位置検出手順によって検出された変位位置に応じて、発音する楽音のパラメータ値を変更するパラメータ制御手順と、前記操作判別手順によって前記操作方向が前記所定方向から前記逆方向に変化したと判別されたときから前記操作手段が所定位置に至るまで前記楽音の発音の音量を抑制する音量制御手順と、をコンピュータに実行させるコンピュータ読み取り可能な楽音制御処理のプログラムを記録している。
請求項1又は請求項3に記載の発明によれば、所定方向又はその逆方向の操作に応じて連続的に変位する操作手段の操作方向が所定方向である場合には、その変位位置に応じて発音する楽音のパラメータ値を変更し、操作方向が所定方向から逆方向に変化した場合には、楽音の発音の音量を抑制する。
【0005】
【発明の実施の形態】
以下、本発明による楽音制御装置の実施形態について、エフェクタを例に採って図を参照しながら詳細に説明する。
図1は、実施形態におけるエフェクタのシステム構成を示す図である。CPU1は、そのシステムバスに接続されたROM2、RAM3、スイッチ部4、表示部5との間で、コマンド及びデータを授受するとともに、入力ポートに接続されたA/Dコンバータ6を介して接続端子7に接続されたペダル(フットコントローラ)8から位置データを入力する。
ROM2は、CPU1によって実行される楽音制御処理のプログラム及び楽音の複数種類のパラメータを格納している。RAM3は、スイッチ部4及びペダル8から入力されたデータ、CPU1によって処理されたデータ、表示部5に与えるデータを一時的に記憶する。
【0006】
CPU1は、DSP(Digital Signal Processor)9に接続され、各種のパラメータをDSP9に送出する。DSP9は、この各種パラメータによって楽音データを制御する。すなわち、入力端子10に電子楽器(図示せず)から入力される楽音のアナログ信号がローパスフィルタLPF11で高周波成分が除去され、A/Dコンバータ12によってデジタル信号の楽音データに変換されてDSP9に入力されると、DSP9はCPU1から与えられたパラメータによって楽音データを制御し、出力回路13に送出して出力端子14からサウンドシステム(図示せず)に出力する。
【0007】
図2は、ペダル8の構造を示している。可動部8a及び固定部8bは、軸部8cを介して回動可能に結合されている。また、図には示さないが、可動部8aと固定部8bとの間にはばね部材が設けられており、可動部8aを固定部8bと反対側すなわち図の上側に押し上げている。したがって、ユーザはこのばね部材の弾性力に抗してペダル8の可動部8aを足で踏み込んで下側に変位させる操作を行う。可動部8aから足を離した場合には、可動部8aはばね部材によって元の位置に戻る。したがって、ユーザは踏み込んだ足を緩めることにより、ばね部材の弾性力を利用して可動部8aを上側に変位させる操作を行う。すなわち、ペダル8は、所定方向(下側)又はその逆方向(上側)の操作に応じて連続的に変位する操作手段を構成する。可動部8aの駆動範囲において、その変位位置は、位置データとしてA/Dコンバータ6によってデジタル信号に変換されてCPU1に入力される。したがって、CPU1は、ペダル8の変位位置を検出する位置検出手段を構成する。
【0008】
図3は、このエフェクタの外観であり、スイッチ部の構成を示す図である。PARA「+」スイッチ41a及びPARA「−」スイッチ41bは、図4に示すパラメータのID(00〜21)を指定するスイッチであり、この2つのスイッチの操作によって指定するパラメータの種類を選択する。選択されたパラメータ名は表示部5に表示する。VALUE「+」スイッチ42a及びVALUE「−」スイッチ42bは、設定するパラメータ値を増減するスイッチである。Minスイッチ43及びMaxスイッチ44は、ペダル8の駆動範囲に対応するパラメータ値の範囲の下限及び上限を設定するスイッチである。
【0009】
スイッチ部には、これらの各スイッチの他に、Downスイッチ45、Upスイッチ46、MODEスイッチ47、WRITEスイッチ48、及びEDITスイッチ49が設けられている。これらの各スイッチの機能については、後述する。
【0010】
図4は、この実施形態のエフェクタによって制御されるパラメータの内容を示した図である。各パラメータは、Wah(ワウ)、Compressor(圧縮)、Distortion(歪)……Output(出力)に分類されているが、さらに細かく分類したパラメータ識別番号であるIDによって指定される。この図の例では、00〜21のIDによって識別される22種類のパラメータを設定することができる。その制御内容をペダル制御(PedalControl)に示す。
【0011】
例えば、MainControlParamに示すように、ペダル8によって00〜21の22種類のパラメータの制御が可能である。また、制御する際のモードには、MainControlModeに示すように、Normal(ノーマル)、Mute(ミュート)、及びHold(ホールド)の3つのモードがある。各モードについては後述する。図3のMODEスイッチ47によってモードの切り替えがなされる。MainControlMaxは、ペダル8の踏み込みが最大のときのパラメータの設定値を示し、MainControlMinは、ペダル8を踏まないホーム位置のときのパラメータの設定値を示している。図5は、ペダルの踏み込み量に対するパラメータ値の関係の一例を示す。
【0012】
次に、この実施形態のエフェクタの動作について、図6〜図12を参照して説明する。図6は、RAM3に設けられた各種のレジスタ、フラグの名称及び内容を示している。図7〜図11は、CPU1の楽音制御処理のプログラムのフローチャートである。
図7はメインフローであり、所定のイニシャライズ処理(ステップA1)の後、以下のループ処理を実行する。すなわち、エディットスイッチがオンされたか否かを判別し(ステップA2)、このスイッチがオンされたときはフラグEFを反転する(ステップA3)。EFを反転した後、又はステップA2においてエディットスイッチがオンされない場合には、EFが1であるか否かを判別する(ステップA4)。EFが1である場合にはエディット処理を実行し(ステップA5)、EFが0である場合には演奏処理を実行する(ステップA6)。エディット処理又は演奏処理の後は、ステップA2に移行してエディットスイッチのオン・オフを判別する。
【0013】
図8及び図9は、エディット処理のフローである。図8において、PARA「+」スイッチがオンされたか否かを判別し(ステップB1)、このスイッチがオンされたときはパラメータ識別番号であるIDの値をインクリメントする(ステップB2)。PARA「−」がオンされたか否かを判別し(ステップB3)、このスイッチがオンされたときはIDの値をデクリメントする(ステップB4)。すなわち、PARA「+」スイッチ又はPARA「+」スイッチの操作によって、ペダルで制御するパラメータを選択する。
【0014】
次に、VALUE「+」スイッチがオンされたか否かを判別し(ステップB5)、このスイッチがオンされたときはIDに対応するパラメータ値のレジスタX(ID)をインクリメントする(ステップB6)。VALUE「−」スイッチがオンされたか否かを判別し(ステップB7)、このスイッチがオンされたときはX(ID)をデクリメントする(ステップB8)。ペダル操作がなされたか否かを判別し(ステップB9)、ペダルが操作されたときはペダルの変位位置に対応するパラメータ値をX(ID)にセットする(ステップB10)。すなわち、VALUE「+」スイッチ若しくはVALUE「−」スイッチの操作、又はペダルの操作によってパラメータ値をセットする。
【0015】
図9において、Maxスイッチがオンされたか否かを判別し(ステップB11)、このスイッチがオンされたときはX(ID)の値をレジスタPMAXにセットする(ステップB12)。Minスイッチがオンされたか否かを判別し(ステップB13)、このスイッチがオンされたときはX(ID)の値をレジスタPMINにセットする(ステップB14)。すなわち、Maxスイッチのオンによって、そのときX(ID)にセットされているパラメータ値を、制御するパラメータの上限値として設定する。また、Minスイッチのオンによって、そのときX(ID)にセットされているパラメータ値を、制御するパラメータの下限値として設定する。
【0016】
次に、Downスイッチがオンされたか否かを判別し(ステップB15)、このスイッチがオンされたときはペダルの踏み込み時のパラメータ設定のレジスタDCにIDの値をセットし、踏み込み感度のレジスタDSにそのIDに対応するパラメータの感度データSENS(ID)の値をセットする(ステップB16)。Upスイッチがオンされたか否かを判別し(ステップB17)、このスイッチがオンされたときはペダルの踏み戻し時のパラメータ設定のレジスタUCにIDの値をセットし、踏み戻し感度のレジスタUSにそのIDに対応するパラメータの感度データSENS(ID)の値をセットする(ステップB18)。
【0017】
この設定は、図8のステップB1〜ステップB4において、PARA「+」及びPARA「−」の操作によってペダルの制御対象として設定されたパラメータとは別に、ペダルの操作速度及び操作方向によって他の2つのパラメータを制御対象とする設定である。すなわち、ペダル操作によって3種類の異なるパラメータを制御する。
【0018】
図9のステップB19において、WRITEスイッチがオンされたか否かを判別し、このスイッチがオンされたときは図8のステップB1〜図9のステップB18の各処理によって設定されたデータを図6に示したRAMの対応するエリアにストアする(ステップB20)。次に、ステップB21において、MODEスイッチがオンされたか否かを判別し、このスイッチがオンされたときはモードレジスタMDの値をインクリメントする(ステップB22)。このとき、MDの値が3(最大値)を超えたか否かを判別し(ステップB23)、MDの値が3を超えたときはMDの値を1にセットする(ステップB24)。上記各スイッチの操作に対応する処理を実行した後は、図7のメインフローに戻る。
【0019】
図10及び図11は、メインフローにおける演奏処理のフローである。図10において、ペダルの操作があるか否かを判別し(ステップC1)、ペダルの操作がない場合にはメインフローに戻る。ペダルの操作があったときは、ペダルの現在値すなわちペダルの現在の変位位置を示す位置データをレジスタC1にセットする(ステップC2)。次に、前回のペダル操作による位置データをセットしたレジスタC0の値をC1の値から減算し、その減算結果を差分位置レジスタDにセットする(ステップC3)。そして、C1の値をC0にセットして次のペダル操作に備える(ステップC4)。
【0020】
次に、C1の値が0であるか否かを判別する(ステップC5)。すなわち、今回のペダル操作の結果、その変位位置がペダルのホーム位置に戻ったか否かを判別する。C1の値が0である場合には、ミュートフラグMFに0(ミュートオフ)をセットし(ステップC6)、ピーク値のレジスタPに0をセットする(ステップC7)。MF及びPのセットの後、又はC1の値が0でない場合には、MDの値を判別する(ステップC8)。
【0021】
MDの値が1(ノーマルモード)である場合には、C1の値を演算係数のレジスタVにセットし(ステップC9)、Vの値に基づいた演算式PARA[V]で求めた値をパラメータ設定値のレジスタPARAにセットする(ステップC10)。PARA[V]の演算式は、IDで指定したパラメータの範囲の最大値をMAXRNGとすると、
MAXRNG×{PMIN+(PMAX−PMIN)×V}
で表される。したがって、ペダルによって制御されるパラメータの値は演算係数Vの関数となる。そして、PARA[V]の値にに応じて発音する楽音のパラメータ値を変更する。PARAにセットされたパラメータ値はDSPに送出されて、そのパラメータ値に応じて電子楽器から入力された楽音データが制御される。
【0022】
ステップC8において、MDの値が2(ミュートモード)である場合には、Dの値が負であるか否かを判別する(ステップC11)。Dの値が負である場合、すなわち、ペダルの位置データが前回よりも小さくなり、ペダルの踏み戻しがあったときは、MFに1(ミュートオン)をセットする(ステップC12)。Dが負でない場合には、MFの値が1であるか否かを判別する(ステップC13)。ステップC12においてMFに1をセットした後、又はステップC13においてMFの値が1である場合には、ボリューム値のレジスタVOLに0(消音)をセットする(ステップC14)。ステップC13において、MFが0(ミュートオフ)である場合には、C1の値を演算係数のレジスタVにセットし(ステップC9)、Vの値に基づいた演算式PARA[V]で求めた値をパラメータ設定値のレジスタPARAにセットする(ステップC10)。
【0023】
MDの値が1すなわちミュートモードの場合には、図12(1)の実線に示すように、ペダルの踏み込み位置(ペダル位置)が時間とともに増加する過程では、Dの値は常に正であるので、ステップC11、ステップC13、ステップC9と移行する。したがって、演算係数はC1の値すなわちペダル位置に応じて変化する。この場合には、操作手段であるペダルの操作方向が所定方向すなわち踏み込み方向である場合には、その変位位置に応じて発音する楽音のパラメータ値を変更する。
【0024】
一方、図12(1)の点線に示すように、ペダル操作が踏み込み方向から逆方向すなわち踏み戻し方向に変化したときは、Dの値が負になるので、ステップC11、ステップC12と移行し、MFの値が1(ミュートオン)になってステップC14においてDSPに対して消音指示(音量の抑制)がなされる。このときパラメータ値は変化せず、踏み込み方向における最終的な変位位置に応じたパラメータ値を保持する。この後、再びペダル操作が踏み込み方向に変化してDの値が負から正に変化した場合でも、ステップC11、ステップC13、ステップC14と移行するので、DSPに対して消音指示がなされる。ところが、ペダルの踏み戻し操作によってペダル位置がホーム位置に戻った場合には、C1の値が0となり、ステップC6においてMFに0(ミュートオフ)がセットされるので、消音指示は解除される。
【0025】
ステップC8において、MDの値が3(ホールドモード)である場合には、C1の値がPの値より大きいか否かを判別する(ステップC15)。最初はPの値はステップC7において0にセットされているので、ペダルが僅かでも踏み込まれてC1の値が0でない場合には、C1の値がPの値より大きい。この場合には、PにC1の値をセットして(ステップC16)、VにPの値すなわちC1の値をセットする(ステップC17)。そして、Vの値に基づいた演算式PARA[V]で求めた値をパラメータ設定値のレジスタPARAにセットする(ステップC10)。
【0026】
ステップC15において、C1の値がPの値より小さい場合は、ペダルの変位位置が小さくなった場合、すなわちペダル操作が踏み込み方向から逆方向すなわち踏み戻し方向に変化した場合である。この場合には、ステップC15、ステップC17と移行し、VにPの値をセットする(ステップC17)。そして、Vの値に基づいた演算式PARA[V]で求めた値をパラメータ設定値のレジスタPARAにセットする(ステップC10)。
【0027】
すなわち、図12(2)の実線に示すように、ペダルの操作方向が踏み込み方向で変位位置が増加する過程においては、その変位位置に応じて指定したパラメータ値が変化する。ところが、図の点線に示すように、ペダルの操作方向が踏み込み方向から逆方向に変化して変位位置が減少したときは、踏み込み方向での最終的な変位位置をピーク値としてPに保持する。したがって、そのピーク値に応じたパラメータ値を保持する。そして、ペダルの操作方向が再び踏み込み方向に変化した場合には、保持しているパラメータ値に対応する変位位置を超えたときに、パラメータ値の保持を解除して、新たな変位位置に応じたパラメータ値に更新する。
【0028】
ステップC10において、Vの値に基づいた演算式PARA[V]で求めた値をパラメータ設定値のレジスタPARAにセットしてDSPに送出た後、又は、ステップC14においてVOLに0をセットしてDSPに消音を指示した後は、図11に移行して、ペダルの操作速度及び操作方向に応じて別のパラメータを制御する。すなわち、Dの値が負であるか正であるかを判別して(ステップC18)、ペダルの操作速度及び操作方向を判別する。
なお、Dの値そのものは前回と今回の変位位置の差すなわち差分位置であるが、図10のステップC3におけるDの算出処理の時間間隔は、ほぼ一定時間でループするメインフローの1サイクル時間であるので、実質的にはDの値は単位時間に対する変位量であり操作速度を表している。
【0029】
Dの値が負でペダル操作方向が踏み戻し方向である場合には、Dの値にUSの値すなわちアップパラメータ感度を乗算し、その乗算結果をPARAのパラメータ値から減算した値を新たなパラメータ値として更新する(ステップC19)。一方、Dの値が正でペダル操作方向が踏み込み方向である場合には、Dの値にDSの値すなわちダウンパラメータ感度を乗算し、その乗算結果をPARAのパラメータ値から減算した値を新たなパラメータ値として更新する(ステップC20)。ステップC19又はC20においてパラメータ値を更新した後は、メインフローに戻る。
【0030】
このように、上記実施形態においては、CPU1は、操作手段であるペダルの変位位置を検出する位置検出手段、検出した変位位置によってペダルの操作方向を判別する操作判別手段、及び、ペダルの操作方向に応じてパラメータ値を制御するパラメータ制御手段を構成する。そして、踏み込み方向(所定方向)又はその逆方向の操作に応じて連続的に変位するペダルの操作方向が、踏み込み方向である場合には、その変位位置に応じて発音する楽音のパラメータ値を変更し、操作方向が踏み込み方向から逆方向に変化した場合には、その変位位置にかかわらず発音する楽音のパラメータ値は変更しない。
したがって、連続的に変位する操作子によって楽音のパラメータを制御する際にノイズが発生するのを防止することができる。
【0031】
この場合において、CPU1は、操作方向が踏み込み方向から逆方向に変化したときは、踏み込み方向における最終的な変位位置に応じたパラメータ値を保持する。したがって、不用意なペダル操作によって変位位置が乱れた場合でも、その直前の意図的に設定したパラメータ値が失われることがない。
【0032】
さらにこの場合において、図12(1)に示すミュートモードの場合のように、最終的な変位位置に応じたパラメータ値を保持した後は、ペダルがホーム位置になるまで楽音の発音の音量を抑制する。したがって、次の発音のための踏み戻し操作の際に、変位位置の急激な変化によって発生するノイズを消音することができる。
【0033】
あるいは、図12(2)に示すホールドモードの場合のように、最終的な変位位置に応じたパラメータ値を保持した後は、ペダルが踏みこみ方向に操作されて、その最終的な変位位置を超えたときにパラメータ値の保持を解除して、新たな変位位置に応じたパラメータ値に更新する。したがって、常に踏みこみ方向に変位したときの変位位置に応じたパラメータ値を設定することにより、あたかも踏み戻し操作がなかったかのように、パラメータ値を制御することができる。
【0034】
なお、上記実施形態においては、エフェクタのROM2に格納した楽音制御処理のプログラムをCPU1が読出して実行する構成にしたが、フロッピーディスク等の記録媒体に楽音制御処理のプログラムを記録して、パソコン等の汎用の情報処理装置に実行させる構成にしてもよい。この場合には、記録媒体の発明を構成する。あるいは、通信回線を介して楽音制御プログラムをダウンロードしてパソコン等に実行させる構成にしてもよい。
【0035】
【発明の効果】
本発明によれば、所定方向又はその逆方向の操作に応じて連続的に変位する操作手段の操作方向が所定方向である場合には、その変位位置に応じて発音する楽音のパラメータ値を変更し、操作方向が所定方向から逆方向に変化した場合には、楽音の発音の音量を抑制する。したがって、連続的に変位する操作子によって楽音のパラメータを制御する際にノイズが発生するのを防止することができる。
【図面の簡単な説明】
【図1】実施形態におけるエフェクタのシステム構成を示すブロック図。
【図2】図1におけるペダルの構造を示す立体図。
【図3】図1のエフェクタの外観を示す平面図。
【図4】図1のエフェクタにおける楽音制御のパラメータの内容を示す図。
【図5】ペダルの踏み込み量に対するパラメータ値の関係を示す図。
【図6】図1のRAMに設けられたレジスタ及びフラグの内容を示す図。
【図7】図1のCPUによって実行されるメインフローチャート。
【図8】図7におけるエディット処理のフローチャート。
【図9】図9に続くエディット処理のフローチャート。
【図10】図7における演奏処理のフローチャート。
【図11】図10に続く演奏処理のフローチャート。
【図12】ペダルの操作に応じた変位位置の時間的推移を示す図。
【符号の説明】
1 CPU
2 ROM
3 RAM
4 スイッチ部
5 表示部
6 A/Dコンバータ
8 ペダル
9 DSP[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a musical tone control device and a recording medium on which a program for musical tone control processing is recorded.
[0002]
[Prior art]
Electronic musical instruments, effectors, and other musical tone control devices are provided with an operator that continuously displaces in response to an operation, such as a pedal, a bender lever, or a wheel that is a foot controller. Such an operation element is stationary at a predetermined position (home position) by an elastic member such as a spring when the operation is not performed. The user can operate the operation element in a predetermined direction or in the opposite direction against a spring or the like, and control a musical sound parameter set in advance according to the displacement position. For example, in a keyboard instrument, when a parameter for controlling the pitch (pitch) of the musical sound data is set for the pedal, the musical sound data input by pressing the key by depressing the pedal while playing the keyboard. It is possible to generate expressive musical sounds by slightly changing the pitch of.
[0003]
[Problems to be solved by the invention]
However, the conventional musical tone control apparatus has a problem that noise occurs after an operator is operated in a predetermined direction or a reverse direction for any musical tone to control parameters. For example, if you depress the pedal and control the pitch of the musical tone according to its displacement position, while the reverberation of the musical tone is still occurring, the pedal position is restored by the spring of the pedal. When you take your foot off the pedal for a musical tone, the pitch of the musical tone that is being sounded changes abruptly, generating noise. An object of the present invention is to prevent noise from being generated when a musical tone parameter is controlled by an operator that is continuously displaced.
[0004]
[Means for Solving the Problems]
The musical tone control apparatus according to
Recording medium according to
According to the first or third aspect of the invention, when the operation direction of the operating means that continuously displaces in response to an operation in a predetermined direction or in the opposite direction is a predetermined direction, the operation means depends on the displacement position. When the parameter value of the musical sound to be generated is changed and the operation direction is changed from the predetermined direction to the reverse direction, the volume of the musical sound is suppressed .
[0005]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of a musical sound control apparatus according to the present invention will be described in detail with reference to the drawings, taking an effector as an example.
FIG. 1 is a diagram illustrating a system configuration of an effector in the embodiment. The
The
[0006]
The
[0007]
FIG. 2 shows the structure of the
[0008]
FIG. 3 is an external view of this effector and is a diagram showing the configuration of the switch unit. The PARA “+” switch 41a and the PARA “−” switch 41b are switches for specifying the parameter IDs (00 to 21) shown in FIG. 4, and select the type of parameter to be specified by operating these two switches. The selected parameter name is displayed on the
[0009]
In addition to these switches, the switch unit includes a Down switch 45, an Up switch 46, a
[0010]
FIG. 4 is a diagram showing the contents of parameters controlled by the effector of this embodiment. Each parameter is classified into Wah, Compressor, Distortion, and Output (output), but is specified by an ID that is a parameter identification number that is further classified. In the example of this figure, 22 types of parameters identified by
[0011]
For example, as shown in MainControlParam, 22 types of parameters from 00 to 21 can be controlled by the
[0012]
Next, the operation of the effector of this embodiment will be described with reference to FIGS. FIG. 6 shows names and contents of various registers and flags provided in the
FIG. 7 is a main flow, and after the predetermined initialization process (step A1), the following loop process is executed. That is, it is determined whether or not the edit switch is turned on (step A2). When this switch is turned on, the flag EF is inverted (step A3). After EF is inverted or when the edit switch is not turned on in step A2, it is determined whether or not EF is 1 (step A4). When EF is 1, an edit process is executed (step A5), and when EF is 0, a performance process is executed (step A6). After the edit process or the performance process, the process proceeds to step A2 to determine whether the edit switch is on or off.
[0013]
8 and 9 are flowcharts of the edit process. In FIG. 8, it is determined whether or not the PARA “+” switch has been turned on (step B1). When this switch is turned on, the value of the ID that is the parameter identification number is incremented (step B2). It is determined whether or not PARA “−” is turned on (step B3). When this switch is turned on, the value of ID is decremented (step B4). That is, the parameter controlled by the pedal is selected by operating the PARA “+” switch or the PARA “+” switch.
[0014]
Next, it is determined whether or not the VALUE “+” switch is turned on (step B5). When this switch is turned on, the parameter value register X (ID) corresponding to the ID is incremented (step B6). It is determined whether or not the VALUE “−” switch is turned on (step B7). When this switch is turned on, X (ID) is decremented (step B8). It is determined whether or not the pedal is operated (step B9). When the pedal is operated, the parameter value corresponding to the displacement position of the pedal is set to X (ID) (step B10). That is, the parameter value is set by operating the VALUE “+” switch, the VALUE “−” switch, or the pedal.
[0015]
In FIG. 9, it is determined whether or not the Max switch is turned on (step B11). When this switch is turned on, the value of X (ID) is set in the register PMAX (step B12). It is determined whether or not the Min switch is turned on (step B13). When this switch is turned on, the value of X (ID) is set in the register PMIN (step B14). That is, when the Max switch is turned on, the parameter value set to X (ID) at that time is set as the upper limit value of the parameter to be controlled. Further, when the Min switch is turned on, the parameter value set to X (ID) at that time is set as the lower limit value of the parameter to be controlled.
[0016]
Next, it is determined whether or not the Down switch is turned on (step B15). When this switch is turned on, the ID value is set in the parameter setting register DC when the pedal is depressed, and the depression sensitivity register DS is set. The value of sensitivity data SENS (ID) of the parameter corresponding to the ID is set (step B16). It is determined whether or not the Up switch is turned on (step B17). When this switch is turned on, the ID value is set in the parameter setting register UC when the pedal is stepped back, and the step back sensitivity register US is set. The value of sensitivity data SENS (ID) of the parameter corresponding to the ID is set (step B18).
[0017]
In step B1 to step B4 in FIG. 8, this setting is different from the parameter set as the pedal control target by the operation of PARA “+” and PARA “−”, depending on the operation speed and operation direction of the pedal. This is a setting for controlling one parameter. That is, three different parameters are controlled by pedal operation.
[0018]
In step B19 of FIG. 9, it is determined whether or not the WRITE switch is turned on. When this switch is turned on, the data set by the processing of step B1 of FIG. 8 to step B18 of FIG. 9 is shown in FIG. Store in the corresponding area of the indicated RAM (step B20). Next, in step B21, it is determined whether or not the MODE switch is turned on. When this switch is turned on, the value of the mode register MD is incremented (step B22). At this time, it is determined whether or not the MD value exceeds 3 (maximum value) (step B23), and when the MD value exceeds 3, the MD value is set to 1 (step B24). After executing the processing corresponding to the operation of each switch, the process returns to the main flow of FIG.
[0019]
10 and 11 are flowcharts of performance processing in the main flow. In FIG. 10, it is determined whether or not the pedal is operated (step C1), and when there is no pedal operation, the process returns to the main flow. When the pedal is operated, the current value of the pedal, that is, position data indicating the current displacement position of the pedal is set in the register C1 (step C2). Next, the value of the register C0 in which the position data by the previous pedal operation is set is subtracted from the value of C1, and the subtraction result is set in the difference position register D (step C3). Then, the value of C1 is set to C0 to prepare for the next pedal operation (step C4).
[0020]
Next, it is determined whether or not the value of C1 is 0 (step C5). That is, it is determined whether or not the displacement position has returned to the home position of the pedal as a result of the current pedal operation. If the value of C1 is 0, the mute flag MF is set to 0 (mute off) (step C6), and the peak value register P is set to 0 (step C7). After the setting of MF and P, or when the value of C1 is not 0, the value of MD is determined (step C8).
[0021]
When the MD value is 1 (normal mode), the value of C1 is set in the calculation coefficient register V (step C9), and the value obtained by the arithmetic expression PARA [V] based on the value of V is set as the parameter. A set value register PARA is set (step C10). PARA [V] is calculated by assuming that the maximum value of the parameter range specified by ID is MAXRNG.
MAXRNG × {PMIN + (PMAX−PMIN) × V}
It is represented by Accordingly, the value of the parameter controlled by the pedal is a function of the calculation coefficient V. Then, the parameter value of the tone to be generated is changed according to the value of PARA [V]. The parameter value set in PARA is sent to the DSP, and the musical sound data input from the electronic musical instrument is controlled according to the parameter value.
[0022]
In step C8, if the MD value is 2 (mute mode), it is determined whether or not the D value is negative (step C11). If the value of D is negative, that is, if the pedal position data is smaller than the previous value and the pedal is stepped back, 1 (mute on) is set in MF (step C12). If D is not negative, it is determined whether or not the value of MF is 1 (step C13). After setting MF to 1 in step C12 or when the value of MF is 1 in step C13, 0 (silence) is set to the volume value register VOL (step C14). In step C13, when MF is 0 (mute off), the value of C1 is set in the calculation coefficient register V (step C9), and the value obtained by the arithmetic expression PARA [V] based on the value of V Is set in the parameter setting value register PARA (step C10).
[0023]
When the MD value is 1, that is, in the mute mode, as indicated by the solid line in FIG. 12 (1), the value of D is always positive in the process in which the pedal depression position (pedal position) increases with time. , Step C11, Step C13, Step C9. Therefore, the calculation coefficient changes according to the value of C1, that is, the pedal position. In this case, when the operation direction of the pedal as the operation means is a predetermined direction, that is, the depression direction, the parameter value of the musical sound to be generated is changed according to the displacement position.
[0024]
On the other hand, as shown by the dotted line in FIG. 12 (1), when the pedal operation changes from the stepping direction to the reverse direction, that is, the stepping back direction, the value of D becomes negative, so the process proceeds to Step C11 and Step C12. The value of MF becomes 1 (mute on), and in step C14, the DSP is instructed to mute (suppress volume). At this time, the parameter value does not change, and the parameter value corresponding to the final displacement position in the depression direction is held. After this, even if the pedal operation is changed again in the depression direction and the value of D changes from negative to positive, the process proceeds to step C11, step C13, and step C14, so that the DSP is instructed to mute. However, when the pedal position is returned to the home position by the pedal return operation, the value of C1 becomes 0, and 0 (mute off) is set to MF in step C6, so the mute instruction is canceled.
[0025]
In step C8, if the MD value is 3 (hold mode), it is determined whether or not the value of C1 is larger than the value of P (step C15). Initially, the value of P is set to 0 in step C7. Therefore, if the pedal is depressed slightly and the value of C1 is not 0, the value of C1 is larger than the value of P. In this case, the value of C1 is set to P (step C16), and the value of P, that is, the value of C1 is set to V (step C17). Then, the value obtained by the arithmetic expression PARA [V] based on the value of V is set in the parameter setting value register PARA (step C10).
[0026]
In step C15, when the value of C1 is smaller than the value of P, the displacement position of the pedal becomes small, that is, the pedal operation changes from the stepping direction to the reverse direction, that is, the stepping back direction. In this case, the process proceeds to step C15 and step C17, and the value of P is set to V (step C17). Then, the value obtained by the arithmetic expression PARA [V] based on the value of V is set in the parameter setting value register PARA (step C10).
[0027]
That is, as indicated by the solid line in FIG. 12 (2), in the process of increasing the displacement position while the pedal operation direction is the depressing direction, the specified parameter value changes according to the displacement position. However, as shown by the dotted line in the figure, when the operation position of the pedal changes from the depression direction to the reverse direction and the displacement position decreases, the final displacement position in the depression direction is held at P as a peak value. Therefore, the parameter value corresponding to the peak value is held. When the pedal operation direction changes to the depressing direction again, when the displacement position corresponding to the retained parameter value is exceeded, the retention of the parameter value is released and the new displacement position is changed. Update to parameter value.
[0028]
In step C10, the value obtained by the arithmetic expression PARA [V] based on the value of V is set in the parameter setting value register PARA and sent to the DSP, or in step C14, VOL is set to 0 and the DSP is set. After instructing to mute, the process proceeds to FIG. 11 to control another parameter according to the operation speed and operation direction of the pedal. That is, it is determined whether the value of D is negative or positive (step C18), and the operation speed and operation direction of the pedal are determined.
Although the value of D itself is the difference between the previous and current displacement positions, that is, the difference position, the time interval of the calculation process of D in step C3 in FIG. 10 is one cycle time of the main flow that loops at a substantially constant time. Therefore, the value of D is substantially a displacement amount per unit time and represents an operation speed.
[0029]
When the value of D is negative and the pedal operation direction is the retraction direction, the value of D is multiplied by the US value, that is, the up parameter sensitivity, and the value obtained by subtracting the multiplication result from the parameter value of PARA is the new parameter. It is updated as a value (step C19). On the other hand, when the D value is positive and the pedal operation direction is the depression direction, the value obtained by multiplying the D value by the DS value, that is, the down parameter sensitivity, and subtracting the multiplication result from the PARA parameter value is newly set. It is updated as a parameter value (step C20). After updating the parameter value in step C19 or C20, the process returns to the main flow.
[0030]
Thus, in the above-described embodiment, the
Therefore, it is possible to prevent noise from being generated when the musical tone parameters are controlled by the operation element that is continuously displaced.
[0031]
In this case, when the operation direction changes from the stepping direction to the reverse direction, the
[0032]
Furthermore, in this case, as in the mute mode shown in FIG. 12 (1), after the parameter value corresponding to the final displacement position is held, the sound volume of the musical tone is suppressed until the pedal reaches the home position. To do. Therefore, it is possible to mute noise generated by a sudden change in the displacement position during the step-back operation for the next sound generation.
[0033]
Alternatively, as in the hold mode shown in FIG. 12 (2), after holding the parameter value corresponding to the final displacement position, the pedal is operated in the stepping direction, and the final displacement position is set. When it exceeds, the holding of the parameter value is released, and the parameter value is updated to the new displacement position. Therefore, the parameter value can be controlled as if the stepping-back operation was not performed by setting the parameter value according to the displacement position when it is always displaced in the stepping direction.
[0034]
In the above embodiment, the
[0035]
【The invention's effect】
According to the present invention, when the operating direction of the operating means that continuously displaces in response to an operation in a predetermined direction or in the opposite direction is a predetermined direction, the parameter value of the musical sound to be generated is changed in accordance with the displacement position. When the operation direction changes from the predetermined direction to the reverse direction, the tone volume of the musical tone is suppressed . Therefore, it is possible to prevent noise from being generated when the musical tone parameters are controlled by the operation element that is continuously displaced.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a system configuration of an effector in an embodiment.
FIG. 2 is a three-dimensional view showing the structure of the pedal in FIG. 1;
FIG. 3 is a plan view showing the external appearance of the effector of FIG.
FIG. 4 is a view showing the contents of musical sound control parameters in the effector of FIG. 1;
FIG. 5 is a diagram showing a relationship of a parameter value to a pedal depression amount.
6 is a view showing the contents of registers and flags provided in the RAM of FIG. 1;
FIG. 7 is a main flowchart executed by the CPU of FIG. 1;
8 is a flowchart of edit processing in FIG. 7;
FIG. 9 is a flowchart of edit processing following FIG. 9;
FIG. 10 is a flowchart of the performance process in FIG.
FIG. 11 is a flowchart of performance processing following FIG.
FIG. 12 is a diagram showing a temporal transition of a displacement position according to pedal operation.
[Explanation of symbols]
1 CPU
2 ROM
3 RAM
4
Claims (3)
この操作手段の変位位置を検出する位置検出手段と、
この位置検出手段が検出した変位位置によって前記操作手段の操作方向を判別する操作判別手段と、
この操作判別手段によって前記操作方向が前記所定方向と判別されたときは前記位置検出手段によって検出された変位位置に応じて、発音する楽音のパラメータ値を変更するパラメータ制御手段と、
前記操作判別手段によって前記操作方向が前記所定方向から前記逆方向に変化したと判別されたときから前記操作手段が所定位置に至るまで前記楽音の発音の音量を抑制する音量制御手段と、
を備えたことを特徴とする楽音制御装置。Operation means that continuously displaces in response to an operation in a predetermined direction or in the opposite direction;
Position detecting means for detecting the displacement position of the operating means;
An operation discriminating means for discriminating the operating direction of the operating means from the displacement position detected by the position detecting means;
This when the operation direction by the operation determination means has been determined that the predetermined direction in response to the detected displaced position by the position detecting means, a parameter control means for changing the parameter values of the tone to be generated,
Volume control means for suppressing the tone volume of the musical sound until the operation means reaches a predetermined position after the operation determination means determines that the operation direction has changed from the predetermined direction to the reverse direction;
A musical sound control apparatus comprising:
この位置検出手順により検出された変位位置によって前記操作手段の操作方向を判別する操作判別手順と、
この操作判別手順によって前記操作方向が前記所定方向と判別されたときは前記位置検出手順によって検出された変位位置に応じて、発音する楽音のパラメータ値を変更するパラメータ制御手順と、
前記操作判別手順によって前記操作方向が前記所定方向から前記逆方向に変化したと判別されたときから前記操作手段が所定位置に至るまで前記楽音の発音の音量を抑制する音量制御手順と、
をコンピュータに実行させるコンピュータ読み取り可能な楽音制御処理のプログラムを記録した記録媒体。A position detection procedure for detecting a displacement position of the operating means that continuously displaces according to an operation in a predetermined direction or in the opposite direction;
An operation determination procedure to determine the operation direction of the operation means by the detected displacement position by the position detection procedure,
The operation determination when the procedure the operation direction by is determined that the predetermined direction in response to the detected displaced position by the position detection procedure, and the parameter control procedure for changing the parameter values of the tone to be generated,
A volume control procedure for suppressing the tone volume of the musical sound from when it is determined by the operation determination procedure that the operation direction has changed from the predetermined direction to the reverse direction until the operation means reaches a predetermined position ;
Recording medium for recording a program of computer readable tone control process for executing a computer.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP27916599A JP4078769B2 (en) | 1999-09-30 | 1999-09-30 | Musical sound control apparatus and recording medium recording musical sound control processing program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP27916599A JP4078769B2 (en) | 1999-09-30 | 1999-09-30 | Musical sound control apparatus and recording medium recording musical sound control processing program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2001100749A JP2001100749A (en) | 2001-04-13 |
| JP4078769B2 true JP4078769B2 (en) | 2008-04-23 |
Family
ID=17607368
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP27916599A Expired - Fee Related JP4078769B2 (en) | 1999-09-30 | 1999-09-30 | Musical sound control apparatus and recording medium recording musical sound control processing program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4078769B2 (en) |
-
1999
- 1999-09-30 JP JP27916599A patent/JP4078769B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2001100749A (en) | 2001-04-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8735710B2 (en) | Electronic stringed instrument having effect device | |
| JP4539590B2 (en) | Keyboard instrument | |
| US11749239B2 (en) | Electronic wind instrument, electronic wind instrument controlling method and storage medium which stores program therein | |
| JP4078769B2 (en) | Musical sound control apparatus and recording medium recording musical sound control processing program | |
| JP2022001950A (en) | Parameter controller, electronic music instrument, parameter control method and control program | |
| JPH1097244A (en) | Musical tone controller | |
| JP3933583B2 (en) | Electronic musical instruments | |
| JP3624605B2 (en) | Music generator | |
| JP7647728B2 (en) | Musical tone control device and music tone control program | |
| JPH0219469B2 (en) | ||
| JP4229355B2 (en) | Electronic musical instrument parameter setting device | |
| JP4191348B2 (en) | Audio waveform playback device | |
| JP2858314B2 (en) | Tone characteristic control device | |
| JP3899762B2 (en) | Music generating device and storage medium storing program for generating musical tone | |
| JP4290064B2 (en) | Electronic musical instrument control device | |
| JPH05173551A (en) | Automatic piano playing device | |
| JPH0564893U (en) | Pedal tone control device | |
| JP3581763B2 (en) | Electronic musical instrument | |
| JP4048913B2 (en) | Envelope editing device and envelope editing program | |
| JP4040193B2 (en) | Electronic musical instruments | |
| JP2003050577A (en) | Performance operation display device and program | |
| JPH11259075A (en) | Tone generator | |
| JP2025023157A (en) | Musical tone control system | |
| JP2000315083A (en) | Electronic keyboard instrument | |
| JPH05134665A (en) | Electronic wind instrument |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20051028 |
|
| RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20060203 |
|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20060414 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070627 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070710 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070827 |
|
| 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: 20080115 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080128 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110215 Year of fee payment: 3 |
|
| R150 | Certificate of patent (=grant) or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110215 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120215 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120215 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130215 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130215 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140215 Year of fee payment: 6 |
|
| LAPS | Cancellation because of no payment of annual fees |