JP5115800B2 - Low frequency oscillation device and low frequency oscillation processing program - Google Patents
Low frequency oscillation device and low frequency oscillation processing program Download PDFInfo
- Publication number
- JP5115800B2 JP5115800B2 JP2008023831A JP2008023831A JP5115800B2 JP 5115800 B2 JP5115800 B2 JP 5115800B2 JP 2008023831 A JP2008023831 A JP 2008023831A JP 2008023831 A JP2008023831 A JP 2008023831A JP 5115800 B2 JP5115800 B2 JP 5115800B2
- Authority
- JP
- Japan
- Prior art keywords
- state
- lfo waveform
- lfo
- waveform
- sound
- 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.)
- Active
Links
Images
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
本発明は、電子楽器の音源に用いて好適な低周波発振装置および低周波発振処理プログラムに関する。 The present invention relates to a low frequency oscillation device and a low frequency oscillation processing program suitable for use as a sound source of an electronic musical instrument.
周知のように、電子楽器では、音高、音色、音量などの楽音要素を、低周波信号で周期的に変調して発生楽音を修飾する低周波発振装置を音源に備える場合が多い。この種の装置として、例えば特許文献1には、A区間およびB区間に区分けされるLFO波形の各区間毎の波形形状を決めてから、パラメータDutyにより波形一周期全体に占める波形A区間の割合を定め、さらにA区間におけるLFO波高値のランダム変化幅およびB区間におけるLFO波高値のランダム変化幅を制限して得られるLFO波形を発生し、そうして生成されたLFO波形に応じて、発生楽音の音高、音色および音量を変調して効果付与することによって、ある程度ユーザが意図した効果を付与しつつ、予期し得ない極端な変化の効果も付与する低周波発振装置が開示されている。
As is well known, an electronic musical instrument is often provided with a low-frequency oscillating device for modifying a generated musical tone by periodically modulating musical tone elements such as pitch, tone color, and volume with a low-frequency signal. As this type of apparatus, for example, in
ところで、近年の電子楽器においては、同時発音数や同時発音する音色数の増加あるいは変調対象の多様化に伴い、周期的なモジュレーション効果を生成するのに用いられるLFO波形の同時稼働数も増えつつあり、音源のプロセッサ(CPU又はDSP)に大きな負担をかけているのが現状である。このため、音源の負荷を軽減すべく、消音状態でLFO波形の出力を停止させる手法が必要になっている。 By the way, in recent electronic musical instruments, the number of simultaneously operating LFO waveforms used to generate a periodic modulation effect is increasing with the increase in the number of simultaneous sounds, the number of timbres that sound simultaneously, or the diversification of modulation targets. The current situation is that it places a heavy burden on the processor (CPU or DSP) of the sound source. For this reason, in order to reduce the load on the sound source, a method for stopping the output of the LFO waveform in the mute state is necessary.
低周波発振装置を常時稼働させている場合には、図10に図示するように、発音中を表す発音区間に対応した位相のLFO波形が変調波形となり、その位相に対応したデプス(振幅)のモジュレーション効果が得られる。これに対し、音源の負荷軽減を目的として、発音時にのみ低周波発振装置を稼働させる態様とすると、図11に図示するように、押鍵される毎に低周波発振装置を起動する為、当該低周波発振装置から出力されるLFO波形の位相はその都度先頭にリセットされてしまい、これ故、単調なモジュレーション効果を付与する変調波形となってしまう。 When the low-frequency oscillation device is always in operation, as shown in FIG. 10, the LFO waveform having the phase corresponding to the sounding period indicating the sounding is the modulation waveform, and the depth (amplitude) corresponding to the phase is changed. A modulation effect is obtained. On the other hand, for the purpose of reducing the load on the sound source, if the low frequency oscillation device is operated only during sound generation, as shown in FIG. 11, the low frequency oscillation device is activated each time the key is pressed. The phase of the LFO waveform output from the low-frequency oscillation device is reset to the head each time, and therefore, the modulation waveform gives a monotonous modulation effect.
具体的には、例えばLFO波形の周期を10秒という比較的に長い時間に設定しておき、0.5秒間隔くらいの短い時間の発音を繰り返しながら、発音する楽音の音色を制御するフィルタ特性を、そのLFO波形によって変化させる場合、押鍵の都度、LFO波形の位相が先頭にリセットされる為に音色変化が画一的で単調なものとなる。つまり、以上の内容を換言すると、長周期のLFO波形に由来する独特のモジュレーション効果を維持しつつ、音源の負荷軽減を図ることが出来ないという問題がある。 Specifically, for example, a filter characteristic for controlling the tone color of a musical tone to be generated while setting the period of the LFO waveform to a relatively long time of 10 seconds and repeating the sound for a short time of about 0.5 seconds. Is changed by the LFO waveform, the phase of the LFO waveform is reset to the head each time the key is pressed, so that the timbre change becomes uniform and monotonous. In other words, in other words, there is a problem that the load on the sound source cannot be reduced while maintaining the unique modulation effect derived from the long-period LFO waveform.
本発明は、このような事情に鑑みてなされたもので、長周期のLFO波形に由来する独特のモジュレーション効果を維持しつつ、音源の負荷軽減を図ることができる低周波発振装置および低周波発振処理プログラムを提供することを目的としている。 The present invention has been made in view of such circumstances, and a low-frequency oscillation device and a low-frequency oscillation capable of reducing the load on a sound source while maintaining a unique modulation effect derived from a long-period LFO waveform The purpose is to provide a processing program.
上記目的を達成するため、請求項1に記載の発明では、LFO波形を発生するLFO波形発生手段と、前記LFO波形の状態が停止状態、通常稼動状態及び稼動停止準備状態のいずれにあるかを示す状態情報を記憶する記憶手段と、前記記憶手段に記憶された状態情報が通常稼動状態あるいは稼動停止準備状態であるかを所定周期で判別する状態判別手段と、前記状態判別手段により前記状態情報が通常稼動状態にあると判別された場合は、前記LFO波形発生手段により発生されるLFO波形により変調される楽音の発音の有無を検出する発音検出手段と、前記発音検出手段により前記楽音の発音が無いと検出された場合に、前記記憶手段に記憶された状態情報を稼動停止準備状態とする制御手段と、前記前記状態判別手段により前記状態情報が稼動停止準備状態にあると判別された場合は、前記記憶された状態情報を停止状態とするとともに、前記LFO波形発生手段にLFO波形の発生停止を指示する停止指示手段と、前記記憶手段に記憶された状態情報が停止状態を示している場合でかつ前記楽音の発音指示がなされたときは、前記LFO波形発生手段にLFO波形の出力再開を指示する再開指示手段とを具備することを特徴とする。 In order to achieve the above object, according to the first aspect of the present invention, LFO waveform generating means for generating an LFO waveform and whether the state of the LFO waveform is in a stop state, a normal operation state, or an operation stop preparation state. Storage means for storing state information to be indicated, state determination means for determining whether the state information stored in the storage means is in a normal operation state or an operation stop preparation state at a predetermined cycle, and the state information by the state determination means Is determined to be in a normal operating state, the sound detection means for detecting the presence or absence of the sound generated by the LFO waveform generated by the LFO waveform generation means, and the sound generation by the sound detection means When it is detected that the state information is not present, the state information stored in the storage unit is set to the operation stop preparation state, and the state information is detected by the state determination unit. When it is determined that the information is in an operation stop ready state, the stored state information is set to a stop state, and stop instruction means for instructing the LFO waveform generation means to stop generating the LFO waveform; and the storage means And a restart instruction means for instructing the LFO waveform generation means to resume the output of the LFO waveform when the musical sound is instructed to be sounded. Features.
上記請求項1に従属する請求項2に記載の発明では、前記状態判別手段は、前記LFO波形発生手段が一周期分のLFO波形を発生する毎に、前記記憶手段に記憶された状態情報が通常稼動状態あるいは稼動停止準備状態であるかを判別することを特徴とする。
In the invention according to
上記請求項1に従属する請求項3に記載の発明では、前記再開指示手段は、ランダム関数に基づき発生した乱数をLFO波形の初期位相に設定して前記LFO波形発生手段に出力再開を指示することを特徴とする。
In the invention according to
上記請求項1に従属する請求項4に記載の発明では、前記LFO波形発生手段が発生するLFO波形は、少なくとも、発音される楽音の音高、音色および音量のいずれかを変調することを特徴とする。
In the invention according to claim 4, which is dependent on
請求項5に記載の発明では、LFO波形の状態が停止状態、通常稼動状態及び稼動停止準備状態のいずれにあるかを示す状態情報を記憶する記憶手段を有する低周波発振装置として用いられるコンピュータに、前記LFO波形を発生するLFO波形発生処理と、前記記憶手段に記憶された状態情報が通常稼動状態あるいは稼動停止準備状態であるかを所定周期で判別する状態判別処理と、前記状態判別処理により前記状態情報が通常稼動状態にあると判別された場合は、前記LFO波形発生処理により発生されるLFO波形により変調される楽音の発音の有無を検出する発音検出処理と、前記発音検出処理により前記楽音の発音が無いと検出された場合に、前記記憶手段に記憶された状態情報を稼動停止準備状態とする制御処理と、前記前記状態判別処理により前記状態情報が稼動停止準備状態にあると判別された場合は、前記記憶された状態情報を停止状態とするとともに、前記LFO波形発生処理にLFO波形の発生停止を指示する停止指示処理と、前記記憶手段に記憶された状態情報が停止状態を示している場合でかつ前記楽音の発音指示がなされたときは、前記LFO波形発生処理にLFO波形の出力再開を指示する再開指示処理とをコンピュータで実行させることを特徴とする。 In a fifth aspect of the present invention, a computer used as a low-frequency oscillation device having storage means for storing state information indicating whether the LFO waveform is in a stopped state, a normal operating state, or an operating stop preparation state. , An LFO waveform generation process for generating the LFO waveform , a state determination process for determining whether the state information stored in the storage means is a normal operation state or an operation stop preparation state at a predetermined period, and the state determination process When it is determined that the state information is in a normal operation state, the sound generation detection process for detecting the presence or absence of the sound generated by the LFO waveform generated by the LFO waveform generation process and the sound generation detection process When it is detected that there is no musical sound, the control process for setting the state information stored in the storage means to the operation stop preparation state, When it is determined by the state determination process that the state information is in the operation stop preparation state, the stored state information is set to the stop state, and a stop instruction for instructing the LFO waveform generation process to stop generating the LFO waveform And a restart instruction process for instructing the LFO waveform generation process to resume the output of the LFO waveform when the state information stored in the storage means indicates a stopped state and when the tone generation instruction is issued. characterized in that to execute the door in a computer.
本発明では、長周期のLFO波形に由来する独特のモジュレーション効果を維持しつつ、音源の負荷軽減を図ることができる。 In the present invention, it is possible to reduce the load on the sound source while maintaining a unique modulation effect derived from the long-period LFO waveform.
以下、図面を参照して本発明の実施形態について説明する。
A.構成
(1)全体構成
図1は、本発明の実施の一形態である電子楽器10の全体構成を示すブロック図である。電子楽器10は、鍵盤1、MIDIインタフェース2、スイッチ部3、CPU4、ROM5、RAM6、音源7、D/A変換器8およびサウンドシステム9を備える。鍵盤1は、押離鍵操作(演奏操作)に応じたキーオン/キーオフ信号、鍵番号(あるいはノートナンバ)およびベロシティ等からなる演奏情報を発生する。MIDIインタフェース2は、CPU4の制御の下に、例えばMIDIキーボードなどの外部MIDI装置とMIDIデータを授受する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
A. Configuration (1) Overall Configuration FIG. 1 is a block diagram showing an overall configuration of an electronic
スイッチ部3は、楽器パネルに配設される各種スイッチを備え、スイッチ操作に応じたスイッチイベントを発生する。CPU4は、スイッチ部3から供給されるスイッチイベントに基づき楽器各部の動作状態を設定する他、鍵盤1から供給される演奏情報(又はMIDIインタフェース2を介して外部MIDI装置から供給されるMIDIデータ)に基づき音源7に楽音発生を指示する。また、CPU4では、音源7が発生する楽音データの音高、音色および音量を変調するためのLFO波形を発生する。本発明の要旨に係わるCPU4の処理動作については追って述べる。
The
ROM5は、上記CPU4にロードされる各種制御プログラムや制御データ等を記憶する。ここで言う各種制御プログラムとは、後述するメインルーチン、エンベロープ処理、LFO処理およびノートオン処理を含む。RAM6は、CPU4のワークエリアとして用いられ、各種レジスタ・フラグデータを一時記憶する。ここで、図2を参照してRAM5に設けられる主要レジスタの構成を説明する。
The ROM 5 stores various control programs and control data that are loaded into the CPU 4. The various control programs referred to here include a main routine, envelope processing, LFO processing, and note-on processing, which will be described later. The
図2において、レジスタpartには、後述の音源7が備える同時発音可能な32音色分の音色パートのいずれかを指定するパート番号が一時記憶される。レジスタvoiceには、音源7が備える64組の発音チャンネル(ボイス)のいずれかを指定するボイス番号が一時記憶される。レジスタVPT[voice]には、レジスタvoiceのボイス番号で指定される発音チャンネルがアサインされた音色パートを指定するパート番号が一時記憶される。 In FIG. 2, the register part temporarily stores a part number for designating any one of 32 timbre parts that can be simultaneously generated in the sound source 7 described later. The register voice temporarily stores a voice number designating one of 64 sound generation channels (voices) included in the sound source 7. The register VPT [voice] temporarily stores a part number for designating a timbre part to which a sound generation channel designated by the voice number of the register voice is assigned.
レジスタAVC[part]には、レジスタpartのパート番号で指定される音色パートにおいて現在発音中のボイス数が一時記憶される。レジスタLPH[part]には、レジスタpartのパート番号で指定される音色パートにアサインされたLFO波形の現在位相値が一時記憶される。レジスタLRR[part]には、レジスタpartのパート番号で指定される音色パートにアサインされたLFO波形の速度(変化率)が一時記憶される。 The register AVC [part] temporarily stores the number of voices currently being generated in the timbre part specified by the part number of the register part. The register LPH [part] temporarily stores the current phase value of the LFO waveform assigned to the timbre part specified by the part number of the register part. The register LRR [part] temporarily stores the speed (change rate) of the LFO waveform assigned to the timbre part specified by the part number of the register part.
レジスタLST[part]には、レジスタpartのパート番号で指定される音色パートにアサインされたLFO波形の状態を表すステイタス値が一時記憶される。ステイタス値は「0」の場合に停止状態、「1」の場合に通常稼働状態、「2」の場合に稼働停止準備状態を表す。レジスタEST[voice]には、レジスタvoiceのボイス番号で指定される発音チャンネルにおけるエンベロープジェネレータEG(後述する)の状態値が一時記憶される。状態値は「0」の場合に発音停止状態、「1」の場合に発音中を表す。レジスタELV[voice]には、レジスタvoiceのボイス番号で指定される発音チャンネルにおけるエンベロープジェネレータEGのエンベロープレベルが一時記憶される。 The register LST [part] temporarily stores a status value indicating the state of the LFO waveform assigned to the timbre part specified by the part number of the register part. The status value indicates a stop state when “0”, a normal operation state when “1”, and an operation stop preparation state when “2”. The register EST [voice] temporarily stores a state value of an envelope generator EG (described later) in the sound generation channel designated by the voice number of the register voice. When the state value is “0”, the sound generation is stopped, and when the state value is “1”, the sound is being generated. The register ELV [voice] temporarily stores the envelope level of the envelope generator EG in the sound generation channel specified by the voice number of the register voice.
次に、再び図1を参照して実施形態の構成について説明を進める。図1において、音源7は、周知の波形メモリ読み出し方式にて構成され、CPU4から供給されるパラメータで指定される音色、音高および音量の波形データを生成すると共に、生成された波形データについてCPU4から供給されるLFO波形に応じて変調効果を付与した楽音データWを出力する。D/A変換器8は、音源7から出力される楽音データWをアナログ形式の楽音信号に変換して出力する。サウンドシステム9は、D/A変換器8が出力する楽音信号から不要ノイズを除去する等のフィルタリングを施した後、これを増幅してスピーカから発音させる。
Next, the configuration of the embodiment will be described with reference to FIG. 1 again. In FIG. 1, a sound source 7 is configured by a well-known waveform memory reading method, and generates waveform data of tone color, pitch and volume specified by parameters supplied from the CPU 4, and the generated waveform data by the CPU 4. The musical sound data W to which the modulation effect is applied according to the LFO waveform supplied from the is output. The D / A converter 8 converts the musical sound data W output from the sound source 7 into an analog musical signal and outputs it. The
(2)音源7の構成
次に、図3〜図4を参照して音源7の構成について説明する。音源7は周知のDSPから構成される。したがって、図3はそのDSPにおいて実行されるマイクロプログラムの各機能をハードウェアイメージとして捉らえた機能ブロックを図示している。なお、図3では音源7の構成要素として低周波発振装置80(以下、LFO80と記す)およびエンベロープジェネレータ71〜73(以下、EG71〜73と記す)を便宜的に図示しているが、実際にはLFO80およびEG71〜73はCPU4の処理により具現される機能である。
(2) Configuration of Sound Source 7 Next, the configuration of the sound source 7 will be described with reference to FIGS. The sound source 7 is composed of a known DSP. Therefore, FIG. 3 illustrates functional blocks in which each function of the microprogram executed in the DSP is regarded as a hardware image. In FIG. 3, a low-frequency oscillation device 80 (hereinafter referred to as LFO 80) and
図3において、EG71は、音高制御用のエンベロープ波形を発生する。加算器74は、LFO80から出力されるLFO波形と、EG71から出力される音高制御用のエンベロープ波形とを加算したピッチ変調信号を波形発生器75に供給する。波形発生器75は、周知の波形メモリ読み出し方式で構成され、CPU4から供給されるパラメータに従い、指定音色の波形データを指定音高で読み出すと共に、その読み出した波形データの音高を、加算器74から供給されるピッチ変調信号に応じて変調する。
In FIG. 3, an
EG72は、音色制御用(カットオフ周波数制御用)のエンベロープ波形を発生する。加算器76は、LFO80から出力されるLFO波形と、EG72から出力される音色制御用のエンベロープ波形とを加算したカットオフ周波数変調信号をフィルタ77に供給する。フィルタ77は、周知のDCF(デジタル制御フィルタ)から構成され、加算器76から供給されるカットオフ周波数変調信号に応じて、DCFのカットオフ周波数を変調してローパス特性を変化させ、これにより波形発生器75が出力する波形データに音色変化を与える。
The
EG73は、音量制御用のエンベロープ波形を発生する。加算器78は、LFO80から出力されるLFO波形と、EG73から出力される音量制御用のエンベロープ波形とを加算した音量変調信号を増幅器79に供給する。増幅器79は、加算器78から供給される音量変調信号に応じて増幅率を可変制御してフィルタ77が出力する波形データに音量変化を与える。
The
上記構成要素71〜79は、1つの発音チャンネル(ボイス)を形成する。すなわち、図4に図示するように、64組の発音チャンネルを形成しており、これらが動的にアサインされて32音色分のパート音源70を構成する。図3において、LFO波形を発生するLFO80は、これら32組のパート音源のそれぞれに対応して設けられる。ミキサ90は、32組のパート音源7がそれぞれ発生する波形データを加算して楽音データWを出力する。
The
(3)LFO80の機能概説
次に、図5を参照してLFO80の機能について概説する。なお、LFO80の機能は、CPU4が実行するLFO処理およびノートオン処理により具現される。LFO処理およびノートオン処理の詳細については追って述べる。LFO80は、図5に図示するLFO波形(三角波)を発生する。具体的には、各音色パートについて一定周期毎にレジスタLRR[part]のLFO波形速度(変化率)を、レジスタLPH[part]のLFO波形位相に加算して読み出し位相を更新し、更新した読み出し位相のLFO波形値を出力する。
(3) Function Overview of
LFO80では、LFO波形の最初の一周期以降の各周期先頭にチェックポイントを設け、例えば図5に図示するように、チェックポイント1からチェックポイント2までの間(稼働停止準備状態)に、押鍵による発音指示が発生しなければ、チェックポイント2から停止状態となりLFO波形の出力を停止する。また、LFO80では、LFO波形停止中に押鍵による発音指示が発生した場合、ランダムな位相でLFO波形の発生を再開する。
In the
このように、LFO80では、全ての発音が消音した後、LFO波形一周期分のチェックポイント区間中(稼働停止準備状態)に、押鍵による発音指示が発生しなければ、停止状態となってLFO波形の出力を停止し、LFO波形停止中に押鍵による発音指示が発生すると、ランダムな位相でLFO波形の発生を再開するので、長周期のLFO波形に由来する独特のモジュレーション効果を維持しながらも音源の負荷軽減を図ることが可能になる。
As described above, in the
B.動作
次に、図6〜図9を参照して実施形態の動作を説明する。以下では、全体動作としてCPU4が実行するメインルーチンの動作を、図6を参照して説明した後、このメインルーチンの実行中にCPU4が割り込み実行するエンベロープ処理およびLFO処理の各動作を図7〜図8を参照して説明する。また、図9を参照してメインルーチンからコールされるノートオン処理の動作を説明する。
B. Operation Next, the operation of the embodiment will be described with reference to FIGS. In the following, the operation of the main routine executed by the CPU 4 as an overall operation will be described with reference to FIG. 6, and the operations of envelope processing and LFO processing executed by the CPU 4 during execution of this main routine will be described with reference to FIGS. This will be described with reference to FIG. The operation of note-on processing called from the main routine will be described with reference to FIG.
(1)メインルーチンの動作
図6はCPU4が実行するメインルーチンの動作を示すフローチャートである。上述した構成による電子楽器10がパワーオンされると、CPU4は図6に示すメインルーチンのステップSA1に処理を進め、RAM6に格納される各種レジスタ/フラグ類をリセットしたり、初期値セットする他、音源7に対して各種レジスタ・フラグを初期化したりするよう指示するイニシャライズを実行する。
(1) Operation of Main Routine FIG. 6 is a flowchart showing the operation of the main routine executed by the CPU 4. When the electronic
そして、イニシャライズが完了すると、ステップSA2に処理を進め、スイッチ部3のスイッチ操作に対応したスイッチ処理を行う。このスイッチ処理では、例えば音色選択スイッチの操作により選択される音色の楽音を発生させるパラメータを音源7に設定する。具体的には、指定音色の波形データの読み出し開始アドレスを波形発生器75に供給したり、指定音色に対応したカットオフ周波数に設定したりするフィルタ係数をフィルタ77に供給する。
When the initialization is completed, the process proceeds to step SA2, and a switch process corresponding to the switch operation of the
次いで、ステップSA3では、鍵イベントの有無を判断する。鍵盤1の鍵操作が行われず、鍵イベントが発生しない場合には、上述のステップSA2に処理を戻す。鍵盤1の押鍵によりキーオンイベントが生じた場合には、ステップSA4を介してノートオン処理(後述する)を実行した後、上記ステップSA2に処理を戻す。鍵盤1の離鍵によりキーオフイベントが生じた場合には、ステップSA5に進み、離鍵された鍵の音高で発音している楽音を消音するよう音源7に指示するノートオフ処理を実行した後、上記ステップSA2に処理を戻す。以後、電子楽器10がパワーオフされる迄、上述したステップSA2〜SA5を繰り返す。
Next, in step SA3, it is determined whether or not there is a key event. If no key operation is performed on the
(2)エンベロープ処理の動作
図7は、タイマ割り込みによってCPU4が所定周期毎に実行するエンベロープ処理の動作を示すフローチャートである。割り込みタイミングになると、CPU4は図7に図示するステップSB1のループ開始からステップSB7のループ終了までの処理を、64組の発音チャンネル分(レジスタvoiceのボイス番号0〜63)繰り返す。すなわち、1つの発音チャンネル毎にステップSB2〜SB6を実行する。
(2) Operation of Envelope Processing FIG. 7 is a flowchart showing an operation of envelope processing executed by the CPU 4 at predetermined intervals by a timer interrupt. At the interrupt timing, the CPU 4 repeats the processing from the loop start of step SB1 to the loop end of step SB7 shown in FIG. 7 for 64 sound generation channels (
先ずステップSB2では、レジスタEST[voice]に格納され、レジスタvoiceのボイス番号で指定される発音チャンネルにおけるEG73(図3参照)の状態値が「0」(発音停止状態)であるか否かを判断する。発音停止状態ならば、判断結果は「YES」になり、ステップSB7のループ終了端に進む。一方、発音中ならば、上記ステップSB2の判断結果は「NO」になり、ステップSB3に進み、エンベロープ更新処理を実行する。エンベロープ更新処理では、EG73のエンベロープ読み出し位相を歩進させて音量制御用のエンベロープ波形を更新する。
First, in step SB2, whether or not the state value of the EG 73 (see FIG. 3) stored in the register EST [voice] and designated by the voice number of the register voice is “0” (sound generation stopped state) is determined. to decide. If the sound generation is stopped, the determination result is “YES”, and the process proceeds to the end of the loop in step SB7. On the other hand, if the sound is being generated, the determination result in step SB2 is “NO”, and the process proceeds to step SB3 to execute the envelope update process. In the envelope update process, the envelope read phase of the
続いて、ステップSB4では、レジスタELV[voice]に格納され、レジスタvoiceのボイス番号で指定される発音チャンネルにおけるEG73のエンベロープレベルが「0」であるか否か、つまりレジスタvoiceのボイス番号で指定される発音チャンネルが消音状態に達したかどうかを判断する。消音状態に達していなければ、判断結果は「NO」になり、ステップSB7のループ終了端に進むが、消音状態に達した場合には、上記ステップSB4の判断結果が「YES」になり、ステップSB5に進む。
Subsequently, in step SB4, whether or not the envelope level of the
ステップSB5では、レジスタvoiceのボイス番号で指定される発音チャンネルが消音状態に達したのに伴い、発音停止状態を表す値「0」をレジスタEST[voice]にストアする。次いで、ステップSB6では、レジスタVPT[voice]からレジスタvoiceのボイス番号で指定される発音チャンネルがアサインされた音色パートを指定するパート番号を読み出してレジスタpartにストアする。また、ステップSB6では、レジスタpartのパート番号で指定される音色パートで発音中のボイス数が消音により1つ減る為、レジスタAVC[part]のボイス数を1つ減算して当該レジスタAVC[part]を更新させた後、ステップSB7のループ終了端に進む。 In step SB5, as the sound generation channel designated by the voice number of the register voice reaches the mute state, the value “0” representing the sound generation stop state is stored in the register EST [voice]. Next, in step SB6, the part number specifying the timbre part to which the tone generation channel specified by the voice number of the register voice is assigned is read from the register VPT [voice] and stored in the register part. In step SB6, since the number of voices being generated in the timbre part specified by the part number of the register part is reduced by one, the number of voices in the register AVC [part] is subtracted by one and the register AVC [part ] Is updated, and then the process proceeds to the end of the loop of step SB7.
このように、エンベロープ処理では、所定周期毎に各発音チャンネル(ボイス)毎の音量制御用エンベロープ波形を更新させ、その中でエンベロープ波形レベルが「0」の消音状態に達した発音チャンネルが存在した場合には、レジスタEST[voice]に発音停止状態を表す値「0」をストアすると共に、消音された発音チャンネルが割り当てられていた音色パートのボイス数を1つ減算してレジスタAVC[part]を更新する。 As described above, in the envelope processing, the sound volume control envelope waveform for each sound generation channel (voice) is updated every predetermined cycle, and there is a sound generation channel that has reached the mute state with the envelope waveform level “0”. In this case, a value “0” representing the sound generation stop state is stored in the register EST [voice], and the number of voices of the timbre part to which the muted sound generation channel is assigned is subtracted by 1 to register AVC [part]. Update.
(3)LFO処理の動作
図8は、タイマ割り込みによってCPU4が所定周期毎に実行するLFO処理の動作を示すフローチャートである。割り込みタイミングになると、CPU4は図8に図示するステップSC1のループ開始からステップSC14のループ終了までの処理を、32音色の各パート(レジスタpartのパート番号0〜31)について繰り返す。すなわち、1つの音色パート毎にステップSC2〜SC13を実行する。
(3) Operation of LFO Process FIG. 8 is a flowchart showing the operation of the LFO process executed by the CPU 4 at predetermined intervals by a timer interrupt. At the interrupt timing, the CPU 4 repeats the processing from the start of the loop at step SC1 to the end of the loop at step SC14 shown in FIG. 8 for each of the 32 tone colors (
ステップSC2では、レジスタLST[part]に格納され、レジスタpartのパート番号で指定される音色パートにアサインされたLFO波形の状態を表すステイタス値が「0」(停止状態)であるか否かを判断する。LFO波形が出力されない停止状態であると、判断結果は「YES」になり、ステップSC14のループ終了端に進む。一方、ステイタス値が「1」の通常稼働状態もしくはステイタス値が「2」の稼働停止準備状態ならば、上記ステップSC2の判断結果は「NO」となり、ステップSC3に進む。 In step SC2, whether or not the status value indicating the state of the LFO waveform stored in the register LST [part] and assigned to the timbre part specified by the part number of the register part is “0” (stopped state). to decide. If the LFO waveform is not output, the determination result is “YES”, and the process proceeds to the loop end of step SC14. On the other hand, if the status value is “1” in the normal operation state or the status value is “2”, the determination result in step SC2 is “NO”, and the process proceeds to step SC3.
ステップSC3では、レジスタLPH[part]に格納され、レジスタpartのパート番号で指定される音色パートにアサインされたLFO波形の現在の位相値に、同音色パートのLFO波形の速度(変化率)を保持するレジスタLRR[part]の値を加算して新たな読み出し位相phを算出する。次いで、ステップSC4では、レジスタLPH[part]に格納されるLFO波形の現在の位相値が「256」より大きいか否かを判断する。つまり、本実施の形態ではLFO波形の位相値の値域を「0」〜「255」としているので、ここではLFO波形を一周期分読み出し終えたかどうかを判断している。LFO波形を一周期分読み出し終えていない場合には、判断結果が「NO」となり、後述のステップSC10に進む。 In step SC3, the speed (change rate) of the LFO waveform of the same timbre part is added to the current phase value of the LFO waveform stored in the register LPH [part] and assigned to the timbre part specified by the part number of the register part. The value of the register LRR [part] to be held is added to calculate a new read phase ph. Next, in step SC4, it is determined whether or not the current phase value of the LFO waveform stored in the register LPH [part] is greater than “256”. That is, in the present embodiment, the range of the phase value of the LFO waveform is set to “0” to “255”, and it is determined here whether or not the reading of the LFO waveform for one cycle has been completed. If the LFO waveform has not been read for one cycle, the determination result is “NO”, and the flow proceeds to step SC10 described later.
これに対し、LFO波形を一周期分読み出し終えている場合には、上記ステップSC4の判断結果が「YES」になり、ステップSC5に進む。ステップSC5では、LFO波形を先頭から繰り返し読み出す、所謂ループ再生を行う為、レジスタLPH[part]に格納されるLFO波形の現在の位相値から「256」を減算して新たな読み出し位相phを算出する。 On the other hand, when the LFO waveform has been read for one cycle, the determination result in step SC4 is “YES”, and the flow proceeds to step SC5. In step SC5, in order to perform so-called loop reproduction in which the LFO waveform is repeatedly read from the top, “256” is subtracted from the current phase value of the LFO waveform stored in the register LPH [part] to calculate a new readout phase ph. To do.
次いで、ステップSC6では、レジスタLST[part]に格納され、レジスタpartのパート番号で指定される音色パートにアサインされたLFO波形の状態を表すステイタス値が「1」(通常稼働状態)であるか否かを判断する。つまり、図5に図示したように、LFO波形を一周期分読み出し終えたチェックポイント1においてステイタス値が「1」の通常稼働状態であるか、あるいはLFO波形を一周期分読み出し終えたチェックポイント2においてステイタス値が「2」の稼働停止準備状態のいずれであるかを判断する。以下、チェックポイント1で通常稼働状態の場合と、チェックポイント2で稼働停止準備状態の場合とに分けて動作説明を進める。
Next, at step SC6, whether the status value indicating the state of the LFO waveform stored in the register LST [part] and assigned to the timbre part specified by the part number of the register part is “1” (normal operating state). Judge whether or not. That is, as shown in FIG. 5, the
<チェックポイント1で通常稼働状態の場合>
チェックポイント1で通常稼働状態であると、上記ステップSC6の判断結果は「YES」になり、ステップSC7に進む。ステップSC7では、レジスタAVC[part]に格納され、レジスタpartのパート番号で指定される音色パートにおいて現在発音中のボイス数が「0」、すなわち全ての発音チャンネルが消音状態であるかどうかを判断する。全ての発音チャンネルが消音状態でなければ、判断結果は「NO」になり、後述のステップSC10に進む。
<In normal operation at
When the
一方、全ての発音チャンネルが消音状態であると、上記ステップSC7の判断結果は「YES」になり、ステップSC8に進み、レジスタpartのパート番号で指定される音色パートにアサインされたLFO波形が稼働停止準備状態であることを表すステイタス値「2」をレジスタLST[part]にストアした後、後述のステップSC10に進む。 On the other hand, if all sound generation channels are muted, the determination result in step SC7 is “YES”, and the process proceeds to step SC8, where the LFO waveform assigned to the timbre part specified by the part number in the register part is activated. After storing the status value “2” indicating the stop preparation state in the register LST [part], the process proceeds to Step SC10 described later.
<チェックポイント2で稼働停止準備状態の場合>
チェックポイント2で稼働停止準備状態ならば、上記ステップSC6の判断結果が「NO」になり、ステップSC9に進み、レジスタpartのパート番号で指定される音色パートにアサインされたLFO波形が停止状態であることを表すステイタス値「0」をレジスタLST[part]にストアした後、ステップSC10に進む。
<When
If the operation is in the operation stop preparation state at the
このように、LFO波形を一周期分読み出し終えたチェックポイント1にて通常稼働状態であって、かつ全ての発音チャンネルが消音していれば稼働停止準備状態に遷移し、一方、LFO波形を一周期分読み出し終えたチェックポイント2にて稼働停止準備状態ならば、停止状態に遷移する。そして、こうした状態遷移を終えると、ステップSC10に進み、算出された読み出し位相phを、レジスタpartのパート番号で指定される音色パートにアサインされたLFO波形の現在の位相値としてレジスタLPH[part]にストアする。
As described above, when the LFO waveform is read out for one cycle and is in the normal operation state and all the sound generation channels are muted, the operation state is shifted to the operation stop preparation state. If it is in the operation stop preparation state at the
次いで、ステップSC11では、レジスタLPH[part]の現在位相値に応じて読み出されるLFO波形と、EG71(図3参照)から出力される音高制御用のエンベロープ波形とを加算したピッチ変調信号を波形発生器75(図3参照)に供給するピッチ処理を実行する。なお、このステップSC11のピッチ処理は、停止状態に遷移した場合には実行されない。 Next, in step SC11, a pitch modulation signal obtained by adding the LFO waveform read according to the current phase value of the register LPH [part] and the envelope waveform for pitch control output from the EG 71 (see FIG. 3) is used as a waveform. The pitch process supplied to the generator 75 (refer FIG. 3) is performed. Note that the pitch process in step SC11 is not executed when the process shifts to the stop state.
続いて、ステップSC12では、レジスタLPH[part]の現在位相値に応じて読み出されるLFO波形と、EG72(図3参照)から出力される音色制御用のエンベロープ波形とを加算した音色変調信号をフィルタ77(図3参照)に供給するフィルタ処理を実行する。なお、このステップSC12のフィルタ処理は、停止状態に遷移した場合には実行されない。 Subsequently, in step SC12, a timbre modulation signal obtained by adding the LFO waveform read according to the current phase value of the register LPH [part] and the timbre control envelope waveform output from the EG 72 (see FIG. 3) is filtered. The filter processing supplied to 77 (see FIG. 3) is executed. It should be noted that the filtering process in step SC12 is not executed when transitioning to the stopped state.
そして、ステップSC13では、レジスタLPH[part]の現在位相値に応じて読み出されるLFO波形と、EG73(図3参照)から出力される音量制御用のエンベロープ波形とを加算した音量変調信号を増幅器79(図3参照)に供給するアンプ処理を実行した後、ステップSC14のループ終了端に進む。なお、このステップSC13のアンプ処理は、停止状態に遷移した場合には実行されない。
In step SC13, a volume modulation signal obtained by adding the LFO waveform read in accordance with the current phase value of the register LPH [part] and the volume control envelope waveform output from the EG 73 (see FIG. 3) is amplified by the
(4)ノートオン処理の動作
図9はノートオン処理の動作を示すフローチャートである。前述したメインルーチンのステップSA4(図6参照)を介して本処理が実行されると、CPU4は図9に図示するステップSD1に進み、鍵盤1の押鍵により生じたキーオンイベントを割り当てる発音チャンネル(ボイス)を決定するキーアサイナ処理を実行する。これにより、発音割り当てされた発音チャンネルを指定するボイス番号がレジスタvoiceにストアされる。
(4) Operation of Note On Process FIG. 9 is a flowchart showing the operation of the note on process. When this process is executed through step SA4 (see FIG. 6) of the main routine described above, the CPU 4 proceeds to step SD1 shown in FIG. Execute key assigner processing to determine (voice). As a result, a voice number that designates a sound generation channel to which sound generation is assigned is stored in the register voice.
次いで、ステップSD2では、レジスタEST[voice]に格納され、レジスタvoiceのボイス番号で指定される発音チャンネルにおけるEG73(図3参照)の状態値が「0」(発音停止状態)であるか否かを判断する。すなわち、上記ステップSD1にて発音割り当てされた発音チャンネルが発音停止状態であるかどうかを判断する。発音停止状態ならば、判断結果は「YES」になり、後述のステップSD4に進む。 Next, in step SD2, whether or not the state value of the EG 73 (see FIG. 3) in the sound generation channel stored in the register EST [voice] and designated by the voice number of the register voice is “0” (sound generation stopped state). Judging. That is, it is determined whether or not the sound generation channel assigned with sound generation in step SD1 is in a sound generation stop state. If the sound generation is stopped, the determination result is “YES”, and the process proceeds to Step SD4 described later.
一方、上記ステップSD1にて発音割り当てされた発音チャンネルが未だ発音中であると、上記ステップSD2の判断結果は「NO」になり、ステップSD3に進み、レジスタvoiceのボイス番号で指定される発音チャンネルを強制的に消音するよう音源7に指示するボイス停止処理を実行した後、ステップSD4に進む。そして、ステップSD4では、レジスタEST[voice]に発音中を表す状態値「1」をストアする。これにより、上記ステップSD1のキーアサイナ処理により新たに発音割り当てされた発音チャンネルが発音中の状態に設定される。 On the other hand, if the sound channel assigned to be sounded in step SD1 is still sounding, the determination result in step SD2 is “NO”, and the process proceeds to step SD3, where the sound channel specified by the voice number of the register voice is set. After executing the voice stop process instructing the sound source 7 to forcibly mute the sound, the process proceeds to step SD4. In step SD4, the state value “1” indicating that the sound is being generated is stored in the register EST [voice]. As a result, the sound generation channel newly assigned with sound generation by the key assigner process in step SD1 is set to a sounding state.
続いて、ステップSD5では、レジスタvoiceのボイス番号で指定される発音チャンネルがアサインされた音色パートのパート番号をレジスタVPT[voice]から読み出してレジスタpartにストアすると共に、このレジスタpartのパート番号で指定される音色パートで発音中のボイス数が発音により1つ増加する為、レジスタAVC[part]のボイス数をインクリメントする(AVC[part]+1)。 Subsequently, in step SD5, the part number of the timbre part to which the tone generation channel designated by the voice number of the register voice is assigned is read from the register VPT [voice] and stored in the register part, and the part number of the register part is used. Since the number of voices being sounded by the specified timbre part increases by one, the number of voices in the register AVC [part] is incremented (AVC [part] +1).
次いで、ステップSD6では、レジスタLST[part]に格納され、レジスタpartのパート番号で指定される音色パートにアサインされたLFO波形の状態を表すステイタス値が「0」(停止状態)であるか否かを判断する。停止状態であると、判断結果は「YES」になり、ステップSD7に進み、ランダム関数に基づき発生した乱数をLFO波形の初期位相としてレジスタphaseにストアし、続くステップSD8では、このレジスタphaseの値を、レジスタpartのパート番号で指定される音色パートにアサインされたLFO波形の現在の位相値としてレジスタLPH[part]にストアした後、ステップSD9に処理を進める。このように、LFO波形停止中に押鍵による発音指示が発生した場合には、ランダムな位相でLFO波形の発生を再開するようになっている。 Next, at step SD6, whether or not the status value indicating the state of the LFO waveform stored in the register LST [part] and assigned to the timbre part specified by the part number of the register part is “0” (stopped state). Determine whether. If it is in the stop state, the determination result is “YES”, and the process proceeds to step SD7, where the random number generated based on the random function is stored in the register phase as the initial phase of the LFO waveform, and in the subsequent step SD8, the value of this register phase is stored. Is stored in the register LPH [part] as the current phase value of the LFO waveform assigned to the timbre part specified by the part number of the register part, and the process proceeds to step SD9. As described above, when a sound generation instruction is generated by pressing a key while the LFO waveform is stopped, the generation of the LFO waveform is resumed with a random phase.
さて一方、レジスタLST[part]の値が「0」でない場合、すなわちレジスタpartのパート番号で指定される音色パートにアサインされたLFO波形が通常稼働状態(ステイタス値「1」)あるいは稼働停止準備状態(ステイタス値「2」)であると、上記ステップSD6の判断結果は「NO」になり、ステップSD9に進み、レジスタLST[part]にステイタス値「1」をストアする。すなわち、発音割り当てされる以前の音色パートのLFO波形が通常稼働状態ならば、同音色パートのLFO波形は発音割り当てされても通常稼働状態を維持し、一方、発音割り当てされる以前の音色パートのLFO波形が稼働停止準備状態ならば、同音色パートのLFO波形は発音割り当てに応じて通常稼働状態に遷移するようになっている。 On the other hand, when the value of the register LST [part] is not “0”, that is, the LFO waveform assigned to the timbre part specified by the part number of the register part is in the normal operation state (status value “1”) or ready for operation stop. If it is in the state (status value “2”), the determination result in step SD6 is “NO”, the process proceeds to step SD9, and the status value “1” is stored in the register LST [part]. In other words, if the LFO waveform of the timbre part before sounding assignment is in the normal operation state, the LFO waveform of the same timbre part maintains the normal operation state even when sounding assignment is made, while the sound part of the timbre part before the sound assignment is assigned. If the LFO waveform is in the operation stop preparation state, the LFO waveform of the same tone color part is changed to the normal operation state in accordance with the sound generation assignment.
この後、ステップSD10に進み、押鍵された鍵の音高の波形データを発生するよう波形発生器75(図3参照)に指示すると共に、レジスタLPH[part]の現在位相値に応じて読み出されるLFO波形と、EG71(図3参照)から出力される音高制御用のエンベロープ波形とを加算したピッチ変調信号を波形発生器75に供給するピッチ初期設定を行う。
Thereafter, the process proceeds to step SD10, in which the waveform generator 75 (see FIG. 3) is instructed to generate waveform data of the pitch of the depressed key, and is read according to the current phase value of the register LPH [part]. The pitch is initially set so that a pitch modulation signal obtained by adding the LFO waveform and the envelope waveform for pitch control output from the EG 71 (see FIG. 3) is supplied to the
続いて、ステップSD11では、レジスタLPH[part]の現在位相値に応じて読み出されるLFO波形と、EG72(図3参照)から出力される音色制御用のエンベロープ波形とを加算した音色変調信号をフィルタ77(図3参照)に供給するフィルタ初期設定を行う。 Subsequently, in step SD11, a timbre modulation signal obtained by adding the LFO waveform read in accordance with the current phase value of the register LPH [part] and the timbre control envelope waveform output from the EG 72 (see FIG. 3) is filtered. 77 (see FIG. 3), the filter is initially set.
次いで、ステップSD12では、レジスタLPH[part]の現在位相値に応じて読み出されるLFO波形と、EG73(図3参照)から出力される音量制御用のエンベロープ波形とを加算した音量変調信号を増幅器79(図3参照)に供給するアンプ初期設定を行った後、本処理を終える。
Next, at step SD12, the volume modulation signal obtained by adding the LFO waveform read according to the current phase value of the register LPH [part] and the volume waveform for envelope control output from the EG 73 (see FIG. 3) is added to the
このように、ノートオン処理では、押鍵に応じて新たに発音割り当てされた発音チャンネルを発音中の状態に設定し、当該発音チャンネルがアサインされる音色パートのLFO波形が停止状態であると、ランダム関数に基づき発生した乱数をLFO波形の初期位相に設定して出力を再開するようになっている。 As described above, in the note-on process, the sound channel newly assigned to be generated according to the key depression is set to the sounding state, and if the LFO waveform of the timbre part to which the sound channel is assigned is stopped, The random number generated based on the random function is set to the initial phase of the LFO waveform and output is resumed.
以上説明したように、本実施形態では、全ての発音が消音した後、LFO波形一周期分のチェックポイント区間中(稼働停止準備状態)に、押鍵による発音指示が発生しなければ、停止状態となってLFO波形の出力を停止し、LFO波形停止中に押鍵による発音指示が発生すると、ランダムな位相でLFO波形の発生を再開する。これにより、例えば図11に図示したように、音源の負荷軽減を目的として発音時にのみ低周波発振装置を稼働させる従来例の弊害、すなわち発音開始の都度、LFO波形の位相が先頭にリセットされて単調なモジュレーション効果を付与する変調波形となってしまう弊害を解消し、長周期のLFO波形に由来する独特のモジュレーション効果を維持しながらも音源の負荷軽減を図ることができる。 As described above, according to the present embodiment, after all the sound generations are muted, if the sound generation instruction by the key depression does not occur during the checkpoint period (operation stop preparation state) for one cycle of the LFO waveform, Then, the output of the LFO waveform is stopped, and when a sound generation instruction is generated by pressing a key while the LFO waveform is stopped, the generation of the LFO waveform is resumed with a random phase. As a result, for example, as shown in FIG. 11, the disadvantage of the conventional example in which the low-frequency oscillator is operated only during sound generation for the purpose of reducing the load on the sound source, that is, the phase of the LFO waveform is reset to the head every time sound generation is started. It is possible to eliminate the adverse effect of the modulation waveform giving a monotonous modulation effect, and to reduce the load on the sound source while maintaining the unique modulation effect derived from the long-period LFO waveform.
なお、本実施形態では、全ての発音が消音した後、LFO波形一周期分のチェックポイント区間中(稼働停止準備状態)に、押鍵による発音指示が発生しなければ停止状態となってLFO波形の出力を停止するようにしたが、これに限らず、全ての発音が消音してから一定時時間経過する迄の間に、押鍵による発音指示が発生しなければ、LFO波形の出力を停止する停止状態に遷移する態様としても構わない。また、本実施形態では、LFOの変調対象として、音程、フィルタのカットオフ周波数、音量を例として説明したが、その他の音色に関わるパラメータであっても上述した効果を奏する。加えて、本実施形態においては、LFOを音色パラメータ毎に用意したが、さらにビブラート用、フィルタ用、アンプ用と各パート毎に複数ずつ用意する態様であっても構わず、そうした態様にあっても上述した効果を奏する。 In the present embodiment, after all the sound generations are muted, during the checkpoint period (operation stop preparation state) for one cycle of the LFO waveform, if no sound generation instruction is generated by pressing the key, the LFO waveform is stopped. However, the present invention is not limited to this, and if all the sound generation is muted and no sound generation instruction is issued by pressing the key, the LFO waveform output is stopped. It does not matter as a mode of transition to the stop state. In this embodiment, the pitch, the cut-off frequency of the filter, and the volume have been described as examples of LFO modulation targets. However, the above-described effects can be obtained even with other parameters related to timbre. In addition, in this embodiment, the LFO is prepared for each timbre parameter. However, a plurality of vibrato, filter, and amplifier may be prepared for each part. Also has the above-mentioned effects.
1 鍵盤
2 MIDIインタフェース
3 スイッチ部
4 CPU
5 ROM
6 RAM
7 音源
8 D/A変換器
9 サウンドシステム
1
5 ROM
6 RAM
7 Sound source 8 D /
Claims (5)
前記LFO波形の状態が停止状態、通常稼動状態及び稼動停止準備状態のいずれにあるかを示す状態情報を記憶する記憶手段と、
前記記憶手段に記憶された状態情報が通常稼動状態あるいは稼動停止準備状態であるかを所定周期で判別する状態判別手段と、
前記状態判別手段により前記状態情報が通常稼動状態にあると判別された場合は、前記LFO波形発生手段により発生されるLFO波形により変調される楽音の発音の有無を検出する発音検出手段と、
前記発音検出手段により前記楽音の発音が無いと検出された場合に、前記記憶手段に記憶された状態情報を稼動停止準備状態とする制御手段と、
前記前記状態判別手段により前記状態情報が稼動停止準備状態にあると判別された場合は、前記記憶された状態情報を停止状態とするとともに、前記LFO波形発生手段にLFO波形の発生停止を指示する停止指示手段と、
前記記憶手段に記憶された状態情報が停止状態を示している場合でかつ前記楽音の発音指示がなされたときは、前記LFO波形発生手段にLFO波形の出力再開を指示する再開指示手段と
を具備することを特徴とする低周波発振装置。 LFO waveform generating means for generating an LFO waveform;
Storage means for storing state information indicating whether the state of the LFO waveform is a stop state, a normal operation state, or an operation stop preparation state;
State determination means for determining whether the state information stored in the storage means is a normal operation state or an operation stop preparation state at a predetermined period;
When the state determination means determines that the state information is in a normal operating state, a sound generation detection means for detecting the presence or absence of a sound generated by the LFO waveform generated by the LFO waveform generation means;
Control means for setting the state information stored in the storage means to an operation stop ready state when the sound detection means detects that the musical sound is not sounded;
When the state determination means determines that the state information is in the operation stop preparation state, the stored state information is set to the stop state, and the LFO waveform generation means is instructed to stop generating the LFO waveform. Stop instruction means;
Resuming instruction means for instructing the LFO waveform generating means to resume the output of the LFO waveform when the state information stored in the storage means indicates a stopped state and when the musical sound is instructed to be generated. A low-frequency oscillation device.
前記LFO波形を発生するLFO波形発生処理と、
前記記憶手段に記憶された状態情報が通常稼動状態あるいは稼動停止準備状態であるかを所定周期で判別する状態判別処理と、
前記状態判別処理により前記状態情報が通常稼動状態にあると判別された場合は、前記LFO波形発生処理により発生されるLFO波形により変調される楽音の発音の有無を検出する発音検出処理と、
前記発音検出処理により前記楽音の発音が無いと検出された場合に、前記記憶手段に記憶された状態情報を稼動停止準備状態とする制御処理と、
前記前記状態判別処理により前記状態情報が稼動停止準備状態にあると判別された場合は、前記記憶された状態情報を停止状態とするとともに、前記LFO波形発生処理にLFO波形の発生停止を指示する停止指示処理と、
前記記憶手段に記憶された状態情報が停止状態を示している場合でかつ前記楽音の発音指示がなされたときは、前記LFO波形発生処理にLFO波形の出力再開を指示する再開指示処理と
をコンピュータで実行させることを特徴とする低周波発振処理プログラム。 In a computer used as a low-frequency oscillation device having storage means for storing state information indicating whether the LFO waveform is in a stopped state, a normal operating state, or an operation stop ready state,
LFO waveform generation processing for generating the LFO waveform;
A state determination process for determining whether the state information stored in the storage means is a normal operation state or an operation stop preparation state at a predetermined period;
When the state determination process determines that the state information is in a normal operation state, a sound generation detection process for detecting the presence or absence of a tone generated by the LFO waveform generated by the LFO waveform generation process;
A control process for setting the state information stored in the storage means to an operation stop ready state when it is detected by the sound generation detection process that there is no sound generation of the musical sound;
If it is determined by the state determination process that the state information is in an operation stop preparation state, the stored state information is set to a stop state, and the LFO waveform generation process is instructed to stop generating an LFO waveform. Stop instruction processing;
When the state information stored in the storage means indicates a stopped state and when the musical tone is instructed to be played, a restart instruction process for instructing the LFO waveform generation process to resume the output of the LFO waveform is performed on the computer. A low-frequency oscillation processing program that is executed by
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008023831A JP5115800B2 (en) | 2008-02-04 | 2008-02-04 | Low frequency oscillation device and low frequency oscillation processing program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008023831A JP5115800B2 (en) | 2008-02-04 | 2008-02-04 | Low frequency oscillation device and low frequency oscillation processing program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009186565A JP2009186565A (en) | 2009-08-20 |
JP5115800B2 true JP5115800B2 (en) | 2013-01-09 |
Family
ID=41069903
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008023831A Active JP5115800B2 (en) | 2008-02-04 | 2008-02-04 | Low frequency oscillation device and low frequency oscillation processing program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5115800B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6252642B1 (en) * | 2016-09-27 | 2017-12-27 | カシオ計算機株式会社 | Effect imparting device, effect imparting method, program, and electronic musical instrument |
JP6575585B2 (en) * | 2017-11-27 | 2019-09-18 | カシオ計算機株式会社 | Effect imparting device, effect imparting method, program, and electronic musical instrument |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2746068B2 (en) * | 1993-08-04 | 1998-04-28 | ヤマハ株式会社 | Modulation signal generator |
JPH09237089A (en) * | 1996-03-01 | 1997-09-09 | Matsushita Electric Ind Co Ltd | Vibrato adding device |
-
2008
- 2008-02-04 JP JP2008023831A patent/JP5115800B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2009186565A (en) | 2009-08-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5115800B2 (en) | Low frequency oscillation device and low frequency oscillation processing program | |
US10937447B2 (en) | Harmony generation device and storage medium | |
JP2015018112A (en) | Musical sound generating apparatus, musical sound generating method, and program | |
EP3373289A1 (en) | Electronic musical instrument, musical sound generating method, and storage medium | |
JP4385401B2 (en) | Low frequency oscillation device and low frequency oscillation processing program | |
JP2009031457A (en) | Musical sound generator and musical sound generation processing program | |
JP3909693B2 (en) | Musical sound modulation device, musical sound modulation method, and musical sound modulation program | |
JP5246473B2 (en) | Musical sound generator and musical sound generation processing program | |
JP6573100B2 (en) | Musical sound control device, musical sound control method, program, and electronic musical instrument | |
JP5769080B2 (en) | Sound channel assignment apparatus and program | |
JPH1031481A (en) | Waveform generation device | |
JP4096814B2 (en) | Waveform modulation apparatus and waveform modulation program | |
JP6210356B2 (en) | Performance device, performance method and program | |
JP3996987B2 (en) | Electronic musical instruments | |
JP4492680B2 (en) | Music generator | |
JP2853588B2 (en) | Electronic musical instrument | |
JP4576565B2 (en) | Performance apparatus and performance processing program | |
JP4164665B2 (en) | Parameter control apparatus and parameter control program | |
JP3939595B2 (en) | Music signal generator, music signal generation method, computer program, and computer-readable recording medium | |
JP2004279750A (en) | Device and program for musical sound generation | |
JP2008097022A (en) | Musical sound generator | |
JP2012220861A (en) | Musical sound generating device and program | |
JPH0654097U (en) | Automatic playing device | |
JP2003271149A (en) | Automatic accompanying instrument and automatic accompanying method | |
JP2012042842A (en) | Electronic musical sound generator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110121 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120626 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120824 |
|
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: 20120920 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20121003 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 5115800 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20151026 Year of fee payment: 3 |