JP5305483B2 - Music generator - Google Patents

Music generator Download PDF

Info

Publication number
JP5305483B2
JP5305483B2 JP2011083569A JP2011083569A JP5305483B2 JP 5305483 B2 JP5305483 B2 JP 5305483B2 JP 2011083569 A JP2011083569 A JP 2011083569A JP 2011083569 A JP2011083569 A JP 2011083569A JP 5305483 B2 JP5305483 B2 JP 5305483B2
Authority
JP
Japan
Prior art keywords
sound
key
resonance
signal
normal
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
JP2011083569A
Other languages
Japanese (ja)
Other versions
JP2011154394A (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 JP2011083569A priority Critical patent/JP5305483B2/en
Publication of JP2011154394A publication Critical patent/JP2011154394A/en
Application granted granted Critical
Publication of JP5305483B2 publication Critical patent/JP5305483B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、楽音発生装置に関し、特に、アコースティックピアノの離鍵時の効果音を模擬するに好適な楽音発生装置に関する。   The present invention relates to a musical sound generator, and more particularly to a musical sound generator suitable for simulating a sound effect when a key is released from an acoustic piano.

アコースティックピアノでは、ダンパーと呼ばれる部品を使用して押鍵時以外で弦が振動するのを抑えている。押鍵すると、つまり鍵を押し下げると、まずアクションが動作し、押し下げられた鍵に対応するダンパーが開放される。次いで、ハンマーが打弦してピアノ音が発生する。押鍵を止めて鍵を元に戻すと、アクションが反対に動作し、開放されていたダンパーが再び弦に当接して振動を抑え、ピアノ音は停止される。このピアノ音停止の際、まだ振動している途中の弦にダンパーが当接するので、わずかな時間ではあるが通常の楽音とは異なる微妙な弦振動音を発生する。以下、この弦振動音を「離鍵弦振動音」と呼ぶ。   In an acoustic piano, a part called a damper is used to prevent the strings from vibrating except when the keys are pressed. When the key is depressed, that is, when the key is depressed, the action is first activated, and the damper corresponding to the depressed key is released. Next, the hammer strikes and a piano sound is generated. When the key is stopped and the key is returned to the original state, the action works in the opposite direction, the released damper comes into contact with the string again to suppress the vibration, and the piano sound is stopped. When the piano sound is stopped, the damper abuts against the string that is still vibrating, so that a subtle string vibration sound that is different from a normal musical sound is generated although it is a short time. Hereinafter, this string vibration sound is referred to as “key-release string vibration sound”.

また、ダンパーは全ての弦に設置されているのではなく、高音側1オクターブ半ほどの弦にはダンパーが設けられておらず、常に開放状態である。さらに、ダンパーが設置されている弦であっても、通常は振動させない弦の部分(フォアストリングスやバックストリングス)はダンパーの動作にかかわらず、常に開放状態にあるのと同等である。   Also, the dampers are not installed on all the strings, and the dampers are not provided on the strings about one octave and a half on the high pitch side, and are always open. Furthermore, even if a string is provided with a damper, a string part (forestrings or backstrings) that is not normally vibrated is equivalent to being always open regardless of the operation of the damper.

これら開放状態の弦やフレーム等によって、アコースティックピアノはわずかに共鳴する。したがって、一旦打鍵してピアノ音が発生するとピアノ自身のわずかな共鳴音が付加される。この共鳴音は、押鍵中はピアノ音にマスクされて聞き取れない程度であるが、離鍵してピアノ音が停止すると残っていることが分かる。この共鳴音を、以下、「筐体共鳴音」と呼ぶ。   The acoustic piano resonates slightly due to these open strings and frames. Therefore, once a key is pressed and a piano sound is generated, a slight resonance sound of the piano itself is added. This resonance sound is masked by the piano sound and cannot be heard while the key is pressed, but it remains when the piano sound stops when the key is released. Hereinafter, this resonance sound is referred to as “casing resonance sound”.

従来、電子ピアノ等の電子楽器において離鍵弦振動音や筐体共鳴音を模擬することができることが課題となっている。特許文献1には、この離鍵弦振動音や筐体共鳴音の代替として、キーオフ情報が供給されたときに、生成中の主楽音を消去するとともにキーオフ音を生成するキーオフ音を発生することができる楽音発生装置が提案されている。この楽音発生装置では、キーオフ情報が供給されたときに、該キーオフ情報により指示される音高の主楽音の特性を検出し、キーオフ音の特性を、前記検出された主楽音の特性に決定する。また、この楽音発生装置は、キーオンからキーオフまでの時間に応じてキーオフ音の特性を決定する。   Conventionally, an electronic musical instrument such as an electronic piano can simulate key-released string vibration sound and casing resonance sound. In Patent Document 1, as a substitute for the key-off string vibration sound and the case resonance sound, when key-off information is supplied, the main musical sound being generated is deleted and a key-off sound that generates a key-off sound is generated. Musical sound generators that can be used have been proposed. In this musical tone generator, when key-off information is supplied, the characteristic of the main musical tone having the pitch indicated by the key-off information is detected, and the characteristic of the key-off sound is determined as the characteristic of the detected main musical tone. . In addition, this musical sound generator determines the characteristics of the key-off sound according to the time from key-on to key-off.

特開2001−236067号公報JP 2001-236067 A

しかし、離鍵時(キーオフ時)に新たに離鍵弦振動音(キーオフ音)を発生する上記特許文献1に記載の方法では、離鍵に応答して楽音発生するという新たな仕組みが必要になる。それだけでなく、通常楽音との連続性を保つために押鍵時間や通常楽音の音量等を管理し、それに応じて発生する効果音を制御する必要があるので、制御が複雑化し、かつ規模が大きくなるという問題点があった。   However, the method described in Patent Document 1 that newly generates a key-off string vibration sound (key-off sound) at the time of key release (at the time of key-off) requires a new mechanism for generating a musical sound in response to the key release. Become. In addition, it is necessary to manage the key press time and the volume of the normal musical sound in order to maintain continuity with the normal musical sound, and to control the sound effect generated accordingly. There was a problem of becoming larger.

本発明は、上記問題点に鑑み、空きチャンネルが不足して筐体共鳴音信号の発生を停止させた場合でも筐体共鳴音の発生を模擬して、筐体共鳴音を再現することができる楽音発生装置を提供することを目的とする。 In view of the above problems, the present invention can reproduce the case resonance sound by simulating the generation of the case resonance sound even when the generation of the case resonance sound signal is stopped due to a lack of empty channels. An object is to provide a musical sound generator.

上記問題点を解決し、目的を達成するための本発明は、押鍵情報に基づいて発音開始指示を出力し、押鍵情報および操作子情報に基づいて発音停止指示を出力する発音指示手段と、通常楽音信号を発生する通常楽音発生手段と、筐体共鳴音信号を発生する筐体共鳴音発生手段と、前記通常楽音信号および筐体共鳴音信号がそれぞれ入力される複数のフィルタ手段と、前記複数のフィルタ手段から出力される信号にそれぞれエンベロープを付与する複数のエンベロープ付与手段と、
前記エンベロープ付与手段から出力される信号を加算して楽音信号を出力する加算手段とを具備し、前記筐体共鳴音発生手段のチャンネル数は、前記通常楽音発生手段のチャンネル数よりも少なく設定されており、前記発音開始指示に応答して前記通常楽音発生手段および筐体共鳴音信号発生手段が前記通常楽音信号および前記筐体共鳴音信号をそれぞれ発生開始してそれぞれの空きチャンネルに割り当て、前記発音指示手段によって発音開始指示が出力された時点で前記筐体共鳴音発生手段の空きチャンネルが不足した場合には、発音中の筐体共鳴音信号の一つを停止するとともに、該停止した筐体共鳴音信号と同時に発生開始した通常楽音信号の発音停止時の減衰時間を長くするため減衰時間に関する前記通常楽音発生手段の設定データを変更する点に第1の特徴がある。
The present invention for solving the above problems and achieving the object includes a sound generation instruction means for outputting a sound generation start instruction based on key press information and outputting a sound generation stop instruction based on key press information and operator information. A normal musical sound generating means for generating a normal musical sound signal; a casing resonant sound generating means for generating a casing resonant sound signal; and a plurality of filter means to which the normal musical sound signal and the casing resonant sound signal are respectively input; A plurality of envelope applying means for applying envelopes to the signals output from the plurality of filter means;
Adding means for adding a signal output from the envelope applying means to output a musical sound signal, and the number of channels of the casing resonance generating means is set to be smaller than the number of channels of the normal musical sound generating means. In response to the sound generation start instruction, the normal music sound generating means and the case resonance sound signal generation means start generating the normal music sound signal and the case resonance sound signal, respectively , and assign them to the respective empty channels, When the sound generation instruction means outputs a sound generation start instruction, if there are not enough empty channels in the case resonance sound generation means, one of the sound generation case resonance signals is stopped, and the Setting data of the normal musical sound generating means relating to the decay time in order to lengthen the decay time when the normal musical sound signal started to be generated simultaneously with the body resonance sound signal is stopped There is a first feature in that to change.

また、本発明は、空きチャンネルが不足した場合、停止する筐体共鳴音信号は、低音もしくは高音優先または後押し優先で決定する点に第の特徴がある。 In addition, the present invention has a second feature in that, when there are not enough empty channels, the casing resonance signal to be stopped is determined with a low or high tone priority or a boost priority.

また、本発明は、筐体共鳴音発生手段が、予め設定した特定の鍵または鍵域について設けられている点に第の特徴がある。 Further, the present invention has a third feature in that the case resonance generating means is provided for a specific key or key range set in advance.

また、本発明は、前記エンベロープ付与手段が、前記発音停止指示に応答して減衰される前記筐体共鳴音信号の減衰時間を前記通常楽音信号の減衰時間よりも長くしたエンベロープを付与するように構成されている点に第の特徴がある。 Further, according to the present invention, the envelope applying means applies an envelope in which an attenuation time of the casing resonance sound signal attenuated in response to the sound generation stop instruction is longer than an attenuation time of the normal musical sound signal. There is a fourth feature in that it is configured.

また、本発明は、筐体共鳴音発生手段が、予め筐体共鳴音波形データを記憶する記憶手段と、波形読み出し手段とからなる点に第の特徴がある。
さらに、本発明は、筐体共鳴音波形データが、一自由度粘性減衰系モデルで合成されている点に第の特徴がある。
In addition, the present invention has a fifth feature in that the case resonance generating means includes a storage means for storing case resonance sound waveform data in advance and a waveform reading means.
Furthermore, the present invention has a sixth feature in that the case resonance sound waveform data is synthesized by a one-degree-of-freedom viscous damping system model.

第1の特徴を有する本発明によれば、押鍵時に、エンベロープが付与された通常楽音信号および筐体共鳴音信号が発生される。アコースティックピアノでは筐体共鳴音は押鍵時から小さいレベルで発生しており、第1の特徴によれば、この筐体共鳴音を模擬できる。   According to the present invention having the first feature, a normal musical tone signal and an enclosure resonance signal with an envelope are generated when a key is pressed. In an acoustic piano, the case resonance sound is generated at a small level from the time of key depression, and according to the first feature, the case resonance sound can be simulated.

また、の特徴によれば、楽音発生チャンネル数を多くしすぎない範囲で筐体共鳴音を模擬することができる。 Further , according to the first feature, the case resonance sound can be simulated within a range in which the number of musical sound generation channels is not excessively increased.

また、の特徴によれば、筐体共鳴音発生手段のチャンネル数が不足した場合に、新たな発音開始指示を優先させ、発音中のものを一つ停止させる。そして停止させた筐体共鳴音に代えて通常楽音の発音停止時の減衰時間が長くなるように設定して模擬することができる。これによって、少ないチャンネル数を補完できる。 Further , according to the first feature, when the number of channels of the casing resonance generating means is insufficient, a new sounding start instruction is prioritized and one sounding sound is stopped. Then, instead of the stopped casing resonance sound, it can be set and simulated so that the decay time when the normal musical sound is stopped is long. This can compensate for a small number of channels.

さらに、の特徴によれば、チャンネル数の不足は発音開始指示の出力時に判断して、通常楽音の減衰時間を長く設定しておくことができる。 Furthermore, according to the first feature, the shortage of the number of channels can be determined when the sound generation start instruction is output, and the decay time of the normal musical sound can be set long.

の特徴によれば、筐体共鳴音の目立つ高音、または最新の発音が優先される。弦振動の振幅が小さい高音域や最先に発音開始された音については、大きい筐体共鳴音を発生させないためである。 According to the second feature, priority is given to a conspicuous treble of the casing resonance sound or the latest pronunciation. This is because no loud casing resonance sound is generated for the high sound range where the amplitude of the string vibration is small or for the sound that is firstly pronounced.

の特徴によれば、例えば、押音域にダンパーが設けられていないアコースティックピアノに適合させて、高音域には筐体音共鳴音発生手段を設けないようにできる。 According to the third feature, for example, it can be adapted to an acoustic piano in which a damper is not provided in the pressed sound range, and the casing sound resonance generating means can be omitted in the high sound range.

の特徴によれば、筐体共鳴音信号による減衰音を通常楽音が減衰し終わった後も維持させて、アコースティックピアノを高い精度で模擬できる。 According to the fourth feature, the acoustic piano can be simulated with high accuracy by maintaining the decay sound due to the case resonance signal even after the normal musical sound has been attenuated.

の特徴を有する本発明によれば、筐体共鳴音の波形データを使用して精度の高い模擬を行うことができる。
の特徴を有する本発明によれば、一自由度粘性減衰系モデルを使用して作成した筐体共鳴音波形データにより押鍵時に筐体共鳴音を発生させることができる。
According to the present invention having the fifth feature, highly accurate simulation can be performed using the waveform data of the case resonance sound.
According to the present invention having the sixth feature, the case resonance sound can be generated when the key is depressed by the case resonance sound waveform data created using the one-degree-of-freedom viscous damping system model.

本発明の実施形態に係る楽音発生装置の要部機能を示すブロック図である。It is a block diagram which shows the principal part function of the musical sound generator which concerns on embodiment of this invention. 本発明の実施形態に係る楽音発生装置のハード構成部分を示すブロック図である。It is a block diagram which shows the hardware component part of the musical sound generator which concerns on embodiment of this invention. 楽音発生装置のタイミングチャートである。It is a timing chart of a musical sound generator. 楽音発生装置のメイン処理を示すフローチャートである。It is a flowchart which shows the main process of a musical tone generator. 鍵盤イベント処理(その1)を示すフローチャートである。It is a flowchart which shows a keyboard event process (the 1). 鍵盤イベント処理(その2)を示すフローチャートである。It is a flowchart which shows a keyboard event process (the 2).

以下、図面を参照して本発明を詳細に説明する。図2は本発明の一実施形態に係る楽音発生装置の一例である電子ピアノのハードウェア構成を示すブロック図である。同図において、CPU1は、システムバス2を介して図中に示した各部を制御する。システムバス2は、アドレスバス、データバスおよび制御信号ラインからなる。ROM3はCPU1で用いられるプログラムを記憶するプログラムメモリ3aや少なくとも音色データを含む各種データを記憶するデータメモリ3bを有している。RAM4はCPU1による制御において発生する各種のデータ等を一時的に記憶する。
電子ピアノには、操作パネル(以下、単に「パネル」と呼ぶ)5、MIDIインタフェース6、およびダンパーペダル(以下、単に「ペダル」と呼ぶ)7が設けられる。パネル5は、発生すべき楽音の音色を選択する音色スイッチ5aを含む各種状態設定のためのスイッチ等によって構成され、このパネル5から設定された情報はCPU1に供給される。ペダル7は該ペダル7の操作(踏込)状態を検出して、そのペダル情報をCPU1に供給するペダルセンサ7aを含んでいる。ペダルセンサ7aは、可変抵抗器であり、この可変抵抗の抵抗値に応じた電圧の変動などをペダル7の踏み込み量として検出する。検出されたペダル7の踏み込み量データは、CPU1に送られる。CPU1は踏み込み量データを受けた場合、RAM4上に共鳴設定フラグを「1」に設定する。そして、この踏み込みが無くなれば、踏み込み量が「0」としてCPU1に送られ、RAM4上の共鳴設定フラグは、「0」に設定される。
Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 2 is a block diagram showing a hardware configuration of an electronic piano which is an example of a musical sound generating apparatus according to an embodiment of the present invention. In the figure, a CPU 1 controls each part shown in the figure via a system bus 2. The system bus 2 includes an address bus, a data bus, and a control signal line. The ROM 3 has a program memory 3a for storing programs used by the CPU 1 and a data memory 3b for storing various data including at least timbre data. The RAM 4 temporarily stores various data generated in the control by the CPU 1.
The electronic piano is provided with an operation panel (hereinafter simply referred to as “panel”) 5, a MIDI interface 6, and a damper pedal (hereinafter simply referred to as “pedal”) 7. The panel 5 is constituted by switches for setting various states including a tone color switch 5a for selecting a tone color of a musical tone to be generated. Information set from the panel 5 is supplied to the CPU 1. The pedal 7 includes a pedal sensor 7 a that detects an operation (depression) state of the pedal 7 and supplies the pedal information to the CPU 1. The pedal sensor 7a is a variable resistor, and detects a variation in voltage or the like corresponding to the resistance value of the variable resistor as a depression amount of the pedal 7. The detected depression amount data of the pedal 7 is sent to the CPU 1. When receiving the depression amount data, the CPU 1 sets a resonance setting flag to “1” on the RAM 4. Then, when this depression is lost, the depression amount is sent to the CPU 1 as “0”, and the resonance setting flag on the RAM 4 is set to “0”.

鍵盤8はA0〜C8までの88鍵からなる鍵盤回路であり、図示しない鍵盤スキャン回路によって押鍵情報が検出される。各鍵にはそれぞれタッチセンサつまりキースイッチ8aが設けられる。キースイッチ8aは、演奏者の鍵盤8に対する演奏操作を検出して、押鍵された鍵の音高を示すキーコードKCや、押鍵・離鍵に対応して楽音の発生・消音タイミングを指示するキーオンKON・キーオフKOFF、押鍵速度に対応するキータッチKTなどの押鍵情報を出力する。キースイッチ8aから出力される情報はシステムバス2を介してCPU1に供給される。   The keyboard 8 is a keyboard circuit composed of 88 keys A0 to C8, and key depression information is detected by a keyboard scanning circuit (not shown). Each key is provided with a touch sensor, that is, a key switch 8a. The key switch 8a detects the performance operation of the performer on the keyboard 8, and indicates the key code KC indicating the pitch of the pressed key, and the generation / mute timing of the musical sound corresponding to the key press / release. Key-on information such as key-on KON, key-off KOFF, and key touch KT corresponding to the key-pressing speed is output. Information output from the key switch 8 a is supplied to the CPU 1 via the system bus 2.

楽音発生部9は、同時に複数の発音を行なうため時分割制御される複数のチャンネルを備えたトーンジェネレータであり、複数のチャンネルすべての出力信号を累算して出力する。楽音発生部9では、押鍵操作により、いずれかのチャンネルが割り当てられ、該チャンネルにおいて押鍵操作に対応する通常楽音および筐体共鳴音、並びに離鍵操作やペダル操作に対応する離鍵弦振動音が生成される。   The tone generator 9 is a tone generator having a plurality of channels that are time-division controlled to perform a plurality of sounds simultaneously, and accumulates and outputs the output signals of all the plurality of channels. In the musical sound generating unit 9, one of the channels is assigned by the key pressing operation, and the normal musical sound and the case resonance sound corresponding to the key pressing operation and the key-off string vibration corresponding to the key releasing operation and the pedal operation in the channel. Sound is generated.

波形メモリ10には、通常楽音、離鍵弦振動音、および筐体共鳴音の波形データが記憶されており、楽音発生部9は、波形メモリ10に記憶されている波形データをキーコードKCに応じたピッチで読み出し、該波形データに基づいて楽音信号を生成する。   The waveform memory 10 stores waveform data of normal musical sounds, key-off string vibration sounds, and case resonance sounds, and the musical sound generator 9 uses the waveform data stored in the waveform memory 10 as a key code KC. Reading is performed at a corresponding pitch, and a musical sound signal is generated based on the waveform data.

通常楽音、離鍵弦振動音、および筐体共鳴音の楽音信号は合成されてDA変換器12でアナログ信号に変換され、サウンドシステム13に入力される。サウンドシステム13は、アンプやスピーカ等から構成されており、DA変換器12の出力信号を電子ピアノの出力として外部に発音させる。   The music signals of the normal music sound, the released key string vibration sound, and the casing resonance sound are synthesized and converted into an analog signal by the DA converter 12 and input to the sound system 13. The sound system 13 is composed of an amplifier, a speaker, and the like, and causes the output signal of the DA converter 12 to sound externally as an output of the electronic piano.

波形メモリ10に格納される離鍵弦振動音の波形データは通常楽音の波形データを加工して合成する。主に、低次倍音と高次倍音のレベルを下げるか削除し、中帯域の倍音を抽出して離鍵弦振動音の波形データとする。この波形データはループ読み出しできるように周知のループ処理をして波形メモリ10に記憶する。なお、通常楽音を加工するのではなく、実際にアコースティックピアノを打弦して、弦の振動中にダンパーを弦に軽く接触させた状態で録音した音の波形データを離鍵弦振動音の波形データとしてもよい。   The waveform data of the key-off string vibration sound stored in the waveform memory 10 is synthesized by processing the waveform data of the normal musical sound. Mainly lower or delete the levels of low and high harmonics, and extract the mid-band harmonics as the waveform data of the key-string vibration sound. The waveform data is stored in the waveform memory 10 by performing a known loop process so that the loop data can be read out. Rather than processing the normal musical tone, the actual waveform of the acoustic piano is played, and the waveform data of the sound recorded with the damper lightly touching the string during string vibration is the waveform of the keyed string vibration sound. It may be data.

一方、筐体共鳴音の波形データは、高音域の開放弦やフォアストリングスおよびバックストリングスの共鳴回路を設計し、通常楽音をこの共鳴回路に入力して得る。そして、この共鳴回路から出力される波形データをループ処理して波形メモリ10に記憶する。共鳴回路は、そのインパルス応答を、倍音の振動波形の一自由度粘性減衰系モデルで模擬するように構成することができる。一自由度粘性減衰系モデルに関しては、本出願人による特願2006−11469号明細書および特願2006−11470号明細書をここに参照のため援用する。なお、筐体共鳴音の波形データはアコースティックピアノの、常時開放されている弦の近くにマイクロフォンを設置してサンプリングしてもよい。   On the other hand, the waveform data of the case resonance sound is obtained by designing a resonance circuit of an open string or a fore string and a back string in a high sound range and inputting a normal musical sound to the resonance circuit. The waveform data output from the resonance circuit is loop processed and stored in the waveform memory 10. The resonance circuit can be configured to simulate the impulse response with a one-degree-of-freedom viscous damping system model of the overtone vibration waveform. Regarding the one-degree-of-freedom viscous damping system model, Japanese Patent Application No. 2006-11469 and Japanese Patent Application No. 2006-11470 by the present applicant are incorporated herein by reference. Note that the waveform data of the case resonance sound may be sampled by installing a microphone near a string that is always open on an acoustic piano.

図1は、楽音発生部9の要部構成を示すブロック図である。通常楽音波形記憶部15、離鍵弦振動音波形記憶部16、および筐体共鳴音波形記憶部17は、前記波形メモリ10内に設定される楽音波形の格納領域であり、それぞれ、通常楽音波形データ、離鍵弦振動音波形データ、および筐体共鳴音波形データが予め格納される。これらの波形データは、キーオンKONに応答して前記波形メモリ10から読み出されて格納される。これらの波形データは、波形読み出し部18,19,20によってそれぞれ読み出され、デジタルフィルタ21,22,23に入力される。通常楽音波形記憶部15および波形読み出し部18は通常楽音発生手段を構成する。また、離鍵弦振動音波形記憶部6および波形読み出し部19は離鍵弦振動音発生手段を構成し、筐体共鳴音波形記憶部17および波形読み出し部20は筐体共鳴音発生手段を構成する。   FIG. 1 is a block diagram showing the configuration of the main part of the tone generator 9. The normal musical tone waveform storage unit 15, the key-off string vibration waveform storage unit 16, and the casing resonance waveform storage unit 17 are storage areas for musical tone waveforms set in the waveform memory 10, and each of the normal musical tone waveform is set. Data, key-off string vibration sound waveform data, and housing resonance sound waveform data are stored in advance. These waveform data are read from the waveform memory 10 and stored in response to the key-on KON. These waveform data are read by the waveform reading units 18, 19, and 20, respectively, and input to the digital filters 21, 22, and 23. The normal musical sound waveform storage unit 15 and the waveform reading unit 18 constitute a normal musical sound generating means. The key-off string vibration sound waveform storage unit 6 and the waveform readout unit 19 constitute a key-release string vibration sound generation unit, and the case resonance waveform storage unit 17 and the waveform readout unit 20 constitute a case resonance sound generation unit. To do.

デジタルフィルタ21,22,23で処理された波形データは乗算部24,25,26でそれぞれレベル調整された後、加算器27で合成され、前記DA変換器12(図2参照)に入力される。
発音指示部31は、押鍵情報と操作子情報つまりペダルの踏み込み状態を示すRAM4上の共鳴設定フラグの値とに基づいて、読み出し制御部28,フィルタ制御部29、およびレベル制御部30に発音開始指示を与える。
The waveform data processed by the digital filters 21, 22, 23 are respectively adjusted in level by the multipliers 24, 25, 26, synthesized by the adder 27, and input to the DA converter 12 (see FIG. 2). .
The sound generation instructing unit 31 generates sound to the read control unit 28, the filter control unit 29, and the level control unit 30 based on the key press information and the operation information, that is, the value of the resonance setting flag on the RAM 4 indicating the pedal depression state. Give start instructions.

読み出し制御部28は、発音指示に従って波形読み出し部18,19,20のそれぞれに読み出し指令を与える。フィルタ制御部29は、発音指示に従ってデジタルフィルタ21,22,23のそれぞれのカットオフ周波数を制御する。レベル制御部30は、デジタルフィルタ21,22,23から出力された波形データにエンベロープを付与するためのエンベロープデータを決定し、乗算部24,25,26にそれぞれ入力する。エンベロープデータは、押鍵情報に基づいて決定され、離鍵後は、さらにペダル7の状態によって通常楽音、離鍵弦振動音、および筐体共鳴音を、それぞれに関して予め設定されている減衰速度で現在発音されている音を減衰させるためのエンベロープデータを決定する。   The read control unit 28 gives a read command to each of the waveform read units 18, 19, and 20 in accordance with the sound generation instruction. The filter control unit 29 controls the cutoff frequency of each of the digital filters 21, 22 and 23 according to the sound generation instruction. The level control unit 30 determines envelope data for adding an envelope to the waveform data output from the digital filters 21, 22, and 23 and inputs the determined envelope data to the multiplication units 24, 25, and 26, respectively. The envelope data is determined based on the key depression information. After the key is released, the normal music sound, the key-string vibration sound, and the case resonance sound are further set with respect to the pedal 7 according to the state of the pedal 7 at a preset attenuation rate. Determine envelope data for attenuating the currently sounding sound.

離鍵時にペダル7がオフであれば、通常楽音、離鍵弦振動音および筐体共鳴音毎に異なる特有の減衰速度で減衰するようにエンベロープデータが決定される。離鍵時にペダル7がオンの場合は、ダンパーが上がっていて弦に接触しないので、通常楽音、筐体共鳴音および離鍵弦振動音のエンベロープデータは変更せずに、発音が継続される。   If the pedal 7 is off when the key is released, the envelope data is determined so as to be attenuated at a specific attenuation rate that differs for each of the normal musical sound, the key-string vibration sound, and the casing resonance sound. When the pedal 7 is turned on when the key is released, the damper is raised and does not touch the string, so that the envelope data of the normal musical tone, the case resonance sound and the keyed string vibration sound is not changed and the sound generation is continued.

フィルタ制御部29は、発音指示部31から送出される発音開始指示または発音停止指示に基づいて、離鍵弦振動音に対応して設けられるデジタルフィルタ22のカットオフ周波数を制御する。デジタルフィルタ22のカットオフ周波数は、発音開始時に通常よりも十分に低くし、発音停止時には通常に戻される。   The filter control unit 29 controls the cutoff frequency of the digital filter 22 provided corresponding to the key-off string vibration sound based on the sound generation start instruction or the sound generation stop instruction sent from the sound generation instruction unit 31. The cut-off frequency of the digital filter 22 is sufficiently lower than normal at the start of sound generation, and returned to normal when sound generation is stopped.

また、フィルタ制御部29は、発音指示部31から送出される発音開始指示または発音停止指示に基づいて、通常楽音および筐体共鳴音に対応してそれぞれ設けられるデジタルフィルタ21,23のカットオフ周波数を制御する。これらのカットオフ周波数は発音開始時から通常に高く設定される。   Also, the filter control unit 29 is based on the sound generation start instruction or sound generation stop instruction sent from the sound generation instruction unit 31, and the cutoff frequencies of the digital filters 21 and 23 provided corresponding to the normal musical sound and the case resonance sound, respectively. To control. These cutoff frequencies are normally set high from the beginning of sound generation.

発音数監視部32は、通常楽音、離鍵弦振動音、および筐体共鳴音のそれぞれについて発音数を監視しており、この発音数に応じてチャンネル割り当てが行われる。本実施形態では、通常楽音用のチャンネル数よりも、離鍵弦振動音や筐体共鳴音が使用できるチャンネル数を少なく設定してある。すなわち、離鍵弦振動音発生手段の同時発音数が、通常楽音発生手段の同時発音数よりも少なく設定されている。例えば、通常楽音には50チャンネル、離鍵弦振動音および筐体共鳴音にはそれぞれ10チャンネルずつ割り当てられるようにしておく。そして、これらのチャンネル数よりも発音数が多くなった場合には、予定の基準に従ってどれかを消音する。この消音により発音されなくなる離鍵弦振動音や筐体共鳴音を模擬するために、消音された音に対応する通常楽音の減衰時間を長くする処理を行う。   The pronunciation number monitoring unit 32 monitors the number of pronunciations for each of the normal musical sound, the key-off string vibration sound, and the casing resonance sound, and channel assignment is performed according to the number of pronunciations. In this embodiment, the number of channels that can use the key-off string vibration sound and the case resonance sound is set to be smaller than the number of channels for normal musical sounds. That is, the number of simultaneous pronunciations of the key-off string vibration sound generating means is set to be smaller than the number of simultaneous pronunciations of the normal musical sound generating means. For example, 50 channels are assigned to normal musical sounds, and 10 channels are assigned to each of the key-string vibration sound and the case resonance sound. If the number of pronunciations is greater than the number of channels, one of them is muted according to a scheduled standard. In order to simulate the key-off string vibration sound and the casing resonance sound that are not generated by the sound muting, a process for extending the decay time of the normal musical sound corresponding to the muted sound is performed.

図1に示した離鍵弦振動音波形記憶部16、波形読み出し部19、デジタルフィルタ22、および乗算部25は全ての鍵に対応して設けることはなく、特定の鍵または鍵域に設けるようにするのが望ましい。例えば、ダンパーが設けられることがない高音域には、離鍵弦振動音発生手段は設けないでよい。   The key release string vibration sound waveform storage unit 16, the waveform readout unit 19, the digital filter 22, and the multiplication unit 25 shown in FIG. 1 are not provided corresponding to all keys, but are provided in a specific key or key range. It is desirable to make it. For example, the key-off string vibration sound generating means may not be provided in a high sound range where no damper is provided.

図3は、本実施形態に係る発音のタイミングチャートである。図3を参照して図1の構成に基づく動作を説明する。発音指示は、押鍵情報および操作子情報に基づいて出力される。押鍵情報のキーオンKONに応答して発音指示がオンになり、押鍵情報のキーオフKOFFおよび操作子情報によるペダル7のオフが検出されたときに発音指示はオフになる(発音停止され、減衰が開始される)。   FIG. 3 is a timing chart of sound generation according to the present embodiment. The operation based on the configuration of FIG. 1 will be described with reference to FIG. The pronunciation instruction is output based on the key pressing information and the operator information. The sound generation instruction is turned on in response to the key-on information key-on KON, and the sound-generation instruction is turned off when the key-off information KOFF of the key-press information and the pedal 7 off by the operator information are detected (the sound generation is stopped and attenuated). Is started).

発音指示のオンに応答して、通常楽音波形記憶部15、離鍵弦振動音波形記憶部16および筐体共鳴音波形記憶部17からデジタルフィルタ21,22,23に波形データが読み出される。通常楽音、離鍵弦振動音、および筐体共鳴音は、図3に示すエンベロープに従ってレベル変化し、発音指示のオフに応答して所定の減衰速度で減衰するようにエンベロープデータが設定されて減衰する。   In response to the sounding instruction being turned on, the waveform data is read from the normal musical tone waveform storage unit 15, the key-string vibration waveform storage unit 16, and the case resonance waveform storage unit 17 to the digital filters 21, 22, and 23. The normal musical sound, the key-release string vibration sound, and the case resonance sound change in level according to the envelope shown in FIG. 3, and the envelope data is set so that the sound is attenuated at a predetermined attenuation speed in response to the sound generation instruction being turned off. To do.

ここで、離鍵弦振動音に対応するデジタルフィルタ22のカットオフ周波数は、発音指示のオンに応答して通常よりも十分に低く設定され、発音指示のオフを条件に通常に戻される。したがって、読み出された離鍵弦振動音の波形データは、このカットオフ周波数により、通常楽音の発音中はデジタルフィルタ22から出力されない。発音指示のオフによりカットオフ周波数が通常に戻されると、その時点で読み出されている離鍵弦振動音のレベルで発音開始され、減衰速度に基づいて音は減衰される。   Here, the cutoff frequency of the digital filter 22 corresponding to the key-off string vibration sound is set sufficiently lower than usual in response to the sounding instruction being turned on, and is returned to the normal condition on condition that the sounding instruction is turned off. Therefore, the read waveform data of the key-off string vibration sound is not output from the digital filter 22 during normal tone generation due to this cutoff frequency. When the cut-off frequency is returned to normal by turning off the sound generation instruction, sound generation starts at the level of the key-off string vibration sound read at that time, and the sound is attenuated based on the attenuation speed.

実際に放音される離鍵弦振動音の波形を図3中の下から2段目に示す。発音指示のオフによってカットオフ周波数が通常に戻されたときに放音波形は立ち上がり始めるので、放音レベルが十分大きくなるまでに少し遅延がある。しかし、離鍵弦振動音の放音レベルは、通常音レベルがゼロになるまでに大きくなるので、実際上問題にならない。なお、離鍵弦振動音の減衰時間T1が通常楽音の減衰時間T0よりも長くなるように減衰速度を設定しているので、通常楽音が減衰した後も離鍵弦振動音は時間(T1−T0)の間減衰を続けていて、微妙に発音されている。
アコースティックピアノでは、押鍵し、すぐに離鍵した場合は、押鍵直後の弦振動が大きい状態でダンパーが弦に触れるので、離鍵弦振動音は大きく、倍音も多く含んでいる。一方、押鍵後しばらくしてから離鍵した場合、弦振動が小さくなっている状態でダンパーが弦に触れるので、離鍵弦振動音は小さく、倍音も少ない。つまり、離鍵弦振動音は離鍵タイミングによって変化する。
The waveform of the key-off string vibration sound that is actually emitted is shown in the second row from the bottom in FIG. Since the sound emission shape starts to rise when the cutoff frequency is returned to normal by turning off the sound generation instruction, there is a slight delay until the sound emission level becomes sufficiently high. However, since the sound emission level of the key-off string vibration sound increases until the normal sound level becomes zero, there is no practical problem. Since the decay rate is set so that the decay time T1 of the key-released string vibration sound is longer than the decay time T0 of the normal musical sound, the key-released string vibration sound remains in the time (T1- Attenuation continues for T0) and is pronounced delicately.
In an acoustic piano, when a key is pressed and released immediately, the damper touches the string in a state where the string vibration immediately after the key is pressed is large, so the key-released string vibration sound is large and includes many overtones. On the other hand, when the key is released after a while after the key is pressed, the damper touches the string in a state where the string vibration is small, so that the key-released string vibration sound is small and there are few overtones. That is, the key release string vibration sound changes depending on the key release timing.

これに対して、押鍵と同時に読み出し開始している離鍵弦振動音の波形データは実際の発音には供されていないが、押鍵後の時間経過に伴って変化している。したがって、離鍵するタイミングに応じた最適な波形データで離鍵弦振動音を発生することができ、レベル制御部30の制御で減衰時間も制御される。   On the other hand, the waveform data of the key-off string vibration sound that has been read out simultaneously with the key depression is not provided for actual pronunciation, but changes with the passage of time after the key depression. Therefore, the key-off string vibration sound can be generated with the optimum waveform data corresponding to the key release timing, and the decay time is also controlled by the control of the level control unit 30.

筐体共鳴音のカットオフ周波数は、通常楽音と同様、押鍵から通常レベルに設定されているので、図3に示したように、押鍵時から通常楽音よりも小さいレベルで発音される。減衰時間T2は通常楽音の減衰時間T0よりも長くなるように減衰速度を設定しているので、通常楽音減衰後も筐体共鳴音は時間(T2−T0)の間維持される。   Since the cutoff frequency of the case resonance sound is set to the normal level from the key depression as in the case of the normal music sound, as shown in FIG. 3, the sound is generated at a level lower than the normal music sound from the time of the key depression. Since the decay speed is set so that the decay time T2 is longer than the decay time T0 of the normal musical sound, the casing resonance sound is maintained for the time (T2-T0) even after the normal musical sound decays.

なお、筐体共鳴音は押鍵から常に発生させておくのではなく、離鍵弦振動音と同様、押鍵によってデジタルフィルタ23のカットオフ周波数を十分に低くし、離鍵時にこれを通常の高い値に戻すようにしてもよい。離鍵時に筐体共鳴音が発音開始することで筐体共鳴音の強調効果を高めることができる。   Note that the case resonance sound is not always generated from the key depression, but the cut-off frequency of the digital filter 23 is sufficiently lowered by the key depression as in the case of the key-off string vibration sound. You may make it return to a high value. The casing resonance sound starts to be generated when the key is released, thereby enhancing the casing resonance sound enhancement effect.

図3の通常楽音のエンベロープのうち、発音停止指示の後の減衰状態を示す点線は、離鍵弦振動音発生手段の空きチャンネルや筐体共鳴音発生手段の空きチャンネルがない場合に長くした通常楽音の減衰時間に対応するものである。この長くした通常楽音の減衰時間により、空きチャンネルがない場合の、離鍵弦振動音や筐体共鳴音の模擬を可能にしている。   In the envelope of the normal musical sound in FIG. 3, the dotted line indicating the decay state after the sound generation stop instruction is long when there is no empty channel of the key-off string vibration sound generating means or no empty channel of the case resonance sound generating means. This corresponds to the decay time of the musical sound. This extended normal musical sound decay time makes it possible to simulate key-off string vibration sound and housing resonance sound when there is no empty channel.

次に、発音数監視部32による発音数に応じたトランケート処理を含む鍵盤イベントの処理をフローチャートを参照して説明する。まず、図4は全体処理を示すフローチャートである。ステップS1では、CPU1、RAM4、音源LSI(DSP)等を初期化する。ステップS2では、パネル5のスイッチ等の状態を読み込んで対応の処理を行うパネルイベント処理を行う。ステップS3では、キースイッチ8aの出力に基づいて通常音の楽音信号を発生する鍵盤イベント処理を実行する。鍵盤イベント処理にはキータッチKTに応じたエンベロープの設定も含まれる。   Next, keyboard event processing including truncation processing according to the number of pronunciations by the number-of-sounds monitoring unit 32 will be described with reference to a flowchart. First, FIG. 4 is a flowchart showing the entire process. In step S1, the CPU 1, RAM 4, sound source LSI (DSP), etc. are initialized. In step S2, panel event processing is performed in which the state of the switch or the like of the panel 5 is read and corresponding processing is performed. In step S3, a keyboard event process for generating a normal tone signal based on the output of the key switch 8a is executed. The keyboard event process includes setting an envelope according to the key touch KT.

ステップS4では、ペダルセンサ7aの出力に対応したペダルイベント処理が行われる。なお、ペダルイベント処理には、ペダル(ダンパーペダル)以外のペダルの処理を含むことができる。ステップS5では、その他の処理が行われる。   In step S4, pedal event processing corresponding to the output of the pedal sensor 7a is performed. Note that the pedal event processing may include processing of pedals other than the pedal (damper pedal). In step S5, other processing is performed.

図5および図6は、鍵盤イベント処理(ステップS3)の詳細を示すフローチャートである。図5および図6において、通常楽音バッファ、離鍵弦振動音バッファ、および筐体共鳴音バッファは、それぞれ、通常楽音、離鍵弦振動音、および筐体共鳴音のエンベロープやデジタルフィルタのカットオフ周波数、波形メモリ10のアドレス等を一時保存するRAMの領域であり、発音停止時の減衰速度もこれらに保存されている。   5 and 6 are flowcharts showing details of the keyboard event process (step S3). In FIG. 5 and FIG. 6, the normal musical tone buffer, the key-string vibration sound buffer, and the case resonance sound buffer are respectively the normal music tone, key release string vibration sound, and case resonance sound envelope, and the cutoff of the digital filter. This is a RAM area for temporarily storing the frequency, the address of the waveform memory 10 and the like, and the decay rate when the sound generation is stopped is also stored in these areas.

まず、図5のステップS10ではキーオンKONの有無により鍵盤8のオンイベントの有無つまり押鍵の有無を判断する。オンイベントならばステップS11に進み、通常楽音の発音中チャンネル数を計数するカウンタpをインクリメントする。ステップS12では、発音中チャンネル数pが通常楽音の最大発音チャンネル数pm以上か否かを判断する。   First, in step S10 in FIG. 5, the presence or absence of an on event of the keyboard 8, that is, the presence or absence of key depression, is determined based on the presence or absence of key-on KON. If it is an ON event, the process proceeds to step S11, and the counter p for counting the number of channels during normal tone generation is incremented. In step S12, it is determined whether or not the number p of sounding channels is greater than or equal to the maximum number of sounding channels pm of normal music.

ステップS12が肯定ならば、空きチャンネルがないと判断され、ステップS13に進む。ステップS13では、チャンネルを空けるために、発音中の通常楽音のうち一つのチャンネル割り当てを解除するトランケート処理を行う。このトランケート処理の対象は、例えば、後押し優先とし、発音時間の長いチャンネルから順に開放される。ステップS14では、チャンネルの開放に対応してカウンタpをデクリメントし、ステップS15に進む。   If step S12 is positive, it is determined that there is no empty channel, and the process proceeds to step S13. In step S13, a truncation process is performed to release the channel assignment of one of the normal musical tones that are being generated in order to free up a channel. This truncation processing target is, for example, given priority to boosting and is released in order from the channel with the longest sounding time. In step S14, the counter p is decremented corresponding to the opening of the channel, and the process proceeds to step S15.

ステップS12が否定ならば、空きチャンネルがあると判断され、チャンネルを空ける必要がないので、ステップS13,S14はスキップしてステップS15に移行する。   If step S12 is negative, it is determined that there is an empty channel, and there is no need to open a channel, so steps S13 and S14 are skipped and the process proceeds to step S15.

ステップS15では、ステップS10のオンイベントに対応した(通常楽音発生のための)通常楽音データを、データメモリ3bから通常楽音バッファに読み出す。   In step S15, normal musical tone data (for generating normal musical tone) corresponding to the ON event in step S10 is read from the data memory 3b to the normal musical tone buffer.

ステップS16では、離鍵弦振動音の発音中チャンネル数を計数するカウンタqをインクリメントする。ステップS17では、発音中チャンネル数qが離鍵弦振動音の最大発音チャンネル数qm以上か否かを判断する。   In step S16, a counter q that counts the number of channels that are generating the key-off string vibration sound is incremented. In step S17, it is determined whether or not the number q of sounding channels is greater than or equal to the maximum number of sounding channels qm of the key-string vibration sound.

ステップS17が肯定ならば、空きチャンネルがないと判断され、ステップS18に進む。ステップS18では、チャンネルを空けるために、発音中の離鍵弦振動音のうち一つを発音停止するトランケート処理を行う。このトランケート処理の対象は、例えば、後押し優先または低音優先のうち予め設定された方とする。低音優先とするのは、低音の方が弦振動の振幅が大きく弦振動音が顕著だからである。   If step S17 is positive, it is determined that there is no empty channel, and the process proceeds to step S18. In step S18, a truncation process is performed to stop the sound generation of one of the key-string vibration sounds being generated in order to make a channel open. The target of the truncation process is, for example, a preset one of boosting priority or bass priority. The reason for giving priority to the bass sound is that the bass sound has a larger amplitude of string vibration and the string vibration sound is more prominent.

ステップS19では、チャンネルの開放に対応してカウンタqをデクリメントする。ステップS20では、トランケートされた弦振動音に対する通常楽音バッファに設定されている減衰時間を書き換えて長くし、ステップS21に進む。   In step S19, the counter q is decremented corresponding to the opening of the channel. In step S20, the decay time set in the normal musical tone buffer for the truncated string vibration sound is rewritten and lengthened, and the process proceeds to step S21.

ステップS17が否定ならば、空きチャンネルがあると判断され、チャンネルを空ける必要がないので、ステップS18〜S20はスキップしてステップS21に移行する。   If step S17 is negative, it is determined that there is an empty channel and there is no need to open a channel, so steps S18 to S20 are skipped and the process proceeds to step S21.

ステップS21では、ステップS10のオンイベントに対応した離鍵弦振動音データをデータメモリ3bから離鍵弦振動音バッファに読み出す。   In step S21, the key-off string vibration sound data corresponding to the ON event in step S10 is read from the data memory 3b to the key-off string vibration sound buffer.

ステップS22では、筐体共鳴音の発音中チャンネル数を計数するカウンタrをインクリメントする。ステップS23では、発音中チャンネル数rが筐体共鳴音の最大発音チャンネル数rm以上か否かを判断する。   In step S22, a counter r for counting the number of channels generating sound of the case resonance is incremented. In step S23, it is determined whether or not the number r of sounding channels is equal to or greater than the maximum number of sounding channels rm of the case resonance sound.

ステップS23が肯定ならば、空きチャンネルがないと判断され、ステップS24に進む。ステップS24では、チャンネルを空けるために、発音中の筐体共鳴音のうち一つのチャンネル割り当てを解除するトランケート処理を行う。この筐体共鳴音のトランケート処理の対象は、例えば、後押し優先または高音優先とする。アコースティックピアノにおいて、筐体共鳴音は高音側でよく聞こえるからである。ステップS25では、チャンネルの開放に対応してカウンタrをデクリメントする。ステップS26では、トランケートされた共鳴音に対する通常楽音バッファに設定されている減衰時間を書き換えて長くし、ステップS27に進む。   If step S23 is positive, it is determined that there is no empty channel, and the process proceeds to step S24. In step S24, a truncation process is performed to release the assignment of one channel of the sounding case resonance sound in order to open a channel. The object of the truncation processing of the casing resonance sound is, for example, given priority to boosting or high-pitched sound. This is because, in an acoustic piano, the casing resonance can be heard well on the high-pitched side. In step S25, the counter r is decremented corresponding to the opening of the channel. In step S26, the decay time set in the normal musical tone buffer for the truncated resonance sound is rewritten and lengthened, and the process proceeds to step S27.

ステップS23が否定ならば、空きチャンネルがあると判断され、チャンネルを空ける必要がないので、ステップS24〜S26はスキップしてステップS27に移行する。   If step S23 is negative, it is determined that there is an empty channel, and there is no need to open a channel, so steps S24 to S26 are skipped and the process proceeds to step S27.

ステップS27では、ステップS10のオンイベントに対応した筐体共鳴音データをデータメモリ3bから筐体共鳴音バッファに読み出す。   In step S27, the casing resonance data corresponding to the ON event in step S10 is read from the data memory 3b to the casing resonance buffer.

図6のステップS28では、通常楽音波形記憶部15に読み出された波形データを使用して、図1に関して説明した構成と動作により通常楽音発音処理を行う。同様に、ステップS29では、離鍵弦振動音波形記憶部16に読み出された波形データを使用して離鍵弦振動音の発音処理を行い、ステップS30では、筐体共鳴音波形記憶部17に読み出された波形データを使用して筐体共鳴音の発音処理を行う。   In step S28 of FIG. 6, normal tone generation processing is performed by the configuration and operation described with reference to FIG. 1 using the waveform data read to the normal tone waveform storage unit 15. Similarly, in step S29, sound generation processing of the key-off string vibration sound is performed using the waveform data read out to the key-off string vibration sound waveform storage unit 16, and in step S30, the case resonance sound waveform storage unit 17 is processed. Using the waveform data read in step 2, the sound generation processing of the case resonance sound is performed.

また、図5のステップS10の判断が否定の場合は、図6のステップS31に進み、キーオフKOFFの有無により鍵盤8のオフイベントの有無つまり離鍵の有無を判断する。離鍵ならば、ステップS32に進んで操作子情報に基づいてペダル7がオンか否かが判断される。ペダル7がオンでなければ、ステップS33に進んで離鍵に対応する通常楽音の消音処理を行う。ステップS34は離鍵に対応する離鍵弦振動音の消音処理を行う。ステップS35では、離鍵に対応する筐体共鳴音の消音処理を行う。   If the determination in step S10 in FIG. 5 is negative, the process proceeds to step S31 in FIG. 6, and the presence or absence of an off event of the keyboard 8, that is, the presence or absence of a key release, is determined based on the presence or absence of the key-off KOFF. If the key is released, the process proceeds to step S32, where it is determined whether or not the pedal 7 is on based on the operator information. If the pedal 7 is not on, the process proceeds to step S33, and the normal musical sound corresponding to the key release is silenced. A step S34 performs a silencing process of the key-off string vibration sound corresponding to the key release. In step S35, the process of silencing the casing resonance corresponding to the key release is performed.

なお、上記実施形態では楽音発生装置として電子ピアノを例に挙げて説明しているが、本発明は電子ピアノにのみ限定されるものではなく、鍵盤を有し、ペダル操作で効果音を付与する他の電子楽器にも、本発明の要旨を逸脱しない範囲内で同様に適用することができる。   In the above embodiment, an electronic piano has been described as an example of a musical sound generating device. However, the present invention is not limited to an electronic piano, and has a keyboard and provides sound effects by pedal operation. The present invention can be similarly applied to other electronic musical instruments without departing from the gist of the present invention.

1…CPU、 7…ダンパーペダル、 7a…ペダルセンサ、 8…鍵盤、 8a…キーススイッチ、 10…波形メモリ、 15…通常楽音波形記憶部、 16…離鍵弦振動音波形記憶部、 17…筐体共鳴音波形記憶部、 21,22,23…デジタルフィルタ、 27…加算部、 29…フィルタ制御部、 30…レベル制御部、 31…発音指示部、 32…発音数監視部   DESCRIPTION OF SYMBOLS 1 ... CPU, 7 ... Damper pedal, 7a ... Pedal sensor, 8 ... Keyboard, 8a ... Keith switch, 10 ... Waveform memory, 15 ... Normal musical sound wave shape memory | storage part, 16 ... Key release string vibration sound wave shape memory | storage part, 17 ... Housing Body resonance sound waveform storage unit, 21, 22, 23 ... digital filter, 27 ... addition unit, 29 ... filter control unit, 30 ... level control unit, 31 ... sound generation instruction unit, 32 ... sound generation number monitoring unit

Claims (6)

押鍵情報に基づいて発音開始指示を出力し、押鍵情報および操作子情報に基づいて発音停止指示を出力する発音指示手段と、
通常楽音信号を発生する通常楽音発生手段と、
筐体共鳴音信号を発生する筐体共鳴音発生手段と、
前記通常楽音信号および筐体共鳴音信号がそれぞれ入力される複数のフィルタ手段と、
前記複数のフィルタ手段から出力される信号にそれぞれエンベロープを付与する複数のエンベロープ付与手段と、
前記エンベロープ付与手段から出力される信号を加算して楽音信号を出力する加算手段とを具備し、
前記筐体共鳴音発生手段のチャンネル数は、前記通常楽音発生手段のチャンネル数よりも少なく設定されており、
前記発音開始指示に応答して前記通常楽音発生手段および筐体共鳴音信号発生手段が前記通常楽音信号および前記筐体共鳴音信号をそれぞれ発生開始してそれぞれの空きチャンネルに割り当て、前記発音指示手段によって発音開始指示が出力された時点で前記筐体共鳴音発生手段の空きチャンネルが不足した場合には、発音中の筐体共鳴音信号の一つを停止するとともに、該停止した筐体共鳴音信号と同時に発生開始した通常楽音信号の発音停止時の減衰時間を長くするため減衰時間に関する前記通常楽音発生手段の設定データを変更することを特徴とする楽音発生装置。
A sound generation instruction means for outputting a sound generation start instruction based on the key press information, and outputting a sound generation stop instruction based on the key press information and the operator information;
A normal musical sound generating means for generating a normal musical sound signal;
A casing resonance generating means for generating a casing resonance signal;
A plurality of filter means for receiving the normal tone signal and the case resonance signal, respectively;
A plurality of envelope applying means for applying envelopes to the signals output from the plurality of filter means;
Adding means for adding a signal output from the envelope applying means and outputting a musical sound signal;
The number of channels of the casing resonance generating means is set to be less than the number of channels of the normal music generating means,
In response to the sound generation start instruction, the normal music sound generation means and the case resonance sound signal generation means start generating the normal music sound signal and the case resonance sound signal, respectively , and assign them to the respective empty channels, and the sound generation instruction means If the vacant channel of the case resonance sound generating means is insufficient at the time when the sound generation start instruction is output by, one of the case resonance sound signals being sounded is stopped and the stopped case resonance sound A musical tone generating apparatus characterized by changing the setting data of the normal musical tone generating means relating to the decay time in order to lengthen the decay time when the normal musical tone signal started to be generated simultaneously with the signal is stopped .
空きチャンネルが不足した場合、発音中の筐体共鳴音信号のうち、最も低音の筐体共鳴音信号および最先に発音開始指示された筐体共鳴音信号のいずれか一方を停止するように構成されたことを特徴とする請求項1に記載の楽音発生装置。 When there are not enough available channels, it is configured to stop either the lowest-cased resonance signal or the lowest-cased resonance signal that is instructed to start sounding. The musical tone generator according to claim 1, wherein the musical tone generator is provided. 前記筐体共鳴音発生手段が、予め設定した特定の鍵または鍵域について設けられていることを特徴とする請求項1または2に記載の楽音発生装置。 The musical sound generating device according to claim 1 or 2 , wherein the casing resonance generating means is provided for a predetermined specific key or key range. 前記エンベロープ付与手段が、前記発音停止指示に応答して減衰される前記筐体共鳴音信号の減衰時間を前記通常楽音信号の減衰時間よりも長くしたエンベロープを付与するように構成されていることを特徴とする請求項1〜のいずれか一つに記載の楽音発生装置。 The envelope applying means is configured to give an envelope in which the decay time of the casing resonance signal attenuated in response to the sound generation stop instruction is longer than the decay time of the normal musical sound signal. The musical tone generator according to any one of claims 1 to 3 , wherein 前記筐体共鳴音発生手段が、予め筐体共鳴音波形データを記憶する記憶手段と、波形読み出し手段とからなることを特徴とする請求項1〜のいずれか一つに記載の楽音発生装置。 The musical sound generating device according to any one of claims 1 to 4 , wherein the casing resonance generating means comprises storage means for storing casing resonance sound waveform data in advance and waveform reading means. . 前記筐体共鳴音波形データが、一自由度粘性減衰系モデルで合成されていることを特徴とする請求項に記載の楽音発生装置。 6. The musical tone generator according to claim 5 , wherein the casing resonance sound waveform data is synthesized with a one-degree-of-freedom viscous damping system model.
JP2011083569A 2011-04-05 2011-04-05 Music generator Expired - Fee Related JP5305483B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011083569A JP5305483B2 (en) 2011-04-05 2011-04-05 Music generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011083569A JP5305483B2 (en) 2011-04-05 2011-04-05 Music generator

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2006208089A Division JP4785052B2 (en) 2006-07-31 2006-07-31 Music generator

Publications (2)

Publication Number Publication Date
JP2011154394A JP2011154394A (en) 2011-08-11
JP5305483B2 true JP5305483B2 (en) 2013-10-02

Family

ID=44540339

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011083569A Expired - Fee Related JP5305483B2 (en) 2011-04-05 2011-04-05 Music generator

Country Status (1)

Country Link
JP (1) JP5305483B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6806120B2 (en) 2018-10-04 2021-01-06 カシオ計算機株式会社 Electronic musical instruments, musical tone generation methods and programs
JP7015007B2 (en) 2019-06-27 2022-02-02 カシオ計算機株式会社 Electronic musical instruments, methods and programs
JP6922943B2 (en) 2019-06-27 2021-08-18 カシオ計算機株式会社 Electronic musical instruments, methods and programs

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04348393A (en) * 1990-12-11 1992-12-03 Casio Comput Co Ltd Key assigner
JP3149708B2 (en) * 1994-10-24 2001-03-26 ヤマハ株式会社 Music synthesizer
JP3671545B2 (en) * 1996-09-20 2005-07-13 ヤマハ株式会社 Electronic musical instruments
JP3092061B2 (en) * 1998-04-17 2000-09-25 ヤマハ株式会社 Resonance signal formation device
JP2004020989A (en) * 2002-06-18 2004-01-22 Kawai Musical Instr Mfg Co Ltd Device and method for generating musical sound signal, computer program, and computer readable recording medium
JP2006047451A (en) * 2004-08-02 2006-02-16 Kawai Musical Instr Mfg Co Ltd Electronic musical instrument

Also Published As

Publication number Publication date
JP2011154394A (en) 2011-08-11

Similar Documents

Publication Publication Date Title
JP4978993B2 (en) Music generator
JP4716422B2 (en) Resonant sound generator
JP5821230B2 (en) Music signal generator
JP7331746B2 (en) Electronic keyboard instrument, musical tone generating method and program
JP6801443B2 (en) Musical tone generators and methods, electronic musical instruments
JP2018106006A (en) Musical sound generating device and method, and electronic musical instrument
JP6819309B2 (en) Resonance signal generator, electronic music device, resonance signal generation method and program
JP4785053B2 (en) Resonant sound generator
JP5305483B2 (en) Music generator
JP7230870B2 (en) Electronic musical instrument, electronic keyboard instrument, musical tone generating method and program
JP4785052B2 (en) Music generator
JP2004317615A (en) Apparatus and method for resonance, and computer program for resonance
JP2005338480A (en) Resonance effect adding device
JP4833810B2 (en) Resonant sound 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
CN112447159A (en) Resonance sound signal generating method, resonance sound signal generating apparatus, recording medium, and electronic music apparatus
JP3419563B2 (en) Tone signal level control device
JP7332002B2 (en) Electronic musical instrument, method and program
JP7052858B2 (en) Electronic musical instruments, resonance signal generation methods and programs
JP7172423B2 (en) Electronic keyboard instrument, method and program
JP7476501B2 (en) Resonance signal generating method, resonance signal generating device, resonance signal generating program, and electronic music device
JP3419562B2 (en) Tone signal level control device
JP7124370B2 (en) Electronic musical instrument, method and program
JP3931847B2 (en) Waveform selection device and waveform selection program
JP3706371B2 (en) Musical signal frequency characteristic control device and frequency characteristic control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110405

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120905

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121010

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121130

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130621

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