JP3931848B2 - Waveform selection device and waveform selection program - Google Patents

Waveform selection device and waveform selection program Download PDF

Info

Publication number
JP3931848B2
JP3931848B2 JP2003191772A JP2003191772A JP3931848B2 JP 3931848 B2 JP3931848 B2 JP 3931848B2 JP 2003191772 A JP2003191772 A JP 2003191772A JP 2003191772 A JP2003191772 A JP 2003191772A JP 3931848 B2 JP3931848 B2 JP 3931848B2
Authority
JP
Japan
Prior art keywords
mute
waveform data
sound
sound generation
key
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
JP2003191772A
Other languages
Japanese (ja)
Other versions
JP2005025012A (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.)
Yamaha Corp
Original Assignee
Yamaha Corp
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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP2003191772A priority Critical patent/JP3931848B2/en
Publication of JP2005025012A publication Critical patent/JP2005025012A/en
Application granted granted Critical
Publication of JP3931848B2 publication Critical patent/JP3931848B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Description

【0001】
【発明が属する技術分野】
この発明は、記憶手段から選択された波形データを読み出して発音するようにした楽音発生装置における波形選択装置および波形選択プログラムに関する。
【0002】
【従来の技術】
従来、波形記憶手段を有する楽音発生装置においては、押鍵された際にはその発音指示により発音用の波形データを波形記憶手段から読み出して発音するようにしている。この場合、波形記憶手段には発音用の波形データが複数個記憶されており、この中から押鍵時の押鍵速度(発音指示速度)とキーコードの組み合わせに対応するものを選択して発音するようにしている。また、離鍵された際にその消音指示により離鍵用(消音用)の波形データを波形記憶手段から読み出して発音するようにしている。この場合、波形記憶手段には離鍵用の波形データが複数個記憶されており、この中から離鍵時のエンベロープ値と離鍵速度(消音指示速度)とキーコードの組み合わせに対応するものを選択して発音するようにしている。このようにして、押鍵ごとに新しい押鍵用の波形データを発音すると共に、離鍵ごとに新しい離鍵用の波形データを発音するようにしている(例えば、特許文献1参照)。
そして、このような楽音発生装置において発音される楽音をより自然楽器の楽音に近づけるために、離鍵された際にその消音指示により発音中の波形の消音処理を行うと共に、消音用の波形データを波形記憶手段から読み出して追加発音することが行われている。
【0003】
【特許文献1】
特開平5−19755号公報
【0004】
【発明が解決しようとする課題】
このような従来の楽音発生装置においては、鍵盤には演奏者による鍵操作の押鍵時の速度を検出する機構と離鍵時の速度を検出する機構が備えられている。これらの機構を利用して検出回路は、イベントのあった鍵の押鍵の速度を示す押鍵速度および離鍵の速度を示す離鍵速度をそれぞれ出力している。この場合、押鍵速度および離鍵速度は鍵のベロシティの値とされている。しかしながら、押鍵速度は演奏者にとって制御することを意識し易いが離鍵速度は演奏者に意識されないことがおおくされ、離鍵速度に基づいて選択された離鍵用の波形データは演奏者の意図にそぐわない場合がおおいという問題点があった。
また、押鍵と離鍵の各イベントは鍵に設けられているスイッチのオン/オフにより検出され、スイッチは鍵による衝撃を吸収するために、一般にゴムスイッチとされている。すると、ゴムスイッチは弾性を有していることから離鍵されてゴムスイッチが離れる際にゴムスイッチの接点が瞬時に離れず、離鍵ベロシティを正確に検出することが困難となる。このように、離鍵速度は押鍵速度にくらべて検出の精度がわるく離鍵用の波形データを的確に選択できないという問題点があった。
【0005】
さらに、離鍵速度を検出するための装置を設けるとコストがかかるようになり、離鍵ベロシティを正確に検出するには、ゴムスイッチの構造を工夫しなければならず鍵構造が複雑になってコストも上昇するようになる。さらにまた、離鍵速度を出力することは一般には行われておらず、離鍵速度を出力する場合には離鍵速度を出力するプログラムを追加することになる。この追加された離鍵速度を出力するプログラムは、内蔵されているメモリに記憶されることから離鍵速度を出力するプログラムが追加されたメモリを作り直さなければならないという問題点もあった。
【0006】
そこで、本発明は演奏者の意図に合致する的確な波形データを選択することができると共にコストのかからない波形選択装置および波形選択プログラムを提供することを目的としている。
【0007】
【課題を解決するための手段】
上記目的を達成することのできる本発明の波形選択装置および波形選択プログラムは、消音指示された発音用波形データにおける発音指示時の発音指示速度に応じた消音用波形データを選択し、選択された消音用波形データを記憶手段から読み出して追加発音の開始を行うようにしているので、演奏者の意図に合致する的確な消音用波形データを選択して追加発音することができるようになる。また、離鍵時の速度を検出する機構を不要とすることができると共に、内蔵するメモリに離鍵速度を出力するプログラムを追加する必要がないことから、コストがかからないようになる。
【0008】
【発明の実施の形態】
本発明の実施の形態にかかる波形選択装置を備える楽音発生装置の構成を示すブロック図を図1に示す。
図1に示す本発明にかかる楽音発生装置1では本発明の実施の形態にかかる波形選択装置が波形選択部2として備えられている。このような楽音発生装置1において、CPU(Central Processing Unit)10は楽音発生装置1の全体の動作を制御すると共に、楽音発生プログラムを実行することで発音指示処理および消音指示処理等を実行している。RAM(Random Access Memory)12には、CPU10のワークエリアや各種データ等の記憶エリアが設定されており、ROM(Read Only Memory)11には、CPU10が実行する発音指示処理および消音指示処理を含む楽音発生プログラム等の動作ソフトウェアが格納されている。このROM11をフラッシュメモリ等の書き換え可能なROMとすることで、動作ソフトウェアを書き換え可能となり動作ソフトウェアのバージョンアップを容易に行うことができる。表示回路13は液晶等の表示手段を備え、各種設定画面を表示手段に表示したり楽音生成時の動作画面を表示手段に表示している。
【0009】
通信インタフェース(I/F)14は、楽音発生装置1をLAN(ローカルエリアネットワーク)やインターネット、電話回線等の通信ネットワークに接続するインタフェースであり、該通信ネットワークを介して、サーバコンピュータと接続することができる。したがって、サーバコンピュータから各種プログラムやデータをダウンロードすることができるようになる。この際に、クライアントとなる本発明の楽音発生装置1は、通信インターフェース及び通信ネットワークを介してサーバコンピュータへプログラムやデータのダウンロードを要求するためのコマンドを送信する。サーバコンピュータは、このコマンドを受け、要求されたプログラムやデータを、通信ネットワークを介して本発明の楽音発生装置1へ配信する。本発明の楽音発生装置は、通信インターフエースを介して、サーバコンピュータから配信されたプログラムやデータを受信してRAM12等の記憶手段に格納することにより、プログラムやデータのダウンロードを行うことができるようになる。
【0010】
操作子16は鍵盤やパネルに備えられたパネル操作子であり、鍵盤には演奏者による鍵操作の押鍵時の速度を検出する機構が備えられているが、離鍵時の速度を検出する機構は備えられていない。検出回路15は、鍵盤やパネル操作子を走査することによって押鍵(キーオン)のイベントを検出し、イベントのあった鍵のキーコードKCおよび押鍵の速度を示す押鍵速度IT(イニシャルタッチ)を出力し、離鍵(キーオフ)のイベントを検出した際には、イベントのあった鍵のキーコードKCを出力する。波形選択部2は、複数の発音用波形データ17aと複数の消音用波形データ17bとを記憶している波形データメモリ17と、押鍵時に押鍵速度(発音指示速度)とキーコードの組み合わせに対応する発音用波形データを選択すると共に、離鍵時に離鍵された鍵の押鍵に応答して発音開始された発音用波形データによる楽音の離鍵時点でのエンベロープ値と押鍵時の押鍵速度(発音指示速度)とキーコードの組み合わせに対応する消音用波形データを選択する選択回路19と、選択回路19により選択された発音用波形データあるいは消音用波形データを波形データメモリ17から読み出す読出回路18と、読出回路18により読み出された発音用波形データあるいは消音用波形データにエンベロープを付与するエンベロープ付与回路20とから構成されている。波形選択部2からのエンベロープが付与された波形データの出力は、リバーブ、コーラス、ディレイ、パン等の各種音響効果を付与する効果付与回路21に供給されて、設定されている各種音響効果が付与されて楽音信号が生成される。この楽音信号は、サウンドシステム22から放音されるようになる。なお、楽音発生装置1の各部は通信バス23により相互にデータの授受を行っている。
【0011】
波形選択部2における波形データメモリ17に記憶されている発音用波形データ17aは、アタック部とループ部との波形データとされており、キーコードKCと押鍵速度ITとの組み合わせに対応するよう2次元配列された複数のアタック部の波形データと複数のループ部の波形データのセットとされている。また、消音用波形データ17bは、分割したエンベロープ値毎に、それぞれキーコードKCと押鍵時の押鍵速度ITとの組み合せに対応するよう2次元配列された複数の消音用波形データのセットとされている。そして、複数の発音用波形データのセットと複数の消音用波形データのセットとを組としたものが、1つの音色分の波形データとして複数の音色にそれぞれ対応する複数の組が波形データメモリ17に記憶されている。なお、アタック部の波形データはエンベロープが付与されている波形データとされていると共に、消音用波形データ17bには減衰するエンベロープが付与されている減衰音の波形データとされている。
【0012】
波形選択部2の動作を説明すると、操作子16である鍵盤のいずれかの鍵が押鍵されたことが発音指示として検出回路15で検出された際に、発音チャンネルがアサインされて選択回路19は、検出回路15からの押鍵された鍵盤のキーコードKCと押鍵速度ITに対応する発音用波形データを波形データメモリ17における発音用波形データ17aの中から選択する。選択回路19により選択された発音用波形データが読出回路18により波形データメモリ17から読み出されて、エンベロープ付与回路20に供給される。エンベロープ付与回路20においては、押鍵速度ITや設定されている音色に応じたエンベロープが付与されて効果付与回路21に供給される。効果付与回路21では、操作子16であるパネル操作子により設定されているリバーブ、コーラス、ディレイ、パン等の各種音響効果が付与されてアサインされた発音チャンネルの楽音信号とされる。この楽音信号はサウンドシステム22から放音されるようになる。
【0013】
なお、波形選択部2には楽音を発音させるための複数のチャンネルが用意されており、1つのチャンネルにより1つの楽音(波形データ)の発音(再生)が行われる。この場合、押鍵が検出されると1つのチャンネルが発音チャンネルとして確保されて、確保された発音チャンネルにおいて発音用波形データを読み出して発音用の楽音信号を発音させる。そして、離鍵が検出された際に1つのチャンネルが消音チャンネルとして確保されて、確保された消音チャンネルにおいて消音用波形データを読み出して消音用の楽音信号を発音させる。この消音チャンネルは、離鍵された鍵の押鍵時に確保された発音チャンネルとは異なるチャンネルとされ、1つの鍵の押鍵による発音用波形データと離鍵による消音用波形データとが同時に読み出されて同時に発音されるようになる。
【0014】
また、操作子16である鍵盤のいずれかの鍵が離鍵されたことが消音指示として検出回路15で検出された際には、離鍵された鍵に対応する発音中の楽音の消音処理が開始される。すなわち、読出回路18から供給されている発音用波形データにエンベロープ付与回路20においてリリース用の降下するエンベロープを付与することにより、楽音の振幅を減衰させていく。さらに、消音チャンネルがアサインされて、選択回路19は、離鍵時のエンベロープ値および検出回路15からの離鍵された鍵のキーコードKCと、押鍵時に検出された押鍵速度ITに対応する消音用波形データを波形データメモリ17における消音用波形データ17bの中から選択する。選択回路19により選択された消音用波形データが読出回路18により波形データメモリ17から読み出されて、エンベロープ付与回路20を介して効果付与回路21に供給される。なお、消音用波形データはリリース用のエンベロープが付与された波形データとされているため、エンベロープ付与回路20においては一定値のエンベロープが付与される。効果付与回路21では、操作子16であるパネル操作子により設定されている各種音響効果が付与されて消音チャンネルにおける楽音信号とされる。これにより、離鍵時には消音用波形データに基づく消音用楽音信号が離鍵時にアサインされた消音チャンネルにより追加発音される。この追加された消音用楽音信号は、サウンドシステム22から放音されるが減衰音とされているため次第に振幅が低下していくようになる。
【0015】
ところで、離鍵時において離鍵された鍵に対応する楽音以外の他の楽音が発音されていた際にはレガート演奏されていると判断して、読出回路18は消音用波形データの読み出しを行わず、消音用楽音信号の追加発音を行わないようにしている。これにより、レガート演奏時において音のつながり部分に余分な発音が加わらないため、二音のつながりを自然とすることができるようになる。さらに、消音用楽音信号は追加発音されないようになるため、発音チャンネルを不必要に使用しないと共に発音処理量の増加を極力抑制することができるようになる。なお、レガート演奏時に限らず他の楽音が発音されていた際には消音用楽音信号は追加発音されないようになるが、消音用楽音信号の振幅は小さく、しかも減衰音とされていることから他の楽音が鳴っている場合には聞こえづらいので、この場合には消音用楽音信号を追加発音しなくても消音指示された楽音信号が不自然に聞こえることはない。
【0016】
次に、本発明にかかる波形選択部2を備える楽音発生装置1において実行される発音指示処理のフローチャートを図2に示す。
発音指示処理は検出回路15において新たな押鍵のイベントである発音指示が検出される毎にスタートされ、ステップS10にて押鍵のイベントが検出され発音指示がされた時の当該鍵の操作速度である押鍵時の押鍵速度が検出されて押鍵毎にバッファに保持されると共に、発音用の楽音信号を発音させる発音チャンネルが確保される。押鍵速度は、具体的には押鍵時のベロシティの値であり、このベロシティの値が押鍵別にバッファに保持されることになる。次いで、ステップS11にて発音指示された楽音に設定されている音色における発音用波形データ17aの中から、検出された押鍵速度および押鍵された鍵のキーコードに対応する発音用波形データを選択回路19により決定する。そしてステップS12にて、確保された発音チャンネルにおいて決定された発音用波形データによる楽音の発音が開始される。具体的には、確保された発音チャンネルにおいて決定された発音用波形データが波形データメモリ17から読出回路18により読出開始されてエンベロープ付与回路20に供給されエンベロープが付与される。エンベロープが付与された発音用波形データは効果付与回路21において設定されている音響効果が付与されて、発音用の楽音信号が生成される。この確保された発音チャンネルにおいて生成された楽音信号がサウンドシステム22から発音されることにより発音開始される。ステップS12の処理が終了すると、発音指示処理は終了する。
【0017】
次に、本発明にかかる波形選択部2を備える楽音発生装置1において実行される消音指示処理のフローチャートを図3に示す。
消音指示処理は検出回路15において新たな離鍵のイベントである消音指示が検出された際にスタートされ、ステップS20にて離鍵された鍵に対応する消音指示された楽音の消音が開始される。具体的には、離鍵された鍵に対応して発音されている発音用波形データにリリース用のエンベロープをエンベロープ付与回路20で付与することにより、当該楽音の音量を徐々に下げていく処理を開始する。次いで、ステップS21にて消音指示された楽音以外に他に発音されている楽音があるか否かが判断される。この場合、離鍵指示がされていない押鍵中の楽音を発音されている楽音として判断するようにし、既に離鍵指示されてリリース部の発音を行っている楽音は発音中の楽音として判断しないようにするのが好適である。ここで、他に発音されている楽音があると判断された場合は消音指示処理は終了する。また、他に発音されている楽音がないと判断された場合は、ステップS22に進んで離鍵された鍵が押鍵された際の発音指示処理において保持された発音指示時の操作速度に基づいて、消音用波形データ17bの中から利用するものを決定すると共に、消音用の楽音信号を発音させる消音チャンネルが確保される。具体的には、離鍵時の当該楽音のエンベロープ値と、操作速度である保持されている押鍵時のベロシティの値と、離鍵された鍵のキーコードとに対応する消音波形データが選択回路19により決定される。そして、ステップS23にて確保された消音チャンネルにおいて決定された消音用波形データが波形データメモリ17から読出回路18により読出開始される。この消音用波形データは、エンベロープ付与回路20を介して効果付与回路21に供給されて、消音用の楽音信号が生成される。この確保された消音チャンネルにおいて生成された消音用の楽音信号がサウンドシステム22から発音されることにより発音開始される。ステップS23の処理が終了すると、消音指示処理は終了する。
【0018】
なお、波形データメモリ17から波形データを読み出すための発音指示と消音指示は押鍵と離鍵の鍵盤におけるイベントに限られるものではなく、波形データの読出指示ができる情報であればよい。本発明にかかる波形選択装置においては、例えば、内部メモリから読み出したり、外部から受信したキーオンとキーオフをそれぞれ発音指示と消音指示として取り扱うことができる。この場合の押鍵速度はキーオンに対応するベロシティとなり、離鍵速度はキーオフに対応するベロシティとなる。
また、本発明にかかる波形選択装置においては、最後まで発音されている音が消音されたときにのみ消音用波形データに基づく楽音を追加発音することとしているが、本発明はこれに限るものではなく発音されているすべての音について消音用波形データを追加発音させる場合にも適用することができる。
【0019】
【発明の効果】
本発明は以上のように、消音指示された発音用波形データにおける発音指示時の発音指示速度に応じた消音用波形データを選択し、選択された消音用波形データを記憶手段から読み出して追加発音の開始を行うようにしているので、演奏者の意図に合致する的確な消音用波形データを選択して追加発音することができるようになる。また、離鍵時の速度を検出する機構を不要とすることができると共に、内蔵するメモリに離鍵速度を出力するプログラムを追加する必要がないことから、コストがかからないようになる。
【図面の簡単な説明】
【図1】 本発明の実施の形態にかかる波形選択装置を備える楽音発生装置の構成を示すブロック図である。
【図2】 本発明にかかる波形選択部を備える楽音発生装置において実行される発音指示処理のフローチャートである。
【図3】 本発明にかかる波形選択部を備える楽音発生装置において実行される消音指示処理のフローチャートである。
【符号の説明】
1 楽音発生装置、2 波形選択部、10 CPU、11 ROM、12 RAM、13 表示回路、14 通信I/F、15 検出回路、16 操作子、17波形データメモリ、17a 発音用波形データ、17b 消音用波形データ、18 読出回路、19 選択回路、20 エンベロープ付与回路、21 効果付与回路、22 サウンドシステム、23 通信バス
[0001]
[Technical field to which the invention belongs]
The present invention relates to a waveform selection device and a waveform selection program in a musical sound generating device that reads out waveform data selected from a storage means and generates a sound.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, in a musical sound generating device having a waveform storage means, when a key is depressed, the waveform data for sound generation is read out from the waveform storage means according to the sound generation instruction and is generated. In this case, a plurality of waveform data for sound generation are stored in the waveform storage means, and a sound corresponding to a combination of a key pressing speed (sound generation instruction speed) and a key code at the time of key pressing is selected from these. Like to do. Further, when a key is released, the key release (silence) waveform data is read out from the waveform storage means according to the mute instruction and is generated. In this case, a plurality of waveform data for key release are stored in the waveform storage means, and the one corresponding to the combination of the envelope value, key release speed (mute instruction speed) and key code at the time of key release is stored. Select and pronounce it. In this way, new key press waveform data is generated for each key press, and new key release waveform data is generated for each key release (see, for example, Patent Document 1).
Then, in order to make the musical sound generated by such a musical sound generating device closer to the musical sound of a natural musical instrument, when the key is released, the sound generation waveform is muted by the muting instruction, and the waveform data for muting is also used. Is read out from the waveform storage means and additionally pronounced.
[0003]
[Patent Document 1]
JP-A-5-19755 [0004]
[Problems to be solved by the invention]
In such a conventional tone generator, the keyboard is provided with a mechanism for detecting the speed when the player performs a key operation and a mechanism for detecting the speed when the key is released. Using these mechanisms, the detection circuit outputs a key pressing speed indicating the key pressing speed and a key releasing speed indicating the key releasing speed, respectively. In this case, the key pressing speed and the key releasing speed are the values of the key velocity. However, it is easy for the performer to be aware that the key-pressing speed is controlled, but the key-release speed is not perceived by the player, and the key-release waveform data selected based on the key-release speed is There was a problem that there was a case where it was not suitable for the purpose.
Each event of key depression and key release is detected by turning on / off a switch provided on the key, and the switch is generally a rubber switch in order to absorb an impact caused by the key. Then, since the rubber switch has elasticity, when the rubber switch is released and the rubber switch is released, the contact point of the rubber switch is not instantaneously released, and it is difficult to accurately detect the key release velocity. As described above, the key release speed has a problem that the accuracy of detection is lower than the key press speed, and waveform data for key release cannot be selected accurately.
[0005]
Furthermore, providing a device for detecting the key release speed is costly, and in order to accurately detect the key release velocity, the rubber switch structure must be devised, and the key structure becomes complicated. Costs will also rise. Furthermore, outputting the key release speed is not generally performed, and when outputting the key release speed, a program for outputting the key release speed is added. Since the program for outputting the added key release speed is stored in the built-in memory, there is a problem that the memory to which the program for outputting the key release speed is added must be recreated.
[0006]
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a waveform selection device and a waveform selection program that can select accurate waveform data that matches a player's intention and that are inexpensive.
[0007]
[Means for Solving the Problems]
The waveform selection device and the waveform selection program of the present invention capable of achieving the above object select and select the mute waveform data corresponding to the sound generation instruction speed at the time of sound generation instruction in the sound generation waveform data instructed to mute. Since the mute waveform data is read from the storage means and the additional sound generation is started, it is possible to select the appropriate mute waveform data that matches the intention of the performer and perform additional sound generation. Further, it is possible to eliminate the need for a mechanism for detecting the speed at the time of key release, and it is not necessary to add a program for outputting the key release speed to the built-in memory.
[0008]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a block diagram showing a configuration of a musical sound generator provided with a waveform selection device according to an embodiment of the present invention.
In the musical sound generating apparatus 1 according to the present invention shown in FIG. 1, the waveform selecting apparatus according to the embodiment of the present invention is provided as the waveform selecting unit 2. In such a musical tone generator 1, a CPU (Central Processing Unit) 10 controls the overall operation of the musical tone generator 1 and executes a musical tone generation program to execute a sound generation instruction process, a mute instruction process, and the like. Yes. A RAM (Random Access Memory) 12 is set with a work area for the CPU 10 and a storage area for various data. A ROM (Read Only Memory) 11 includes a sound generation instruction process and a mute instruction process executed by the CPU 10. Operation software such as a musical tone generation program is stored. By making this ROM 11 a rewritable ROM such as a flash memory, the operation software can be rewritten and the operation software can be easily upgraded. The display circuit 13 includes a display means such as a liquid crystal, and displays various setting screens on the display means and an operation screen at the time of tone generation on the display means.
[0009]
The communication interface (I / F) 14 is an interface for connecting the musical sound generator 1 to a communication network such as a LAN (local area network), the Internet, a telephone line, etc., and is connected to a server computer via the communication network. Can do. Therefore, various programs and data can be downloaded from the server computer. At this time, the musical tone generator 1 of the present invention as a client transmits a command for requesting downloading of a program or data to the server computer via the communication interface and the communication network. Upon receiving this command, the server computer distributes the requested program and data to the musical tone generator 1 of the present invention via the communication network. The musical tone generating apparatus of the present invention can download a program or data by receiving the program or data distributed from the server computer via the communication interface and storing it in the storage means such as the RAM 12. become.
[0010]
The operation element 16 is a panel operation element provided on the keyboard or the panel. The keyboard is provided with a mechanism for detecting the speed when the player performs the key operation, but detects the speed when the key is released. No mechanism is provided. The detection circuit 15 detects a key pressing (key-on) event by scanning a keyboard or panel operator, and a key pressing speed IT (initial touch) indicating the key code KC of the key where the event occurred and the key pressing speed. When a key release (key-off) event is detected, the key code KC of the key having the event is output. The waveform selection unit 2 is a combination of a waveform data memory 17 storing a plurality of sounding waveform data 17a and a plurality of mute waveform data 17b, and a combination of a key pressing speed (sound generation instruction speed) and a key code when a key is pressed. Select the corresponding waveform waveform for sound generation, and the envelope value at the time of release of the musical sound by the waveform data for sound generation that is started in response to the key pressed when the key is released and the key press when the key is pressed A selection circuit 19 for selecting the mute waveform data corresponding to the combination of the key speed (sound generation instruction speed) and the key code, and the waveform data for mute or the mute waveform data selected by the selection circuit 19 are read from the waveform data memory 17. A reading circuit 18; and an envelope applying circuit 20 for adding an envelope to the sounding waveform data or the mute waveform data read by the reading circuit 18; It is al configuration. The output of the waveform data to which the envelope is added from the waveform selection unit 2 is supplied to an effect applying circuit 21 for applying various acoustic effects such as reverb, chorus, delay, pan, etc., and various set acoustic effects are applied. Thus, a musical tone signal is generated. This musical sound signal is emitted from the sound system 22. Each unit of the musical tone generator 1 exchanges data with each other via the communication bus 23.
[0011]
The sound generation waveform data 17a stored in the waveform data memory 17 in the waveform selection unit 2 is waveform data of the attack part and the loop part, and corresponds to a combination of the key code KC and the key pressing speed IT. A set of waveform data of a plurality of attack portions and waveform data of a plurality of loop portions arranged two-dimensionally is used. Further, the muffling waveform data 17b includes a set of a plurality of muffling waveform data arranged two-dimensionally so as to correspond to the combination of the key code KC and the key pressing speed IT at the time of key pressing for each divided envelope value. Has been. A set of a plurality of sets of waveform data for sound generation and a set of sets of waveform data for muting are set as a plurality of sets corresponding to a plurality of timbres as waveform data for one timbre. Is remembered. The waveform data of the attack portion is waveform data to which an envelope is added, and the mute waveform data 17b is waveform data of attenuated sound to which an attenuation envelope is added.
[0012]
The operation of the waveform selection unit 2 will be described. When the detection circuit 15 detects that any key of the keyboard as the operation element 16 has been pressed, the sound generation channel is assigned and the selection circuit 19 is assigned. Selects the waveform data for sound generation corresponding to the key code KC of the pressed key from the detection circuit 15 and the key press speed IT from the waveform data 17a for sound generation in the waveform data memory 17. The tone generation waveform data selected by the selection circuit 19 is read from the waveform data memory 17 by the reading circuit 18 and supplied to the envelope applying circuit 20. In the envelope applying circuit 20, an envelope corresponding to the key pressing speed IT and the set tone color is applied and supplied to the effect applying circuit 21. In the effect applying circuit 21, various sound effects such as reverb, chorus, delay, pan, and the like set by the panel operator which is the operator 16 are provided and the tone signal of the tone generation channel assigned is obtained. This musical sound signal is emitted from the sound system 22.
[0013]
The waveform selection unit 2 is provided with a plurality of channels for generating musical sounds, and one musical sound (waveform data) is generated (reproduced) by one channel. In this case, when a key depression is detected, one channel is secured as a sound generation channel, and the waveform data for sound generation is read out in the reserved sound generation channel to generate a tone signal for sound generation. When a key release is detected, one channel is secured as a mute channel, and the mute waveform data is read out in the secured mute channel to generate a mute tone signal. The mute channel is a channel different from the sound generation channel secured when the released key is pressed, and the waveform data for sound generation by pressing one key and the waveform data for mute by releasing the key are read simultaneously. Will be pronounced at the same time.
[0014]
When the detection circuit 15 detects that any of the keys of the keyboard as the operation element 16 has been released as a mute instruction, the mute processing of the sound that is being generated corresponding to the released key is performed. Be started. In other words, the tone applying amplitude is attenuated by applying a release falling envelope in the envelope applying circuit 20 to the sound waveform data supplied from the readout circuit 18. Further, the mute channel is assigned, and the selection circuit 19 corresponds to the envelope value at the time of key release, the key code KC of the key released from the detection circuit 15, and the key press speed IT detected at the time of key press. The mute waveform data is selected from the mute waveform data 17b in the waveform data memory 17. The mute waveform data selected by the selection circuit 19 is read from the waveform data memory 17 by the reading circuit 18 and supplied to the effect applying circuit 21 via the envelope applying circuit 20. Since the mute waveform data is waveform data to which a release envelope is added, the envelope applying circuit 20 is given a constant value envelope. In the effect applying circuit 21, various sound effects set by the panel operation element that is the operation element 16 are applied to generate a musical sound signal in the mute channel. As a result, when the key is released, the sound-saving music signal based on the sound-saving waveform data is additionally generated by the mute channel assigned when the key is released. The added mute tone signal is emitted from the sound system 22 but is attenuated, so that the amplitude gradually decreases.
[0015]
By the way, when a musical tone other than the musical tone corresponding to the key released at the time of the key release is sounded, it is determined that the legato performance is performed, and the reading circuit 18 reads the mute waveform data. Therefore, additional sound generation of the mute tone signal is not performed. As a result, since no extra pronunciation is added to the connected portion of the sound during the legato performance, the connection of the two sounds can be made natural. Further, since the mute tone signal is not additionally generated, the sound generation channel is not used unnecessarily and the increase in the sound generation processing amount can be suppressed as much as possible. In addition, not only when playing legato, but when other musical sounds are being produced, the musical sound for mute will not be additionally pronounced, but the amplitude of the musical sound for mute is small and the sound is attenuated. In this case, the sound signal instructed to be muted is not unnaturally heard without further sounding the muting sound signal.
[0016]
Next, FIG. 2 shows a flowchart of the sound generation instruction process executed in the musical tone generator 1 provided with the waveform selection unit 2 according to the present invention.
The sound generation instruction process is started each time a sound generation instruction which is a new key pressing event is detected in the detection circuit 15, and the operation speed of the key when the key pressing event is detected and the sound generation instruction is issued in step S10. The key depression speed at the time of key depression is detected and held in the buffer for each key depression, and a sound generation channel for generating a tone signal for sound generation is secured. The key pressing speed is specifically a velocity value at the time of key pressing, and this velocity value is held in a buffer for each key pressing. Next, the waveform data for sound generation corresponding to the detected key pressing speed and the key code of the key pressed from the sound waveform data 17a in the tone color set for the musical tone instructed for sound generation in step S11. It is determined by the selection circuit 19. Then, in step S12, the tone generation of the musical tone using the tone generation waveform data determined in the secured tone generation channel is started. Specifically, the waveform data for sound generation determined in the reserved sound generation channel is started to be read from the waveform data memory 17 by the read circuit 18 and supplied to the envelope applying circuit 20 to give the envelope. The sound waveform data set with the envelope is given the sound effect set in the effect applying circuit 21, and the musical sound signal for sound generation is generated. The tone signal generated in the reserved tone generation channel is generated by the sound system 22 and the tone generation is started. When the process of step S12 ends, the sound generation instruction process ends.
[0017]
Next, FIG. 3 shows a flowchart of the mute instruction process executed in the musical tone generator 1 having the waveform selection unit 2 according to the present invention.
The mute instruction processing is started when a mute instruction, which is a new key release event, is detected by the detection circuit 15, and mute of the musical sound instructed to mute corresponding to the key released in step S20 is started. . Specifically, a process of gradually lowering the volume of the musical sound by adding an envelope for release to the waveform data for sound generation corresponding to the released key by the envelope applying circuit 20. Start. Next, in step S21, it is determined whether or not there is a musical sound that is sounded other than the musical sound instructed to mute. In this case, it is determined that the tone being pressed is not instructed to be released as a tone that is being played, and the tone that has already been released and is being played by the release part is not determined as the tone that is being played. It is preferable to do so. Here, if it is determined that there is another musical sound that is sounded, the mute instruction process is terminated. On the other hand, if it is determined that there is no other tone that is sounded, the process proceeds to step S22 and is based on the operation speed at the time of sound generation instruction held in the sound generation instruction process when the key released is pressed. As a result, the mute waveform data 17b to be used is determined, and a mute channel for generating a mute tone signal is secured. Specifically, the sound-loss waveform data corresponding to the envelope value of the tone at the time of key release, the velocity value at the time of key press being held, which is the operation speed, and the key code of the key released is selected. Determined by circuit 19. Then, the mute waveform data determined in the mute channel secured in step S23 is started to be read from the waveform data memory 17 by the read circuit 18. The mute waveform data is supplied to the effect applying circuit 21 via the envelope applying circuit 20 to generate a sound signal for mute. A sound generation signal for mute generated in the reserved mute channel is sounded from the sound system 22 to start sound generation. When the process of step S23 ends, the mute instruction process ends.
[0018]
Note that the sound generation instruction and the mute instruction for reading the waveform data from the waveform data memory 17 are not limited to the events in the key pressing and key release keys, and any information can be used as long as the waveform data can be read out. In the waveform selection device according to the present invention, for example, key-on and key-off read from the internal memory or received from the outside can be handled as a sound generation instruction and a mute instruction, respectively. In this case, the key pressing speed is a velocity corresponding to key-on, and the key release speed is a velocity corresponding to key-off.
Further, in the waveform selection device according to the present invention, the musical sound based on the mute waveform data is additionally generated only when the sound that has been pronounced to the end is muted, but the present invention is not limited to this. The present invention can also be applied to the case where the mute waveform data is additionally pronounced for all the sounds that are being sounded.
[0019]
【The invention's effect】
As described above, the present invention selects the mute waveform data corresponding to the sound generation instruction speed at the time of sound generation in the sound generation waveform data instructed to mute, and reads the selected mute waveform data from the storage means to perform additional sound generation. Therefore, it is possible to select the appropriate mute waveform data that matches the intentions of the performer and additionally pronounce it. Further, it is possible to eliminate the need for a mechanism for detecting the speed at the time of key release, and it is not necessary to add a program for outputting the key release speed to the built-in memory.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a musical sound generation device including a waveform selection device according to an embodiment of the present invention.
FIG. 2 is a flowchart of a sound generation instruction process executed in a musical sound generating apparatus including a waveform selection unit according to the present invention.
FIG. 3 is a flowchart of a mute instruction process executed in a musical sound generator having a waveform selection unit according to the present invention.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Musical tone generator, 2 Waveform selection part, 10 CPU, 11 ROM, 12 RAM, 13 Display circuit, 14 Communication I / F, 15 Detection circuit, 16 Operator, 17 Waveform data memory, 17a Sound waveform data, 17b Silence Waveform data, 18 readout circuit, 19 selection circuit, 20 envelope application circuit, 21 effect application circuit, 22 sound system, 23 communication bus

Claims (4)

複数の発音用波形データと、複数の消音用波形データとを記憶する記憶手段と、
発音指示を検出した際に発音指示時の操作速度をバッファに保持する保持手段と、
発音指示を検出した際に、前記バッファに保持されている発音指示時の操作速度に応じた発音用波形データを前記記憶手段から読み出して、当該発音用波形データに基づく楽音の発音を開始する発音手段と、
消音指示を検出した際に、消音指示された楽音の消音を開始する消音手段と、
消音指示を検出した際に、前記バッファに保持されている発音指示時の操作速度に応じた消音用波形データを前記記憶手段から読み出して、当該消音用波形データに基づく楽音の発音を開始する発音制御手段と、
を備えることを特徴とする波形選択装置。
A plurality of sound-wave data, storage means for storing a plurality of sound-absorbing waveform data,
Holding means for holding the operation speed at the time of the sound generation instruction in the buffer when the sound generation instruction is detected;
When the sound generation instruction is detected, the sound generation waveform data corresponding to the operation speed at the time of the sound generation instruction held in the buffer is read from the storage means and the sound generation for starting the sound generation based on the sound generation waveform data is started. Means,
When a mute instruction is detected, a mute means for starting mute of the musical sound instructed to mute,
When the mute instruction is detected, the mute waveform data corresponding to the operation speed at the time of the mute instruction held in the buffer is read from the storage means , and the sound generation for starting the sound generation based on the mute waveform data is started. Control means;
Waveform selection apparatus comprising: a.
前記発音制御手段は、
消音指示を検出した際に、前記バッファに保持されている発音指示時の操作速度と、消音指示時の楽音のエンベロープ値とに応じた消音用波形データを前記記憶手段から読み出して、当該消音用波形データに基づく楽音の発音を開始するようにしたことを特徴とする請求項1記載の波形選択装置。
The pronunciation control means includes
When the mute instruction is detected, the mute waveform data corresponding to the operation speed at the time of sound generation instruction held in the buffer and the envelope value of the musical sound at the time of mute instruction is read from the storage means, and the mute 2. The waveform selection apparatus according to claim 1, wherein the sound generation based on the waveform data is started .
複数の発音用波形データと複数の消音用波形データとを記憶する記憶手段と、発音指示時の操作速度を保持するバッファを有するコンピュータに、
発音指示を検出した際に、前記バッファに保持されている発音指示時の操作速度に応じた発音用波形データを前記記憶手段から読み出して、当該発音用波形データに基づく楽音の発音を開始する発音ステップ、
消音指示を検出した際に、消音指示された楽音の消音を開始する消音ステップ、
消音指示を検出した際に、前記バッファに保持されている発音指示時の操作速度に応じた消音用波形データを前記記憶手段から読み出して、当該消音用波形データに基づく楽音の発音を開始する発音制御ステップ、
実行させるための波形選択プログラム。
A computer having storage means for storing a plurality of waveform data for sound generation and a plurality of waveform data for mute, and a buffer for holding an operation speed at the time of sound generation instruction,
Upon detection of sound generation instruction, the sound waveform data corresponding to the operation speed during sounding instruction held in said buffer is read from the storage means, initiates the sound of the musical tone based on the sound waveform data pronunciation Step,
A mute step for starting mute of the musical sound instructed to mute when a mute instruction is detected ,
When the mute instruction is detected, the mute waveform data corresponding to the operation speed at the time of the mute instruction held in the buffer is read from the storage means , and the sound generation for starting the sound generation based on the mute waveform data is started. Control step,
Waveform selection program to execute .
消音指示を検出した際に、消音指示された楽音以外に、他に発音されている楽音がないかあるかを判断する判断手段をさらに備え、When detecting a mute instruction, the apparatus further comprises a determination means for determining whether there is any other sound that is pronounced in addition to the sound instructed to mute,
前記発音制御手段は、The pronunciation control means includes
前記判断手段において発音がないと判断された場合は、前記バッファに保持されている発音指示時の操作速度に応じた消音用波形データを前記記憶手段から読み出して、当該消音用波形データに基づく楽音の発音を開始し、If the determination means determines that there is no sound generation, the mute waveform data corresponding to the operation speed at the time of sound generation instruction held in the buffer is read from the storage means, and the musical sound based on the mute waveform data is read. Start to pronounce
前記判断手段において発音があると判断された場合は、前記記憶手段から消音用波形データを読み出さないよう制御することを特徴とする請求項1記載の波形選択装置。2. The waveform selection apparatus according to claim 1, wherein when the determination means determines that there is a sound, the waveform selection apparatus is controlled so as not to read the mute waveform data from the storage means.
JP2003191772A 2003-07-04 2003-07-04 Waveform selection device and waveform selection program Expired - Fee Related JP3931848B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003191772A JP3931848B2 (en) 2003-07-04 2003-07-04 Waveform selection device and waveform selection program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003191772A JP3931848B2 (en) 2003-07-04 2003-07-04 Waveform selection device and waveform selection program

Publications (2)

Publication Number Publication Date
JP2005025012A JP2005025012A (en) 2005-01-27
JP3931848B2 true JP3931848B2 (en) 2007-06-20

Family

ID=34189238

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003191772A Expired - Fee Related JP3931848B2 (en) 2003-07-04 2003-07-04 Waveform selection device and waveform selection program

Country Status (1)

Country Link
JP (1) JP3931848B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5162938B2 (en) * 2007-03-29 2013-03-13 ヤマハ株式会社 Musical sound generator and keyboard instrument

Also Published As

Publication number Publication date
JP2005025012A (en) 2005-01-27

Similar Documents

Publication Publication Date Title
JP3835163B2 (en) Electronic drum device
JP2629891B2 (en) Music signal generator
JP3931847B2 (en) Waveform selection device and waveform selection program
JP3931848B2 (en) Waveform selection device and waveform selection program
JP5305483B2 (en) Music generator
US10805475B2 (en) Resonance sound signal generation device, resonance sound signal generation method, non-transitory computer readable medium storing resonance sound signal generation program and electronic musical apparatus
JP7476501B2 (en) Resonance signal generating method, resonance signal generating device, resonance signal generating program, and electronic music device
JPH0720866A (en) Electronic musical instrument
JP3624780B2 (en) Music control device
JP5699558B2 (en) Musical sound generating apparatus and program
JP4785052B2 (en) Music generator
JP4239706B2 (en) Automatic performance device and program
JP3933070B2 (en) Arpeggio generator and program
JPH0566776A (en) Automatic orchestration device
JP2744257B2 (en) Electronic percussion instrument
JP4254697B2 (en) Electronic musical instruments
JP4094441B2 (en) Electronic musical instruments
JP2953217B2 (en) Electronic musical instrument
JP3034398B2 (en) Electronic musical instrument controller
JP3595676B2 (en) Music sound generating apparatus and music sound generating method
JP3424989B2 (en) Automatic accompaniment device for electronic musical instruments
JPH10319949A (en) Electronic musical instrument
JP2019168515A (en) Electronic musical instrument, method, and program
JPH07199940A (en) Demonstrative playing controller for electronic musical instrument
JPH07152376A (en) Tempo adjustment device of electronic musical instrument

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050728

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060831

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061010

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061127

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070305

R150 Certificate of patent or registration of utility model

Ref document number: 3931848

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110323

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110323

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120323

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130323

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20140323

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees