JP3656781B2 - Effect control device - Google Patents

Effect control device Download PDF

Info

Publication number
JP3656781B2
JP3656781B2 JP29345296A JP29345296A JP3656781B2 JP 3656781 B2 JP3656781 B2 JP 3656781B2 JP 29345296 A JP29345296 A JP 29345296A JP 29345296 A JP29345296 A JP 29345296A JP 3656781 B2 JP3656781 B2 JP 3656781B2
Authority
JP
Japan
Prior art keywords
effect
pedal
operator
pedal operator
timbre
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
JP29345296A
Other languages
Japanese (ja)
Other versions
JPH10124055A (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 JP29345296A priority Critical patent/JP3656781B2/en
Publication of JPH10124055A publication Critical patent/JPH10124055A/en
Application granted granted Critical
Publication of JP3656781B2 publication Critical patent/JP3656781B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【0001】
【発明の属する技術分野】
本発明はエフェクト制御装置に関し、特にペダル操作子を用いて種々のエフェクトを制御する技術に関する。
【0002】
【従来の技術】
従来、電子キーボードやシンセサイザ等といった鍵盤型電子楽器の殆どは、エフェクトを制御するためのホイール型操作子を鍵盤の左側に備えている。このホイール型操作子は、例えばピッチベンドやモジュレーション等といった連続的に変化するエフェクトを制御するために使用される。
【0003】
しかしながら、鍵盤型電子楽器の中でも特に電子ピアノは、ホイール型操作子を備えていないものが多い。この理由は主に、デザイン上の制約、或いは楽器の大きさの制約等に起因する。また、従来の電子ピアノは、ピアノやチェンバロ等といったピアノ系統の音色のみを発生するように構成されていたので、例えばピッチベンドやモジュレーション等といったエフェクトをかける必要がなかったということも、その理由の1つである。
【0004】
ところで、近年の電子楽器は、多数の音色を発生する機能を備える傾向にある。これは電子ピアノでも例外でなく、近年は、ピアノ系統の音色に限らず、ギターやバイオリンといった弦楽器、トランペットやトロンボーンといった管楽器、その他多数の音色を発生できる電子ピアノが出現している。これは電子ピアノも電子楽器の一種であることから、当然の傾向と言える。
【0005】
しかしながら、電子ピアノはホイール型操作子を備えていないので、ホイール型操作子を用いて制御するエフェクトを取り扱うことができない。ところが、音色によっては、例えばピッチベンドやモジュレーション等といったエフェクトをかけたほうが表現力豊かな演奏を行うことができる場合がある。そこで、電子ピアノでもホイール型操作子で制御するようなエフェクトを取り扱えるようにして欲しいという要望がある。
【0006】
ところで、電子ピアノには、一般に、ダンパペダルやソフトペダル等といったペダル操作子が備えられている。そこで、このペダル操作子をホイール型操作子の代わりに用いることが考えられる。しかし、このペダル操作子は、踏み込むことによりオンになり、離反することによりオフになる、所謂オン/オフスイッチとして機能するだけであるので、ホイール型操作子のように連続的に変化するデータを発生することはできない。
【0007】
【発明が解決しようとする課題】
本発明は、上述した要望に応えるためになされたものであり、その目的は、ホイール型操作子を有していなくても、ホイール型操作子で制御されるような連続的に変化するエフェクトを制御することができるエフェクト制御装置を提供することにある。
【0008】
【課題を解決するための手段】
上記目的を達成するために、本発明の第1の態様に係るエフェクト制御装置は、
楽音に付与されるエフェクトを制御するエフェクト制御装置であって、
ペダル操作子と、
該ペダル操作子の踏み込み量を検出する検出手段と、
該検出手段で検出された踏み込み量に応じて該エフェクトの大きさを制御する制御手段、とを備えて構成されている。
【0009】
本エフェクト制御装置では、上記ペダル操作子は、単なるオン/オフを示す信号ではなく、踏み込み量に応じた信号を出力する。従って、例えばピッチベンドやモジュレーション等といった従来の電子楽器に備えられているホイール型操作子で制御されるようなエフェクトを取り扱うことができる。即ち、ペダル操作子からの信号は、検出手段において踏み込み量を示すデータとして検出され、制御手段に送られる。制御手段では、この検出手段からのデータに基づいてエフェクトの大きさ、例えばピッチベンド時のピッチ変動幅、或いはモジュレーションをかける時のフィルタのカットオフ周波数等を変更する。これにより所期の楽音効果が発揮される。
【0010】
また、上記エフェクト制御装置は、上記ペダル操作子に複数のエフェクトの中から特定のエフェクトを対応付ける対応付け手段を更に備え、上記制御手段は、検出手段で検出された踏み込み量に応じて該対応付け手段で該ペダル操作子に対応付けられた特定のエフェクトの大きさを制御するように構成できる。この対応付け手段は、例えば操作パネルで構成することができる。この場合、ペダル操作子とエフェクトとの対応付けは、操作者が操作パネルを用いて行うことになる。この構成によれば、操作者は、ペダル操作子に任意の種類のエフェクトを割り当てることができるので、使い勝手がよくなる。
【0011】
また、上記対応付け手段を備えたエフェクト制御装置は、音色を選択する音色選択手段を更に備え、該対応付け手段は、該音色選択手段で選択された音色に基づいて、上記ペダル操作子と上記特定のエフェクトとを対応付けるように構成できる。この構成によれば、所定の音色を選択するだけで、その音色に好適なエフェクトを自動的にペダル操作子に割り当てることができるので、操作者がペダル操作子とエフェクトの種類を対応付けるための操作が不要となり、更に使い勝手がよくなる。
【0012】
また、本発明の第2の態様に係るエフェクト制御装置は、
楽音に付与される複数のエフェクトを制御するエフェクト制御装置であって、
ペダル操作子と、
該ペダル操作子の踏み込み量を検出する検出手段と、
該検出手段で検出された踏み込み量が所定範囲内であれば、該所定範囲内における踏み込み量に応じて第1のエフェクトの大きさを制御し、該検出手段で検出された踏み込み量が該所定範囲外であれば該所定範囲外における踏み込み量に応じて第2のエフェクトの大きさを制御する制御手段、とを備えて構成されている。
【0013】
本エフェクト制御装置は、鍵盤装置における所謂アフタータッチ機能に類似する機能をペダル操作子で実現するものである。即ち、ペダル操作子の踏み込み量が所定範囲内、例えばペダル操作子の初期状態からその可動範囲の半分程度までの範囲内であれば、第1のエフェクトの大きさをその踏み込み量に応じて制御する。一方、ペダル操作子の踏み込み量が所定範囲以外、例えばペダル操作子の可動範囲の半分程度から最大踏み込み状態の範囲内であれば、第2のエフェクトの大きさをその踏み込み量に応じて制御する。
【0014】
かかる構成により、1つのペダル操作子で2種類のエフェクトの大きさを制御することができるので、エフェクトを制御するための操作子を少なくできる。また、ペダル操作子の踏み込み量を変化させるだけでエフェクトの種類及び大きさを変更することができるので、エフェクトを簡単且つ迅速に切り替えることができる。
【0015】
なお、上記ペダル操作子の可動範囲の中間程度の位置に、クリック感を発生させるような機構を設けることができる。この構成によれば、操作者は、ペダル操作子の踏み込み位置が所定範囲内であるか所定範囲外であるかを容易に認識することができるので、操作性が向上する。
【0016】
また、上記エフェクト制御装置は、上記ペダル操作子に、複数のエフェクトの中から第1のエフェクト及び第2のエフェクトを対応付ける対応付け手段を更に備え、上記制御手段は、上記検出手段で検出された踏み込み量が所定範囲内であれば、該所定範囲内における踏み込み量に応じて該対応付け手段で該ペダル操作子に対応付けられた第1のエフェクトの大きさを制御し、該検出手段で検出された踏み込み量が該所定範囲外であれば該所定範囲外における踏み込み量に応じて該対応付け手段で該ペダル操作子に対応付けられた第2のエフェクトの大きさを制御するように構成できる。
【0017】
また、上記対応付け手段を備えたエフェクト制御装置は、音色を選択する音色選択手段を更に備え、上記対応付け手段は、該音色選択手段で選択された音色に基づいて、上記ペダル操作子に上記第1のエフェクト及び第2のエフェクトを対応付けるように構成できる。
【0018】
また、本発明の第3の態様に係るエフェクト制御装置は、
楽音に付与されるエフェクトの大きさを、基準値以上の第1の範囲と基準値より小さい第2の範囲で制御するエフェクト制御装置であって、
少なくとも第1のペダル操作子及び第2のペダル操作子と、
該第1のペダル操作子の踏み込み量を検出する第1の検出手段と、
該第2のペダル操作子の踏み込み量を検出する第2の検出手段と、
該第1の検出手段で検出された踏み込み量に応じて該エフェクトの大きさを該第1の範囲で制御し、該第2の検出手段で検出された踏み込み量に応じて該エフェクトの大きさを該第2の範囲で制御する制御手段、とを備えて構成されている。
【0019】
本エフェクト制御装置は、中点復帰型のホイール型操作子の機能に類似する機能を2つのペダル操作子で実現するものである。即ち、ホイール型操作子が中点に安定している状態は第1のペダル操作子及び第2のペダル操作子が何れも操作されていない状態に対応する。また、第1のペダル操作子を踏み込んだ状態はホイール型操作子を一方向に回転させた状態に対応し、第2のペダル操作子を踏み込んだ状態は他方向に回転させた状態に対応する。
【0020】
第1及び第2のペダル操作子が何れも操作されていない状態におけるエフェクトの大きさを基準値とし、第1のペダル操作子の踏み込み量が検出されると、該踏み込み量に応じた値を基準値に加算した結果を新たなエフェクトの大きさとする。一方、第2のペダル操作子の踏み込み量が検出されると、該踏み込み量に応じた値を基準値から減算した結果を新たなエフェクトの大きさとする。
【0021】
今、例えば、本エフェクト制御装置でピッチベンドを制御するものとする。第1及び第2のペダル操作子が何れも操作されていない状態では、通常の(ピッチが変更されていない)音程の音が発生される。この状態で第1のペダル操作子が踏み込まれると、その踏み込み量に応じてピッチが上がる。一方、第2のペダル操作子が踏み込まれると、その踏み込み量に応じてピッチが下がる。従って、例えば、第1のペダル操作子と第2のペダル操作子を交互に踏み込むことにより、ピッチホイールを前後に操作してピッチを揺らす機能と同様の機能を実現できる。
【0022】
また、上記エフェクト制御装置は、上記第1及び第2のペダル操作子に複数のエフェクトの中から特定のエフェクトを対応付ける対応付け手段を更に備え、上記制御手段は、上記第1の検出手段で検出された踏み込み量に応じて該対応付け手段で対応付けられた特定のエフェクトの大きさを該第1の範囲で制御し、該第2の検出手段で検出された踏み込み量に応じて該対応付け手段で対応付けられた特定のエフェクトの大きさを該第2の範囲で制御するように構成できる。
【0023】
更に、上記対応付け手段を備えたエフェクト制御装置は、音色を選択する音色選択手段を更に備え、上記対応付け手段は、該音色選択手段で選択された音色に基づいて、上記第1及び第2のペダル操作子と上記特定のエフェクトとを対応付けるように構成できる。
【0024】
本エフェクト制御装置を電子ピアノに適用すれば、電子ピアノにおいてピアノ系統の音色以外の音色についても、各音色に適合するエフェクトをかけてその大きさをペダル操作子で制御することができるので、より表現力豊かな演奏を行うことができる。
【0025】
【発明の実施の形態】
以下、本発明のエフェクト制御装置の実施の形態につき図面を参照しながら詳細に説明する。なお、以下においては、本発明に係るエフェクト制御装置が電子楽器に適用された場合について説明する。
【0026】
(実施の形態1)
図1は、本発明のエフェクト制御装置が適用された電子楽器の構成を示すブロック図である。この電子楽器においては、中央処理装置(以下、「CPU」という)10、プログラムメモリ11、ワークメモリ12、パネルインタフェース回路13、鍵盤インタフェース回路17、音源回路19及びMIDIインタフェース回路20がバス30によって相互に接続されている。バス30は、例えばアドレス信号、データ信号、制御信号等を伝送する信号線で構成されており、上記各要素間でデータを送受するために使用される。
【0027】
CPU10は、プログラムメモリ11に記憶されている制御プログラムに従って、電子楽器が備えるべき各種機能を実現するための処理を行う。例えば、CPU10は、鍵盤操作に応じた鍵盤処理、パネル操作に応じたパネル処理、ペダル操作に応じたエフェクト制御処理、その他の処理を行う。
【0028】
プログラムメモリ11は、例えばリードオンリメモリ(以下、「ROM」という)で構成することができる。このプログラムメモリ11には、上述した制御プログラムの他に、CPU10が使用する種々の固定データ、音色を指定するための音色パラメータ等が記憶されている。音色パラメータは、例えば複数の楽器音のそれぞれについて複数の音域毎に設けられている。各音色パラメータは、例えば波形アドレス、周波数データ、エンベロープデータ、フィルタ係数等で構成されている。
【0029】
ワークメモリ12は、例えばランダムアクセスメモリ(以下、「RAM」という)で構成することができる。このワークメモリ12は、CPU10が処理する種々のデータを一時的に記憶する。このワークメモリ12には、例えば各種テーブル、バッファ、レジスタ、カウンタ、フラグ等が設けられている。
【0030】
パネルインタフェース回路13には操作パネル14及びA/D変換器15が接続されている。A/D変換器15には、更にペダル操作子16が接続されている。
【0031】
操作パネル14には、例えば図2に示すように、ファンクションキーF1〜F5、ジョグダイヤル140及びディスプレイ装置141が設けられている。なお、図2には本発明の説明に必要な要素しか示されていないが、実際の電子楽器の操作パネル14には、上記以外に各種スイッチ、インジケータ等が設けられている。
【0032】
ファンクションキーF1〜F5は、電子楽器の動作モードを設定するために使用される。本実施の形態1では、ファンクションキーF1は、電子楽器の動作モードをプレイモード(通常の演奏モード)に移行させるために使用される。ファンクションキーF2は、電子楽器の動作モードを音色選択モードに移行するために使用される。ファンクションキーF3は、電子楽器の動作モードをペダル操作子割当モードに移行するために使用される。その他のファンクションキーは本実施の形態1では未定義である。
【0033】
ジョグダイヤル140は、数値を入力するために使用される。例えば、音色選択モードでは、音色の種類を表す音色番号を入力するために使用される。ペダル操作子割当モードでは、エフェクトの種類を表すエフェクト番号を入力するために使用される。
【0034】
ディスプレイ装置141は、各種メッセージを表示するために使用される。このディスプレイ装置141としては、例えばLCDディスプレイ装置、CRTディスプレイ装置、その他のキャラクタが表示可能な各種ディスプレイ装置を用いることができる。
【0035】
ペダル操作子16は例えば図3に示すように構成されている。即ち、ペダルレバー160は、支点P1を中心に図中下方向へ回動するように構成されており、常態では、バネ161によって水平に支持されている。この状態では、側板162に支持された回転軸163に固着された伝達レバー164の左端部P2がペダルレバー160の一部に当接し、伝達レバー164の右側部は復帰バネ165により図中下方へ押し下げられている。一方、側板162に取り付けられた回転式のボリューム166の回転軸167にはレバー168が固着されており、このレバー168の先端部が伝達レバー164の右端部に連結されている。この状態では、ボリューム166は可動範囲の初期位置に設定され、ボリューム値は最小値となっている。
【0036】
図4はペダルレバー160を踏み込んだ時の状態を示している。即ち、ペダルレバー160が踏み込まれると、該ペダルレバー160は支点P1を中心に回動する。これにより、伝達レバー164の左端部P2が押し下げられて回動し、その右側部は押し上げられる。これにより、レバー168が押し上げられてボリューム166の回転軸167が回動し、ボリューム値が変更される。ペダルレバー160が最大踏み込み位置(ペダルレバー160がストッパー169に当接する位置)まで踏み込まれた状態では、ボリューム166は、可動範囲の最大位置に設定され、ボリューム値は最大値になる。
【0037】
なお、図3及び図4に示したペダル操作子16の構造は一例であり、これに限定されるものでない。要はペダルレバー160の踏み込み量に応じた電気信号を出力することができる構成であれば、如何なる構造のものであってもよい。
【0038】
上記ボリューム166には図示しない電源が供給されており、その可動出力端子からは回転位置に応じたアナログ信号が出力されるようになっている。このペダル操作子16のボリューム166からのアナログ信号は、図1に示すように、A/D変換器15に供給される。そして、このアナログ信号はA/D変換器15においてデジタル信号に変換され、パネルインタフェース回路13に供給される。
【0039】
パネルインタフェース回路13は、操作パネル14及びA/D変換器15とCPU10との間のデータの送受を制御する。即ち、パネルインタフェース回路13は、操作パネル14から受け取った信号に基づきパネルデータを生成し、これをCPU10に送る。このパネルデータは、スイッチデータとダイヤルデータとで構成されている。スイッチデータは、各スイッチを1ビットに対応させたビット列で構成されている。ダイヤルデータはジョグダイヤル140の回転方向と変位の有無を示すデータで構成されている。CPU10は、このパネルデータに基づいてパネル操作に応じた各種処理を行う。
【0040】
また、パネルインタフェース回路13は、A/D変換器15からのデジタル信号を受け取り、これに基づいてペダルデータを生成し、これをCPU10に送る。更に、パネルインタフェース回路13は、CPU10から受け取った表示データを操作パネル14に送り出す。これにより、操作パネル14のディスプレイ装置141へのデータの表示、図示しない各種インジケータの点灯/消灯の制御等が行われる。
【0041】
鍵盤インタフェース回路17には鍵盤装置18が接続されている。鍵盤装置18は、発音/消音を指示するための複数の鍵を有している。この鍵盤装置18には、例えば2接点方式の鍵が用いられている。即ち、鍵盤装置18の各鍵は、押鍵又は離鍵に連動して開閉する2個のキースイッチを有し、各キースイッチのオン/オフの時間差に基づき鍵タッチを検出できるようになっている。
【0042】
鍵盤インタフェース回路17は、押鍵又は離鍵に伴う各鍵のオン/オフ状態及び鍵タッチの強さを検出する。即ち、鍵盤インタフェース回路17は、鍵盤装置18から受け取った信号に基づき各鍵のオン/オフ状態を示すキーデータ及び鍵タッチの強さを示すタッチデータを生成し、CPU10に送る。CPU10は、キーデータ及びタッチデータに基づいて、押鍵又は離鍵に対応した発音又は消音処理を行う。
【0043】
音源回路19には、波形メモリ191及びD/A変換器192が接続されている。波形メモリ191は、波形データを記憶するものであり、例えばROMで構成される。この波形メモリ191には、複数の音色パラメータのそれぞれに対応した複数の波形データが記憶されている。波形データは、例えば放音された楽音を電気信号に変換し、これをパルスコード変調(PCM)して作成することができる。この波形メモリ191は、音源回路19によりアクセスされる。
【0044】
音源回路19は、例えばデジタルシグナルプロセッサ(DSP)で構成することができる。この音源回路19は、複数の発音チャンネルを有しており、CPU10からの指示に応じて楽音信号を発生する。即ち、音源回路19は、CPU10から発音チャンネルを指定するデータと音色パラメータを受け取ると、指定された発音チャンネルをアクティブにする。アクティブにされた発音チャンネルは、波形メモリ191から音色パラメータに対応する波形データを読み出し、これにエンベロープを付加してデジタル楽音信号を生成し、D/A変換器192に送出する。
【0045】
D/A変換器192は、入力されたデジタル楽音信号をアナログ楽音信号に変換する。このD/A変換器192からの出力は、増幅器193に供給される。増幅器193は、入力された楽音信号を増幅してスピーカ194に送る。スピーカ194は、増幅器193からの楽音信号を音響信号に変換して出力する。これにより、スピーカ194から楽音が発生される。
【0046】
MIDIインタフェース回路20は、外部に接続されるMIDI機器と本電子楽器との間のMIDIデータの送受を制御する。MIDI機器としては、他の電子楽器、コンピュータ、シーケンサ等を挙げることができる。
【0047】
次に、上記のように構成された電子楽器において、操作パネル14を用いて音色を選択する場合の操作及びペダル操作子16にエフェクトを割り当てる操作について説明する。なお、電源投入直後の初期状態では、ペダル操作子16にはエフェクトとしてダンパ効果が割り当てられるものとする。
【0048】
先ず、音色を選択する場合の操作について説明する。この場合、操作者は、先ずファンクションキーF2を押す。これにより、ディスプレイ装置141には、例えば図5(A)に示すように、音色番号入力フィールドに音色番号を入力すべき旨を促すメッセージと、音色番号と音色名との対応関係を示すガイドメッセージとが表示される。このとき、音色番号入力フィールドには現在選択中の音色番号が表示される。操作者は、この状態でガイドメッセージを参照して所望の音色の番号を確認し、ジョグダイヤル140を操作して所望の音色を選択する。即ち、ジョグダイヤル140を回すと、音色番号入力フィールドに表示された音色番号が変化する。操作者が、所望の音色番号が表示された時点でジョグダイヤル140を回す操作をやめると、その時点で音色番号入力フィールドに表示さている番号の音色が選択される。この選択された音色の番号は、ワークメモリ12に設けられた音色番号レジスタに記憶される。以後、鍵盤装置18を操作すると、選択された音色の楽音が発生される。
【0049】
なお、音色の数が多くて全ての音色に対応するガイドメッセージをディスプレイ装置141に表示できない場合は、複数回に分けて表示するように構成できる。この場合、音色番号入力フィールドの音色番号が、ガイドメッセージに含まれない音色番号に変更された時に、その音色番号が含まれたガイドメッセージに変更するように構成できる。
【0050】
次に、ペダル操作子16にエフェクトを割り当てる操作について説明する。この場合、操作者は、先ずファンクションキーF3を押す。これにより、ディスプレイ装置141には、例えば図5(B)に示すように、エフェクト番号入力フィールドにエフェクト番号を入力すべき旨を促すメッセージと、エフェクト番号とエフェクト名との対応関係を示すガイドメッセージとが表示される。このとき、エフェクト番号入力フィールドには現在ペダル操作子16に割り当てられているエフェクト番号が表示される。操作者は、この状態でガイドメッセージを参照して所望のエフェクトの番号を確認し、ジョグダイヤル140を操作して所望のエフェクトを選択する。即ち、ジョグダイヤル140を回すと、エフェクト番号入力フィールドに表示されたエフェクト番号が変化する。操作者が、所望のエフェクト番号が表示された時点でジョグダイヤル140を回す操作をやめると、その時点でエフェクト番号入力フィールドに表示さているエフェクトの音色が選択される。この選択されたエフェクトの番号は、ワークメモリ12に設けられたエフェクト番号レジスタに記憶される。以後、ペダル操作子16を操作すると、選択されたエフェクトが付加された楽音が発生される。
【0051】
なお、エフェクトの種類が多くて全てのエフェクトに対応するガイドメッセージをディスプレイ装置141に表示できない場合は、上記音色の場合と同様に、複数回に分けて表示するように構成できる。この場合、エフェクト番号入力フィールドのエフェクト番号が、ガイドメッセージに含まれないエフェクト番号に変更された時に、そのエフェクト番号が含まれたガイドメッセージに変更するように構成できる。
【0052】
次に、ワークメモリ12に定義されたバッファ、レジスタ、カウンタ、フラグ等のうち主なものについて説明する。
【0053】
(a)プレイモードフラグPLY:電子楽器が通常の演奏モードになっていることを記憶する。
(b)音色選択モードフラグ:電子楽器が音色選択モードになっていることを記憶する。
(c)ペダル操作子割当モードフラグ:電子楽器がペダル操作子16にエフェクトを割り当てるモードになっていることを記憶する。
(d)音色番号レジスタ:現在電子楽器に設定されている音色の音色番号を記憶する。
(e)エフェクト番号レジスタ:現在ペダル操作子に割り当てられているエフェクトのエフェクト番号を記憶する。
【0054】
次に、上記の構成において、本実施の形態1の電子楽器の動作について、図6〜図9のフローチャートを参照しながら説明する。
【0055】
(1)メイン処理
図6は、本電子楽器のメイン処理を示すフローチャートである。このメイン処理ルーチンは、電源の投入により起動される。即ち、電源が投入されると、先ず、初期化処理が行われる(ステップS10)。この初期化処理では、CPU10の内部がリセットされると共に、ワークメモリ12に定義されているバッファ、レジスタ、カウンタ、フラグ等が初期状態に設定される。
【0056】
この初期化処理が終了すると、次いで、パネル処理が行われる(ステップS11)。このパネル処理では、操作パネル14上のスイッチの操作に対応する処理や、ディスプレイ装置に文字等を表示する処理、図示しないインジケータの点灯/消灯処理等が行われる。このパネル処理の詳細については後述する。
【0057】
次いで、鍵盤処理が行われる(ステップS12)。この鍵盤処理では、発音処理、消音処理等が行われる。これによって、鍵盤装置18の操作に応じた楽音が発生される。
【0058】
次いで、ペダル処理が行われる(ステップS13)。このペダル処理では、ペダル操作子16に割り当てられたエフェクトを発生させるための処理が行われる。このペダル処理の詳細については、後述する。
【0059】
次いで、「その他の処理」が行われる(ステップS14)。この「その他の処理」では、例えばMIDIインタフェース回路20を介して外部のMIDI機器との間でMIDIデータを送受信する処理等が行われる。その後、ステップS11に戻り、以下、同様の処理が繰り返される。
【0060】
このように、メイン処理ルーチンの上記ステップS11〜S14の繰り返し実行の過程でパネル操作又は鍵盤操作が行われると、その操作に対応する処理が行われる。これにより、電子楽器としての各種機能が実現されている。
【0061】
(2)パネル処理
次に、パネル処理の詳細について、図7及び図8のフローチャートを参照しながら説明する。このパネル処理ルーチンは、メイン処理ルーチンから一定周期でコールされる。
【0062】
パネル処理では、先ず、パネルスキャン処理が行われる(ステップS20)。このパネルスキャン処理では、操作パネル14からパネルインタフェース回路13を介してパネルデータが読み込まれる。そして、このパネルデータの中のスイッチデータ(以下、これを「新スイッチデータ」という)と、前回のパネル処理で操作パネル14から読み込まれ、既にワークメモリ12の所定領域に記憶されているスイッチデータ(以下、「旧スイッチデータ」という)との排他的論理和演算が行われる。この演算結果は、パネルイベントマップとして、ワークメモリ12の所定領域に格納される。その後、新スイッチデータが旧スイッチデータとしてワークメモリ12の所定領域に格納される。
【0063】
次いで、ファンクションキーF1のオンイベントがあるかどうかが調べられる(ステップS21)。これは、上記パネルイベントマップ中のファンクションキーF1に対応するビット及び新スイッチデータ中のファンクションキーF1に対応するビットの双方がオンになっているかどうかを調べることにより行われる。スイッチのオンイベントの有無は、他のスイッチについても同様の方法で調べられる。
【0064】
ここで、ファンクションキーF1のオンイベントがあることが判断されると、プレイモードフラグPLYが“1”にセットされ、音色選択モードフラグTBR及びペダル操作子割当モードフラグPDLが“0”にクリアされる(ステップS22)。これにより電子楽器はプレイモードに移行する。その後、シーケンスはメイン処理ルーチンにリターンする。このプレイモードで鍵盤装置18が操作されると楽音が発生される。なお、上記プレイモードフラグPLYは、電子楽器が他の動作モードに移行したときに“0”にクリアされる。
【0065】
上記ステップS21でファンクションキーF1のオンイベントがないことが判断されると、次いで、ファンクションキーF2のオンイベントがあるかどうかが調べられる(ステップS23)。ここで、ファンクションキーF2のオンイベントがあることが判断されると、音色選択モードフラグTBRが“1”セットされると共にプレイモードフラグPLY及びペダル操作子割当モードフラグPDLが“0”にクリアされる(ステップS24)。これにより電子楽器は音色選択モードに入る。その後、シーケンスはメイン処理ルーチンにリターンする。
【0066】
上記ステップS23でファンクションキーF2のオンイベントがないことが判断されると、次いで、ファンクションキーF3のオンイベントがあるかどうかが調べられる(ステップS25)。そして、ファンクションキーF3のオンイベントがあることが判断されると、ペダル操作子割当モードフラグPDLが“1”にセットされると共にプレイモードフラグPLY及び音色選択モードフラグTBRが“0”にクリアされる(ステップS26)。これにより電子楽器はペダル操作子割当モードに入る。その後、シーケンスはメイン処理ルーチンにリターンする。
【0067】
上記ステップS25でファンクションキーF3のオンイベントがないことが判断されると、次いで、ジョグダイヤル140のイベントがあるかどうかが調べられる(ステップS27)。これは、上記ステップS20で読み込んだパネルデータ中のダイヤルデータが変位があることを示しているかどうかを調べることにより行われる。そして、ジョグダイヤル140のイベントがあることが判断されると、次いで、音色選択モードであるかどうかが調べられる(ステップS28)。これは、音色選択モードフラグTBRが“1”にセットされているかどうかを調べることにより行われる。ここで、音色選択モードであることが判断されると、音色番号更新処理が行われる(ステップS29)。即ち、音色番号レジスタの内容がダイヤルデータに従って「+1」又は「−1」される。この場合、ダイヤルデータが、ジョグダイヤル140が右方向に回転されたことを示していれば「+1」され、左方向に回転されたことを示していれば「−1」される。このようにして音色番号レジスタの内容が更新されることにより、新しい音色が決定される。この音色番号レジスタの内容は、鍵盤処理時に参照され、音色パラメータを選択するために使用される。
【0068】
次いで、メッセージ表示処理が行われる(ステップS30)。この処理では、変更された音色番号をディスプレイ装置141の音色番号入力フィールドに表示する。また、ガイドメッセージを複数回に分けてディスプレイ装置141に表示する構成の場合は、音色番号入力フィールドの音色番号が、ガイドメッセージに含まれない音色番号に変更された時に、その音色番号が含まれたガイドメッセージに変更する処理が行われる。その後、シーケンスはメイン処理ルーチンにリターンする。
【0069】
上記ステップS28で、音色選択モードでないことが判断されると、次いで、ペダル操作子割当モードであるかどうかが調べられる(ステップS31)。これは、ペダル操作子割当モードフラグPDLが“1”にセットされているかどうかを調べることにより行われる。ここで、ペダル操作子割当モードであることが判断されると、エフェクト番号更新処理が行われる(ステップS32)。即ち、上記音色番号更新処理の場合と同様に、エフェクト番号レジスタの内容がダイヤルデータに従って「+1」又は「−1」される。このようにしてエフェクト番号レジスタの内容が変更されることにより、ペダル操作子16に割り当てるエフェクトが決定される。このエフェクト番号レジスタの内容は、発音時に参照され、楽音にエフェクトを付加するために使用される。
【0070】
次いで、メッセージ表示処理が行われる(ステップS33)。この処理では、変更されたエフェクト番号をディスプレイ装置141のエフェクト番号入力フィールドに表示する。また、ガイドメッセージを複数回に分けてディスプレイ装置141に表示する構成の場合は、エフェクト番号入力フィールドのエフェクト番号が、ガイドメッセージに含まれないエフェクト番号に変更された時に、そのエフェクト番号が含まれたガイドメッセージに変更する処理が行われる。その後、シーケンスはメイン処理ルーチンにリターンする。上記ステップS31でペダル操作子割当モードでないことが判断された場合は、シーケンスはメイン処理ルーチンにリターンする。
【0071】
上記ステップS27でジョグダイヤル140のイベントがないことが判断されると、「その他のスイッチ処理」が行われる(ステップS34)。この処理では、図示しない各種スイッチの処理、インジケータの点灯/消灯処理等が行われ、その後、シーケンスはメイン処理ルーチンにリターンする。
【0072】
(3)ペダル処理
次に、ペダル処理の詳細について、図9のフローチャートを参照しながら説明する。このペダル処理ルーチンは、メイン処理ルーチンから一定周期でコールされる。
【0073】
ペダル処理では、先ず、ペダルスキャン処理が行われる(ステップS40)。このペダルスキャン処理では、ペダル操作子16からパネルインタフェース回路13を経由してペダルデータ(以下、これを「新ペダルデータ」という)が読み込まれる。
【0074】
次いで、ペダルイベントがあるかどうかが調べられる(ステップS41)。即ち、前回のペダル処理でペダル操作子16から読み込まれ、既にワークメモリ12の所定領域に記憶されているペダルデータ(以下、「旧ペダルデータ」という)と上記新ペダルデータとが比較される。この比較の結果、相違することが判断されるとペダルイベントがあったものと認識され、そうでなければペダルイベントはなかったものと認識される。
【0075】
このステップS41でペダルイベントがないと判断されると、シーケンスはメイン処理ルーチンにリターンする。一方、ペダルイベントがあると判断されると、次いで、現在ペダル操作子16に割り当てられているエフェクトはダンパであるかどうかが調べられる(ステップS42)。これは、エフェクト番号レジスタに格納されているエフェクト番号を参照することにより行われ、以下においても同じである。ここで、ダンパであることが判断されるとダンパ処理が行われる(ステップS43)。このダンパ処理では、例えば、エンベロープのリリース時間が新ペダルデータに応じて長くなるように、エンベロープデータ中のリリースタイムデータが変更される。その後、シーケンスはメイン処理ルーチンにリターンする。これにより、例えばペダル操作子16の踏み込み量に応じてダンパの効き方を変更するハーフダンパ機能が実現されている。
【0076】
上記ステップS42でエフェクトはダンパでないことが判断されると、次いで、現在ペダル操作子16に割り当てられているエフェクトはピッチベンドであるかどうかが調べられる(ステップS44)。ここで、ピッチベンドであることが判断されるとピッチ変更処理が行われる(ステップS45)。このピッチ変更処理では、例えば、波形メモリ191から波形データを読み出す速度が、新ペダルデータに応じて変更される。なお、この変更は、ピッチが上がる方向になされてもよいし下がる方向になされてもよい。また、ペダル操作子16の可動範囲の中央位置付近を正規のピッチとし、該位置より踏み込み量が小さい場合はピッチを下げ、大きい場合はピッチを上げるように構成してもよい。その後、シーケンスはメイン処理ルーチンにリターンする。
【0077】
上記ステップS44で、現在ペダル操作子16に割り当てられているエフェクトがピッチベンドでないことが判断されると、次いで、現在ペダル操作子16に割り当てられているエフェクトはモジュレーションであるかどうかが調べられる(ステップS46)。そして、モジュレーションであることが判断されると、モジュレーション処理が行われる(ステップS47)。このモジュレーション処理では、例えば、音源回路19に含まれるデジタル制御フィルタDCFのカットオフ周波数が、新ペダルデータに応じて変更される。なお、この変更は、カットオフ周波数が上がる方向になされてもよいし下がる方向になされてもよい。また、ペダル操作子16の可動範囲の中央位置付近を当該音色に最も好適なカットオフ周波数とし、該位置より踏み込み量が小さい場合はカットオフ周波数を下げ、大きい場合はカットオフ周波数を上げるように構成してもよい。その後、シーケンスはメイン処理ルーチンにリターンする。
【0078】
上記ステップS46で、現在ペダル操作子16に割り当てられているエフェクトがモジュレーションでないことが判断されると、その他のエフェクト処理が行われる(ステップS48)。この「その他のエフェクト処理」の対象となるエフェクトとしては、例えば、トレモロデプス、コーラスデプス、セレステデプス、フェーザーデプス、その他種々の連続可変タイプのデータで制御されるエフェクトを挙げることができる。その後、シーケンスはメイン処理ルーチンにリターンする。
【0079】
以上説明したように、実施の形態1のエフェクト制御装置は、1つのペダル操作子を有し、そのペダル操作子に割り当てるエフェクトを、複数種類のエフェクトの中から任意に選択できるように構成されているが、1つのペダル操作子に特定のエフェクトを固定的に割り当てるように構成することもできる。この場合はペダル操作子16にエフェクトを割り当てるために設けられているファンクションキーF3及び対応するパネル処理は不要となる。
【0080】
(実施の形態2)
本発明の実施の形態2のエフェクト制御装置は、ペダル操作子16に対するエフェクトの割り当てを、選択された音色に基づいて自動的に行うようにしたものである。従って、本エフェクト制御装置では、ペダル操作子割当モードは存在しない。
【0081】
本エフェクト制御装置の構成は、図1のブロック図に示したものと同じである。但し、本エフェクト制御装置では、ペダル操作子割当モードが存在しないので、該モードに移行するための操作子であるファンクションキーF3は使用されない。従って、ペダル操作子割当モードフラグPDLも定義されていない。
【0082】
この実施の形態2のエフェクト制御装置では、各音色とエフェクトの種類を対応付けるために「音色−エフェクト対応テーブル」が用いられる。このテーブルは、RAM12の所定領域に形成される。図10は、この音色−エフェクト対応テーブルの一例を示す。図10では、例えば音色番号「01」のピアノ1の音色にはダンパ効果が対応付けられ、音色番号「06」のギター音色にはピッチベンドが対応付けられていることを示している。
【0083】
本実施の形態2のエフェクト制御装置における音色選択操作は、上述した実施の形態1の場合と同様の操作と同じであるが、この音色選択操作を行うとペダル操作子16に割り当てるエフェクトも同時に決定される点が上記実施の形態1のエフェクト制御装置と異なる。
【0084】
次に、上記の構成において本実施の形態2の電子楽器の動作について図面を参照しながら説明する。メイン処理及びペダル処理の各ルーチンは、上述した実施の形態1で使用したものがそのまま使用されるが、パネル処理ルーチンは、上述した実施の形態1のそれと異なる。
【0085】
以下、本実施の形態2のパネル処理について、図12のフローチャートを参照しながら説明する。本パネル処理ルーチンのステップS50〜S54の処理は、以下の点を除き、上述した実施の形態1のパネル処理(図7参照)におけるステップS20〜S24の処理と同じである。相違点は、上記ステップS22ではペダル操作子割当フラグPDLが“0”にクリアされるのに対し、ステップS52ではこの処理が存在しない点である。これは、本実施の形態2ではペダル操作子割当モードフラグPDLが存在しないからである。
【0086】
上記ステップS53でファンクションキーF2のオンイベントがないことが判断されると、次いで、ジョグダイヤル140のイベントがあるかどうかが調べられる(ステップS55)。これは、上記ステップS27と同様の方法で行われる。そして、ジョグダイヤル140のイベントがあることが判断されると、音色番号更新処理が行われる(ステップS56)。この処理の内容は上記ステップS29の処理と同じである。次いで、エフェクト番号更新処理が行われる(ステップS57)。即ち、上記ステップS56で得られた新しい音色番号に対応するエフェクト番号を音色−エフェクト対応テーブルから取り出し、エフェクト番号レジスタにセットする。
【0087】
次いで、メッセージ表示処理が行われる(ステップS58)。この処理では、更新された音色番号をディスプレイ装置141の音色番号入力フィールドに表示する。また、この音色番号に対応するエフェクト番号であってペダル操作子16に割り当てられたものを、例えば図11に示すように、ディスプレイ装置141の所定領域に表示する。この場合、エフェクト番号の代わりにエフェクト名を表示してもよい。なお、ガイドメッセージを複数回に分けてディスプレイ装置141に表示する構成の場合は、上述した実施の形態1の場合と同様に処理することができる。その後、シーケンスはメイン処理ルーチンにリターンする。
【0088】
上記ステップS55でジョグダイヤル140のイベントがないことが判断されると、「その他のスイッチ処理」が行われる(ステップS59)。この処理の内容は上記ステップS34の処理と同じである。
【0089】
以上のように、本実施の形態2のエフェクト制御装置によれば、所定の音色が選択されると、その音色に対応するエフェクトが自動的にペダル操作子16に割り当てられるので、操作者がペダル操作子16とエフェクトの種類を対応付ける操作が不要となる。また、ファンクションキーの数を減らすこともできるし、パネル処理における処理量を減らすこともできる。
【0090】
(実施の形態3)
本発明の実施の形態3のエフェクト制御装置は、ペダル操作子16の踏み込み量に応じて制御するエフェクトの種類及びエフェクトの大きさを変更するようにしたものである。以下においては、ペダル操作子16の踏み込み量が所定値P以下である場合は該ペダル操作子16に第1のエフェクトが、上記所定値Pより大きい場合は該ペダル操作子16に第2のエフェクトがそれぞれ割り当てられるものとする。
【0091】
本エフェクト制御装置の構成は、図1のブロック図に示したものと同じである。但し、本エフェクト制御装置では、ペダル操作子16に第1のエフェクト及び第2のエフェクトといった2つのエフェクトが割り当てられるので、操作パネル14のファンクションキーF3は、電子楽器を第1のペダル操作子割当モードに移行させ、ファンクションキーF4は電子楽器を第2のペダル操作子割当モードに移行させるためにそれぞれ使用される。
【0092】
また、RAM12には、第1のペダル操作子割当モードであることを記憶するための第1のペダル操作子割当モードフラグPDL1、第2のペダル操作子割当モードであることを記憶するための第2のペダル操作子割当モードフラグPDL2、第1のエフェクトのエフェクト番号を記憶する第1のエフェクト番号レジスタ及び第2のエフェクトのエフェクト番号を記憶するための第2のエフェクト番号レジスタが定義される。
【0093】
ペダル操作子16に第1のエフェクト及び第2のエフェクトを割り当てる操作は、実施の形態1のエフェクト制御装置においてペダル操作子16にエフェクトを割り当てる操作と同じである。但し、ペダル操作子16に第1又は第2のエフェクトの何れを割り当てているのかを明確にするために、第1のエフェクトを割り当てる場合は図13(A)に示すメッセージが、第2のエフェクトを割り当てる場合は同図(B)に示すメッセージが表示される。
【0094】
次に、上記の構成において本実施の形態3の電子楽器の動作について図面を参照しながら説明する。メイン処理ルーチンは、上述した実施の形態1で使用したものがそのまま使用される。本実施の形態3のパネル処理及びペダル処理の各ルーチンは、上述した実施の形態1のそれらと異なる。
【0095】
(1)パネル処理
以下、本実施の形態3のパネル処理について、図14及び図15のフローチャートを参照しながら説明する。
【0096】
本パネル処理ルーチンのステップS60〜S64の処理は、以下の点を除き、上述した実施の形態1のパネル処理(図7参照)におけるステップS20〜S24の処理と同じである。相違点は、上記ステップS22及びステップS24ではペダル操作子割当フラグPDLが“0”にクリアされるのに対し、ステップS62及びステップS64では第1のペダル操作子割当フラグPFL1及び第2のペダル操作子割当フラグPFL2が“0”にクリアされる点である。これは、本実施の形態3ではペダル操作子割当モードフラグとしてPDL1及びPDL2が定義されているからである。
【0097】
上記ステップS63でファンクションキーF2のオンイベントがないことが判断されると、次いで、ファンクションキーF3のオンイベントがあるかどうかが調べられる(ステップS65)。ここで、ファンクションキーF3のオンイベントがあることが判断されると、第1のペダル操作子割当モードフラグPDL1が“1”にセットされ、プレイモードフラグPLY、音色選択モードフラグTBR及び第2のペダル操作子割当モードフラグPDL2が“0”にクリアされる(ステップS66)。これにより電子楽器は第1のペダル操作子割当モードに移行する。その後、シーケンスはメイン処理ルーチンにリターンする。
【0098】
上記ステップS65でファンクションキーF3のイベントがないことが判断されると、次いで、ファンクションキーF4のオンイベントがあるかどうかが調べられる(ステップS67)。ここで、ファンクションキーF4のオンイベントがあることが判断されると、第2のペダル操作子割当モードフラグPDL2が“1”にセットされ、プレイモードフラグPLY、音色選択モードフラグTBR及び第1のペダル操作子割当モードフラグPDL1が“0”にクリアされる(ステップS68)。これにより電子楽器は第2のペダル操作子割当モードに移行する。その後、シーケンスはメイン処理ルーチンにリターンする。
【0099】
上記ステップS67でファンクションキーF4のイベントがないことが判断されると、次いで、ジョグダイヤル140のイベントがあるかどうかが調べられ(ステップS69)、イベントがあることが判断されると、音色選択モードであるかどうかが調べられる(ステップS70)。ここで、音色選択モードであることが判断されると、音色番号更新処理が行われ(ステップS71)、次いで、メッセージ表示処理が行われる(ステップS72)。その後、シーケンスはメイン処理ルーチンにリターンする。以上の処理は、上記ステップS27〜S30の処理と同じである。
【0100】
上記ステップS70で、音色選択モードでないことが判断されると、次いで、第1のペダル操作子割当モードであるかどうかが調べられる(ステップS73)。これは、第1のペダル操作子割当モードフラグPDL1が“1”にセットされているかどうかを調べることにより行われる。ここで、第1のペダル操作子割当モードであることが判断されると、第1のエフェクト番号更新処理が行われる(ステップS74)。即ち、第1のエフェクト番号レジスタの内容がダイヤルデータに従って「+1」又は「−1」される。このようにして第1のエフェクト番号レジスタの内容が変更されることにより、ペダル操作子16に割り当てる第1のエフェクトが決定される。この第1のエフェクト番号レジスタの内容は、発音時に参照され、楽音にエフェクトを付加するために使用される。
【0101】
次いで、メッセージ表示処理が行われる(ステップS75)。この処理では、変更された第1のエフェクト番号をディスプレイ装置141のエフェクト番号入力フィールドに表示する。また、ガイドメッセージを複数回に分けてディスプレイ装置141に表示する構成の場合は、上述した実施の形態1の場合と同様に処理することができる。その後、シーケンスはメイン処理ルーチンにリターンする。
【0102】
上記ステップS73で、第1のペダル操作子割当モードでないことが判断されると、次いで、第2のペダル操作子割当モードであるかどうかが調べられる(ステップS76)。これは、第2のペダル操作子割当モードフラグPDL2が“1”にセットされているかどうかを調べることにより行われる。ここで、第2のペダル操作子割当モードであることが判断されると、第2のエフェクト番号更新処理が行われる(ステップS77)。即ち、第2のエフェクト番号レジスタの内容がダイヤルデータに従って「+1」又は「−1」される。このようにして第2のエフェクト番号レジスタの内容が変更されることにより、ペダル操作子16に割り当てる第2のエフェクトが決定される。この第2のエフェクト番号レジスタの内容は、発音時に参照され、楽音にエフェクトを付加するために使用される。
【0103】
次いで、メッセージ表示処理が行われる(ステップS78)。この処理では、変更された第2のエフェクト番号をディスプレイ装置141のエフェクト番号入力フィールドに表示する。また、ガイドメッセージを複数回に分けてディスプレイ装置141に表示する構成の場合は、上述した実施の形態1の場合と同様に処理することができる。その後、シーケンスはメイン処理ルーチンにリターンする。上記ステップS76で第2のペダル操作子割当モードでないことが判断された場合は、シーケンスはメイン処理ルーチンにリターンする。
【0104】
上記ステップS69でジョグダイヤル140のイベントがないことが判断されると、「その他のスイッチ処理」が行われる(ステップS79)。この処理の内容は上記ステップS34の処理と同じである。
【0105】
(2)ペダル処理
次に、ペダル処理の詳細について、図16のフローチャートを参照しながら説明する。このペダル処理ルーチンは、メイン処理ルーチンから一定周期でコールされる。
【0106】
ペダル処理では、先ず、ペダルスキャン処理が行われる(ステップS80)。次いで、ペダルイベントがあるかどうかが調べられる(ステップS81)。ここでペダルイベントがないと判断されると、シーケンスはメイン処理ルーチンにリターンする。以上の処理は、上記ステップS40及びS41の処理と同じである。
【0107】
一方、ペダルイベントがあると判断されると、次いで、ペダル操作子16の踏み込み量は所定値P以下であるかどうかが調べられる(ステップS82)。そして、所定値P以下であることが判断されると、第1のエフェクトに対する処理が行われる(ステップS83)。この第1のエフェクトに対する処理は、エフェクトの種類の判断が第1のエフェクト番号レジスタに記憶されているエフェクト番号を参照して行われる点を除けば、上述した実施の形態1のパネル処理(図9)のステップS42〜S48の処理と同じである。
【0108】
上記ステップS82において、ペダル操作子16の踏み込み量が所定値Pより大きいことが判断されると、第2のエフェクトに対する処理が行われる(ステップS84)。この第2のエフェクトに対する処理は、エフェクトの種類の判断が第2のエフェクト番号レジスタに記憶されているエフェクト番号を参照して行われる点を除けば、上述した実施の形態1のパネル処理(図9)のステップS42〜S48の処理と同じである。
【0109】
以上のように、本実施の形態3のエフェクト制御装置によれば、1つのペダル操作子16で2種類のエフェクトの大きさを制御することができるので、エフェクトを制御するための操作子を少なくできる。また、ペダル操作子16の踏み込み量を変化させるだけでエフェクトの種類及び大きさを変更することができるので、エフェクトの切替が簡単且つ迅速にできる。
【0110】
なお、この実施の形態3のエフェクト制御装置では、ペダル操作子16の踏み込み量が所定値P以下の場合及び所定値Pより大きい場合の2つに分けて2つのエフェクトを割り当てるように構成したが、3つ以上に分けて3つ以上のエフェクトを制御するように構成してもよい。
【0111】
また、実施の形態3のエフェクト制御装置では、第1及び第2のエフェクトとして、複数種類のエフェクトの中から任意に選択できるように構成されているが、第1及び第2のエフェクトとしてそれぞれ特定のエフェクトを固定的に割り当てるように構成することもできる。この場合は、第1及び第2のエフェクトとして所定のエフェクトを割り当てるために設けられているファンクションキーF3及びF4並びに対応するパネル処理は不要となる。
【0112】
更に、上記実施の形態2に示すような音色−エフェクト対応テーブルを予め用意しておき、音色を選択する際に同時に第1及び第2のエフェクトの種類をも選択するように構成することもできる。
【0113】
(実施の形態4)
本発明の実施の形態4のエフェクト制御装置は、ペダル操作子を2つ有し、1つのペダル操作子ではその踏み込み量に応じてエフェクトの大きさを基準値より大きい範囲で変化させ、他のペダル操作子では、その踏み込み量に応じてエフェクトの大きさを基準値より小さい範囲で変化させるものである。
【0114】
本エフェクト制御装置の構成を図17のブロック図に示す。本エフェクト制御装置では、A/D変換器15に第1のペダル操作子16a及び第2のペダル操作子16bの2つが接続されている点を除き、上述した実施の形態1のエフェクト制御装置と同じである。第1のペダル操作子16a及び第2のペダル操作子16bには、同一のエフェクトが割り当てられる。
【0115】
次に、上記の構成において本実施の形態4の電子楽器の動作について図面を参照しながら説明する。メイン処理及びパネル処理の各ルーチンは、上述した実施の形態1で使用したものがそのまま使用される。以下、ペダル処理の詳細について、図18及び図19のフローチャートを参照しながら説明する。
【0116】
ペダル処理では、先ず、ペダルスキャン処理が行われる(ステップS90)。このペダルスキャン処理では、ペダル操作子16からパネルインタフェース回路13を経由して第1のペダル操作子16aに対応するペダルデータ(以下、これを「第1の新ペダルデータ」という)及び第2のペダル操作子16bに対応するペダルデータ(以下、これを「第2の新ペダルデータ」という)が読み込まれる。
【0117】
次いで、第1のペダル操作子16aのペダルイベント(以下、「第1のペダルイベント」という)があるかどうかが調べられる(ステップS91)。即ち、前回のペダル処理で第1のペダル操作子16aから読み込まれ、既にワークメモリ12の所定領域に記憶されているペダルデータ(以下、「第1の旧ペダルデータ」という)と上記第1の新ペダルデータとが比較される。この比較の結果、相違することが判断されると第1のペダルイベントがあったものと認識され、そうでなければ第1のペダルイベントはなかったものと認識される。
【0118】
このステップS91で第1のペダルイベントがあると判断されると、次いで、現在第1のペダル操作子16aに割り当てられているエフェクトはダンパであるかどうかが調べられる(ステップS92)。ここで、ダンパであることが判断されると第1のダンパ処理が行われる(ステップS93)。この第1のダンパ処理は、上記ステップS43の処理と同じである。
【0119】
上記ステップS92でエフェクトはダンパでないことが判断されると、次いで、現在第1のペダル操作子16aに割り当てられているエフェクトはピッチベンドであるかどうかが調べられる(ステップS94)。ここで、ピッチベンドであることが判断されるとピッチ増加処理が行われる(ステップS95)。このピッチ増加処理では、例えば、波形メモリ191から波形データを読み出す速度が、新ペダルデータに応じて大きくなるように変更される。その後、シーケンスはメイン処理ルーチンにリターンする。
【0120】
上記ステップS94で、現在第1のペダル操作子16aに割り当てられているエフェクトがピッチベンドでないことが判断されると、次いで、現在第1のペダル操作子16aに割り当てられているエフェクトはモジュレーションであるかどうかが調べられる(ステップS96)。そして、モジュレーションであることが判断されると、モジュレーション増大処理が行われる(ステップS97)。このモジュレーション増大処理では、例えば、音源回路19に含まれるデジタル制御フィルタDCFのカットオフ周波数が、新ペダルデータに応じて大きくなるように変更される。その後、シーケンスはメイン処理ルーチンにリターンする。
【0121】
上記ステップS96で、現在第1のペダル操作子16aに割り当てられているエフェクトがモジュレーションでないことが判断されると、その他のエフェクト処理が行われる(ステップS98)。この「その他のエフェクト処理」では上記ステップS48の処理と同様に各種エフェクトを制御する処理が行われるが、基準値より大きい範囲で制御量が変更される。その後、シーケンスはメイン処理ルーチンにリターンする。
【0122】
上記ステップS91で、第1のペダルイベントがないことが判断されると、次いで、第2のペダル操作子16bのペダルイベント(以下、「第2のペダルイベント」という)があるかどうかが調べられる(ステップS100)。即ち、前回のペダル処理で第2のペダル操作子16bから読み込まれ、既にワークメモリ12の所定領域に記憶されているペダルデータ(以下、「第2の旧ペダルデータ」という)と上記第2の新ペダルデータとが比較される。この比較の結果、相違することが判断されると第2のペダルイベントがあったものと認識され、そうでなければ第2のペダルイベントはなかったものと認識される。
【0123】
このステップS100で第2のペダルイベントがないと判断されると、シーケンスはメイン処理ルーチンにリターンする。一方、第2のペダルイベントがあると判断されると、次いで、現在第2のペダル操作子16bに割り当てられているエフェクトはダンパであるかどうかが調べられる(ステップS101)。ここで、ダンパであることが判断されると第2のダンパ処理が行われる(ステップS102)。この第1のダンパ処理では、例えば、エンベロープのリリース時間が新ペダルデータに応じて短くなるようにエンベロープデータ中のリリースデータが変更される。その後、シーケンスはメイン処理ルーチンにリターンする。これにより、例えば第2のペダル操作子16bの踏み込み量に応じてリリース時間が短くなるという従来の電子楽器には存在しない楽音効果が得られる。
【0124】
上記ステップS101でエフェクトはダンパでないことが判断されると、次いで、現在第2のペダル操作子16bに割り当てられているエフェクトはピッチベンドであるかどうかが調べられる(ステップS103)。ここで、ピッチベンドであることが判断されるとピッチ減少処理が行われる(ステップS104)。このピッチ減少処理では、例えば、波形メモリ191から波形データを読み出す速度が、新ペダルデータに応じて小さくなるように変更される。その後、シーケンスはメイン処理ルーチンにリターンする。
【0125】
上記ステップS103で、現在第2のペダル操作子16bに割り当てられているエフェクトがピッチベンドでないことが判断されると、次いで、現在第2のペダル操作子16bに割り当てられているエフェクトはモジュレーションであるかどうかが調べられる(ステップS105)。そして、モジュレーションであることが判断されると、モジュレーション減少処理が行われる(ステップS106)。このモジュレーション減少処理では、例えば音源回路19に含まれるデジタル制御フィルタDCFのカットオフ周波数が新ペダルデータに応じて小さくなるように変更される。その後、シーケンスはメイン処理ルーチンにリターンする。
【0126】
上記ステップS105で、現在第2のペダル操作子16bに割り当てられているエフェクトがモジュレーションでないことが判断されると、その他のエフェクト処理が行われる(ステップS107)。この「その他のエフェクト処理」では上記ステップS48の処理と同様に各種エフェクトを制御する処理が行われるが、基準値より小さい範囲で制御量が変更される。その後、シーケンスはメイン処理ルーチンにリターンする。
【0127】
以上のように、本実施の形態4のエフェクト制御装置によれば、例えばピッチベンドを制御する場合を例にとると、第1のペダル操作子16a及び第2のペダル操作子16bが何れも操作されていない状態では、通常の(ピッチが変更されていない)音程の音が発生される。この状態で第1のペダル操作子16aが踏み込まれると、その踏み込み量に応じてピッチが上がる。一方、第2のペダル操作子16bが踏み込まれると、その踏み込み量に応じてピッチが下がる。従って、第1のペダル操作子16aと第2のペダル操作子16bを交互に踏み込むことにより、ピッチホイールを前後に操作してピッチを変動させる機能と同様の機能を実現できる。
【0128】
【発明の効果】
以上詳述したように、本発明によれば、ホイール型操作子を有していなくても、ホイール型操作子で制御されるような連続的に変化するエフェクトを制御することができるエフェクト制御装置を提供できる。
【図面の簡単な説明】
【図1】本発明のエフェクト制御装置が適用された電子楽器の実施の形態1の構成を示すブロック図である。
【図2】本発明のエフェクト制御装置が適用された電子楽器の実施の形態1の操作パネルの一例を示す図である。
【図3】本発明のエフェクト制御装置が適用された電子楽器の実施の形態1のペダル操作子の構成を示す図である。
【図4】本発明のエフェクト制御装置が適用された電子楽器の実施の形態1のペダル操作子の動作を説明するための図である。
【図5】本発明のエフェクト制御装置が適用された電子楽器の実施の形態1のパネル操作を説明するための図である。
【図6】本発明のエフェクト制御装置が適用された電子楽器の実施の形態1のメイン処理を示すフローチャートである。
【図7】本発明のエフェクト制御装置が適用された電子楽器の実施の形態1のパネル処理(その1)を示すフローチャートである。
【図8】本発明のエフェクト制御装置が適用された電子楽器の実施の形態1のパネル処理(その2)を示すフローチャートである。
【図9】本発明のエフェクト制御装置が適用された電子楽器の実施の形態1のペダル処理を示すフローチャートである。
【図10】本発明のエフェクト制御装置が適用された電子楽器の実施の形態2に用いられる音色−エフェクト対応テーブルの一例を示す図である。
【図11】本発明のエフェクト制御装置が適用された電子楽器の実施の形態2のパネル操作を説明するための図である。
【図12】本発明のエフェクト制御装置が適用された電子楽器の実施の形態2のパネル処理を示すフローチャートである。
【図13】本発明のエフェクト制御装置が適用された電子楽器の実施の形態3のパネル操作を説明するための図である。
【図14】本発明のエフェクト制御装置が適用された電子楽器の実施の形態3のパネル処理(その1)を示すフローチャートである。
【図15】本発明のエフェクト制御装置が適用された電子楽器の実施の形態3のパネル処理(その2)を示すフローチャートである。
【図16】本発明のエフェクト制御装置が適用された電子楽器の実施の形態3のペダル処理を示すフローチャートである。
【図17】本発明のエフェクト制御装置が適用された電子楽器の実施の形態4の構成を示すブロック図である。
【図18】本発明のエフェクト制御装置が適用された電子楽器の実施の形態4のペダル処理(その1)を示すフローチャートである。
【図19】本発明のエフェクト制御装置が適用された電子楽器の実施の形態4のペダル処理(その2)を示すフローチャートである。
【符号の説明】
10 CPU
11 プログラムメモリ
12 ワークメモリ
13 パネルインタフェース回路
14 操作パネル
140 ジョグダイヤル
141 ディスプレイ装置
15 A/D変換器
16 ペダル操作子
16a 第1のペダル操作子
16b 第2のペダル操作子
160 ペダルレバー
161 バネ
162 側板
163、167 回転軸
164 伝達レバー
165 復帰バネ
166 ボリューム
168 レバー
169 ストッパー
17 鍵盤インタフェース回路
18 鍵盤装置
19 音源回路
191 波形メモリ
192 D/A変換器
193 増幅器
194 スピーカ
P1 支点
P2 伝達レバー164の左端部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an effect control device, and more particularly to a technique for controlling various effects using a pedal operator.
[0002]
[Prior art]
Conventionally, most keyboard-type electronic musical instruments such as an electronic keyboard and a synthesizer are provided with a wheel-type controller for controlling effects on the left side of the keyboard. This wheel type operator is used to control continuously changing effects such as pitch bend and modulation.
[0003]
However, among the keyboard-type electronic musical instruments, in particular, many electronic pianos do not include a wheel-type operation element. The reason for this is mainly due to design restrictions or instrument size restrictions. In addition, since the conventional electronic piano is configured to generate only the tone of a piano system such as a piano or a harpsichord, it is not necessary to apply effects such as pitch bend and modulation. One.
[0004]
By the way, recent electronic musical instruments tend to have a function of generating a large number of timbres. This is not an exception for electronic pianos, and in recent years, electronic pianos that can generate many timbres, including stringed instruments such as guitars and violins, wind instruments such as trumpet and trombone, and the like, are not limited to timbres of the piano system. This is a natural trend because an electronic piano is a kind of electronic musical instrument.
[0005]
However, since the electronic piano does not include a wheel-type operation element, it is not possible to handle an effect controlled using the wheel-type operation element. However, depending on the timbre, it may be possible to perform with a richer expression by applying effects such as pitch bend and modulation. Therefore, there is a demand for an electronic piano to be able to handle effects that are controlled by a wheel-type controller.
[0006]
Incidentally, electronic pianos are generally provided with pedal operators such as damper pedals and soft pedals. Therefore, it can be considered that this pedal operator is used instead of the wheel type operator. However, since this pedal operator only functions as a so-called on / off switch that is turned on when it is depressed and turned off when it is separated, data that changes continuously like a wheel-type operator is stored. Cannot occur.
[0007]
[Problems to be solved by the invention]
The present invention has been made in order to meet the above-described demands, and its purpose is to provide a continuously changing effect that is controlled by a wheel-type controller even if the wheel-type controller is not provided. An object of the present invention is to provide an effect control device that can be controlled.
[0008]
[Means for Solving the Problems]
In order to achieve the above object, an effect control apparatus according to the first aspect of the present invention provides:
An effect control device for controlling an effect applied to a musical sound,
A pedal operator,
Detecting means for detecting the depression amount of the pedal operator;
Control means for controlling the magnitude of the effect in accordance with the amount of depression detected by the detection means.
[0009]
In this effect control device, the pedal operator outputs a signal corresponding to the depression amount, not a signal indicating simply on / off. Therefore, for example, effects such as pitch bend and modulation that are controlled by a wheel type operator provided in a conventional electronic musical instrument can be handled. That is, the signal from the pedal operator is detected as data indicating the depression amount by the detection means and is sent to the control means. Based on the data from the detection means, the control means changes the size of the effect, for example, the pitch fluctuation width at the time of pitch bend, or the cutoff frequency of the filter when applying modulation. As a result, the desired musical sound effect is exhibited.
[0010]
In addition, the effect control device further includes an association unit that associates a specific effect among a plurality of effects with the pedal operator, and the control unit associates the pedal operation element according to the depression amount detected by the detection unit. The means can be configured to control the magnitude of a specific effect associated with the pedal operator. This association means can be constituted by an operation panel, for example. In this case, the operator associates the pedal operator with the effect using the operation panel. According to this configuration, the operator can assign any kind of effect to the pedal operator, which improves usability.
[0011]
The effect control apparatus including the association unit further includes a timbre selection unit that selects a timbre, and the association unit is configured to select the timbre selected by the timbre selection unit and the pedal operator and the timbre. It can be configured to be associated with a specific effect. According to this configuration, since an effect suitable for the tone can be automatically assigned to the pedal operator simply by selecting a predetermined tone, an operation for the operator to associate the pedal operator with the effect type is possible. Is no longer necessary, making it easier to use.
[0012]
Moreover, the effect control apparatus according to the second aspect of the present invention includes:
An effect control device for controlling a plurality of effects imparted to a musical sound,
A pedal operator,
Detecting means for detecting the depression amount of the pedal operator;
If the stepping amount detected by the detection means is within a predetermined range, the magnitude of the first effect is controlled according to the stepping amount within the predetermined range, and the stepping amount detected by the detection means is the predetermined amount. Control means for controlling the magnitude of the second effect according to the amount of depression outside the predetermined range if it is out of the range.
[0013]
This effect control device realizes a function similar to a so-called aftertouch function in a keyboard device with a pedal operator. That is, if the amount of depression of the pedal operator is within a predetermined range, for example, within the range from the initial state of the pedal operator to about half of the movable range, the size of the first effect is controlled according to the amount of depression. To do. On the other hand, if the amount of depression of the pedal operator is outside the predetermined range, for example, if it is within the range of the maximum depression state from about half the movable range of the pedal operator, the size of the second effect is controlled according to the amount of depression. .
[0014]
With this configuration, the size of two types of effects can be controlled with a single pedal operator, so the number of operators for controlling the effect can be reduced. In addition, since the type and size of the effect can be changed simply by changing the depression amount of the pedal operator, the effect can be switched easily and quickly.
[0015]
It should be noted that a mechanism for generating a click feeling can be provided at a position approximately in the middle of the movable range of the pedal operator. According to this configuration, the operator can easily recognize whether the depression position of the pedal operator is within the predetermined range or outside the predetermined range, so that the operability is improved.
[0016]
The effect control device further includes an association unit that associates a first effect and a second effect among the plurality of effects to the pedal operator, and the control unit is detected by the detection unit. If the amount of depression is within a predetermined range, the magnitude of the first effect associated with the pedal operator is controlled by the association means according to the amount of depression within the predetermined range, and detected by the detection means If the depressed amount is outside the predetermined range, the size of the second effect associated with the pedal operator can be controlled by the associating means according to the depressed amount outside the predetermined range. .
[0017]
The effect control apparatus including the association unit further includes a timbre selection unit that selects a timbre, and the association unit applies the pedal operation element to the pedal operator based on the timbre selected by the timbre selection unit. The first effect and the second effect can be associated with each other.
[0018]
Moreover, the effect control device according to the third aspect of the present invention provides:
An effect control device that controls the size of an effect imparted to a musical sound in a first range that is greater than or equal to a reference value and a second range that is less than the reference value,
At least a first pedal operator and a second pedal operator;
First detecting means for detecting a depression amount of the first pedal operator;
A second detection means for detecting a depression amount of the second pedal operator;
The magnitude of the effect is controlled in the first range according to the depression amount detected by the first detection means, and the effect magnitude according to the depression amount detected by the second detection means. And control means for controlling in the second range.
[0019]
This effect control device realizes a function similar to the function of the middle point return type wheel type operator with two pedal operators. That is, the state where the wheel-type operation element is stable at the middle point corresponds to the state where neither the first pedal operation element nor the second pedal operation element is operated. Further, the state where the first pedal operator is depressed corresponds to a state where the wheel-type operator is rotated in one direction, and the state where the second pedal operator is depressed corresponds to a state where the second pedal operator is rotated in the other direction. .
[0020]
When the amount of depression of the first pedal operator is detected using the magnitude of the effect when neither the first or second pedal operator is operated as a reference value, a value corresponding to the amount of depression is obtained. The result added to the reference value is used as the new effect size. On the other hand, when the depression amount of the second pedal operator is detected, a result obtained by subtracting a value corresponding to the depression amount from the reference value is set as a new effect size.
[0021]
Now, for example, it is assumed that pitch bend is controlled by this effect control apparatus. In a state where neither the first pedal operation element nor the second pedal operator is operated, a sound having a normal pitch (the pitch is not changed) is generated. When the first pedal operator is depressed in this state, the pitch increases according to the depression amount. On the other hand, when the second pedal operator is depressed, the pitch is lowered according to the depression amount. Therefore, for example, by alternately depressing the first pedal operator and the second pedal operator, a function similar to the function of swinging the pitch by operating the pitch wheel back and forth can be realized.
[0022]
Further, the effect control device further includes an association means for associating a specific effect among a plurality of effects with the first and second pedal operators, and the control means is detected by the first detection means. The size of the specific effect associated by the association unit is controlled in the first range according to the depressed step amount, and the association is performed according to the depression amount detected by the second detection unit. The size of the specific effect associated with the means can be controlled within the second range.
[0023]
Furthermore, the effect control apparatus including the association unit further includes a timbre selection unit that selects a timbre, and the association unit is configured to perform the first and second operations based on the timbre selected by the timbre selection unit. The pedal operator can be associated with the specific effect.
[0024]
If this effect control device is applied to an electronic piano, it is possible to control the size of the timbre other than that of the piano system in the electronic piano by applying effects suitable for each timbre with the pedal operator. Perform expressive performances.
[0025]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the effect control device of the present invention will be described in detail with reference to the drawings. In the following, a case where the effect control device according to the present invention is applied to an electronic musical instrument will be described.
[0026]
(Embodiment 1)
FIG. 1 is a block diagram showing the configuration of an electronic musical instrument to which the effect control apparatus of the present invention is applied. In this electronic musical instrument, a central processing unit (hereinafter referred to as “CPU”) 10, a program memory 11, a work memory 12, a panel interface circuit 13, a keyboard interface circuit 17, a tone generator circuit 19 and a MIDI interface circuit 20 are mutually connected by a bus 30. It is connected to the. The bus 30 is composed of signal lines for transmitting address signals, data signals, control signals, and the like, for example, and is used for transmitting and receiving data between the above-described elements.
[0027]
The CPU 10 performs processing for realizing various functions that the electronic musical instrument should have in accordance with a control program stored in the program memory 11. For example, the CPU 10 performs keyboard processing according to keyboard operation, panel processing according to panel operation, effect control processing according to pedal operation, and other processing.
[0028]
The program memory 11 can be constituted by, for example, a read only memory (hereinafter referred to as “ROM”). In addition to the control program described above, the program memory 11 stores various fixed data used by the CPU 10, timbre parameters for designating timbres, and the like. The timbre parameter is provided for each of a plurality of tone ranges for each of a plurality of instrument sounds, for example. Each tone color parameter is composed of, for example, a waveform address, frequency data, envelope data, filter coefficients, and the like.
[0029]
The work memory 12 can be composed of, for example, a random access memory (hereinafter referred to as “RAM”). The work memory 12 temporarily stores various data processed by the CPU 10. The work memory 12 is provided with, for example, various tables, buffers, registers, counters, flags, and the like.
[0030]
An operation panel 14 and an A / D converter 15 are connected to the panel interface circuit 13. A pedal operator 16 is further connected to the A / D converter 15.
[0031]
The operation panel 14 is provided with function keys F1 to F5, a jog dial 140, and a display device 141, for example, as shown in FIG. FIG. 2 shows only elements necessary for the description of the present invention, but the operation panel 14 of an actual electronic musical instrument is provided with various switches, indicators and the like in addition to the above.
[0032]
The function keys F1 to F5 are used for setting the operation mode of the electronic musical instrument. In the first embodiment, the function key F1 is used to shift the operation mode of the electronic musical instrument to the play mode (normal performance mode). The function key F2 is used to shift the operation mode of the electronic musical instrument to the timbre selection mode. The function key F3 is used to shift the operation mode of the electronic musical instrument to the pedal operator assignment mode. Other function keys are undefined in the first embodiment.
[0033]
The jog dial 140 is used for inputting numerical values. For example, in the timbre selection mode, it is used to input a timbre number representing the timbre type. In the pedal operator assignment mode, it is used to input an effect number representing the type of effect.
[0034]
The display device 141 is used for displaying various messages. As this display device 141, for example, an LCD display device, a CRT display device, and other various display devices capable of displaying characters can be used.
[0035]
For example, the pedal operator 16 is configured as shown in FIG. That is, the pedal lever 160 is configured to rotate downward in the figure around the fulcrum P1, and is normally supported horizontally by the spring 161 in the normal state. In this state, the left end portion P2 of the transmission lever 164 fixed to the rotating shaft 163 supported by the side plate 162 abuts a part of the pedal lever 160, and the right side portion of the transmission lever 164 is moved downward in the figure by the return spring 165. Pressed down. On the other hand, a lever 168 is fixed to a rotation shaft 167 of a rotary volume 166 attached to the side plate 162, and a tip end portion of the lever 168 is connected to a right end portion of the transmission lever 164. In this state, the volume 166 is set to the initial position of the movable range, and the volume value is the minimum value.
[0036]
FIG. 4 shows a state when the pedal lever 160 is depressed. That is, when the pedal lever 160 is depressed, the pedal lever 160 rotates around the fulcrum P1. As a result, the left end portion P2 of the transmission lever 164 is pushed down and rotated, and the right side portion thereof is pushed up. As a result, the lever 168 is pushed up, the rotation shaft 167 of the volume 166 is rotated, and the volume value is changed. When the pedal lever 160 is depressed to the maximum depressed position (position where the pedal lever 160 contacts the stopper 169), the volume 166 is set to the maximum position of the movable range, and the volume value becomes the maximum value.
[0037]
The structure of the pedal operator 16 shown in FIGS. 3 and 4 is an example, and the present invention is not limited to this. In short, any structure may be used as long as it can output an electrical signal corresponding to the depression amount of the pedal lever 160.
[0038]
A power source (not shown) is supplied to the volume 166, and an analog signal corresponding to the rotational position is output from the movable output terminal. The analog signal from the volume 166 of the pedal operator 16 is supplied to the A / D converter 15 as shown in FIG. The analog signal is converted into a digital signal by the A / D converter 15 and supplied to the panel interface circuit 13.
[0039]
The panel interface circuit 13 controls data transmission / reception between the operation panel 14 and the A / D converter 15 and the CPU 10. That is, the panel interface circuit 13 generates panel data based on the signal received from the operation panel 14 and sends it to the CPU 10. This panel data is composed of switch data and dial data. The switch data is composed of a bit string in which each switch corresponds to 1 bit. The dial data is composed of data indicating the rotation direction of the jog dial 140 and the presence or absence of displacement. CPU10 performs various processes according to panel operation based on this panel data.
[0040]
The panel interface circuit 13 receives a digital signal from the A / D converter 15, generates pedal data based on the digital signal, and sends the pedal data to the CPU 10. Further, the panel interface circuit 13 sends the display data received from the CPU 10 to the operation panel 14. As a result, display of data on the display device 141 of the operation panel 14, control of turning on / off various indicators (not shown), and the like are performed.
[0041]
A keyboard device 18 is connected to the keyboard interface circuit 17. The keyboard device 18 has a plurality of keys for instructing sound generation / mute. For example, a two-contact key is used for the keyboard device 18. That is, each key of the keyboard device 18 has two key switches that open and close in conjunction with key depression or key release, and can detect a key touch based on the on / off time difference of each key switch. Yes.
[0042]
The keyboard interface circuit 17 detects the on / off state of each key and the strength of key touch accompanying key depression or key release. That is, the keyboard interface circuit 17 generates key data indicating the on / off state of each key and touch data indicating the strength of the key touch based on a signal received from the keyboard device 18 and sends the generated key data to the CPU 10. Based on the key data and touch data, the CPU 10 performs a sound generation or mute process corresponding to a key press or key release.
[0043]
A waveform memory 191 and a D / A converter 192 are connected to the sound source circuit 19. The waveform memory 191 stores waveform data and is composed of, for example, a ROM. The waveform memory 191 stores a plurality of waveform data corresponding to each of a plurality of timbre parameters. The waveform data can be created, for example, by converting the emitted musical sound into an electrical signal and performing pulse code modulation (PCM). The waveform memory 191 is accessed by the tone generator circuit 19.
[0044]
The sound source circuit 19 can be constituted by a digital signal processor (DSP), for example. The tone generator circuit 19 has a plurality of tone generation channels, and generates a tone signal in response to an instruction from the CPU 10. In other words, when the tone generator 19 receives data and tone color parameters for designating the sound generation channel from the CPU 10, it activates the designated sound generation channel. The activated tone generation channel reads waveform data corresponding to the timbre parameter from the waveform memory 191, adds an envelope to the waveform data, generates a digital musical tone signal, and sends it to the D / A converter 192.
[0045]
The D / A converter 192 converts the input digital musical tone signal into an analog musical tone signal. The output from the D / A converter 192 is supplied to the amplifier 193. The amplifier 193 amplifies the input musical sound signal and sends it to the speaker 194. The speaker 194 converts the musical sound signal from the amplifier 193 into an acoustic signal and outputs it. Thereby, a musical tone is generated from the speaker 194.
[0046]
The MIDI interface circuit 20 controls transmission / reception of MIDI data between an externally connected MIDI device and the electronic musical instrument. Examples of the MIDI device include other electronic musical instruments, computers, sequencers, and the like.
[0047]
Next, in the electronic musical instrument configured as described above, an operation for selecting a timbre using the operation panel 14 and an operation for assigning an effect to the pedal operator 16 will be described. In the initial state immediately after the power is turned on, a damper effect is assigned to the pedal operator 16 as an effect.
[0048]
First, an operation for selecting a timbre will be described. In this case, the operator first presses the function key F2. Thus, as shown in FIG. 5A, for example, the display device 141 prompts the user to input a timbre number in the timbre number input field, and a guide message indicating the correspondence between the timbre number and the timbre name. Is displayed. At this time, the currently selected tone color number is displayed in the tone color number input field. In this state, the operator refers to the guide message to confirm the desired tone color number and operates the jog dial 140 to select the desired tone color. That is, when the jog dial 140 is turned, the timbre number displayed in the timbre number input field changes. When the operator stops the operation of turning the jog dial 140 when a desired timbre number is displayed, the timbre of the number displayed in the timbre number input field at that time is selected. The selected timbre number is stored in a timbre number register provided in the work memory 12. Thereafter, when the keyboard device 18 is operated, a musical tone having the selected tone color is generated.
[0049]
In addition, when the number of timbres is large and guide messages corresponding to all timbres cannot be displayed on the display device 141, it can be configured to be displayed in a plurality of times. In this case, when the timbre number in the timbre number input field is changed to a timbre number not included in the guide message, the timbre number can be changed to a guide message including the timbre number.
[0050]
Next, an operation for assigning an effect to the pedal operator 16 will be described. In this case, the operator first presses the function key F3. Thus, as shown in FIG. 5B, for example, the display device 141 prompts the effect number input field to input the effect number, and the guide message indicating the correspondence between the effect number and the effect name. Is displayed. At this time, the effect number currently assigned to the pedal operator 16 is displayed in the effect number input field. In this state, the operator refers to the guide message to confirm the desired effect number, and operates the jog dial 140 to select the desired effect. That is, when the jog dial 140 is turned, the effect number displayed in the effect number input field changes. When the operator stops the operation of turning the jog dial 140 when the desired effect number is displayed, the tone color of the effect displayed in the effect number input field at that time is selected. The selected effect number is stored in an effect number register provided in the work memory 12. Thereafter, when the pedal operator 16 is operated, a musical sound to which the selected effect is added is generated.
[0051]
If there are many types of effects and guide messages corresponding to all the effects cannot be displayed on the display device 141, the display can be divided into a plurality of times as in the case of the timbre. In this case, when the effect number in the effect number input field is changed to an effect number not included in the guide message, it can be configured to change to the guide message including the effect number.
[0052]
Next, main ones of buffers, registers, counters, flags and the like defined in the work memory 12 will be described.
[0053]
(A) Play mode flag PLY: Stores that the electronic musical instrument is in the normal performance mode.
(B) Tone selection mode flag: Stores that the electronic musical instrument is in the tone color selection mode.
(C) Pedal operator assignment mode flag: Stores that the electronic musical instrument is in a mode for assigning effects to the pedal operator 16.
(D) Tone number register: Stores the tone number of the tone color currently set for the electronic musical instrument.
(E) Effect number register: Stores the effect number of the effect currently assigned to the pedal operator.
[0054]
Next, the operation of the electronic musical instrument of the first embodiment in the above configuration will be described with reference to the flowcharts of FIGS.
[0055]
(1) Main processing
FIG. 6 is a flowchart showing main processing of the electronic musical instrument. This main processing routine is started by turning on the power. That is, when the power is turned on, an initialization process is first performed (step S10). In this initialization process, the inside of the CPU 10 is reset, and buffers, registers, counters, flags, and the like defined in the work memory 12 are set to an initial state.
[0056]
When this initialization process is completed, a panel process is then performed (step S11). In this panel processing, processing corresponding to the operation of the switch on the operation panel 14, processing for displaying characters and the like on the display device, lighting / extinguishing processing of an indicator (not shown), and the like are performed. Details of this panel processing will be described later.
[0057]
Next, keyboard processing is performed (step S12). In this keyboard process, a sound generation process, a mute process, and the like are performed. As a result, a musical tone corresponding to the operation of the keyboard device 18 is generated.
[0058]
Next, pedal processing is performed (step S13). In this pedal process, a process for generating an effect assigned to the pedal operator 16 is performed. Details of the pedal process will be described later.
[0059]
Next, “other processing” is performed (step S14). In this “other processing”, for example, processing for transmitting / receiving MIDI data to / from an external MIDI device via the MIDI interface circuit 20 is performed. Thereafter, the process returns to step S11, and the same processing is repeated thereafter.
[0060]
As described above, when a panel operation or a keyboard operation is performed in the process of repeatedly executing steps S11 to S14 of the main processing routine, a process corresponding to the operation is performed. Thereby, various functions as an electronic musical instrument are realized.
[0061]
(2) Panel processing
Next, details of the panel processing will be described with reference to the flowcharts of FIGS. This panel processing routine is called at regular intervals from the main processing routine.
[0062]
In the panel process, first, a panel scan process is performed (step S20). In this panel scan process, panel data is read from the operation panel 14 via the panel interface circuit 13. Then, switch data in the panel data (hereinafter referred to as “new switch data”) and switch data read from the operation panel 14 in the previous panel processing and already stored in a predetermined area of the work memory 12. (Hereinafter, referred to as “old switch data”) is subjected to an exclusive OR operation. This calculation result is stored in a predetermined area of the work memory 12 as a panel event map. Thereafter, the new switch data is stored in the predetermined area of the work memory 12 as the old switch data.
[0063]
Next, it is checked whether or not there is an on event of the function key F1 (step S21). This is done by examining whether both the bit corresponding to the function key F1 in the panel event map and the bit corresponding to the function key F1 in the new switch data are turned on. The presence / absence of a switch ON event can be examined in the same manner for other switches.
[0064]
If it is determined that there is an on event of the function key F1, the play mode flag PLY is set to “1”, the tone color selection mode flag TBR and the pedal operator assignment mode flag PDL are cleared to “0”. (Step S22). As a result, the electronic musical instrument shifts to the play mode. Thereafter, the sequence returns to the main processing routine. When the keyboard device 18 is operated in this play mode, a musical tone is generated. The play mode flag PLY is cleared to “0” when the electronic musical instrument shifts to another operation mode.
[0065]
If it is determined in step S21 that there is no on event of the function key F1, then it is checked whether there is an on event of the function key F2 (step S23). If it is determined that there is an on event of the function key F2, the tone selection mode flag TBR is set to “1” and the play mode flag PLY and the pedal operator assignment mode flag PDL are cleared to “0”. (Step S24). As a result, the electronic musical instrument enters a timbre selection mode. Thereafter, the sequence returns to the main processing routine.
[0066]
If it is determined in step S23 that there is no function key F2 on event, then it is checked whether there is a function key F3 on event (step S25). If it is determined that the function key F3 is on, the pedal operator assignment mode flag PDL is set to “1”, and the play mode flag PLY and the tone color selection mode flag TBR are cleared to “0”. (Step S26). As a result, the electronic musical instrument enters the pedal operator assignment mode. Thereafter, the sequence returns to the main processing routine.
[0067]
If it is determined in step S25 that there is no function key F3 on event, then it is checked whether there is an event on the jog dial 140 (step S27). This is done by examining whether the dial data in the panel data read in step S20 indicates that there is a displacement. If it is determined that there is an event of the jog dial 140, it is then checked whether or not the tone color selection mode is set (step S28). This is done by checking whether the timbre selection mode flag TBR is set to “1”. If it is determined that the timbre selection mode is selected, a timbre number update process is performed (step S29). That is, the content of the tone color number register is “+1” or “−1” according to the dial data. In this case, the dial data is “+1” if the jog dial 140 indicates that it has been rotated to the right, and “−1” if it indicates that it has been rotated in the left direction. By updating the contents of the timbre number register in this way, a new timbre is determined. The contents of the tone color number register are referred to during keyboard processing and are used to select a tone color parameter.
[0068]
Next, message display processing is performed (step S30). In this process, the changed timbre number is displayed in the timbre number input field of the display device 141. In the case where the guide message is displayed on the display device 141 in a plurality of times, the timbre number is included when the timbre number in the timbre number input field is changed to a timbre number not included in the guide message. Processing to change to a guide message is performed. Thereafter, the sequence returns to the main processing routine.
[0069]
If it is determined in step S28 that the timbre selection mode is not selected, it is then checked whether the pedal operator assignment mode is selected (step S31). This is performed by checking whether the pedal operator assignment mode flag PDL is set to “1”. If it is determined that the pedal operator assignment mode is set, an effect number update process is performed (step S32). That is, as in the timbre number update process, the contents of the effect number register are “+1” or “−1” according to the dial data. By changing the contents of the effect number register in this way, the effect to be assigned to the pedal operator 16 is determined. The contents of the effect number register are referred to at the time of sound generation and are used to add effects to the musical sound.
[0070]
Next, a message display process is performed (step S33). In this process, the changed effect number is displayed in the effect number input field of the display device 141. In the case where the guide message is displayed on the display device 141 in a plurality of times, the effect number is included when the effect number in the effect number input field is changed to an effect number not included in the guide message. Processing to change to a guide message is performed. Thereafter, the sequence returns to the main processing routine. If it is determined in step S31 that the pedal operator assignment mode is not set, the sequence returns to the main processing routine.
[0071]
If it is determined in step S27 that there is no event of the jog dial 140, "other switch processing" is performed (step S34). In this processing, various switch processing (not shown), indicator on / off processing, and the like are performed, and then the sequence returns to the main processing routine.
[0072]
(3) Pedal processing
Next, details of the pedal processing will be described with reference to the flowchart of FIG. This pedal processing routine is called at regular intervals from the main processing routine.
[0073]
In the pedal process, first, a pedal scan process is performed (step S40). In this pedal scan process, pedal data (hereinafter referred to as “new pedal data”) is read from the pedal operator 16 via the panel interface circuit 13.
[0074]
Next, it is checked whether there is a pedal event (step S41). That is, the new pedal data is compared with the pedal data (hereinafter referred to as “old pedal data”) read from the pedal operator 16 in the previous pedal processing and already stored in a predetermined area of the work memory 12. As a result of this comparison, if it is determined that there is a difference, it is recognized that there is a pedal event; otherwise, it is recognized that there is no pedal event.
[0075]
If it is determined in step S41 that there is no pedal event, the sequence returns to the main processing routine. On the other hand, if it is determined that there is a pedal event, it is then checked whether or not the effect currently assigned to the pedal operator 16 is a damper (step S42). This is done by referring to the effect number stored in the effect number register, and the same applies to the following. If it is determined that the damper is used, a damper process is performed (step S43). In this damper processing, for example, the release time data in the envelope data is changed so that the release time of the envelope becomes longer according to the new pedal data. Thereafter, the sequence returns to the main processing routine. As a result, for example, a half damper function is realized that changes the effectiveness of the damper according to the depression amount of the pedal operator 16.
[0076]
If it is determined in step S42 that the effect is not a damper, it is then checked whether the effect currently assigned to the pedal operator 16 is pitch bend (step S44). If it is determined that the pitch bend is detected, a pitch change process is performed (step S45). In this pitch change process, for example, the speed at which the waveform data is read from the waveform memory 191 is changed according to the new pedal data. This change may be made in the direction of increasing the pitch or in the direction of decreasing. Further, it may be configured such that the vicinity of the center position of the movable range of the pedal operator 16 is set as a regular pitch, the pitch is lowered when the amount of depression is smaller than the position, and the pitch is raised when larger. Thereafter, the sequence returns to the main processing routine.
[0077]
If it is determined in step S44 that the effect currently assigned to the pedal operator 16 is not pitch bend, it is then checked whether the effect currently assigned to the pedal operator 16 is modulation (step S44). S46). If it is determined that the modulation is made, a modulation process is performed (step S47). In this modulation process, for example, the cutoff frequency of the digital control filter DCF included in the sound source circuit 19 is changed according to the new pedal data. Note that this change may be made in the direction in which the cutoff frequency is increased or decreased. The cut-off frequency most suitable for the tone is set near the center position of the movable range of the pedal operator 16 so that the cut-off frequency is lowered when the amount of depression is smaller than the position, and the cut-off frequency is raised when larger. It may be configured. Thereafter, the sequence returns to the main processing routine.
[0078]
If it is determined in step S46 that the effect currently assigned to the pedal operator 16 is not modulation, other effect processing is performed (step S48). Examples of effects to be subjected to the “other effect processing” include tremolo depth, chorus depth, celeste depth, phaser depth, and other effects controlled by various continuously variable types of data. Thereafter, the sequence returns to the main processing routine.
[0079]
As described above, the effect control apparatus of the first embodiment has one pedal operator, and is configured so that an effect assigned to the pedal operator can be arbitrarily selected from a plurality of types of effects. However, a specific effect can be fixedly assigned to one pedal operator. In this case, the function key F3 provided for assigning the effect to the pedal operator 16 and the corresponding panel processing are not required.
[0080]
(Embodiment 2)
The effect control apparatus according to the second embodiment of the present invention automatically assigns effects to the pedal operator 16 based on the selected tone color. Therefore, in this effect control apparatus, there is no pedal operator assignment mode.
[0081]
The configuration of this effect control apparatus is the same as that shown in the block diagram of FIG. However, in this effect control device, since there is no pedal operator assignment mode, the function key F3 which is an operator for shifting to this mode is not used. Therefore, the pedal operator assignment mode flag PDL is not defined.
[0082]
In the effect control apparatus according to the second embodiment, a “tone color-effect correspondence table” is used to associate each tone color with the type of effect. This table is formed in a predetermined area of the RAM 12. FIG. 10 shows an example of this tone color-effect correspondence table. FIG. 10 shows that, for example, a damper effect is associated with the timbre of the piano 1 with the timbre number “01”, and a pitch bend is associated with the guitar timbre with the timbre number “06”.
[0083]
The timbre selection operation in the effect control apparatus of the second embodiment is the same as the operation in the first embodiment described above. However, when this timbre selection operation is performed, the effect assigned to the pedal operator 16 is also determined simultaneously. This is different from the effect control apparatus of the first embodiment.
[0084]
Next, the operation of the electronic musical instrument of the second embodiment in the above configuration will be described with reference to the drawings. The main processing and pedal processing routines are the same as those used in the first embodiment, but the panel processing routine is different from that in the first embodiment.
[0085]
Hereinafter, the panel processing according to the second embodiment will be described with reference to the flowchart of FIG. The processing of steps S50 to S54 of the present panel processing routine is the same as the processing of steps S20 to S24 in the panel processing (see FIG. 7) of the first embodiment described above except for the following points. The difference is that the pedal operator assignment flag PDL is cleared to “0” in step S22, whereas this process does not exist in step S52. This is because the pedal operator assignment mode flag PDL does not exist in the second embodiment.
[0086]
If it is determined in step S53 that there is no function key F2 on event, then it is checked whether there is an event on the jog dial 140 (step S55). This is performed in the same manner as in step S27. If it is determined that there is an event of the jog dial 140, a timbre number update process is performed (step S56). The contents of this process are the same as those in step S29. Next, effect number update processing is performed (step S57). That is, the effect number corresponding to the new tone color number obtained in step S56 is extracted from the tone color-effect correspondence table and set in the effect number register.
[0087]
Next, message display processing is performed (step S58). In this process, the updated timbre number is displayed in the timbre number input field of the display device 141. Further, the effect number corresponding to the tone number and assigned to the pedal operator 16 is displayed in a predetermined area of the display device 141 as shown in FIG. 11, for example. In this case, the effect name may be displayed instead of the effect number. In the case of a configuration in which the guide message is displayed on the display device 141 in a plurality of times, it can be processed in the same manner as in the first embodiment described above. Thereafter, the sequence returns to the main processing routine.
[0088]
If it is determined in step S55 that there is no event of the jog dial 140, "other switch processing" is performed (step S59). The contents of this process are the same as those in step S34.
[0089]
As described above, according to the effect control apparatus of the second embodiment, when a predetermined timbre is selected, the effect corresponding to the timbre is automatically assigned to the pedal operator 16, so that the operator can operate the pedal. An operation for associating the operation element 16 with the type of effect becomes unnecessary. In addition, the number of function keys can be reduced, and the processing amount in panel processing can be reduced.
[0090]
(Embodiment 3)
The effect control apparatus according to the third embodiment of the present invention is configured to change the type of effect to be controlled and the size of the effect according to the depression amount of the pedal operator 16. In the following, the first effect is applied to the pedal operator 16 when the depression amount of the pedal operator 16 is equal to or less than the predetermined value P, and the second effect is applied to the pedal operator 16 when the pedal operator 16 is greater than the predetermined value P. Are assigned respectively.
[0091]
The configuration of this effect control apparatus is the same as that shown in the block diagram of FIG. However, in this effect control apparatus, since two effects such as the first effect and the second effect are assigned to the pedal operator 16, the function key F3 of the operation panel 14 assigns the electronic musical instrument to the first pedal operator. The function key F4 is used to shift the electronic musical instrument to the second pedal operator assignment mode.
[0092]
Further, the RAM 12 stores a first pedal operator assignment mode flag PDL1 for storing the first pedal operator assignment mode, and a second pedal storage for storing the second pedal operator assignment mode. A second pedal operator assignment mode flag PDL2, a first effect number register for storing the effect number of the first effect, and a second effect number register for storing the effect number of the second effect are defined.
[0093]
The operation of assigning the first effect and the second effect to the pedal operator 16 is the same as the operation of assigning the effect to the pedal operator 16 in the effect control apparatus of the first embodiment. However, in order to clarify whether the first effect or the second effect is assigned to the pedal operator 16, when the first effect is assigned, the message shown in FIG. Is assigned, a message shown in FIG.
[0094]
Next, the operation of the electronic musical instrument of the third embodiment in the above configuration will be described with reference to the drawings. The main processing routine used in the first embodiment is used as it is. The routines of the panel process and the pedal process of the third embodiment are different from those of the first embodiment described above.
[0095]
(1) Panel processing
Hereinafter, the panel processing according to the third embodiment will be described with reference to the flowcharts of FIGS.
[0096]
The processing of steps S60 to S64 of the present panel processing routine is the same as the processing of steps S20 to S24 in the panel processing (see FIG. 7) of the first embodiment described above except for the following points. The difference is that in step S22 and step S24, the pedal operator assignment flag PDL is cleared to “0”, whereas in steps S62 and S64, the first pedal operator assignment flag PFL1 and the second pedal operation are changed. The child assignment flag PFL2 is cleared to “0”. This is because PDL1 and PDL2 are defined as pedal operator assignment mode flags in the third embodiment.
[0097]
If it is determined in step S63 that there is no function key F2 on event, then it is checked whether there is a function key F3 on event (step S65). If it is determined that there is an on event of the function key F3, the first pedal operator assignment mode flag PDL1 is set to “1”, the play mode flag PLY, the tone color selection mode flag TBR, and the second The pedal operator assignment mode flag PDL2 is cleared to “0” (step S66). As a result, the electronic musical instrument shifts to the first pedal operator assignment mode. Thereafter, the sequence returns to the main processing routine.
[0098]
If it is determined in step S65 that there is no event for the function key F3, then it is checked whether there is an event for the function key F4 (step S67). If it is determined that there is an on event of the function key F4, the second pedal operator assignment mode flag PDL2 is set to "1", the play mode flag PLY, the tone color selection mode flag TBR, and the first The pedal operator assignment mode flag PDL1 is cleared to “0” (step S68). As a result, the electronic musical instrument shifts to the second pedal operator assignment mode. Thereafter, the sequence returns to the main processing routine.
[0099]
If it is determined in step S67 that there is no event for the function key F4, it is then checked whether there is an event for the jog dial 140 (step S69). It is checked whether or not there is (step S70). If it is determined that the timbre selection mode is selected, a timbre number update process is performed (step S71), and then a message display process is performed (step S72). Thereafter, the sequence returns to the main processing routine. The above processing is the same as the processing in steps S27 to S30.
[0100]
If it is determined in step S70 that the timbre selection mode is not selected, it is then checked whether or not the first pedal operator assignment mode is selected (step S73). This is performed by checking whether or not the first pedal operator assignment mode flag PDL1 is set to “1”. Here, if it is determined that the first pedal operator assignment mode is set, a first effect number update process is performed (step S74). That is, the content of the first effect number register is “+1” or “−1” according to the dial data. In this way, the first effect assigned to the pedal operator 16 is determined by changing the contents of the first effect number register. The contents of the first effect number register are referred to at the time of sound generation and are used to add effects to the musical sound.
[0101]
Next, message display processing is performed (step S75). In this process, the changed first effect number is displayed in the effect number input field of the display device 141. Further, when the guide message is displayed on the display device 141 in a plurality of times, it can be processed in the same manner as in the first embodiment. Thereafter, the sequence returns to the main processing routine.
[0102]
If it is determined in step S73 that the mode is not the first pedal operator assignment mode, it is then checked whether or not the second pedal operator assignment mode is set (step S76). This is done by checking whether the second pedal operator assignment mode flag PDL2 is set to "1". Here, if it is determined that the second pedal operator assignment mode is set, a second effect number update process is performed (step S77). That is, the content of the second effect number register is “+1” or “−1” according to the dial data. By changing the contents of the second effect number register in this way, the second effect to be assigned to the pedal operator 16 is determined. The contents of the second effect number register are referred to at the time of sound generation and are used to add effects to the musical sound.
[0103]
Next, message display processing is performed (step S78). In this process, the changed second effect number is displayed in the effect number input field of the display device 141. Further, when the guide message is displayed on the display device 141 in a plurality of times, it can be processed in the same manner as in the first embodiment. Thereafter, the sequence returns to the main processing routine. If it is determined in step S76 that the mode is not the second pedal operator assignment mode, the sequence returns to the main processing routine.
[0104]
If it is determined in step S69 that there is no event of the jog dial 140, "other switch processing" is performed (step S79). The contents of this process are the same as those in step S34.
[0105]
(2) Pedal processing
Next, the details of the pedal processing will be described with reference to the flowchart of FIG. This pedal processing routine is called at regular intervals from the main processing routine.
[0106]
In the pedal process, first, a pedal scan process is performed (step S80). Next, it is checked whether there is a pedal event (step S81). If it is determined here that there is no pedal event, the sequence returns to the main processing routine. The above processing is the same as the processing in steps S40 and S41.
[0107]
On the other hand, if it is determined that there is a pedal event, it is then checked whether or not the amount of depression of the pedal operator 16 is equal to or less than a predetermined value P (step S82). When it is determined that the value is equal to or less than the predetermined value P, processing for the first effect is performed (step S83). The processing for the first effect is the panel processing (FIG. 1) described in the first embodiment except that the effect type is determined with reference to the effect number stored in the first effect number register. This is the same as the processing of steps S42 to S48 in 9).
[0108]
If it is determined in step S82 that the depression amount of the pedal operator 16 is greater than the predetermined value P, processing for the second effect is performed (step S84). The process for the second effect is the panel process (FIG. 1) described above except that the effect type is determined with reference to the effect number stored in the second effect number register. This is the same as the processing of steps S42 to S48 in 9).
[0109]
As described above, according to the effect control apparatus of the third embodiment, the size of two kinds of effects can be controlled by one pedal operator 16, so that the number of operators for controlling the effect is reduced. it can. In addition, since the type and size of the effect can be changed simply by changing the depression amount of the pedal operator 16, the effect can be switched easily and quickly.
[0110]
In the effect control device according to the third embodiment, the two effects are assigned in two cases, when the amount of depression of the pedal operator 16 is equal to or less than the predetermined value P and when the amount of depression is greater than the predetermined value P. You may comprise so that it may divide into three or more and control three or more effects.
[0111]
In addition, the effect control apparatus according to the third embodiment is configured such that the first and second effects can be arbitrarily selected from a plurality of types of effects, but are specified as the first and second effects, respectively. It is also possible to configure so that these effects are fixedly assigned. In this case, the function keys F3 and F4 provided for assigning predetermined effects as the first and second effects and the corresponding panel processing are not required.
[0112]
Furthermore, a timbre-effect correspondence table as shown in the second embodiment can be prepared in advance, and the first and second effect types can be selected simultaneously when selecting a timbre. .
[0113]
(Embodiment 4)
The effect control apparatus according to the fourth embodiment of the present invention has two pedal operators, and one pedal operator changes the magnitude of the effect within a range larger than the reference value in accordance with the amount of depression. In the pedal operator, the size of the effect is changed in a range smaller than a reference value according to the amount of depression.
[0114]
The configuration of this effect control apparatus is shown in the block diagram of FIG. This effect control device is the same as the effect control device of the first embodiment described above except that the first pedal operator 16a and the second pedal operator 16b are connected to the A / D converter 15. The same. The same effect is assigned to the first pedal operator 16a and the second pedal operator 16b.
[0115]
Next, the operation of the electronic musical instrument of the fourth embodiment in the above configuration will be described with reference to the drawings. The routines for main processing and panel processing are the same as those used in the first embodiment. Hereinafter, the details of the pedal process will be described with reference to the flowcharts of FIGS. 18 and 19.
[0116]
In the pedal process, first, a pedal scan process is performed (step S90). In this pedal scan process, pedal data corresponding to the first pedal operator 16a from the pedal operator 16 via the panel interface circuit 13 (hereinafter referred to as "first new pedal data") and the second Pedal data corresponding to the pedal operator 16b (hereinafter referred to as “second new pedal data”) is read.
[0117]
Next, it is checked whether or not there is a pedal event of the first pedal operator 16a (hereinafter referred to as “first pedal event”) (step S91). That is, the pedal data (hereinafter referred to as “first old pedal data”) read from the first pedal operator 16a in the previous pedal processing and already stored in a predetermined area of the work memory 12 and the first pedal. The new pedal data is compared. As a result of this comparison, if it is determined that there is a difference, it is recognized that there is a first pedal event, otherwise it is recognized that there is no first pedal event.
[0118]
If it is determined in step S91 that there is a first pedal event, it is then checked whether or not the effect currently assigned to the first pedal operator 16a is a damper (step S92). If it is determined that the damper is used, a first damper process is performed (step S93). The first damper process is the same as the process in step S43.
[0119]
If it is determined in step S92 that the effect is not a damper, it is then checked whether the effect currently assigned to the first pedal operator 16a is pitch bend (step S94). Here, if it is determined that the pitch bend, a pitch increase process is performed (step S95). In this pitch increase process, for example, the speed at which the waveform data is read from the waveform memory 191 is changed so as to increase according to the new pedal data. Thereafter, the sequence returns to the main processing routine.
[0120]
If it is determined in step S94 that the effect currently assigned to the first pedal operator 16a is not pitch bend, then whether the effect currently assigned to the first pedal operator 16a is modulation. It is checked whether or not (step S96). Then, if it is determined that the modulation is made, a modulation increasing process is performed (step S97). In this modulation increasing process, for example, the cutoff frequency of the digital control filter DCF included in the sound source circuit 19 is changed so as to increase according to the new pedal data. Thereafter, the sequence returns to the main processing routine.
[0121]
If it is determined in step S96 that the effect currently assigned to the first pedal operator 16a is not modulation, other effect processing is performed (step S98). In this “other effect processing”, processing for controlling various effects is performed in the same manner as the processing in step S48, but the control amount is changed within a range larger than the reference value. Thereafter, the sequence returns to the main processing routine.
[0122]
If it is determined in step S91 that there is no first pedal event, then it is checked whether there is a pedal event for the second pedal operator 16b (hereinafter referred to as "second pedal event"). (Step S100). That is, the pedal data (hereinafter referred to as “second old pedal data”) read from the second pedal operator 16b in the previous pedal process and already stored in a predetermined area of the work memory 12 and the second The new pedal data is compared. As a result of this comparison, if it is determined that there is a difference, it is recognized that there is a second pedal event, otherwise it is recognized that there is no second pedal event.
[0123]
If it is determined in step S100 that there is no second pedal event, the sequence returns to the main processing routine. On the other hand, if it is determined that there is a second pedal event, it is then checked whether the effect currently assigned to the second pedal operator 16b is a damper (step S101). Here, if it is determined that the damper is used, a second damper process is performed (step S102). In the first damper process, for example, the release data in the envelope data is changed so that the release time of the envelope is shortened according to the new pedal data. Thereafter, the sequence returns to the main processing routine. As a result, for example, a musical sound effect that does not exist in conventional electronic musical instruments is obtained in which the release time is shortened according to the amount of depression of the second pedal operator 16b.
[0124]
If it is determined in step S101 that the effect is not a damper, it is then checked whether the effect currently assigned to the second pedal operator 16b is pitch bend (step S103). If it is determined that the pitch bend is detected, a pitch reduction process is performed (step S104). In this pitch reduction process, for example, the speed at which the waveform data is read from the waveform memory 191 is changed so as to decrease according to the new pedal data. Thereafter, the sequence returns to the main processing routine.
[0125]
If it is determined in step S103 that the effect currently assigned to the second pedal operator 16b is not pitch bend, then whether the effect currently assigned to the second pedal operator 16b is modulation or not. It is checked whether or not (step S105). Then, if it is determined that the modulation is made, a modulation reduction process is performed (step S106). In this modulation reduction process, for example, the cut-off frequency of the digital control filter DCF included in the sound source circuit 19 is changed so as to become smaller according to the new pedal data. Thereafter, the sequence returns to the main processing routine.
[0126]
If it is determined in step S105 that the effect currently assigned to the second pedal operator 16b is not modulation, other effect processing is performed (step S107). In this “other effect processing”, processing for controlling various effects is performed in the same manner as the processing in step S48, but the control amount is changed within a range smaller than the reference value. Thereafter, the sequence returns to the main processing routine.
[0127]
As described above, according to the effect control apparatus of the fourth embodiment, for example, when the pitch bend is controlled, both the first pedal operator 16a and the second pedal operator 16b are operated. If not, a normal tone (the pitch is not changed) is generated. When the first pedal operator 16a is depressed in this state, the pitch increases according to the depression amount. On the other hand, when the second pedal operator 16b is depressed, the pitch is lowered according to the depression amount. Therefore, by alternately depressing the first pedal operator 16a and the second pedal operator 16b, a function similar to the function of changing the pitch by operating the pitch wheel back and forth can be realized.
[0128]
【The invention's effect】
As described above in detail, according to the present invention, an effect control device capable of controlling a continuously changing effect as controlled by a wheel-type operation element without having a wheel-type operation element. Can provide.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a first embodiment of an electronic musical instrument to which an effect control apparatus of the present invention is applied.
FIG. 2 is a diagram showing an example of an operation panel according to the first embodiment of the electronic musical instrument to which the effect control device of the present invention is applied.
FIG. 3 is a diagram showing a configuration of a pedal operator of Embodiment 1 of the electronic musical instrument to which the effect control device of the present invention is applied.
FIG. 4 is a diagram for explaining the operation of the pedal operator of the first embodiment of the electronic musical instrument to which the effect control device of the present invention is applied;
FIG. 5 is a diagram for explaining a panel operation of the electronic musical instrument according to the first embodiment to which the effect control apparatus of the present invention is applied;
FIG. 6 is a flowchart showing main processing of Embodiment 1 of the electronic musical instrument to which the effect control apparatus of the present invention is applied.
FIG. 7 is a flowchart showing panel processing (part 1) according to the first embodiment of the electronic musical instrument to which the effect control apparatus of the invention is applied;
FIG. 8 is a flowchart showing a panel process (No. 2) according to the first embodiment of the electronic musical instrument to which the effect control apparatus of the invention is applied.
FIG. 9 is a flowchart showing pedal processing according to the first embodiment of the electronic musical instrument to which the effect control apparatus of the invention is applied.
FIG. 10 is a diagram showing an example of a tone color-effect correspondence table used in Embodiment 2 of an electronic musical instrument to which the effect control apparatus of the present invention is applied.
FIG. 11 is a diagram for explaining the panel operation of the second embodiment of the electronic musical instrument to which the effect control apparatus of the present invention is applied.
FIG. 12 is a flowchart showing a panel process according to the second embodiment of the electronic musical instrument to which the effect control apparatus of the invention is applied.
FIG. 13 is a diagram for explaining a panel operation of the third embodiment of the electronic musical instrument to which the effect control apparatus of the present invention is applied.
FIG. 14 is a flowchart showing a panel process (No. 1) according to the third embodiment of the electronic musical instrument to which the effect control apparatus of the invention is applied;
FIG. 15 is a flowchart showing a panel process (No. 2) according to the third embodiment of the electronic musical instrument to which the effect control apparatus of the invention is applied;
FIG. 16 is a flowchart showing pedal processing of Embodiment 3 of the electronic musical instrument to which the effect control apparatus of the invention is applied.
FIG. 17 is a block diagram showing a configuration of a fourth embodiment of an electronic musical instrument to which the effect control apparatus of the present invention is applied.
FIG. 18 is a flowchart showing pedal processing (No. 1) according to the fourth embodiment of the electronic musical instrument to which the effect control apparatus of the invention is applied;
FIG. 19 is a flowchart showing pedal processing (No. 2) according to the fourth embodiment of the electronic musical instrument to which the effect control apparatus of the invention is applied;
[Explanation of symbols]
10 CPU
11 Program memory
12 Work memory
13 Panel interface circuit
14 Operation panel
140 Jog dial
141 Display device
15 A / D converter
16 Pedal operator
16a First pedal operator
16b Second pedal operator
160 Pedal lever
161 Spring
162 Side plate
163, 167 Rotating shaft
164 Transmission lever
165 Return spring
166 volume
168 lever
169 Stopper
17 Keyboard interface circuit
18 Keyboard device
19 Sound source circuit
191 Waveform memory
192 D / A converter
193 Amplifier
194 Speaker
P1 fulcrum
P2 Left end of transmission lever 164

Claims (3)

楽音に付与される複数のエフェクトを制御するエフェクト制御装置が適用される電子楽器であって、
ペダル操作子と、
該ペダル操作子の踏み込み量を検出する検出手段と、
該検出手段で検出された踏み込み量が所定範囲内であれば該所定範囲内における踏み込み量に応じて第1のエフェクトの大きさを制御し、該検出手段で検出された踏み込み量が該所定範囲外であれば該所定範囲外における踏み込み量に応じて前記第1のエフェクトと種類が異なる第2のエフェクトの大きさを制御する制御手段、
とを備えた電子楽器。
An electronic musical instrument to which an effect control device that controls a plurality of effects imparted to a musical sound is applied,
A pedal operator,
Detecting means for detecting the depression amount of the pedal operator;
If the stepping amount detected by the detecting means is within a predetermined range, the magnitude of the first effect is controlled according to the stepping amount within the predetermined range, and the stepping amount detected by the detecting means is within the predetermined range. Control means for controlling the magnitude of a second effect that is different from the first effect in accordance with the amount of depression outside the predetermined range if it is outside;
And an electronic musical instrument.
前記ペダル操作子に、複数のエフェクトの中から前記第1のエフェクト及び第2のエフェクトを対応付ける対応付け手段を更に備え、
前記制御手段は、前記検出手段で検出された踏み込み量が所定範囲内であれば、該所定範囲内における踏み込み量に応じて該対応付け手段で該ペダル操作子に対応付けられた第1のエフェクトの大きさを制御し、該検出手段で検出された踏み込み量が該所定範囲外であれば該所定範囲外における踏み込み量に応じて該対応付け手段で該ペダル操作子に対応付けられた第2のエフェクトの大きさを制御する請求項1に記載の電子楽器。
The pedal operator is further provided with association means for associating the first effect and the second effect among a plurality of effects,
If the stepping amount detected by the detecting unit is within a predetermined range, the control unit is configured to associate a first effect associated with the pedal operator by the association unit according to the stepping amount within the predetermined range. If the depression amount detected by the detection means is outside the predetermined range, the second means associated with the pedal operator by the association means according to the depression amount outside the predetermined range. The electronic musical instrument according to claim 1, wherein the size of the effect is controlled.
音色を選択する音色選択手段を更に備え、
前記対応付け手段は、該音色選択手段で選択された音色に基づいて、前記ペダル操作子に前記第1のエフェクト及び第2のエフェクトを対応付ける請求項2に記載の電子楽器。
A timbre selection means for selecting a timbre;
The electronic musical instrument according to claim 2, wherein the association unit associates the first effect and the second effect with the pedal operator based on the tone color selected by the tone color selection unit.
JP29345296A 1996-10-15 1996-10-15 Effect control device Expired - Fee Related JP3656781B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29345296A JP3656781B2 (en) 1996-10-15 1996-10-15 Effect control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29345296A JP3656781B2 (en) 1996-10-15 1996-10-15 Effect control device

Publications (2)

Publication Number Publication Date
JPH10124055A JPH10124055A (en) 1998-05-15
JP3656781B2 true JP3656781B2 (en) 2005-06-08

Family

ID=17794950

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29345296A Expired - Fee Related JP3656781B2 (en) 1996-10-15 1996-10-15 Effect control device

Country Status (1)

Country Link
JP (1) JP3656781B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5807330B2 (en) * 2011-01-06 2015-11-10 ヤマハ株式会社 Pedal device and electronic musical instrument including the same
JP5972116B2 (en) * 2012-09-03 2016-08-17 株式会社コルグ Effector
US9443500B2 (en) 2014-11-26 2016-09-13 Curtis Hoerbelt Pedal for modulating an electronic signal
JP6700891B2 (en) * 2016-03-23 2020-05-27 株式会社河合楽器製作所 Control device for pedal operator
JP7290926B2 (en) 2018-09-12 2023-06-14 ローランド株式会社 electronic musical instrument

Also Published As

Publication number Publication date
JPH10124055A (en) 1998-05-15

Similar Documents

Publication Publication Date Title
US5741993A (en) Electronic keyboard having a discrete pitch bender
US5322967A (en) Method and device for executing musical control with a pedal for an electronic musical instrument
US5414209A (en) Electronic musical instrument
JP3656781B2 (en) Effect control device
US5074183A (en) Musical-tone-signal-generating apparatus having mixed tone color designation states
US5177314A (en) Timbre setting device for an electronic musical instrument
JP3156285B2 (en) Electronic musical instrument
JP4205627B2 (en) Operator correction device, operator correction method, and computer program for operator correction
JP5470728B2 (en) Performance control apparatus and performance control processing program
JP3933070B2 (en) Arpeggio generator and program
JPH02199500A (en) Electronic musical instrument
JPH08248957A (en) Operator of electronic musical instrument
JP2003099055A (en) Function allocation display device for electronic musical instrument
JPH07175480A (en) Data setter for electronic musical instrument
JP2000315083A (en) Electronic keyboard instrument
JPH06161438A (en) Data input device of electronic musical instrument
JPH10319949A (en) Electronic musical instrument
JPH08137473A (en) Expression pedal device of electronic musical instrument
JPH07210161A (en) Electronic instrument
JPH05273972A (en) Electronic musical instrument
JP3561967B2 (en) Electronic musical instrument system
JPH07219531A (en) Electronic musical instrument
JP3551554B2 (en) Code identification device
JP2000298482A (en) Electronic musical instrument and sound source device used for same
JP2005242186A (en) Device and program for setting musical sound control parameter

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040930

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041220

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050208

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050302

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees