JP2012037562A - Musical sound generating device - Google Patents

Musical sound generating device Download PDF

Info

Publication number
JP2012037562A
JP2012037562A JP2010174519A JP2010174519A JP2012037562A JP 2012037562 A JP2012037562 A JP 2012037562A JP 2010174519 A JP2010174519 A JP 2010174519A JP 2010174519 A JP2010174519 A JP 2010174519A JP 2012037562 A JP2012037562 A JP 2012037562A
Authority
JP
Japan
Prior art keywords
waveform
sound
unit
tone
data
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.)
Granted
Application number
JP2010174519A
Other languages
Japanese (ja)
Other versions
JP5573465B2 (en
Inventor
Hiroyuki Tsuchiya
博之 土屋
Kazuyuki Ito
一之 伊藤
Masahiko Hasebe
長谷部  雅彦
Koichi Kashiwazaki
紘一 柏崎
Hiroyuki Iwase
裕之 岩瀬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP2010174519A priority Critical patent/JP5573465B2/en
Priority to US13/196,741 priority patent/US8389844B2/en
Priority to EP11176241.5A priority patent/EP2416311B1/en
Priority to CN201110221297.0A priority patent/CN102347023B/en
Publication of JP2012037562A publication Critical patent/JP2012037562A/en
Application granted granted Critical
Publication of JP5573465B2 publication Critical patent/JP5573465B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To restrict an increase of a burden applied to a musical sound generating processing part even if the number of sound generation channels increases.SOLUTION: A sound source part 20 generates musical sound waveforms with a sound generation unit consisting of two sound generation channels. A sound source register 23 stores tone control data of each the sound generation unit. A waveform memory 21 stores a pair of waveform data; stereo data. A phase generation part 111 generates a phase that is common to both of Lch and Rch of the sound generation unit by accumulating F numbers that are common to Lch and Rch. A waveform reading part 112 reads the waveform data of Lch and Rch from the waveform memory 21 based on respective waveform designating information of Lch and Rch. Musical sound characteristics of the waveform data of Lch and Rch having been read by the waveform reading part 112 are controlled in a characteristic control part 113 based on a characteristic control parameter that is common to Lch and Rch.

Description

この発明は、発音チャンネルの数を増加しても効率的に楽音を生成することのできる楽音生成装置に関する。   The present invention relates to a musical sound generating apparatus capable of efficiently generating musical sounds even when the number of sound generation channels is increased.

従来の楽音生成装置は、MIDI(Musical Instrument Digital Interface)、鍵盤、あるいはシーケンサ等からの演奏情報を受ける演奏情報入力部と、楽音生成に使用する音源パラメータを発生する制御部(CPU)と、音源パラメータに基づいて楽音を形成する音源部とを有している。制御部(CPU)は、入力された演奏情報に応じて、チャンネルアサイン、音源パラメータの発生等の制御処理を実行し、音源部に発生した楽音パラメータと発音開始指示を供給する。音源部は、楽音を生成する際に使用する楽音パラメータを記憶するための音源レジスタと、楽音生成処理を行う楽音生成処理部を備えている。制御部(CPU)から供給された楽音パラメータは音源レジスタに格納され、この楽音パラメータに基づいて楽音生成処理部が楽音生成処理を行っている。音源部において、音源レジスタに記憶された楽音パラメータに基づいた楽音生成処理が実行されることにより、制御部(CPU)から指示された楽音の生成処理が行われる。音源部としては、実際の楽音波形が波形データとして記録されている波形メモリを備える波形メモリ音源が従来より知られている。この波形メモリ音源においては、音色毎および音域毎の波形データが波形メモリに記憶され、この波形メモリから楽音生成処理部が、発生すべき楽音の音色や音高に対応する波形データを読み出して、読み出された波形データの特性を、音源パラメータに基づいて発生された音量制御エンベロープ等の制御波形により制御する。そして、複数の楽音を同時に発生させるために、楽音生成処理部における複数の発音チャンネルを形成し各発音チャンネルでの楽音発生処理を時分割で行うようにしている。これにより、1サンプリング周期毎に複数の発音チャンネルにおいて楽音波形サンプルがそれぞれ演算生成されて、発音チャンネル数分の楽音が生成されるようになる。   A conventional musical sound generator includes a performance information input unit that receives performance information from a MIDI (Musical Instrument Digital Interface), keyboard, sequencer, or the like, a control unit (CPU) that generates sound source parameters used for musical sound generation, And a sound source unit that forms a musical sound based on the parameters. The control unit (CPU) executes control processing such as channel assignment and generation of sound source parameters in accordance with the input performance information, and supplies musical sound parameters generated in the sound source unit and a sound generation start instruction. The tone generator section includes a tone generator register for storing a tone parameter used for generating a tone, and a tone generation processing section for performing a tone generation process. Musical tone parameters supplied from the control unit (CPU) are stored in a tone generator register, and a musical tone generation processing unit performs musical tone generation processing based on the musical tone parameters. In the tone generator unit, a tone generation process instructed by the control unit (CPU) is performed by executing a tone generation process based on the tone parameter stored in the tone generator register. As a sound source unit, a waveform memory sound source including a waveform memory in which an actual musical sound waveform is recorded as waveform data is conventionally known. In this waveform memory sound source, waveform data for each tone color and tone range is stored in the waveform memory, and the tone generation processing unit reads waveform data corresponding to the tone color and pitch of the tone to be generated from this waveform memory, The characteristics of the read waveform data are controlled by a control waveform such as a volume control envelope generated based on the sound source parameter. In order to simultaneously generate a plurality of musical tones, a plurality of tone generation channels are formed in the tone generation processing section, and tone generation processing in each tone generation channel is performed in a time-sharing manner. As a result, musical tone waveform samples are calculated and generated for a plurality of tone generation channels for each sampling period, and tone equivalent to the number of tone generation channels is generated.

また、新たな発音指示(ノートオンイベント)が発生したときには、空いている発音チャンネルを検出して割り当てて、割り当てた発音チャンネルにおいて楽音生成を行う。この場合、すべての発音チャンネルにおいて楽音生成処理がなされていた場合、すなわち、すべての発音チャンネルに対して発音割り当てがなされていた場合には、消音しても最も影響の少ない発音チャンネルを選択する。そして、その発音チャンネルで発音中の楽音の音量を急速に減衰(ダンプ)させ、その発音チャンネルを新たな楽音生成のために解放する、いわゆるトランケート処理を行う。そして、トランケート処理を施すべきチャンネル(トランケートチャンネル)としては、全発音チャンネル中、現在発音中の楽音の音量が最も小さいチャンネルを選択する方法が一般的である。
このような楽音生成装置の出力部は、一般にステレオ構成であり、高品質な楽音を生成するために、波形メモリにステレオの波形データを格納して、この波形メモリから、発生すべき楽音に対応するステレオ波形データを読み出すことにより、ステレオの楽音を生成することも行われている。
When a new sound generation instruction (note-on event) occurs, an empty sound channel is detected and assigned, and a musical tone is generated in the assigned sound channel. In this case, if tone generation processing has been performed for all the sound generation channels, that is, if sound generation is assigned to all sound generation channels, the sound generation channel having the least influence is selected even if the sound is muted. Then, a so-called truncation process is performed in which the volume of the musical sound being sounded in the sound generation channel is rapidly attenuated (dumped), and the sound generation channel is released for generating a new music sound. As a channel to which truncation processing is to be performed (truncated channel), a method of selecting a channel with the smallest volume of the currently sounding tone among all the sounding channels is common.
The output unit of such a musical tone generator generally has a stereo configuration, and in order to generate a high-quality musical tone, stereo waveform data is stored in the waveform memory, and the musical tone to be generated is supported from this waveform memory. The stereo sound is also generated by reading the stereo waveform data.

特許第2671690号公報Japanese Patent No. 2671690 特許第3666346号公報Japanese Patent No. 3666346 特許第2915452号公報Japanese Patent No. 2915452

従来の楽音生成装置においてステレオ発音する場合は、1つのステレオ発音をするために左チャンネル(以下、「Lch」という)と右チャンネル(以下、「Rch」という)の楽音の生成のために、2つの発音チャンネル(以下、「チャンネル」を「ch」という)を使用するようになっていた。すなわち、制御部(CPU)は、LchおよびRchに発音chを割り当てる発音割当処理をそれぞれ行うことにより、2つの発音chを確保する。また、音源レジスタには発音ch毎の音源パラメータが格納されるので、LchおよびRchのそれぞれの音源パラメータが格納されることになる。楽音生成処理部は、発音ch毎の音源パラメータに基づいて、波形メモリから指定された音高に応じた速度で波形データを読み出し、読み出された波形データの楽音特性を、音量制御エンベロープ等の制御波形により制御するので、Lchに割り当てられた発音chにおいては、Lch用の音源パラメータに基づいて、波形メモリからLch波形データを読み出し、楽音特性を制御して、Lchの楽音波形データを生成し、Rchに割り当てられた発音chにおいては、Rch用の音源パラメータに基づいて、波形メモリからRch波形データを読み出し、楽音特性を制御して、Rchの楽音波形データを生成する。   In the case of stereophonic sound generation by a conventional musical sound generator, in order to generate a single stereo sound, a left channel (hereinafter referred to as “Lch”) and a right channel (hereinafter referred to as “Rch”) 2 Two sounding channels (hereinafter referred to as “ch”) were used. That is, the control unit (CPU) secures two sounding channels by performing sounding assignment processing for assigning sounding channels to Lch and Rch, respectively. Also, since the sound source parameters for each sounding channel are stored in the sound source register, the sound source parameters for Lch and Rch are stored. The musical sound generation processing unit reads waveform data at a speed corresponding to the designated pitch from the waveform memory based on the sound source parameter for each sound generation channel, and the musical sound characteristics of the read waveform data are converted to a volume control envelope or the like. Since the sound is assigned to the Lch, the Lch waveform data is read from the waveform memory based on the Lch sound source parameters, the tone characteristics are controlled, and the Lch tone waveform data is generated. For the sounding channels assigned to Rch, Rch waveform data is read from the waveform memory on the basis of the Rch sound source parameters, and the musical tone characteristics are controlled to generate Rch musical tone waveform data.

このように、従来の楽音発生装置においては、ステレオの楽音波形サンプルの生成には2つの発音chが必要なことから、発音ch数を増やしたいという要望があり、楽音生成用集積回路(音源LSI)で扱える発音ch数が増加する傾向にある。しかしながら、楽音生成処理部におけるステレオ発音中の発音chの特性を制御するには、LchとRchとの2ch分の処理を行わなければならず、楽音生成処理部にかかる負担が大きくなると云う問題点があった。この場合、モノラル発音では、1chのみの特性を制御すればよいが、ステレオ発音では、2chを同じサンプリング周期内で同時に特性を制御しないと、LchとRchとでタイミングによって異なる特性の楽音が発音されることから、同じサンプリング周期内において同時に特性を制御する処理を行う必要があり、楽音生成処理処理部にかかる負担がさらに大きくなると云う問題点があった。
そこで、本発明は、発音チャンネルの数を増加しても楽音生成処理部にかかる負担が大きくなることを極力抑制できる楽音生成装置を提供することを目的としている。
As described above, in the conventional tone generator, since two tone generation channels are required to generate a stereo tone waveform sample, there is a desire to increase the number of tone generation channels, and an integrated circuit for tone generation (sound source LSI). ) Tends to increase the number of pronunciation channels that can be handled. However, in order to control the sound channel characteristics during stereo sound generation in the musical sound generation processing unit, it is necessary to perform processing for two channels of Lch and Rch, which increases the burden on the musical sound generation processing unit. was there. In this case, for monophonic sounding, it is only necessary to control the characteristics of only one channel. In stereophonic sounding, if the characteristics of two channels are not controlled at the same time within the same sampling period, musical sounds having different characteristics depending on the timing are produced for Lch and Rch. Therefore, there is a problem that it is necessary to simultaneously perform processing for controlling the characteristics within the same sampling period, which further increases the burden on the musical sound generation processing processing unit.
Accordingly, an object of the present invention is to provide a musical sound generation apparatus that can suppress as much as possible the burden on the musical sound generation processing unit even when the number of sound generation channels is increased.

上記目的を達成するために、本発明の楽音生成装置は、ステレオサンプリングされたLch波形データとRch波形データとからなる波形データペアと、モノラルサンプリングされたモノ波形データとを、それぞれ、複数記憶している波形メモリと、モードフラグに応じてステレオ発音モードまたはモノラル発音モードで動作する、2つの発音chからなる発音単位であって、N(Nは1以上の整数)個の発音単位を備えており、ステレオ発音モードで動作する各発音単位は、前記波形メモリから2ch分の波形データを読み出して、2chの楽音波形を生成し、モノラル発音モードで動作する各発音単位は、前記波形メモリから1ch分の波形データを読み出して、1chの楽音波形を生成する音源部と、N個の発音単位に対応するN個の音色制御データを記憶しており、各音色制御データは、前記モードフラグ、第1波形指定情報、第2波形指定情報、Fナンバ、および、特性パラメータを含んでいる音源レジスタと、前記音源レジスタへパラメータを書き込むことにより、前記音源部の動作を制御する制御部とを備え、前記制御部は、新たな楽音の発音を指示する発音指示命令(ノートオン)に応じて、N発音単位の何れか1つを、発音指示された楽音の生成に割り当て、発音指示された楽音がステレオかモノラルかを判定し、発音指示された楽音がステレオの場合は、ステレオ発音モードを示すモードフラグ、該楽音の生成に使用する第1波形指定情報、第2波形指定情報、Fナンバ、および、特性パラメータを含む音色制御データを形成し、前記音源レジスタの割り当てた発音単位に対応する記憶領域に設定するようにし、発音指示された楽音がモノラルの場合は、モノラル発音モードを示すモードフラグ、該楽音の生成に使用する第1波形指定情報、Fナンバ、および、特性パラメータを含む音色制御データを形成し、前記音源レジスタの割り当てた発音単位に対応する記憶領域に設定するようにして、割り当てた発音単位に対して、発音の開始を指示する処理を行い、前記音源部は、前記制御部からの1つの発音単位に対する発音開始指示に応じて、前記音源レジスタに記憶された当該発音単位のモードフラグがステレオ発音モードを示していれば、前記音源レジスタに設定された当該発音単位の第1波形指定情報が示すLch(又はRch)波形データと、当該発音単位の第2波形指定情報が示すRch(又はLch)波形データとを、それぞれ、当該発音単位のFナンバが示す速度で前記波形メモリから読み出し、読み出されたLch波形データとRch波形データの各楽音特性を、前記音源レジスタに設定された当該発音単位の特性制御パラメータに基づいて制御して、Lchの楽音信号とRchの楽音信号とを形成し、前記音源レジスタに記憶された当該発音単位のモードフラグがモノラル発音モードを示していれば、前記音源レジスタに記憶された当該発音単位の第1波形指定情報が示すモノ波形データを、当該発音単位のFナンバが示す速度で波形メモリから読み出し、読み出されたモノ波形データの楽音特性を、前記音源レジスタに設定された当該発音単位の特性制御パラメータに基づいて制御して、モノラルの楽音信号を形成する処理を行うことを最も主要な特徴としている。   In order to achieve the above object, the musical sound generating apparatus of the present invention stores a plurality of waveform data pairs each including stereo-sampled Lch waveform data and Rch waveform data, and mono-sampled mono waveform data. A sound generation unit composed of two sound generation channels operating in a stereo sound generation mode or a monaural sound generation mode according to a mode flag, and N (N is an integer of 1 or more) sound generation units. Each sound generation unit operating in the stereo sound generation mode reads 2ch of waveform data from the waveform memory to generate a 2ch musical sound waveform, and each sound generation unit operating in the monaural sound generation mode is 1ch from the waveform memory. Minute waveform data is read out, and a sound source unit that generates a 1-ch musical sound waveform, and N sound generation units corresponding to N sound generation units Color control data is stored, and each tone color control data is sent to the tone generator register including the mode flag, the first waveform designation information, the second waveform designation information, the F number, and the characteristic parameter. A controller that controls the operation of the sound source unit by writing parameters, and the control unit is one of N sounding units according to a sounding instruction command (note-on) for instructing the sounding of a new musical sound. One is assigned to the generation of the musical sound instructed to be generated, and it is determined whether the musical sound instructed to be generated is stereo or monaural. If the musical sound instructed to be generated is stereo, a mode flag indicating a stereo sound generation mode, Forming tone color control data including first waveform designation information, second waveform designation information, F number and characteristic parameters used for generation, and assigning the tone generator register When the musical sound instructed to be generated is monaural, the mode flag indicating the monaural sounding mode, the first waveform designation information used for generating the musical sound, the F number, and Forming timbre control data including a characteristic parameter, and setting the storage area corresponding to the sounding unit assigned in the sound source register to perform a process of instructing the start of sounding to the assigned sounding unit; In response to a sounding start instruction for one sounding unit from the control unit, the sound source unit is set in the sound source register if the mode flag of the sounding unit stored in the sound source register indicates a stereo sounding mode. Lch (or Rch) waveform data indicated by the first waveform designation information of the sound generation unit and Rch ( Or Lch) waveform data is read from the waveform memory at the speed indicated by the F number of the sound generation unit, and the respective tone characteristics of the read Lch waveform data and Rch waveform data are set in the tone generator register. If control is performed based on the characteristic control parameter of the sound generation unit to form an Lch tone signal and an Rch tone signal, and the mode flag of the sound generation unit stored in the tone generator register indicates the monaural sound mode The mono waveform data indicated by the first waveform designation information of the sounding unit stored in the tone generator register is read from the waveform memory at the speed indicated by the F number of the sounding unit, and the tone characteristics of the read mono waveform data are obtained. Then, a monaural tone signal is formed by controlling based on the characteristic control parameter of the sounding unit set in the tone generator register. It is the most important feature to perform a physical.

本発明によれば、発音指示が発生したとき、モノラル発音かステレオ発音かに関わらず、1つの発音単位を割当てればよいことになる。また、1つの発音単位で共通に使用するデータがあることから、ステレオ発音の場合、音源レジスタに設定すべきデータの量は、モノラル発音の場合の倍より少ない量となる。さらに、発音を開始する場合は、音源レジスタの設定後に、モノラル発音かステレオ発音かに関わらず、割り当てた発音単位に対して発音開始指示すればよく、ステレオ発音であっても、「2chを同時にノートオン」するような制御を行う必要はない。
さらにまた、Fナンバあるいは制御パラメータは、LchとRchとで共通に使われるので、ステレオ発音であっても、制御部は、音源レジスタのFナンバあるいは制御パラメータの値を1つだけ変更すればよく、値の変更を2ch同時に行うよう制御を行う必要はない。
なお、特性制御パラメータには、ピッチエンベロープ波形(ピッチEG波形)、音量エンベロープ波形(音量EG波形)、フィルタエンベロープ波形(フィルタEG波形)、低周波波形(LFO波形)の何れか1を制御するパラメータのいずれか1つが該当するが、それ以外に、リリース開始指示(ノートオフ)も該当する。
According to the present invention, when a sound generation instruction is generated, one sounding unit may be assigned regardless of whether the sound is monaural or stereo. In addition, since there is data commonly used in one sounding unit, in the case of stereo sounding, the amount of data to be set in the sound source register is less than double that in the case of monaural sounding. Furthermore, when starting sound generation, it is only necessary to indicate the start of sound generation for the assigned sound generation unit regardless of monaural sound or stereo sound after setting the sound source register. There is no need to perform control such as “note-on”.
Furthermore, since the F number or control parameter is commonly used by Lch and Rch, the control unit only needs to change the value of the F number or control parameter of the tone generator register by one even for stereophonic sound. It is not necessary to perform control so that the value is changed simultaneously for two channels.
The characteristic control parameter is a parameter for controlling any one of a pitch envelope waveform (pitch EG waveform), a volume envelope waveform (volume EG waveform), a filter envelope waveform (filter EG waveform), and a low frequency waveform (LFO waveform). Any one of the above is applicable, but in addition to this, a release start instruction (note-off) is also applicable.

本発明の実施例にかかる楽音生成装置の構成の概要を示すブロック図である。It is a block diagram which shows the outline | summary of a structure of the musical sound production | generation apparatus concerning the Example of this invention. 本発明の実施例にかかる楽音生成装置の詳細な構成を示すブロック図である。It is a block diagram which shows the detailed structure of the musical sound production | generation apparatus concerning the Example of this invention. 本発明の楽音生成装置における音源レジスタに記憶されるデータを示す図である。It is a figure which shows the data memorize | stored in the sound source register in the musical sound production | generation apparatus of this invention. 本発明の楽音生成装置における波形メモリに記憶される波形データのデータ構造を示す図である。It is a figure which shows the data structure of the waveform data memorize | stored in the waveform memory in the musical tone generator of this invention. 本発明の楽音生成装置におけるフラッシュメモリに記憶される波形管理データおよび音色データのデータ構造を示す図である。It is a figure which shows the data structure of the waveform management data and tone color data which are memorize | stored in the flash memory in the musical tone production | generation apparatus of this invention. 本発明の楽音生成装置において実行されるノートオンイベント処理のフローチャートである。It is a flowchart of the note-on event process performed in the musical tone generation device of the present invention. 本発明の楽音生成装置において実行されるノートオフイベント処理のフローチャートである。It is a flowchart of the note-off event process performed in the musical tone generating apparatus of the present invention. 本発明の楽音生成装置において実行されるピッチベンドイベント処理のフローチャートである。It is a flowchart of the pitch bend event process performed in the tone generation apparatus of the present invention.

本発明の実施例にかかる楽音生成装置の構成の概要を示すブロック図を図1に示す。
図1に示す本発明の楽音生成装置1においては、ステレオ発音する左チャンネル(以下、「Lch」という)と右チャンネル(以下、「Rch」という)の2つの発音チャンネル(以下、「チャンネル」を「ch」という)で1発音単位が構成されており、音源部20は、N(Nは1以上の整数)個の発音単位を備えている。例えば、音源部20における発音ch数が256chとされた場合に、発音単位数は発音ch数の半分の128とされる。そして、本発明にかかる楽音生成装置1において同時に複数の楽音を発生させるために、複数の発音単位での楽音発生処理をサンプリング周期毎に時分割で行うようにしている。さらに、各発音単位では2ch分の楽音波形サンプルが時分割で演算生成されることから、1サンプリング周期毎に発音単位の倍の楽音波形サンプルが演算生成されるようになる。ここで、本発明にかかる楽音生成装置1においては、発音単位とされるLchおよびRchにおける一部のパラメータを2ch間で共用するようにしている。すなわち、LchとRchとの発音ch毎に個別とされるタイプ1のパラメータは、音源レジスタ23に用意された発音単位の領域に各ch毎に独立して記憶される。また、LchとRchとの2ch間で共用されるタイプ2のパラメータは、音源レジスタ23に用意された発音単位の領域に共通して記憶される。すなわち、音源レジスタ23には、N個の発音単位に対応するN個の音色制御データを記憶する領域が用意されており、各音色制御データには、その音色で使用するタイプ1のパラメータとされるステレオのLch波形データを示すLch波形指定情報、Rchの波形データを示すRch波形指定情報と、タイプ2のパラメータとされるLchとRchの両chに共通の楽音のピッチを決定するFナンバと特性制御パラメータとが含まれている。
FIG. 1 is a block diagram showing an outline of the configuration of a musical tone generation apparatus according to an embodiment of the present invention.
In the musical sound generating apparatus 1 of the present invention shown in FIG. 1, two sound generation channels (hereinafter referred to as “channels”), ie, a left sound channel (hereinafter referred to as “Lch”) and a right channel (hereinafter referred to as “Rch”) are generated. The sound source unit 20 includes N (N is an integer equal to or greater than 1) sounding units. For example, when the number of sounding channels in the sound source unit 20 is 256, the number of sounding units is 128, which is half the number of sounding channels. In order to simultaneously generate a plurality of musical tones in the musical tone generating apparatus 1 according to the present invention, the musical tone generation processing for a plurality of sounding units is performed in a time division manner for each sampling period. Furthermore, since each tone generation unit calculates and generates musical sound waveform samples for two channels in a time-sharing manner, a musical sound waveform sample that is twice the sound generation unit is calculated and generated for each sampling period. Here, in the musical sound generating apparatus 1 according to the present invention, a part of the parameters of the Lch and Rch, which are sound generation units, are shared between the two channels. That is, the type 1 parameters that are individually set for each sound generation channel of Lch and Rch are stored in the sound generation unit area prepared in the sound source register 23 independently for each channel. The type 2 parameter shared between the two channels of Lch and Rch is stored in common in the sound generation unit area prepared in the tone generator register 23. That is, the tone generator register 23 is provided with an area for storing N timbre control data corresponding to N sounding units, and each timbre control data is a type 1 parameter used for the timbre. Lch waveform designation information indicating stereo Lch waveform data, Rch waveform designation information indicating Rch waveform data, and an F number for determining the pitch of a musical tone common to both Lch and Rch channels, which are type 2 parameters And characteristic control parameters.

波形メモリ21には、ステレオサンプリングされたLch波形データとRch波形データとの波形データペアが複数記憶されている。この波形データペアは音色毎および音域毎に記憶されており、ステレオ発音には適さない音色の波形データについては、モノラルサンプリングされたモノ波形データが波形メモリ21に記憶されている。
この波形メモリ21に記録されている多数の波形データのデータ構造(メモリマップ)を図4に示す。図4に示すデータ構造において、波形データWD1mはモノラルの波形データであり、波形データWD2slとWD2srとはステレオの波形データペアであり、このうちのWD2slはLch波形データであり、WD2srはRch波形データである。また、同様に波形データWD3slとWD3srとはステレオの他の波形データペアであり、このうちのWD3slはLch波形データであり、WD3srはRch波形データである。波形メモリ21には、このようなモノラルの波形データおよびステレオの波形データペアが多数記録されている。Lch波形データとRch波形データは、1つずつを見れば1つの波形データであり、モノラルの波形データと何ら違いがあるわけではない。従って、Lch波形データとRch波形データの何れか一方だけを、モノラルの波形データとして読み出すこともできる。
The waveform memory 21 stores a plurality of waveform data pairs of stereo-sampled Lch waveform data and Rch waveform data. This waveform data pair is stored for each tone color and tone range, and monaural sampled mono waveform data is stored in the waveform memory 21 for waveform data of a tone color that is not suitable for stereo sound generation.
A data structure (memory map) of a large number of waveform data recorded in the waveform memory 21 is shown in FIG. In the data structure shown in FIG. 4, the waveform data WD1m is monaural waveform data, the waveform data WD2sl and WD2sr are stereo waveform data pairs, of which WD2sl is Lch waveform data and WD2sr is Rch waveform data. It is. Similarly, the waveform data WD3sl and WD3sr are other waveform data pairs in stereo, of which WD3sl is Lch waveform data and WD3sr is Rch waveform data. In the waveform memory 21, a large number of such monaural waveform data and stereo waveform data pairs are recorded. Lch waveform data and Rch waveform data are one waveform data when viewed one by one, and are not different from monaural waveform data. Therefore, only one of the Lch waveform data and the Rch waveform data can be read as monaural waveform data.

また、位相発生部111は、時分割で、複数の発音単位の各々について、音源レジスタ23に記憶された当該発音単位のFナンバを累算することにより、当該発音単位のLchとRchとの両chに共通の位相を発生する。各発音単位の該累算は、制御部122から受付部117aが受け付けた当該発音単位の発音開始指示をトリガとして開始される。なお、受付部117aは、複数の発音単位の各々について相互に独立して、発音開始指示を受け付ける。
さらに、波形読出部112は、時分割で、複数の発音単位の各々について、位相発生部111から供給される当該発音単位の位相と、音源レジスタ23に記憶された当該発音単位のLch波形指定情報とに基づいて、波形メモリ21から1つのLch波形データを読み出すとともに、同じく位相発生部111から供給される位相と、音源レジスタ23に記憶された当該発音単位のRch波形指定情報とに基づいて、波形メモリ21から1つのRch波形データを読み出している。
Further, the phase generation unit 111 accumulates the F number of the sounding unit stored in the sound source register 23 for each of the plurality of sounding units in a time division manner, so that both the Lch and Rch of the sounding unit are obtained. A common phase is generated for ch. The accumulation of each sounding unit is started with a sounding start instruction of the sounding unit received by the receiving unit 117a from the control unit 122 as a trigger. Note that the reception unit 117a receives a sound generation start instruction independently of each other for each of the plurality of sound generation units.
Further, the waveform reading unit 112 time-divisionally, for each of a plurality of sounding units, the phase of the sounding unit supplied from the phase generating unit 111 and the Lch waveform designation information of the sounding unit stored in the sound source register 23. Based on the above, one Lch waveform data is read from the waveform memory 21, and also based on the phase supplied from the phase generator 111 and the Rch waveform designation information of the sound generation unit stored in the sound source register 23, One Rch waveform data is read from the waveform memory 21.

さらにまた、制御波形発生部116は、時分割で、複数の発音単位の各々について、音源レジスタ23に記憶された当該発音単位の制御波形パラメータに基づいて値が時間的に変化する、当該発音単位のLchとRchとの両chに共通の特性制御波形を発生する。制御波形発生部116により発生された特性制御波形は特性制御部113に供給され、この特性制御波形に基づいてLch波形データとRch波形データの楽音特性をそれぞれ制御することにより、当該発音単位のLchの楽音信号とRchの楽音信号とが形成される。制御波形発生部116により発生される特性制御波形には、楽音のピッチ変化を制御するピッチエンベロープ波形(ピッチEG波形)、楽音の音量変化を制御する音量エンベロープ波形(音量EG波形)、楽音の周波数特性の変化を制御するフィルタエンベロープ波形(フィルタEG波形)、楽音のピッチや音量に低周波の変調を加える低周波波形(LFO波形)がある。また、制御波形発生部116により発生されたLFO波形を位相発生部111に供給することにより、楽音信号にビブラートを付与することができ、このLFO波形を特性制御部113に供給することにより、楽音信号にワウワウやトレモロを付与することができる。   Furthermore, the control waveform generation unit 116 time-divides each of the plurality of sounding units, the sounding unit whose value changes with time based on the control waveform parameter of the sounding unit stored in the sound source register 23. A common characteristic control waveform is generated for both Lch and Rch. The characteristic control waveform generated by the control waveform generation unit 116 is supplied to the characteristic control unit 113, and the tone characteristics of the Lch waveform data and the Rch waveform data are controlled based on the characteristic control waveform, respectively. Musical tone signals and Rch musical tone signals are formed. The characteristic control waveform generated by the control waveform generator 116 includes a pitch envelope waveform (pitch EG waveform) for controlling the pitch change of the musical tone, a volume envelope waveform (volume EG waveform) for controlling the volume change of the musical tone, and the frequency of the musical tone. There are a filter envelope waveform (filter EG waveform) that controls changes in characteristics, and a low frequency waveform (LFO waveform) that applies low frequency modulation to the pitch and volume of a musical tone. Further, by supplying the LFO waveform generated by the control waveform generator 116 to the phase generator 111, vibrato can be added to the musical sound signal. By supplying this LFO waveform to the characteristic controller 113, the musical sound A wah wah or tremolo can be added to the signal.

ここで、制御部122がMIDI、鍵盤、あるいはシーケンサ等からの演奏情報を受けて、新たな楽音の発音を指示する発音指示命令(ノートオン)を受けると、制御部122において、ステレオ発音あるいはモノラル発音にかかわらずN発音単位の何れか1つを発音指示された楽音の生成に割り当てる処理が行われる(後述するステップS11〜S15)。次いで、制御部122において発音指示された楽音の生成に使用するLch波形指定情報、Rch波形指定情報、Fナンバ、および、特性制御パラメータを含む音色制御データを形成して、割り当てた発音単位に対応する音源レジスタ23の記憶領域に設定する(同ステップS16、S17)。そして、受付部117aに割り当てた発音単位の発音の開始を指示する(同ステップS18)。ステレオ発音の場合には、当該発音単位の2chに対して、発音開始が指示されることになる。これにより、受付部117aが受け付けた発音単位の発音開始指示をトリガとして、位相発生部111は発音単位のFナンバの累算を開始して、当該発音単位のLchとRchとの両chに共通の位相を発生する。発生された位相が供給される波形読出部112は、位相発生部111から供給された当該発音単位の位相と、音源レジスタ23に記憶された当該発音単位のLch波形指定情報とに基づいて、波形メモリ21から1つのLch波形データを読み出すと共に、位相発生部111から供給された位相と、音源レジスタ23に記憶された当該発音単位のRch波形指定情報とに基づいて、波形メモリ21から1つのRch波形データを読み出す。   Here, when the control unit 122 receives performance information from MIDI, a keyboard, a sequencer or the like and receives a sound generation instruction command (note-on) for instructing the sound of a new musical sound, the control unit 122 performs stereo sound generation or monaural. Regardless of the sound generation, a process of assigning any one of the N sound generation units to the generation of the musical sound instructed to sound is performed (steps S11 to S15 described later). Next, timbre control data including Lch waveform designation information, Rch waveform designation information, F number, and characteristic control parameters used to generate a musical tone instructed to be generated by the control unit 122 is formed to correspond to the assigned pronunciation unit. Is set in the storage area of the tone generator register 23 (steps S16 and S17). Then, the reception unit 117a is instructed to start sound generation in the sound generation unit assigned (step S18). In the case of stereo sounding, the sounding start is instructed to 2ch of the sounding unit. As a result, using the sound generation start instruction of the sound generation unit received by the reception unit 117a as a trigger, the phase generation unit 111 starts accumulating the F number of the sound generation unit and is common to both the Lch and Rch of the sound generation unit. The phase is generated. The waveform reading unit 112 to which the generated phase is supplied is based on the phase of the sounding unit supplied from the phase generating unit 111 and the Lch waveform designation information of the sounding unit stored in the sound source register 23. One Lch waveform data is read from the memory 21, and one Rch is read from the waveform memory 21 on the basis of the phase supplied from the phase generator 111 and the Rch waveform designation information of the sounding unit stored in the sound source register 23. Read waveform data.

波形読出部112により読み出されたLch波形データとRch波形データとは、その楽音特性が制御波形発生部116により発生された発音中に時間変化する特性制御波形に基づいてそれぞれ制御されて、当該発音単位のLchの楽音波形サンプルとRchの楽音波形サンプルとが形成される。特性制御部113から発音単位毎のLchの楽音波形サンプルとRchの楽音波形サンプルとが時分割でステレオ構成の累算部(MIX)114のLch側とRch側にそれぞれ出力され、MIX114では、1サンプリング周期内において割り当てられた発音単位数のLch側に出力された楽音波形サンプルとRch側に出力された楽音波形サンプルとがそれぞれ累算される。MIX114からは、1サンプリング周期である1DAC周期(デジタル・アナログ変換器(DAC)115の変換周期)毎に、全ての発音単位にわたって累算されたLchの楽音波形サンプルとRchの楽音波形サンプルとが、DAC115に出力される。ステレオ構成のDAC115では1DAC周期毎に、累算されたLchの楽音波形サンプルとRchの楽音波形サンプルとがアナログのLchの楽音信号とRchの楽音信号に変換されて、ステレオ構成のサウンドシステム22(アンプ及びスピーカ)からステレオの楽音信号が放音される。   The Lch waveform data and the Rch waveform data read by the waveform reading unit 112 are respectively controlled based on a characteristic control waveform whose tone characteristics change over time during sound generation generated by the control waveform generation unit 116, and An Lch musical sound waveform sample and an Rch musical sound waveform sample of the sound generation unit are formed. The Lch musical sound waveform sample and the Rch musical sound waveform sample for each sounding unit are output from the characteristic control unit 113 to the Lch side and the Rch side of the stereo configuration accumulation unit (MIX) 114 in a time division manner. The musical sound waveform samples output to the Lch side and the musical sound waveform samples output to the Rch side of the number of sounding units allocated within the sampling period are accumulated. From the MIX 114, an Lch musical sound waveform sample and an Rch musical sound waveform sample accumulated over all sounding units are obtained every 1 DAC period (conversion period of the digital-to-analog converter (DAC) 115), which is one sampling period. , Output to the DAC 115. The stereo DAC 115 converts the Lch musical sound sample and the Rch musical sound sample accumulated for each DAC period into an analog Lch musical signal and an Rch musical signal, and the stereo sound system 22 ( A stereo tone signal is emitted from an amplifier and a speaker.

本発明にかかる楽音生成装置1において発音ch数が256chとされ発音単位数が128とされた場合における位相発生部111、波形読出部112、制御波形発生部116、特性制御部113においてステレオ発音時に必要な処理スロット(時分割処理のタイムスロット)の数が各ブロックに括弧書きの数字で示されている。すなわち、位相発生部111は発音単位毎に2ch共通の位相を生成することから、位相の処理スロット数は128となる。波形読出部112は、発音単位毎の2chについてそれぞれ波形データを波形メモリ21から読み出すことから、波形データの処理スロット数は256となる。また、制御波形発生部116は、発音単位毎に2ch共通の制御波形を生成することから、制御波形の処理スロット数は128となり、特性制御部113は、発音単位毎の2chについてそれぞれ波形データの楽音特性を制御することから、楽音特性を制御する処理スロット数は256となる。   When the number of sounding channels is 256 and the number of sounding units is 128 in the musical sound generating device 1 according to the present invention, the phase generator 111, the waveform reading unit 112, the control waveform generator 116, and the characteristic controller 113 at the time of stereo sounding. The number of required processing slots (time slot for time division processing) is indicated in parentheses in each block. That is, since the phase generation unit 111 generates a phase common to 2ch for each sound generation unit, the number of phase processing slots is 128. Since the waveform reading unit 112 reads the waveform data from the waveform memory 21 for each of the two channels for each sound generation unit, the number of processing slots of the waveform data is 256. Further, since the control waveform generation unit 116 generates a control waveform common to 2ch for each sounding unit, the number of processing slots of the control waveform is 128, and the characteristic control unit 113 stores waveform data for 2ch for each sounding unit. Since the tone characteristics are controlled, the number of processing slots for controlling the tone characteristics is 256.

ところで、モノラル発音が発音単位に対して発音指示された場合は、波形読出部112はLch波形指定情報(あるいはRch波形指定情報)と位相発生部111からの位相に基づいて1つのモノ波形データを波形メモリ21から読み出すようになる。すなわち、2chの発音単位において1chの波形データのみが読み出される。波形読出部112により読み出されたモノ波形データは、特性制御部113において制御波形発生部116から供給された発音中に時間変化する特性制御波形により楽音特性が制御されてモノラルの楽音波形サンプルが形成されてMIX114のLch側とRch側に出力される。上述したように、MIX114とDAC115およびサウンドシステム22がステレオ構成とされており、特性制御部113は、発音単位の1chから同じモノラルの楽音波形サンプルをパンパラメータに基づく音量でMIX114のLch側とRch側に出力する。このLch側とRch側に出力された楽音波形サンプルは、MIX114により他の発音単位においてLch側とRch側に出力された楽音サンプルとそれぞれ累算されて、DAC115に出力される。ステレオ構成のDAC115では1DAC周期毎に、累算されたLchとRchとの楽音波形サンプルがアナログのLchとRchとの楽音信号に変換されて、ステレオ構成のサウンドシステム22から楽音信号が放音される。この場合、ステレオ発音のステレオ信号とモノラル発音のモノラル信号とが混在してサウンドシステム22から放音されるようになる。   By the way, when a monaural sound is instructed to be generated for a sound generation unit, the waveform reading unit 112 outputs one mono waveform data based on the Lch waveform designation information (or Rch waveform designation information) and the phase from the phase generation unit 111. Reading from the waveform memory 21 is started. That is, only 1ch waveform data is read out in 2ch sounding units. The mono waveform data read by the waveform readout unit 112 is controlled by the characteristic control unit 113 by the characteristic control waveform that changes in time during the sound generation supplied from the control waveform generation unit 116 in the characteristic control unit 113, so that a monaural musical sound waveform sample is obtained. It is formed and output to the Lch side and the Rch side of the MIX 114. As described above, the MIX 114, the DAC 115, and the sound system 22 have a stereo configuration, and the characteristic control unit 113 performs the same monaural musical sound waveform sample from 1ch of the sound generation unit on the Lch side and Rch side of the MIX 114 at a volume based on the pan parameter. Output to the side. The musical sound waveform samples output to the Lch side and the Rch side are respectively accumulated by the MIX 114 with the musical sound samples output to the Lch side and the Rch side in other sound generation units, and output to the DAC 115. In the stereo DAC 115, the accumulated Lch and Rch musical sound waveform samples are converted into analog Lch and Rch music signals for each DAC period, and the music signal is emitted from the stereo sound system 22. The In this case, a stereo signal of stereo sound and a monaural signal of monaural sound are mixed and emitted from the sound system 22.

上記したように、本発明にかかる楽音生成装置1においては、発音単位とされるLchとRchとに共通の位相信号に基づいて、Lch楽音信号とRch楽音信号の2つの楽音信号を形成するので、位相発生部111が発生する位相の数が生成可能な楽音数の半分とされる発音単位の数となり、位相発生部111の処理量を減らし回路規模を小さくすることができる。一般的に、楽音生成には精密なピッチ制御が要求されており、位相発生部では、20ビットを超えるビット長の位相が生成されるため、回路規模も大きくなりがちである。また、制御波形発生部116は、各発音単位の特性制御パラメータに基づいて、LchとRchに共通の制御波形を発生することから、制御波形発生部116で発生する特性制御波形の数が生成可能な楽音数の半分とされる発音単位の数となり、制御波形発生部116の処理量を減らし回路規模を小さくすることができる。さらに、発音割当処理は、発音ch数の半分の発音単位に対して行われるので、トランケート処理を行う場合でも制御部122にかかる処理負荷を小さくすることができる。発音割当では、割り当て対象となる発音chないし発音単位の数に応じて、その処理にかかる処理負荷の量が指数関数的に増大する。さらに、Fナンバ、および、特性制御パラメータについても発音単位とされる2chにおいて共通とされ、発音単位毎に1つだけ設定すればよいことから、制御部122が音源レジスタ23に特性制御パラメータを設定する時間を短縮することができ、また、音源レジスタ23の規模を小さくできる。   As described above, in the musical sound generating apparatus 1 according to the present invention, two musical sound signals of the Lch musical sound signal and the Rch musical sound signal are formed on the basis of the phase signal common to the Lch and Rch, which are sounding units. Thus, the number of phases generated by the phase generator 111 becomes the number of sounding units that is half the number of musical tones that can be generated, and the processing amount of the phase generator 111 can be reduced and the circuit scale can be reduced. Generally, precise pitch control is required for tone generation, and the phase generation unit generates a phase with a bit length exceeding 20 bits, so the circuit scale tends to increase. Further, since the control waveform generator 116 generates a common control waveform for Lch and Rch based on the characteristic control parameter of each sound generation unit, the number of characteristic control waveforms generated by the control waveform generator 116 can be generated. Therefore, the number of sounding units is reduced to half the number of musical tones, and the processing amount of the control waveform generator 116 can be reduced and the circuit scale can be reduced. Furthermore, since the sound generation assignment process is performed for sound generation units that are half the number of sound generation channels, the processing load on the control unit 122 can be reduced even when the truncation process is performed. In the sound assignment, the amount of processing load for the processing increases exponentially according to the number of sounding channels or sounding units to be assigned. Further, the F number and the characteristic control parameter are common to the two channels that are the sounding unit, and only one setting is required for each sounding unit, so the control unit 122 sets the characteristic control parameter in the sound source register 23. Time can be shortened, and the scale of the tone generator register 23 can be reduced.

そして、本発明にかかる楽音生成装置1は、ステレオ発音およびモノラル発音をすることができるが、モノラル発音かステレオ発音かに関わらず、発音指示が発生したときに、1つの発音単位を割当てればよい。また、楽音生成装置1においては、ステレオ発音する場合の各発音単位に関して、Lch波形データとRch波形データとを波形メモリ21から波形読出部112が、同じFナンバに応じた速度で読み出し、特性制御部113において同じ特性制御パラメータ(ないし特性制御パラメータに基づく特性制御波形)で特性制御して、音高及び楽音特性が同様に制御されたLch楽音信号とRch楽音信号を形成している。この場合、LchとRchとに共通の位相信号に基づいて、Lch楽音信号とRch楽音信号の2つの楽音信号を形成するので、位相発生部111が発生する位相の数は、生成可能な楽音数の半分とされる発音単位の数となり、位相発生部111の処理量を減らし回路規模を小さくすることができる。さらに、制御波形発生部116は、各発音単位の特性制御パラメータに基づいて、LchとRchに共通の制御波形を発生することから、制御波形発生部116で発生する特性制御波形の数は、生成可能な楽音数の半分とされる発音単位の数となり、制御波形発生部116の処理量を減らし回路規模を小さくすることができる。なお、この特性制御波形は、ピッチエンベロープ波形(ピッチEG波形)、音量エンベロープ波形(音量EG波形)、フィルタエンベロープ波形(フィルタEG波形)、低周波波形(LFO波形)の何れかとされる。   The musical sound generating apparatus 1 according to the present invention can produce stereo and monaural pronunciations, but if a sounding instruction is generated regardless of whether the sounding is monophonic or stereophonic, one sounding unit is assigned. Good. In the musical sound generating device 1, the Lch waveform data and the Rch waveform data are read from the waveform memory 21 by the waveform reading unit 112 at a speed corresponding to the same F number for each sound generation unit in the case of stereo sounding, and the characteristic control is performed. The unit 113 performs characteristic control with the same characteristic control parameter (or characteristic control waveform based on the characteristic control parameter) to form an Lch tone signal and an Rch tone signal in which the pitch and tone characteristics are similarly controlled. In this case, since the two tone signals of the Lch tone signal and the Rch tone signal are formed based on the phase signal common to the Lch and the Rch, the number of phases generated by the phase generator 111 is the number of tones that can be generated. Therefore, the number of sound generation units is reduced to half of the number of units, so that the processing amount of the phase generator 111 can be reduced and the circuit scale can be reduced. Further, since the control waveform generator 116 generates a common control waveform for Lch and Rch based on the characteristic control parameter of each sounding unit, the number of characteristic control waveforms generated by the control waveform generator 116 is generated. The number of sounding units is reduced to half the number of possible musical sounds, and the processing amount of the control waveform generator 116 can be reduced and the circuit scale can be reduced. The characteristic control waveform is any one of a pitch envelope waveform (pitch EG waveform), a volume envelope waveform (volume EG waveform), a filter envelope waveform (filter EG waveform), and a low frequency waveform (LFO waveform).

上記したように、Fナンバあるいは特性制御パラメータは、LchとRchとで共通に使われるので、ステレオ発音であっても音源レジスタ23に設定すべきデータの量は、モノラル発音の場合の倍より少ない量となる。このことから、制御部122にかかる設定時間を短くすることができる。さらに、音源レジスタ23に各種パラメータを設定した後では、モノラル発音かステレオ発音かに関わらず、割り当てた発音単位に対して発音開始指示すればよい。すなわち、ステレオ発音であってもLchおよびRchの2chを同時にノートオンするような制御をわざわざ行う必要はない。さらにまた、Fナンバあるいは特性制御パラメータは、LchとRchとで共通に使われるので、ステレオ発音であっても制御部122は、音源レジスタ23の1つの発音単位に係るFナンバあるいは特性制御パラメータの値をリアルタイム変更すればよく、2つの発音chに係る2つのパラメータ値の変更を同時にリアルタイム変更する必要がないことから、制御部122にかかる処理量を少なくすることができる。
図1に示す本発明の楽音生成装置1は楽音生成用の集積回路により実現されているが、上記説明したように一部のブロックの処理量を少なくすることができることから、発音チャンネルの数を増加しても楽音を生成する音源部20の集積回路の規模が大きくなることを極力抑制できるようになる。
As described above, since the F number or the characteristic control parameter is commonly used for Lch and Rch, the amount of data to be set in the sound source register 23 is smaller than that in the case of monaural sounding even in stereo sounding. It becomes quantity. For this reason, the set time for the control unit 122 can be shortened. Further, after various parameters are set in the tone generator register 23, the sounding start instruction may be given to the assigned sounding unit regardless of monaural sounding or stereo sounding. That is, it is not necessary to bother to perform control to simultaneously note-on Lch and Rch 2ch even for stereo sounding. Furthermore, since the F number or the characteristic control parameter is used in common for Lch and Rch, the control unit 122 can control the F number or characteristic control parameter for one sounding unit of the tone generator register 23 even in the case of stereo sounding. It is only necessary to change the value in real time, and it is not necessary to change the two parameter values related to the two sounding channels simultaneously in real time, so that the amount of processing applied to the control unit 122 can be reduced.
Although the musical tone generating apparatus 1 of the present invention shown in FIG. 1 is realized by an integrated circuit for generating musical sounds, the processing amount of some blocks can be reduced as described above. Even if it increases, it becomes possible to suppress as much as possible the increase in the scale of the integrated circuit of the sound source unit 20 that generates musical sounds.

次に、図1に示す本発明にかかる楽音生成装置1の詳細な構成を図2に示す。図2に示す楽音生成装置1は、図1に示す楽音生成装置1と同様の楽音生成動作を行うと共に同様の作用効果を奏しており、図1と図2とで同じ番号が付与されたブロックは、基本的に、相互に同じ機能を果たす。
図2に示す楽音生成装置1は、上記の通りステレオ発音するLchとRchとの2つのchで1発音単位が構成されており、音源部20は、N(Nは1以上の整数)個の発音単位を備えている。例えば、音源部20における発音ch数が256chとされた場合に、発音単位数は発音ch数の半分の128とされる。そして、本発明にかかる楽音生成装置1において同時に複数の楽音を発生させるために、複数の発音単位での楽音発生処理を時分割で行うようにしている。各発音単位では2chのそれぞれにおいて楽音波形サンプルが生成されることから、1サンプリング周期毎に発音単位の倍の楽音波形サンプルが時分割で演算生成されるようになる。
Next, FIG. 2 shows a detailed configuration of the musical tone generating apparatus 1 according to the present invention shown in FIG. The musical tone generation device 1 shown in FIG. 2 performs the same musical tone generation operation as that of the musical tone generation device 1 shown in FIG. 1 and has the same operational effects. The blocks assigned the same numbers in FIG. 1 and FIG. Basically perform the same function as each other.
In the musical sound generating device 1 shown in FIG. 2, one sounding unit is configured by two channels of Lch and Rch that generate stereo as described above, and the sound source unit 20 has N (N is an integer of 1 or more) pieces. Has pronunciation units. For example, when the number of sounding channels in the sound source unit 20 is 256, the number of sounding units is 128, which is half the number of sounding channels. In order to simultaneously generate a plurality of musical sounds in the musical sound generation apparatus 1 according to the present invention, the musical sound generation processing for a plurality of pronunciation units is performed in a time division manner. In each sound generation unit, musical sound waveform samples are generated in each of 2ch, so that a musical sound waveform sample that is twice the sound generation unit is calculated and generated in a time division manner for each sampling period.

図2に示す楽音生成装置1おいて、CPU10は楽音生成に関連する各種プログラムを実行することにより楽音生成装置1における楽音生成を始めとする様々な機能の動作を制御する制御部(Central Processing Unit)である。フラッシュROM(Read Only Memory)11は、CPU10が実行する楽音生成処理のプログラムや、音色データ等の各種データが格納される書き換え可能な不揮発性メモリである。RAM(Random Access Memory)12は楽音生成装置1における揮発性のメインメモリであり、CPU10のワークエリア等が設定される。また、操作子13は鍵盤等の演奏操作子および各種スイッチであり、各種スイッチを操作することにより楽音生成装置1に各種指示を与えることができる。さらに、表示器14は楽音生成時に各種情報を表示させる表示器である。通信I/O15は、外部から演奏情報等をとり込むことができるインタフェースであり、例えば外部とMIDIメッセージの送受信を行うMIDIインタフェースとされる。音源部20は、CPU10の制御に基づいて、波形メモリ21から楽音生成に必要とする波形データを読み出し、波形データの補間、エンベロープ付与、チャンネル累算(ミキシング)などの処理を行って、アナログの楽音波形信号として出力している。この図では、累算部(MIX)20iからサウンドシステム22までの矢印が2本とされ、ステレオ構成の2つのデータが通過することが明示されているが、その他の1本の矢印は、1つのデータが通過することを示している訳ではなく、時分割で複数の信号が通過する。例えば、Fナンバ発生部(FG)20aからフェーズ発生器(PG)20bには、128の発音単位に対応する128のデータが時分割で供給される。音源部20から出力された楽音波形信号は、サウンドシステム22に供給されてステレオの楽音が放音されるようになる。なお、各部はバスライン16を介して接続されている。   In the musical sound generating device 1 shown in FIG. 2, the CPU 10 executes various programs related to musical sound generation to control operations of various functions including musical sound generation in the musical sound generating device 1 (Central Processing Unit). ). A flash ROM (Read Only Memory) 11 is a rewritable nonvolatile memory in which various programs such as a tone generation process program executed by the CPU 10 and timbre data are stored. A RAM (Random Access Memory) 12 is a volatile main memory in the musical tone generating apparatus 1 and a work area of the CPU 10 is set. The operation element 13 is a performance operation element such as a keyboard and various switches, and various instructions can be given to the tone generator 1 by operating the various switches. Furthermore, the display device 14 is a display device for displaying various types of information when generating musical sounds. The communication I / O 15 is an interface that can take in performance information and the like from the outside. For example, the communication I / O 15 is a MIDI interface that transmits and receives MIDI messages with the outside. Based on the control of the CPU 10, the tone generator unit 20 reads out waveform data necessary for musical tone generation from the waveform memory 21, performs processing such as waveform data interpolation, envelope assignment, channel accumulation (mixing), and the like. It is output as a musical sound waveform signal. In this figure, there are two arrows from the accumulation unit (MIX) 20i to the sound system 22, and it is clearly shown that two pieces of data of the stereo configuration pass, but the other one arrow is 1 It does not indicate that one piece of data passes, but a plurality of signals pass in time division. For example, 128 data corresponding to 128 tone generation units are supplied from the F number generator (FG) 20a to the phase generator (PG) 20b in a time division manner. The musical sound waveform signal output from the sound source unit 20 is supplied to the sound system 22 so that a stereo musical sound is emitted. Each unit is connected via a bus line 16.

音源部20における音源レジスタ23には、128の発音単位に対応する128の音色制御データが設定される。それぞれの音色制御データはノートオンの処理を行うCPU10により形成されており、音源レジスタ20の発音単位毎に用意された領域に設定される。この音源レジスタ23に領域に設定される音色制御データは、図3(a)に示す発音単位毎のデータと、図3(b)に示す発音単位におけるLchとRchとの発音ch(256ch)毎のデータから構成されている。
図3(a)に示す発音単位毎のデータは、セント値で表されたピッチシフトデータ(PS)、LFO周波数、PMデプス、FMデプス、AMデプスを含むLFOパラメータ(LFOPs)、複数の各ステートのPEGレートおよびPEGレベルからなるPEGパラメータ(PEGPs)、複数の各ステートのFEGレートおよびFEGレベルからなるFEGパラメータ(FEGPs)、複数の各ステートのAEGレートおよびAEGレベルからなるAEGパラメータ(AEGPs)、Lchのパンデータ(PAN(L))およびRchのパンデータ(PAN(R))からなるパンデータ(PANs)、ステレオ発音モードかモノラル発音モードかのいずれかのモードを示すモードフラグ(Mode)とされている。ここで、ピッチシフトデータ(PS)は、波形メモリから読み出す波形データの音高をシフトする量を制御するデータであり、セントスケールにおけるFナンバである。後述するFナンバ発生部(FG)20aでは、周波数比のリニアスケールにおけるFナンバを発生するが、このPSは、その発生されるFナンバの値を決定する主因子である。PSの分解能は1セントであり、リアルタイムに変更してもノイズを生じないように、値の変化をスムーズ化する補間器が設けられている。また、これらのパラメータにおいて小文字の「s」が付されているパラメータは、それぞれ、単一のパラメータではなく、複数のパラメータで構成されることを示している。
In the sound source register 23 in the sound source unit 20, 128 timbre control data corresponding to 128 sound units are set. Each tone color control data is formed by the CPU 10 that performs note-on processing, and is set in an area prepared for each tone generation unit of the tone generator register 20. The tone color control data set in the area of the tone generator register 23 includes data for each tone generation unit shown in FIG. 3A and each tone generation channel (256 ch) of Lch and Rch in the tone generation unit shown in FIG. It consists of data.
The data for each sound generation unit shown in FIG. 3A includes pitch shift data (PS) expressed in cent values, LFO frequency, PM depth, FM depth, LFO parameters including AM depth, and a plurality of states. PEG parameters (PEGPs) composed of PEG rates and PEG levels, FEG parameters (FEGPs) composed of FEG rates and FEG levels in a plurality of states, AEG parameters (AEGPs) composed of AEG rates and AEG levels in a plurality of states, Pan data (PANs) composed of Lch pan data (PAN (L)) and Rch pan data (PAN (R)), a mode flag (Mode) indicating a stereo sound mode or a monaural sound mode, and Has been. Here, the pitch shift data (PS) is data for controlling the amount by which the pitch of the waveform data read from the waveform memory is shifted, and is an F number in the cent scale. An F number generation unit (FG) 20a described later generates an F number on a linear scale of frequency ratio, and this PS is a main factor that determines the value of the generated F number. The resolution of PS is 1 cent, and an interpolator is provided to smooth the change of the value so that no noise is generated even if it is changed in real time. In addition, in these parameters, parameters with a lowercase “s” are not composed of a single parameter, but are composed of a plurality of parameters.

また、図3(b)に示す発音単位のLchとRchの各発音chのデータは、当該chの波形指定情報である先頭アドレス(WS)、ループ先頭アドレス(LS)、末尾アドレス(WE)からなる波形アドレス用パラメータ(WAPs)と、波形データが圧縮されている場合のその解除を制御する圧縮情報と、ループ読み出しを制御するループ情報等を含むその他のパラメータとされる。モノラル発音モードでは、Lchの波形指定情報によってモノラル波形データが指定され、Rchの波形指定情報は使用されない。
これら3つのアドレスWS、LS、WEは、それぞれ、波形メモリの絶対アドレスとされているが、何れか1つを絶対アドレスとして残し、残りの2つをその絶対アドレスからの相対アドレスとしてもよい。例えば、ループ先頭アドレスLSを絶対アドレスとし、先頭アドレスWSと末尾アドレスWEを、それぞれ、ループ先頭アドレスLSからの相対アドレスとしてもよい。その場合、相対アドレスとされた2つのアドレスは、発音単位の2ch間で共通にすることができ、発音単位毎のデータ(図3(a))に移動することができる。すなわち、本発明の波形指定情報は、3つのアドレスWS、LS、WEのうちの、少なくとも1つの絶対アドレスとされているアドレスに対応する。
さらに、音源レジスタ23には、図3(a)、図3(b)に示す発音単位毎の領域とは別に、各発音単位GUに対して発音の開始を指示するための発音開始フラグGT(GU)の領域と、リリースの開始を指示するためのリリース開始フラグRT(GU)の領域とが含まれている。
Further, the data of the sound generation channels of the Lch and Rch in the sound generation unit shown in FIG. 3B is obtained from the start address (WS), the loop start address (LS), and the end address (WE) which are the waveform designation information of the channel. And other parameters including waveform information parameters (WAPs), compression information for controlling the release when the waveform data is compressed, loop information for controlling loop reading, and the like. In the monaural sound generation mode, monaural waveform data is designated by the Lch waveform designation information, and the Rch waveform designation information is not used.
These three addresses WS, LS, and WE are respectively absolute addresses of the waveform memory, but any one of them may be left as an absolute address and the remaining two may be relative addresses from the absolute address. For example, the loop head address LS may be an absolute address, and the head address WS and the tail address WE may be relative addresses from the loop head address LS. In this case, the two addresses, which are relative addresses, can be shared between the two channels of the sound generation unit, and can be moved to the data for each sound generation unit (FIG. 3A). That is, the waveform designation information of the present invention corresponds to an address that is at least one of the three addresses WS, LS, and WE.
Further, in the tone generator register 23, apart from the region for each sounding unit shown in FIGS. 3A and 3B, a sounding start flag GT (instructing each sounding unit GU to start sounding) GU) area and a release start flag RT (GU) area for instructing the start of release.

フラッシュROM11には、波形メモリ21に記録されている複数の波形データを管理する複数の波形管理データと、楽音生成装置1で選択可能な複数の音色のパラメータセットである複数の音色データとが格納されている。本実施形態の楽音発生装置1はマルチパート音源であり、パート毎に、前記複数の音色の中から1つの音色を選択して、当該パートの音色として設定することができる。そして、複数パートの演奏情報に応じて、パート毎に設定されている音色で楽音が生成される。この波形管理データのデータ構造を図5(a)に示し、音色データのデータ構造を図5(b)に示す。波形メモリ21から波形データを読み出す際には、音源パートに設定されている音色の音色データを参照して波形データを選択し、選択された波形データの波形管理データを用いて波形メモリから該選択された波形データを読み出す。   The flash ROM 11 stores a plurality of waveform management data for managing a plurality of waveform data recorded in the waveform memory 21 and a plurality of tone color data that are parameter sets of a plurality of tone colors that can be selected by the tone generator 1. Has been. The tone generator 1 of the present embodiment is a multi-part sound source, and for each part, one tone color can be selected from the plurality of tone colors and set as the tone color of the part. And according to the performance information of a plurality of parts, a musical tone is generated with a tone color set for each part. FIG. 5A shows the data structure of the waveform management data, and FIG. 5B shows the data structure of the timbre data. When reading the waveform data from the waveform memory 21, the waveform data is selected by referring to the tone color data set in the sound source part, and the waveform data is selected from the waveform memory using the waveform management data of the selected waveform data. Read the waveform data.

図5(a)に示す複数の波形管理データは、波形メモリ21から波形データを読み出すのに必要なデータであって、各波形管理データは、波形メモリ21に記憶されている各ステレオ波形データペア乃至モノラル波形データと対応している。WKD1はモノラルの波形データWD1mの波形管理データであり、WKD2は波形データWD2sl,WD2srのステレオ波形データペアの波形管理データであり、WKD3は波形データWD3sl,WD3srのステレオ波形データペアの波形管理データである。各波形管理データは、対応する波形データがステレオ波形データペアかモノラル波形データに関わらず同様のデータ構造を有しており、WKD2に展開されて示されているように、ステレオフラグ、波形アドレス情報1、波形アドレス情報2、基本ピッチ、ループ情報、圧縮情報から構成されている。ステレオフラグが「1」であれば、対応する波形データがステレオの波形データペアであり、「0」であれば、モノラルの波形データである。新規発音のために、フラグが立っている波形データが選択された場合は、その発音用に割り当てた発音単位の音源レジスタに、ステレオ発音モードを示すモードフラグ(Mode)が設定され、フラグが立っていない波形データが選択された場合は、モノラル発音モードを示すモードフラグ(Mode)が設定される。   The plurality of waveform management data shown in FIG. 5A is data necessary for reading the waveform data from the waveform memory 21, and each waveform management data is each stereo waveform data pair stored in the waveform memory 21. Corresponds to monaural waveform data. WKD1 is waveform management data of monaural waveform data WD1m, WKD2 is waveform management data of a stereo waveform data pair of waveform data WD2sl and WD2sr, and WKD3 is waveform management data of a stereo waveform data pair of waveform data WD3sl and WD3sr. is there. Each waveform management data has the same data structure regardless of whether the corresponding waveform data is a stereo waveform data pair or monaural waveform data. As shown in the expanded view of WKD2, as shown in FIG. 1, waveform address information 2, basic pitch, loop information, and compression information. If the stereo flag is “1”, the corresponding waveform data is a stereo waveform data pair, and if “0”, it is monaural waveform data. When waveform data with a flag set is selected for a new sound, a mode flag (Mode) indicating the stereo sound mode is set in the sound generator register of the sound unit assigned for that sound, and the flag is set. When waveform data that has not been selected is selected, a mode flag (Mode) indicating a monaural sound generation mode is set.

波形アドレス情報1は、ステレオフラグが「0」の場合、波形メモリ21の中のモノラル波形データの記憶位置を示し、「1」の場合、波形メモリ21中のLch波形データの記憶位置を示す情報であり、モノラル波形データ乃至Lch波形データの先頭アドレス、ループ先頭アドレス、および末尾アドレスの情報からなる。波形アドレス情報2は、ステレオフラグが「0」の場合、使用されない情報(Don’t Care)であり、「1」の場合、Rch波形データの記憶位置を示す情報であり、Rch波形データの先頭アドレス、ループ先頭アドレス、および末尾アドレスの情報からなる。基本ピッチは、波形データをピッチシフトなし(Fナンバ=1)で読み出したときの、その読み出された波形データが有するピッチを示す情報であり、ループ情報は、ループ読み出しをするか否かを示す情報や、アタック波形のエンドのピッチにループ波形のスタートのピッチを合わせるためのループ部のピッチを補正する情報等とされる。また、圧縮情報は、波形データが圧縮されているか否かおよび圧縮されている場合の圧縮方式を示す圧縮方式情報や、先頭のフレームの圧縮を解除するための圧縮係数情報であり、発音単位の発音開始時には、CPU10は、これらの情報を音源レジスタ23の当該発音単位の領域に設定し、その設定された情報に基づいて、波形アドレス発生部20c、読出&Cache部20d、デコーダ20e等が制御される。   The waveform address information 1 indicates the storage position of monaural waveform data in the waveform memory 21 when the stereo flag is “0”, and indicates the storage position of Lch waveform data in the waveform memory 21 when the stereo flag is “1”. It consists of information on the start address, loop start address, and end address of monaural waveform data to Lch waveform data. The waveform address information 2 is information (Don't Care) that is not used when the stereo flag is “0”, and is information that indicates the storage position of the Rch waveform data when the stereo flag is “1”. It consists of address, loop head address, and tail address information. The basic pitch is information indicating the pitch of the read waveform data when the waveform data is read without pitch shift (F number = 1), and the loop information indicates whether or not loop reading is performed. Information for correcting the pitch of the loop portion for adjusting the start pitch of the loop waveform to the pitch of the end of the attack waveform. The compression information is compression method information indicating whether or not the waveform data is compressed and a compression method when the waveform data is compressed, and compression coefficient information for releasing the compression of the first frame. At the start of sound generation, the CPU 10 sets these pieces of information in the region of the sound generation unit of the sound source register 23, and the waveform address generation unit 20c, the read & cache unit 20d, the decoder 20e, and the like are controlled based on the set information. The

また、図5(b)に示すように、フラッシュROM11には、複数の音色の複数の音色データTD1、TD2、TD3、・・・が格納されており、各音色の音色データはTD2に展開されて示されているように、音色名、波形選択情報と、LchとRchとに共通のPEGパラメータ、FEGパラメータ、AEGパラメータ、LFOパラメータと、その他のパラメータから構成されている。
波形選択情報は、発音指示に係る音高(ノート番号)や演奏強度(ベロシティ)に応じて、その発音指示に応じた楽音を生成するのに使用する波形データ(を読み出すための波形管理データ)を選択するための情報である。例えば、操作子13とされる鍵盤を弾いた際のノートオンに応じて、鍵盤パートに設定された音色の音色データの波形選択情報が、そのノートオンに付随するノート番号ないしベロシティで参照され、1つのステレオ波形データペアないしモノラル波形データに対応する波形管理データが選択される。
PEGパラメータ、FEGパラメータ、およびAEGパラメータは、それぞれ、複数ステートの折れ線形状を有する、ピッチEG波形、フィルタEG波形、および音量EG波形の制御するパラメータであって、各ステートのレートとレベルのパラメータ、および、ノート番号やベロシティなどに応じて一部のレートないしレベルを調整するためのパラメータからなる。音量EG波形の複数ステートは、例えば、アタック(ないしホールド)、第1ディケイ、第2ディケイ、サスティン、リリースの5ステートで構成され、アタック(ないしホールド)のレベルが、ベロシティに応じて増減される。LFOパラメータは、生成するLFO波形の周波数を制御するLFO周波数、楽音のピッチを変調するためのLFO波形の振幅(ピッチ変調の深さ)を制御するPMデプス、楽音の周波数特性を変調するためのLFO波形の振幅(フィルタ変調の深さ)を制御するFMデプス、楽音の振幅を変調するためのLFO波形の振幅(振幅変調の深さ)を制御するAMデプスの情報からなる。
5B, the flash ROM 11 stores a plurality of timbre data TD1, TD2, TD3,... Of a plurality of timbres, and the timbre data of each timbre is expanded to TD2. As shown, the tone color name, waveform selection information, PEG parameters common to Lch and Rch, FEG parameters, AEG parameters, LFO parameters, and other parameters are included.
Waveform selection information is waveform data (waveform management data for reading out) used to generate a musical sound corresponding to the sound generation instruction according to the pitch (note number) and performance intensity (velocity) related to the sound generation instruction. This is information for selecting. For example, the waveform selection information of the timbre data set in the keyboard part is referred to by the note number or velocity associated with the note-on in response to the note-on when the keyboard as the operation element 13 is played. Waveform management data corresponding to one stereo waveform data pair or monaural waveform data is selected.
The PEG parameter, the FEG parameter, and the AEG parameter are parameters that control the pitch EG waveform, the filter EG waveform, and the volume EG waveform, each having a multi-state polygonal line shape. It also consists of parameters for adjusting some rates or levels according to the note number or velocity. The plurality of states of the volume EG waveform are composed of, for example, five states of attack (or hold), first decay, second decay, sustain and release, and the attack (or hold) level is increased or decreased according to velocity. . The LFO parameter includes an LFO frequency for controlling the frequency of the LFO waveform to be generated, a PM depth for controlling the amplitude (depth of pitch modulation) for modulating the pitch of the musical sound, and a frequency characteristic for modulating the musical sound. It consists of FM depth for controlling the amplitude (depth of filter modulation) of the LFO waveform and AM depth for controlling the amplitude (depth of amplitude modulation) of the LFO waveform for modulating the amplitude of the musical sound.

楽音生成装置1において、楽音の発生開始を指示する新たなノートオンが検出されたとすると、CPU10は、図6に示すノートオンイベント処理を実行する。ノートオンイベント処理において、CPU10は、まず、発音割当処理を行うことにより新たなノートオンを空き発音単位に割り当て、音源レジスタ23における割り当てられた発音単位の領域(図3(a)、(b))に、新たなノートオンの各種パラメータからなる音色制御データを設定する。そして、CPU10が、その発音単位の発音指示(GT)を設定することにより、音源部20は、上記設定された音色制御データを用いて新たなノートオンに対応する楽音生成を、割り当てられた発音単位において開始する。ここで、モードフラグ(Mode)がステレオ発音のモードとされている場合は、音源部20からステレオの楽音信号が生成されてサウンドシステム22に出力され、モードフラグ(Mode)がモノラル発音のモードとされている場合は、音源部20からモノラルの楽音信号が生成されてサウンドシステム22に出力される。   If a new note-on instructing the start of musical tone generation is detected in the musical tone generating device 1, the CPU 10 executes a note-on event process shown in FIG. In the note-on event process, the CPU 10 first assigns a new note-on to an empty sounding unit by performing a sounding assignment process, and the assigned sounding unit area in the tone generator register 23 (FIGS. 3A and 3B). ), Tone color control data composed of various new note-on parameters is set. Then, when the CPU 10 sets a sound generation instruction (GT) for the sound generation unit, the sound source unit 20 generates a musical tone corresponding to a new note-on using the set tone color control data. Start in units. Here, when the mode flag (Mode) is set to the stereo sound generation mode, a stereo tone signal is generated from the sound source unit 20 and output to the sound system 22, and the mode flag (Mode) is set to the monaural sound mode. If so, a monaural musical sound signal is generated from the sound source unit 20 and output to the sound system 22.

このノートオンイベント処理を、さらに詳細に説明する。ノートオンは、新たな楽音の発音開始を指示する命令(MIDIメッセージ)であって、パラメータとして、何れのパートの命令であるかを示すパート番号と、生成すべき楽音の音高を示すノート番号と、強度を示すベロシティとを伴っている。例えば、操作子13とされる鍵盤で、何れかの鍵が押鍵されたときには、その鍵盤が制御するパートを示すパート番号と、その押下された鍵のノート番号と、押下速度を示すベロシティとを含むノートオンが生成される。複数パートの曲データの自動演奏の中では、各パートのノートオンが生成される。また、通信I/O15を介して外部機器からノートオンを受信する場合もある。
CPU10は、これら何れかのノートオンが検出されると、図6に示すノートオンイベント処理をスタートし、まず、ステップS10にて発生されたノートオンから、そのパート番号、ノート番号およびベロシティを取り出し、RAM12のワークエリアに確保された領域PTにパート番号を、領域NNにノート番号を、領域VLにベロシティをそれぞれ格納する。次いで、ステップS11にて全発音単位から発音割り当てされていない空き発音単位(Unit)を検出する処理が行われ、この検出する処理において空き発音単位が検出されたか否かがステップS12にて判断される。ここで、空き発音単位が検出されたと判断された場合は、ステップS13に進み、その空き発音単位のUnit番号を、RAM12のワークエリアに確保された領域AUに格納する。また、ステップS12にて空き発音単位が検出されないと判断された場合は、ステップS14に分岐してトランケートUnit決定処理を行い、決定されたトランケート発音単位のUnit番号を上記領域AUに格納する。
This note-on event process will be described in more detail. Note-on is a command (MIDI message) for instructing the start of a new musical tone, and as a parameter, a part number indicating which part is the command and a note number indicating the pitch of the musical tone to be generated And a velocity indicating strength. For example, when any key is pressed on the keyboard as the operation element 13, the part number indicating the part controlled by the keyboard, the note number of the pressed key, and the velocity indicating the pressing speed, A note-on containing is generated. In the automatic performance of music data of a plurality of parts, note-on for each part is generated. Further, note-on may be received from an external device via the communication I / O 15.
When any of these note-on is detected, the CPU 10 starts the note-on event processing shown in FIG. 6, and first extracts the part number, note number, and velocity from the note-on generated in step S10. The part number is stored in the area PT secured in the work area of the RAM 12, the note number is stored in the area NN, and the velocity is stored in the area VL. Next, in step S11, a process of detecting an empty pronunciation unit (Unit) that is not assigned a pronunciation from all the pronunciation units is performed, and it is determined in step S12 whether or not an empty pronunciation unit is detected in the detection process. The If it is determined that an empty pronunciation unit has been detected, the process proceeds to step S13, and the Unit number of the empty pronunciation unit is stored in the area AU secured in the work area of the RAM 12. If it is determined in step S12 that an empty pronunciation unit is not detected, the process branches to step S14 to perform a truncated unit determination process, and stores the unit number of the determined truncated pronunciation unit in the area AU.

トランケートUnit決定処理では、まず、全パートの中から楽音を発生させる優先度の低いパート等のトランケート発音単位をサーチするサーチ対象パートを決定する。RAM12には、CPU10が、各発音単位で発音中の楽音のパート番号やノート番号などを記録する領域が設けられており、CPU10は、その領域の情報を参照することにより、決定されたパートで発音中の発音単位を検出する。次いで、検出された複数の発音単位において発音中の2chの楽音の音量レベルの内のLch波形データの振幅と音量EG波形とのレベルの合成値が最小の発音単位を検出して、トランケートする発音単位として決定する。これは、モノラル発音モードの場合においても発音単位におけるLchでは楽音が生成されているからである。この決定されたトランケート発音単位のUnit番号を上記領域AUに格納して、トランケートUnit決定処理を終了する。   In the truncated unit determination process, first, a search target part for searching a truncated sound unit such as a low-priority part for generating a musical sound is determined from all the parts. The RAM 12 is provided with an area in which the CPU 10 records the part number, note number, and the like of the musical tone being sounded in each sounding unit. The CPU 10 refers to the information of the area and determines the part that has been determined. Detects pronunciation units during pronunciation. Next, in a plurality of detected sound generation units, a sound generation unit having a minimum combined value of the amplitude of the Lch waveform data and the sound volume EG waveform within the volume level of the 2ch musical sound being sounded is detected and truncated. Determined as a unit. This is because even in the monaural sound generation mode, a musical sound is generated on the Lch in the sound generation unit. The unit number of the determined truncation pronunciation unit is stored in the area AU, and the truncated unit determination process is terminated.

ステップS14のトランケートUnit決定処理が終了すると、ステップS15にて領域AUに格納されているUnit番号で生成中のLchとRchとの2chの楽音に対する急速減衰処理(ダンプ処理)を実行する。ここまでの処理で、新たな楽音の生成のために1の発音単位(Unit)が割り当てられ、割り当てられた発音単位の番号が領域AUに格納される。ステップS13あるいはステップS15の処理が終了すると、ステップS16に進み、領域PTのパート番号が示すパートで現在設定されている現音色の音色データ(図5(b))の波形選択情報により波形データを選択する。そして、選択された波形データに対応する波形管理データ(図5(a))のステレオフラグを参照して、当該波形データがステレオ波形データペアであれば、発音モードをステレオ発音モードに決定し、モノラル波形データであればモノラル発音モードに決定する。
次いで、ステップS17にて、当該音色データと、領域PT、NNおよび領域VLに格納されているパート番号、ノート番号およびベロシティとに基づいて、新規楽音の生成に用いる各種パラメータを決定し、音源レジスタ23の、領域AUに格納されているUnit番号に対応する記憶領域(図3(a)、(b))に、決定した各種パラメータを設定する。CPU10が設定する各種パラメータは、上記決定された発音モードを示すモードフラグ(Mode)、上記現音色の音色データにおける波形選択情報と上記ノート番号および上記ベロシティ値とに応じて選択された波形データのLch波形指定情報、Rch波形指定情報、ループ情報、および、圧縮情報と、上記ノート番号および上記ベロシティ値とに応じて加工されたLchとRchの両chに共通の上記現音色の音色データにおけるLFOパラメータ、PEGパラメータ、FEGパラメータ、AEGパラメータ、上記ノート番号と基本ピッチとの差に基づくピッチシフトデータ(セントスケールにおけるFナンバ)、および、パンデータなどからなる音色制御データとされている。ただし、Rch波形指定情報は、ステレオ発音モードの場合のみ設定し、モノラル発音モードのときは(設定する情報が無いので)設定しなくてよい。ステップS17において音色制御データをAU領域に設定した後、CPU10は、ステップS18にて、音源レジスタ23の発音開始フラグGT(AU)に「1」を書き込むことにより、領域AUのUnit番号が示す発音単位に対して発音開始指示を行う。これにより、ノートオンイベント処理は終了し、音源部20は発音開始指示(GT(AU)←1)をトリガとして、割り当てられた発音単位(Unit)において、設定された音色制御データに基づいて、LchおよびRchの楽音の生成(ステレオ発音モード)、ないし、モノラルchの楽音の生成(モノラル発音モード)を開始するようになる。
なお、本実施形態は、「*」が付されたステップS12−S15の発音割当処理、およびステップS18の発音開始指示処理において、ステレオ発音モードかモノラル発音モードかに関わらず実質的に同じ処理が行われる点に特徴がある。
When the truncated unit determination process in step S14 is completed, a rapid attenuation process (dump process) is performed on the 2ch musical sound of Lch and Rch being generated with the unit number stored in the area AU in step S15. Through the processing so far, one sounding unit (Unit) is assigned to generate a new musical tone, and the assigned sounding unit number is stored in the area AU. When the process of step S13 or step S15 is completed, the process proceeds to step S16, and the waveform data is obtained from the waveform selection information of the tone color data (FIG. 5B) currently set for the part indicated by the part number in the region PT. select. Then, referring to the stereo flag of the waveform management data (FIG. 5A) corresponding to the selected waveform data, if the waveform data is a stereo waveform data pair, the sound generation mode is determined as the stereo sound generation mode, If the waveform data is monaural, the monaural sound generation mode is selected.
Next, in step S17, various parameters used for generating a new musical tone are determined based on the timbre data and the part number, note number, and velocity stored in the areas PT, NN and VL, and the tone generator register The determined various parameters are set in a storage area (FIGS. 3A and 3B) corresponding to the unit number stored in the area AU. Various parameters set by the CPU 10 include a mode flag (Mode) indicating the determined sound generation mode, waveform selection information in the tone color data of the current tone color, waveform data selected in accordance with the note number and the velocity value. LFO in the tone color data of the current tone color common to both the Lch and Rch channels processed according to the Lch waveform designation information, Rch waveform designation information, loop information, compression information, the note number and the velocity value The tone color control data includes parameters, PEG parameters, FEG parameters, AEG parameters, pitch shift data (F number in cent scale) based on the difference between the note number and the basic pitch, and pan data. However, the Rch waveform designation information is set only in the stereo sounding mode, and may not be set in the monaural sounding mode (since there is no information to be set). After setting the timbre control data in the AU area in step S17, the CPU 10 writes “1” in the sound generation start flag GT (AU) of the sound source register 23 in step S18, thereby generating the sound indicated by the unit number of the area AU. Instruct the unit to start pronunciation. As a result, the note-on event process ends, and the sound source unit 20 uses the sound generation start instruction (GT (AU) ← 1) as a trigger, based on the set tone color control data in the assigned sound generation unit (Unit). Generation of Lch and Rch musical sounds (stereo sound generation mode) or generation of monaural chine sounds (monaural sound generation mode) is started.
In the present embodiment, substantially the same processing is performed regardless of whether the sound generation mode is the stereo sound mode or the monaural sound mode in the sound generation assignment processing in steps S12 to S15 marked with “*” and the sound generation start instruction processing in step S18. It is characterized in that it is performed.

音源部20のステレオ発音モードを示すモードフラグ(Mode)が設定されている発音単位(Unit)において楽音生成する際の、音源部20を構成している各部の、その発音単位のタイムスロットにおける動作説明を以下に行う。
Fナンバを発生するFナンバ発生部(FG)20aには、当該発音単位のタイムスロットで、LFO20mからの変調データ(PMデプスで振幅が調整されたLFO波形)と、音源レジスタ23からのピッチシフトデータ(PS)と、ピッチエンベロープ発生部(PEG)20kからのピッチEG波形とが供給され、これらの3つのデータが加算され、さらに、セントスケールからリニアスケールに変換されて、LchとRchとの発音単位に共通のFナンバが発生される。この場合、これら3つのデータはセント値を単位とするデータとされ、音源レジスタ23から直接供給されるPSは、波形メモリ21から読み出される波形データが記録された際の音高(図5(a)の基本ピッチ)と、生成すべき楽音の音高(ノート番号)との差分をセント値で表したデータとされる。FG20aで発生するFナンバは、大まかな値はピッチシフトデータによって決定され、さらに、その値に対して変調データとピッチEG波形による比較的小さな調整が加えられたリニア値のデータである。例えば、記録された際の音高と同じ音高で楽音を生成する際は、PSは「0」とされ、調整値であるLFO20mおよびPEG20kからのデータを無視すると、この場合にFG20aで発生されるFナンバは「1」となる。FG20aからのFナンバはフェーズ発生器(PG)20bに供給され、PG20bは、当該発音単位のタイムスロットで、サンプリング周期毎に供給されるFナンバを累算し、その累算値の上位ビットを読出アドレスを生成するためのLchとRchとの発音単位に共通の位相の整数部として、下位ビットを同位相の小数部として、波形アドレス発生部(WAG)20cに出力する。PG20bにおけるFナンバの累算は、音源レジスタ23の受付部から供給される当該発音単位の発音指示(GT)をトリガとして、ゼロを初期値として開始される。生成される位相の整数部は波形データのサンプル単位の位置を指定するデータであり、小数部は隣接する2サンプル間の中間位置を指定するデータである。
Operation of each unit constituting the sound source unit 20 in the time slot of the sound generation unit when generating a musical sound in the sound generation unit (Unit) in which the mode flag (Mode) indicating the stereo sound generation mode of the sound source unit 20 is set The description is given below.
The F number generating unit (FG) 20a that generates the F number includes the modulation data from the LFO 20m (the LFO waveform whose amplitude is adjusted by PM depth) and the pitch shift from the sound source register 23 in the time slot of the sound generation unit. The data (PS) and the pitch EG waveform from the pitch envelope generator (PEG) 20k are supplied, these three data are added, and further converted from a cent scale to a linear scale, and the Lch and Rch An F number common to the pronunciation units is generated. In this case, these three data are data in units of cent values, and the PS directly supplied from the sound source register 23 is the pitch when the waveform data read from the waveform memory 21 is recorded (FIG. 5A ) Basic pitch) and the pitch (note number) of the musical sound to be generated is data expressed as a cent value. The F number generated in the FG 20a is a linear value data in which a rough value is determined by the pitch shift data, and a relatively small adjustment is made to the value by the modulation data and the pitch EG waveform. For example, when a musical tone is generated with the same pitch as the recorded pitch, PS is set to “0”, and the data from the adjustment values LFO20m and PEG20k are ignored. In this case, the FG20a generates the tone. The F number is “1”. The F number from the FG 20a is supplied to the phase generator (PG) 20b, and the PG 20b accumulates the F number supplied for each sampling period in the time slot of the sound generation unit, and the upper bit of the accumulated value is obtained. The lower bits are output to the waveform address generation unit (WAG) 20c as the integer part of the phase common to the sound generation units of Lch and Rch for generating the read address as the fractional part of the same phase. Accumulation of the F number in the PG 20b is started with a sound generation instruction (GT) of the sound generation unit supplied from the reception unit of the sound source register 23 as a trigger, and zero as an initial value. The integer part of the generated phase is data specifying the position of the sample unit of the waveform data, and the decimal part is data specifying the intermediate position between two adjacent samples.

PEG20kには、当該発音単位のタイムスロットで、音源レジスタ23からLchとRchとの発音単位に共通の、各ステート毎のPEGレートおよびPEGレベルのPEGパラメータ(PEGPs)が供給され、該PEGパラメータに基づいて、複数ステートからなる、LchとRchとの発音単位に共通のピッチEG波形であって、サンプリング周期毎に値の変化するピッチEG波形が生成されてFG20aに供給される。該ピッチEGの生成は、音源レジスタ23から供給される当該発音単位の発音指示(GT)をトリガとして開始される。ピッチEG波形をFG20aに供給することにより、ピッチEGに従って波形メモリ21からの読み出し速度が適宜変調されて、アタックピッチ等のピッチ変調効果が付与される。
WAG20cには、当該発音単位のLchとRchのタイムスロットで、音源レジスタ23からLch波形データの先頭アドレス、ループ先頭アドレス、末尾アドレスからなるLch波形指定情報、Rch波形データの先頭アドレス、ループ先頭アドレス、末尾アドレスからなるRch波形指定情報、および、ループ情報で構成される波形アドレス用パラメータ(WAPs)が供給され、これらのパラメータ(WAPs)と位相の整数部とに基づいて、当該発音単位のLchの波形アドレスとRchの波形アドレスとが生成される。ループ読み出ししないループ情報が設定された発音単位の各chでは、先頭アドレスが示すサンプル位置から末尾アドレスが示すサンプル位置まで、サンプリング周期毎の位相の整数部の増加速度と同じ速度で進行する波形アドレスが生成される。ループ読み出しするループ情報が設定された発音単位の各chでは、前記増加速度と同じ速度で、先頭アドレスが示すサンプル位置から末尾アドレスが示すサンプル位置まで一通り進行した後、ループ先頭アドレスが示すサンプル位置から末尾アドレスが示すサンプル位置まで繰り返し進行する波形アドレスが生成される。WAG20cから出力されるLchおよびRchの波形アドレス(整数部)は読出&Cashe部20dに供給され、LchおよびRchの位相の小数部はサンプル間補間部(INT)20fに供給される。波形メモリ21には、圧縮された波形データである圧縮波形データと、圧縮されていないリニア波形データとが記録されており、読出&Cashe部20dは、当該発音単位のLchとRchのタイムスロットで、供給されたLchおよびRchの波形アドレスと圧縮情報とに応じて波形メモリ21からLchおよびRchのそれぞれの波形データのサンプルを読み出す。読み出されたLchおよびRchの波形データは、それが圧縮波形データである場合には、デコーダ(DEC)20eにおいて、当該発音単位のLchおよびRchのタイムスロットで伸張され、元のLch波形データサンプルとRch波形データサンプルが出力される。一方、リニア波形データである場合には、同じタイムスロットでDEC20eを通過して、Lch波形データサンプルとRch波形データサンプルとして出力される。
The PEG 20k is supplied with the PEG rate and PEG level PEG parameters (PEGPs) for each state that are common to the Lch and Rch sounding units from the sound source register 23 in the sounding unit time slot. Based on this, a pitch EG waveform consisting of a plurality of states common to the sound generation units of Lch and Rch and having a value that changes every sampling period is generated and supplied to the FG 20a. The generation of the pitch EG is started with a sound generation instruction (GT) of the sound generation unit supplied from the sound source register 23 as a trigger. By supplying the pitch EG waveform to the FG 20a, the reading speed from the waveform memory 21 is appropriately modulated according to the pitch EG, and a pitch modulation effect such as an attack pitch is given.
In the WAG 20c, the Lch and Rch time slots of the sound generation unit, the Lch waveform designation information including the start address, loop start address, and end address of the Lch waveform data from the tone generator register 23, the start address of the Rch waveform data, and the loop start address Rch waveform designation information consisting of the end address and waveform address parameters (WAPs) composed of loop information are supplied, and based on these parameters (WAPs) and the integer part of the phase, the Lch of the sounding unit Waveform address and Rch waveform address are generated. For each channel of the sound generation unit for which loop information that is not loop read is set, the waveform address that proceeds from the sample position indicated by the start address to the sample position indicated by the end address at the same speed as the increase rate of the integer part of the phase for each sampling period Is generated. In each channel of the sound generation unit for which loop information to be read out is set, the sample indicated by the loop head address is moved from the sample position indicated by the head address to the sample position indicated by the tail address at the same speed as the increase speed. A waveform address that repeatedly proceeds from the position to the sample position indicated by the end address is generated. The Lch and Rch waveform addresses (integer part) output from the WAG 20c are supplied to the reading & cashing part 20d, and the fractional part of the Lch and Rch phase is supplied to the intersample interpolation part (INT) 20f. The waveform memory 21 stores compressed waveform data, which is compressed waveform data, and uncompressed linear waveform data, and the read & cash unit 20d uses the Lch and Rch time slots of the sound generation unit. The Lch and Rch waveform data samples are read from the waveform memory 21 in accordance with the supplied Lch and Rch waveform addresses and compression information. If the read Lch and Rch waveform data is compressed waveform data, the decoder (DEC) 20e expands the Lch and Rch time slots of the sound generation unit to obtain the original Lch waveform data sample. And Rch waveform data samples are output. On the other hand, in the case of linear waveform data, it passes through the DEC 20e in the same time slot and is output as an Lch waveform data sample and an Rch waveform data sample.

ここで、波形メモリ21に記録されている圧縮波形データに関して説明すると、連続する複数サンプルからなる波形データを複数のフレームに分割して、フレーム毎に波形データに可変長とされる圧縮処理を施す。1フレーム分の圧縮波形データは、各アドレス毎にnビットのデータを記憶可能な波形メモリ21の連続する所定数j個のアドレスにわたって記憶される。j個の各アドレスに記憶されるデータには、それぞれ、nビットのうちのmビットに、フレーム内で同一とされているビット数の圧縮波形データがkサンプル順次格納される。そして、残る(n−m)ビットに、圧縮情報を含む副情報が格納される。
このように圧縮波形データが記憶された波形メモリ21から圧縮波形データを読み出す場合は、読出&Cashe部20dは、当該発音単位のLchとRchの各タイムスロットで、サンプリング周期ごとにWAG20cから供給される波形アドレスがkだけ進むごとに1つだけ進むメモリアドレスを生成し、該メモリアドレスにより波形メモリ21をアクセスしてnビットのデータを読み出すと共に、読み出されたnビットのデータから(n−m)ビットのデータを取り出して圧縮情報を含む副情報を出力する。また、読み出されたnビットのデータからmビットのデータを取り出してキャッシュメモリに一時記憶する。そして、DEC20eが、当該発音単位のLchとRchのタイムスロットで、波形アドレスによりキャッシュメモリをアクセスして、kサンプルの圧縮波形データを順次読み出し、圧縮情報と順次読み出される圧縮波形データのサンプルとに基づいてDEC20eにおいて伸長処理を行うことにより元の波形データのサンプルを復元する。
なお、伸張する際に用いられる圧縮情報は、1つ前に読み出されたフレームに記憶されていた圧縮情報が用いられることから、圧縮情報がない初期においては音源レジスタ23から供給されたデコーダ初期値を用いて伸張される。また、圧縮波形データに関しての詳細については特許第3912304号公報を参照されたい。
Here, the compressed waveform data recorded in the waveform memory 21 will be described. Waveform data composed of a plurality of consecutive samples is divided into a plurality of frames, and compression processing is performed to make the waveform data variable length for each frame. . The compressed waveform data for one frame is stored over a predetermined number j of consecutive addresses in the waveform memory 21 capable of storing n-bit data for each address. In the data stored at j addresses, the compressed waveform data having the same number of bits in the frame is sequentially stored in m bits out of n bits. Then, sub information including the compression information is stored in the remaining (nm) bits.
When reading the compressed waveform data from the waveform memory 21 in which the compressed waveform data is stored in this way, the read & cash unit 20d is supplied from the WAG 20c for each sampling period in each of the sound channel Lch and Rch time slots. Each time the waveform address advances by k, a memory address that advances by one is generated, and the waveform memory 21 is accessed by the memory address to read n-bit data, and from the read n-bit data (n−m ) Extract bit data and output sub information including compression information. Also, m-bit data is extracted from the read n-bit data and temporarily stored in the cache memory. Then, the DEC 20e accesses the cache memory by the waveform address in the Lch and Rch time slots of the sound generation unit, sequentially reads the k sample compressed waveform data, and converts the compression information and the compressed waveform data sample to be sequentially read out. Based on the decompression processing in the DEC 20e, the original waveform data sample is restored.
Note that since the compression information used for decompression is the compression information stored in the previous frame read out, the initial stage of the decoder supplied from the sound source register 23 when there is no compression information. Decompressed using the value. For details regarding the compressed waveform data, refer to Japanese Patent No. 3912304.

DEC20eからリニアのまま出力される、ないし、伸張され出力される発音単位のLchおよびRchのそれぞれの波形データのうちの最新の2サンプルが、当該発音単位のLchとRchの各タイムスロットで、INT20fに供給される。INT20fは、当該発音単位のLchとRchのタイムスロットで、このLchおよびRchにおける各2サンプルの伸長された波形データ間を、WAG20cから供給されている発音単位の位相の小数部に基づいてそれぞれ補間処理することにより、補間されたLchおよびRchのそれぞれの波形データを得るようにしている。また、INT20fにおいて4点補間が行われる場合は、DEC20eからLchおよびRchの最新の4サンプルが供給され、この4サンプルの伸長された波形データと、位相の小数部に基づいて補間処理することにより、補間されたLchおよびRchのそれぞれの波形データを得るようにしている。
INT20fから出力される補間されたLchおよびRchの発音単位の波形データは、ディジタルコントロールドフィルタ(DCF)20gに供給され高域成分が減衰される。DCF20gには、当該発音単位のLchとRchのタイムスロットで、LFO20mからの変調データ(FMデプスで振幅が調整されたLFO波形)とフィルタエンベロープ発生部(FEG)20nからのフィルタEG波形とが供給され、この2つのデータに応じてDCF20gのカットオフ周波数やQ(選択度)が制御されて、Lch波形データとRch波形データのそれぞれの高域成分が減衰される。FEG20nには、当該発音単位のタイムスロットで、音源レジスタ23からLchとRchとの発音単位に共通の、各ステート毎のFEGレートおよびFEGレベルからなるFEGパラメータ(FEGPs)が供給され、該FEGパラメータに基づいて、複数ステートの、LchとRchとの発音単位に共通のフィルタEG波形であって、サンプリング周期毎に値が変化するフィルタEG波形が生成されてDCF20gに供給される。該フィルタEG波形の生成は、音源レジスタ23から供給される発音指示(GT)をトリガとして開始される。
The latest two samples of the waveform data of the sound units Lch and Rch that are output linearly from the DEC 20e or are expanded and output are INT20f in each time slot of the sound units Lch and Rch. To be supplied. The INT 20f is an Lch and Rch time slot of the sounding unit, and interpolates between the expanded waveform data of each 2 samples in the Lch and Rch based on the fractional part of the sounding unit phase supplied from the WAG 20c. By processing, the interpolated Lch and Rch waveform data are obtained. When four-point interpolation is performed in the INT 20f, the latest four samples of Lch and Rch are supplied from the DEC 20e, and interpolation processing is performed based on the expanded waveform data of the four samples and the fractional part of the phase. The interpolated Lch and Rch waveform data are obtained.
The interpolated Lch and Rch sounding unit waveform data output from the INT 20f is supplied to a digitally controlled filter (DCF) 20g to attenuate the high frequency components. The DCF 20g is supplied with modulation data from the LFO 20m (an LFO waveform whose amplitude is adjusted by FM depth) and a filter EG waveform from the filter envelope generation unit (FEG) 20n in the Lch and Rch time slots of the sound generation unit. Then, the cut-off frequency and Q (selectivity) of the DCF 20g are controlled according to these two data, and the high frequency components of the Lch waveform data and the Rch waveform data are attenuated. The FEG 20n is supplied with FEG parameters (FEGPs) including the FEG rate and FEG level for each state, which are common to the sound generation units of the Lch and Rch, from the sound source register 23 in the time slot of the sound generation unit. Based on the above, a filter EG waveform having a plurality of states common to the sound generation units of Lch and Rch and having a value that changes at each sampling period is generated and supplied to the DCF 20g. The generation of the filter EG waveform is started with a sound generation instruction (GT) supplied from the sound source register 23 as a trigger.

DCF20gから出力される信号処理されたLch波形データとRch波形データとは、ディジタルコントロールドアンプ(DCA)20hに供給されLchおよびRchのそれぞれの音量が制御される。DCA20hには、当該発音単位のLchとRchのタイムスロットで、LFO20mからの変調データ(AMデプスにより振幅が調整されたLFO波形)と音量エンベロープ発生部(AEG)20pからの音量EG波形、および、音像を定位させる音源レジスタ23からのパンデータ(PANs)とが供給され、LFO20mからの変調データと音量EG波形とLchのパンデータ(PAN(L))に応じて、Lch波形データの音量が制御されて累算部(MIX)20iのLch側に出力され、LFO20mからの変調データと音量EG波形とRchのパンデータ(PAN(R))に応じて、Rch波形データの音量が制御されてMIX20iのRch側に出力される。このように、DCA20hからは、音像位置がパンデータ(PANs)により定位されたLch波形データ(Lchの楽音データ)とRch波形データ(Rchの楽音データ)とが、当該発音単位のタイムスロットで、MIX20iのLch側とRch側に出力される。AEG20pには、当該発音単位のタイムスロットで、音源レジスタ23からLchとRchとの発音単位に共通の、各ステート毎のAEGレートおよびAEGレベルからなるAEGパラメータ(AEGPs)が供給され、該AEGパラメータに基づいて、複数ステートの、LchとRchとの発音単位に共通の音量EG波形であって、サンプリング周期毎に値の変化する音量EG波形が生成されてDCA20hに供給される。該音量EG波形の生成は、音源レジスタ23から供給される発音指示(GT)をトリガとして開始される。   The signal-processed Lch waveform data and Rch waveform data output from the DCF 20g are supplied to a digitally controlled amplifier (DCA) 20h to control the volume of each of the Lch and Rch. The DCA 20h includes modulation data from the LFO 20m (LFO waveform whose amplitude is adjusted by AM depth) and a volume EG waveform from the volume envelope generator (AEG) 20p in the Lch and Rch time slots of the sound generation unit, and Pan data (PANs) from the sound source register 23 for localizing the sound image is supplied, and the volume of the Lch waveform data is controlled according to the modulation data, the volume EG waveform, and the Lch pan data (PAN (L)) from the LFO 20m. Is output to the Lch side of the accumulation unit (MIX) 20i, and the volume of the Rch waveform data is controlled according to the modulation data from the LFO 20m, the volume EG waveform, and the Rch pan data (PAN (R)), and the MIX 20i is controlled. Is output to the Rch side. In this way, from the DCA 20h, the Lch waveform data (Lch musical tone data) and the Rch waveform data (Rch musical tone data) whose sound image positions are localized by pan data (PANs) are the time slots of the sound generation unit. It is output to the Lch side and Rch side of the MIX 20i. The AEG 20p is supplied with AEG parameters (AEGPs) including AEG rate and AEG level for each state, which are common to the sound source units of the Lch and Rch, from the sound source register 23 in the time slot of the sound generation unit. Based on the above, a volume EG waveform that is common to the sound generation units of Lch and Rch in a plurality of states and that changes in value every sampling cycle is generated and supplied to the DCA 20h. The generation of the volume EG waveform is started with a sound generation instruction (GT) supplied from the sound source register 23 as a trigger.

1DAC周期内において、DCA20hからは、複数の各発音単位のタイムスロットで、波形データのサンプルが、累算部(MIX)20iのLch側とRch側に出力される。MIX20iにおいては、1DAC周期の各発音単位のタイムスロットで、Lch側に供給された波形データのサンプルと、Rch側に供給された波形データのサンプルが、それぞれLch側とRch側とで別々に累算される。そして、MIX20iからは、DAC周期毎に、全ての発音単位についての累算結果である、LchとRchのサンプルからなるステレオ波形データがDAC20jに出力される。DAC20jは、1DAC周期毎に、供給されるステレオ波形データをアナログのステレオ波形信号に変換して、変換されたアナログのLchとRchとのステレオ波形信号を、ステレオ構成のサウンドシステム22に供給する。サウンドシステム22からは、そのステレオの波形信号が放音される。   Within one DAC period, from the DCA 20h, waveform data samples are output to the Lch side and the Rch side of the accumulation unit (MIX) 20i in time slots of a plurality of sound generation units. In the MIX 20i, the waveform data sample supplied to the Lch side and the waveform data sample supplied to the Rch side are separately accumulated on the Lch side and the Rch side, respectively, in the time slot of each sound generation unit of one DAC period. It is calculated. From the MIX 20i, stereo waveform data composed of Lch and Rch samples, which is an accumulation result for all sound generation units, is output to the DAC 20j for each DAC period. The DAC 20j converts the supplied stereo waveform data into an analog stereo waveform signal for each DAC period, and supplies the converted analog Lch and Rch stereo waveform signals to the stereo sound system 22. The sound system 22 emits the stereo waveform signal.

また、LFO20mには、当該発音単位のタイムスロットで、音源レジスタ23からLchとRchとの発音単位に共通のLFO周波数、PMデプス、FMデプス、AMデプスのLFOパラメータ(LFOPs)が供給され、LFO周波数が示す周波数の、LchとRchとの発音単位に共通のLFO波形が生成されて、その振幅がPMデプス、FMデプスおよびAMデプスに応じて制御されて、FG20a、DCF20gおよびDCA20hに供給される。該LFO波形の生成は、音源レジスタ23から供給される発音指示(GT)をトリガとして開始される。このLFO波形をFG20aに供給することにより楽音信号にビブラートを付与することができ、このLFO波形をDCF20gに供給することにより楽音信号にワウワウを付与することができ、このLFO波形をDCA20hに供給することにより楽音信号にトレモロを付与することができる。   The LFO 20m is supplied with LFO parameters (LFOPs) of the LFO frequency, PM depth, FM depth, and AM depth common to the sounding units of Lch and Rch from the sound source register 23 in the time slot of the sounding unit. A common LFO waveform is generated for the Lch and Rch sound units of the frequency indicated by the frequency, and the amplitude is controlled according to PM depth, FM depth, and AM depth, and supplied to the FG 20a, DCF 20g, and DCA 20h. . The generation of the LFO waveform is started with a sound generation instruction (GT) supplied from the sound source register 23 as a trigger. By supplying this LFO waveform to the FG 20a, vibrato can be added to the musical sound signal, and by supplying this LFO waveform to the DCF 20g, wah wah can be added to the musical sound signal, and this LFO waveform is supplied to the DCA 20h. Thus, tremolo can be added to the musical sound signal.

以上説明したように、図1に示す構成における位相発生部111はFG20a、PG20bに相当し、波形読出部112はWAG20c、読出&Cashe部20d、DEC20e、INT20fに相当し、特性制御部113はDCF20g、DCA20hに相当し、制御波形発生部116は、破線で囲った発音中に時間変化する制御波形を発生するPEG20k、LFO20m、FEG20nおよびAEG20pに相当する。また、制御部122はCPU10に相当する   As described above, the phase generation unit 111 in the configuration shown in FIG. 1 corresponds to the FG 20a and PG 20b, the waveform reading unit 112 corresponds to the WAG 20c, the reading & cashing unit 20d, the DEC 20e, and INT 20f, and the characteristic control unit 113 includes the DCF 20g, The control waveform generator 116 corresponds to DCA 20h, and corresponds to PEG 20k, LFO 20m, FEG 20n, and AEG 20p that generate a control waveform that changes with time during sound generation surrounded by a broken line. The control unit 122 corresponds to the CPU 10.

上記した音源部20の各部の動作説明は、モードフラグ(Mode)がステレオ発音のモードとされた発音単位のタイムスロットに注目して、ステレオ発音する場合の動作を説明したものである。なお、波形メモリ21には、モノラルの波形データとステレオの波形データペアとが音色毎および音域毎に記録されており、楽音生成装置1のある発音単位において楽音生成する際に、波形メモリ21から読み出す波形データとしてステレオの波形データが選択されている場合は、その発音単位に対してステレオ発音モードを示すモードフラグ(Mode)が設定されて、その発音単位のタイムスロットにおいてステレオの楽音が生成されるようになる。また、楽音生成装置1のある発音単位において楽音生成する際に、波形メモリ21から読み出す波形データとしてモノラルの楽音波形が選択されている場合は、その発音単位に対してモノラル発音モードを示すモードフラグ(Mode)が設定されて、その発音単位のタイムスロットにおいてモノラルの楽音が生成されるようになる。波形メモリ21から読み出される波形データは、設定された音色やノート番号やベロシティなどに応じて選択された波形データであるが、その音色がステレオ効果が判るような音色か否か、その音色でのその音域、強度の演奏頻度、波形メモリの総容量による制約、等の各種要件を鑑みて、それぞれステレオ波形データペア、または、モノラル波形データとして用意されたものである。   The above description of the operation of each part of the sound source unit 20 describes the operation in the case of stereo sounding, paying attention to the time slot of the sounding unit whose mode flag (Mode) is set to the stereo sounding mode. In the waveform memory 21, monaural waveform data and stereo waveform data pairs are recorded for each tone color and each tone range. When a tone is generated in a tone generation unit of the tone generator 1, the waveform memory 21 stores the tone data. When stereo waveform data is selected as the waveform data to be read, a mode flag (Mode) indicating the stereo sound generation mode is set for the sound generation unit, and a stereo tone is generated in the time slot of the sound generation unit. Become so. Further, when a musical tone is generated in a certain tone generation unit of the tone generator 1, if a monaural sound waveform is selected as the waveform data to be read from the waveform memory 21, a mode flag indicating the monaural tone generation mode for that tone generation unit is selected. (Mode) is set, and a monaural musical sound is generated in the time slot of the sounding unit. The waveform data read from the waveform memory 21 is waveform data selected in accordance with the set tone color, note number, velocity, etc., and whether or not the tone color is such that the stereo effect can be understood. In consideration of various requirements such as the sound range, playing frequency of intensity, restriction due to the total capacity of the waveform memory, etc., they are prepared as stereo waveform data pairs or monaural waveform data, respectively.

モノラル発音モードを示すモードフラグ(Mode)が設定された発音単位(Unit)に関して、音源部20の各部の動作を説明する。
楽音生成装置1において新たなノートオンイベントが検出された際に、CPU10は、発音割当処理を行うことにより新たなノートオンを空き発音単位に割り当て、音源レジスタ23における割り当てられた発音単位の領域に上記した図3(a)(b)に示す新たなノートオンの各種パラメータを設定する。この場合は、音源レジスタ23に設定されるモードフラグ(Mode)はモノラル発音モードとされるが、モノラル発音のノートオンでも2chの発音単位が割り当てられる。なお、この実施形態では、音源部20の各発音単位の2chのうちのLchの各種リソースを用いてモノラル発音を行っているが、Rchの各種リソースを用いてモノラル発音をするようにしてもよい。
音源レジスタ23における新たなノートオンに割り当てられた発音単位の領域に各種パラメータが設定され、当該発音単位に対して発音開始が指示されると、FG20aは、ステレオ発音する場合と同様にして、当該発音単位のタイムスロットでFナンバを生成し、PG20bは、ステレオ発音する場合と同様にして、当該発音単位のタイムスロットで、サンプリング周期毎にFナンバを累算し、読出アドレスを生成するための整数部と小数部からなる位相を生成してWAG20cに出力する。
The operation of each unit of the sound source unit 20 will be described with respect to the sound generation unit (Unit) in which the mode flag (Mode) indicating the monaural sound generation mode is set.
When a new note-on event is detected in the tone generator 1, the CPU 10 assigns a new note-on to an empty sounding unit by performing a sounding assignment process, and assigns it to the assigned sounding unit area in the tone generator register 23. Various new note-on parameters shown in FIGS. 3A and 3B are set. In this case, the mode flag (Mode) set in the tone generator register 23 is set to the monaural sound generation mode, but a 2ch sounding unit is assigned even in the case of monaural sounding note-on. In this embodiment, monaural sound is generated using various Lch resources of the two channels of the sound generation unit 20, but monaural sound may be generated using various Rch resources. .
When various parameters are set in the region of the sounding unit assigned to the new note-on in the sound source register 23 and the sounding start is instructed to the sounding unit, the FG 20a performs the same as in the case of stereo sounding. The F number is generated in the time slot of the sound generation unit, and the PG 20b accumulates the F number for each sampling period and generates the read address in the time slot of the sound generation unit in the same manner as in the case of stereo sounding. A phase composed of an integer part and a decimal part is generated and output to the WAG 20c.

WAG20cは、当該発音単位のLchのタイムスロットで、波形アドレス用パラメータ(WAPs)の内のLch波形指定情報とループ情報、および、位相の整数部に基づいて発音単位におけるLchの波形アドレスが生成される。WAG20cから出力されるLchの波形アドレス(整数部)は読出&Cashe部20dに供給され、当該発音単位のLchのタイムスロットを用いて、波形メモリ21からモノラルの波形データのサンプルが読み出される。読み出されたモノラルの波形データは、DEC20eにおいて、当該発音単位のLchのタイムスロットで伸張され、元のモノラル波形データサンプルが出力される。DEC20eから出力されるモノラルの波形データのうちの最新の2サンプルがINT20fに供給され、当該発音単位のLchのタイムスロットで、WAG20cから供給されている発音単位の位相の小数部に基づいて補間処理することにより、補間されたモノラルの波形データを得るようにしている。INT20fから出力される補間されたモノラルの発音単位の波形データは、DCF20gに供給され、DCF20gにおいて、当該発音単位のLchのタイムスロットで、LFO20mからの変調データとFEG20nからのフィルタEG波形とに応じたカットオフ周波数やQ(選択度)で、高域成分が減衰されて、高調波成分が調整されたモノラルの波形データが出力される。PEG20k、FEG20n、AEG20p、および、LFO20mは、それぞれステレオ発音の場合と同様に、当該発音単位のタイムスロットで、ピッチEG波形、フィルタEG波形、振幅EG波形、および、LFO波形を生成する。   The WAG 20c is an Lch time slot of the sound generation unit, and an Lch waveform address in the sound generation unit is generated based on the Lch waveform designation information and loop information in the waveform address parameters (WAPs) and the integer part of the phase. The The Lch waveform address (integer part) output from the WAG 20c is supplied to the read & cash unit 20d, and a sample of monaural waveform data is read from the waveform memory 21 using the Lch time slot of the sound generation unit. The read monaural waveform data is expanded in the Lch time slot of the sound generation unit in the DEC 20e, and the original monaural waveform data sample is output. The latest two samples of the monaural waveform data output from the DEC 20e are supplied to the INT 20f, and interpolation processing is performed based on the fractional portion of the phase of the sounding unit supplied from the WAG 20c in the Lch time slot of the sounding unit. By doing so, the interpolated monaural waveform data is obtained. The interpolated monaural sound unit waveform data output from the INT 20f is supplied to the DCF 20g, and in the DCF 20g, according to the modulation data from the LFO 20m and the filter EG waveform from the FEG 20n in the Lch time slot of the sound unit. The high-frequency component is attenuated at the cut-off frequency and Q (selectivity), and monaural waveform data in which the harmonic component is adjusted is output. PEG20k, FEG20n, AEG20p, and LFO20m each generate a pitch EG waveform, a filter EG waveform, an amplitude EG waveform, and an LFO waveform in the time slot of the sounding unit, as in the case of stereo sounding.

DCF20gから出力されるモノラル波形データは、ディジタルコントロールドアンプ(DCA)20hに供給され、当該発音単位のLchとRchのタイムスロットで、モノラル波形データの音量が制御される。DCA20hには、LFO20mからの変調データとAEG20pからの音量EG波形、および、音源レジスタ23からのパンデータ(PANs)とが供給されている。この場合、LFO20mからの変調データと音量EG波形とLchのパンデータ(PAN(L))に応じてモノラル波形データの音量が制御されてMIX20iのLch側に出力され、LFO20mからの変調データと音量EG波形とRchのパンデータ(PAN(R))に応じて同じモノラル波形データの音量が制御されてMIX20iのRch側に出力される。このように、DCA20hからは音像位置がパンデータ(PANs)により定位されたモノラルの波形データが、Lchの楽音データとRchの楽音データとして、当該発音単位のタイムスロットで、MIX20iのLch側とRch側に出力される。   The monaural waveform data output from the DCF 20g is supplied to a digitally controlled amplifier (DCA) 20h, and the volume of the monaural waveform data is controlled in the sound channel Lch and Rch time slots. The DCA 20h is supplied with modulation data from the LFO 20m, a volume EG waveform from the AEG 20p, and pan data (PANs) from the sound source register 23. In this case, the volume of the monaural waveform data is controlled according to the modulation data from the LFO 20m, the volume EG waveform, and the Lch pan data (PAN (L)) and output to the Lch side of the MIX 20i, and the modulation data and volume from the LFO 20m. The volume of the same monaural waveform data is controlled according to the EG waveform and the Rch pan data (PAN (R)) and output to the Rch side of the MIX 20i. In this way, from the DCA 20h, monaural waveform data whose sound image position is localized by pan data (PANs) is converted into Lch musical sound data and Rch musical sound data in the time slot of the corresponding sound generation unit as the Lch musical sound data and the Rch musical sound data. Output to the side.

MIX20iにおいては、当該発音単位のタイムスロットでLch側に供給されたモノラルの波形データサンプルは、他の発音単位のタイムスロットでLch側に供給された波形データサンプルと累算され、Rch側に供給されたモノラルの波形データのサンプルは、他の発音単位のタイムスロットでRch側に供給された波形データサンプルと累算されて、1DAC周期の全ての発音単位について累算されたLchとRchとの波形データサンプルが、1DAC周期毎に、DAC20jに出力される。DAC20jは、1DAC周期毎に、供給された波形データサンプルをアナログのステレオ波形信号に変換して、変換されたアナログのLchとRchとの波形信号を、サウンドシステム22に供給する。サウンドシステム22からは、パンデータ(PANs)により音像が定位された、ステレオ発音の発音単位のステレオ信号と、モノラル発音の発音単位のモノラル信号との混合音である、ステレオの波形信号が放音されることになる。
上記したように、モノラル発音モードが設定された発音単位では、その発音単位が有するWAG20c、読出&Cashe部20dおよびDEC20eの2ch分のリソースの内の1chの処理しか使用しないため、残り1ch分のリソースが余ることになる。そこで、これらのリソースを、全て、当該発音単位の1サンプリング周期におけるモノラル波形データのサンプルの読み出しに転用するようにすると、1サンプリング周期において2倍の数のサンプルを読み出しデコードできることから、モノラル発音時においては、通常の2倍までのピッチアップを行うことができるようになる。
In the MIX 20i, the monaural waveform data sample supplied to the Lch side in the time slot of the sounding unit is accumulated with the waveform data sample supplied to the Lch side in the time slot of the other sounding unit and supplied to the Rch side. The sampled monaural waveform data samples are accumulated with the waveform data samples supplied to the Rch side in the time slots of the other sounding units, and the Lch and Rch accumulated for all sounding units in one DAC period are accumulated. Waveform data samples are output to the DAC 20j every DAC period. The DAC 20j converts the supplied waveform data sample into an analog stereo waveform signal for each DAC period, and supplies the converted analog Lch and Rch waveform signals to the sound system 22. The sound system 22 emits a stereo waveform signal, which is a mixed sound of a stereo signal of a stereo sounding unit and a monaural sound signal of a monaural sound unit whose sound image is localized by pan data (PANs). Will be.
As described above, in the sound generation unit in which the monaural sound generation mode is set, only the 1ch processing of the 2ch resources of the WAG 20c, the reading & cashing unit 20d and the DEC 20e included in the sound generation unit is used. Will be left behind. Therefore, if all of these resources are diverted to read out monaural waveform data samples in one sampling period of the sounding unit, twice the number of samples can be read out and decoded in one sampling period. In, the pitch can be increased up to twice the normal pitch.

次に、本発明の楽音生成装置1において、楽音の減衰の開始を指示するノートオフが検出されたときに、CPU10が実行するノートオフイベント処理のフローチャートを図7に示す。ノートオフは、楽音の減衰の開始を指示する命令(MIDIメッセージ)であって、パラメータとして、何れのパートの命令であるかを示すパート番号と、減衰開始すべき楽音の音高を示すノート番号とを伴っている。例えば、操作子13とされる鍵盤で、それまで押下されていた鍵が離鍵されたとき、その鍵盤が制御するパートを示すパート番号と、その鍵のノート番号を含むノートオフが生成される。また、通信I/O15を介して、外部機器からノートオフを受信する場合もある。
CPU10は、ノートオフが検出されると、図7に示すノートオフイベント処理をスタートし、ステップS20にて、ノートオフが指示された楽音のパート番号をRAM12のワークエリアに確保された領域PTに、ノート番号を領域NNに格納する。次いで、ステップS21にて、音源部20で楽音データを生成中の発音単位の中から、領域PTのパート番号が示すパートで、領域NNのノート番号が示す音高の楽音を形成中の発音単位(Unit)を検出する処理が行われ、該当する発音単位が検出されると、当該発音単位のUnit番号がRAM12のワークエリアに確保された領域DUに格納される。そして、ステップS22にて、ステップS21で該当する発音単位が検出されたか否かが判断され、検出されたと判断された場合はステップS23に進む。ステップS23では、音源レジスタ23の減衰開始フラグRT(DU)に「1」を書き込むことにより、領域DUのUnit番号が示す当該発音単位に対してリリースの開始を指示する。これにより、ノートオフイベント処理は終了し、音源部20のPEG20k、FEG20n、およびAEG20pでは、それぞれ、該リリース開始指示(RT(DU)←1)をトリガとして、当該発音単位のタイムスロットで生成中のピッチEG波形、フィルタEG波形、および振幅EG波形をリリースステートに移行させる。リリースステートに移行した振幅EG波形は、現在のレベルからゼロレベル(−∞dB)に向けて、音源レジスタ23から供給されるリリースステートのAEGレートで徐々に減少するので、これによって、当該発音単位のLchとRchのタイムスロットで生成中のLchとRchの楽音データの音量が、ゼロレベルに向けて徐々に減衰する。また、ステップS22にて、検出されなかったと判断された場合は、そのままノートオフイベント処理は終了する。また、充分に減衰が進んだ発音単位が検出された場合には、CPU10が、その発音単位を上述した「空き発音単位」として開放する開放処理を行う。
なお、本実施形態は、「*」が付されたステップS23の減衰開始指示処理において、ステレオ発音モードがモノラル発音モードかに関わらず実質的に同じ処理が行われる点に特徴がある。
Next, FIG. 7 shows a flowchart of the note-off event process executed by the CPU 10 when the note-off instructing the start of the decay of the musical sound is detected in the musical sound generating apparatus 1 of the present invention. The note-off is a command (MIDI message) for instructing the start of the decay of the musical sound, and as a parameter, a part number indicating which part is the command and a note number indicating the pitch of the musical sound to be attenuated With. For example, when a key that has been pressed so far is released on the keyboard that is the operation element 13, a part number indicating the part that is controlled by the keyboard and a note-off including the note number of the key is generated. . Further, note-off may be received from an external device via the communication I / O 15.
When the note-off is detected, the CPU 10 starts the note-off event process shown in FIG. The note number is stored in the area NN. Next, in step S21, the tone generation unit in which the tone of the pitch indicated by the note number of the region NN is formed by the part indicated by the part number of the region PT from the tone generation units for which the tone generator 20 is generating musical tone data. When the processing for detecting (Unit) is performed and the corresponding sounding unit is detected, the unit number of the sounding unit is stored in the area DU secured in the work area of the RAM 12. In step S22, it is determined whether or not the corresponding sounding unit is detected in step S21. If it is determined that the sounding unit has been detected, the process proceeds to step S23. In step S23, “1” is written in the attenuation start flag RT (DU) of the sound source register 23 to instruct the start of release for the sounding unit indicated by the Unit number of the area DU. As a result, the note-off event process ends, and the PEG 20k, FEG 20n, and AEG 20p of the sound source unit 20 are generating in the time slot of the corresponding sound generation unit using the release start instruction (RT (DU) ← 1) as a trigger. The pitch EG waveform, the filter EG waveform, and the amplitude EG waveform are shifted to the release state. Since the amplitude EG waveform shifted to the release state gradually decreases from the current level to the zero level (−∞ dB) at the AEG rate of the release state supplied from the sound source register 23, the sound generation unit is thereby The volume of the Lch and Rch musical sound data being generated in the Lch and Rch time slots gradually attenuates toward the zero level. If it is determined in step S22 that no detection has been made, the note-off event process is terminated. In addition, when a sounding unit with sufficiently advanced attenuation is detected, the CPU 10 performs an opening process for releasing the sounding unit as the above-mentioned “empty sounding unit”.
The present embodiment is characterized in that substantially the same processing is performed in the attenuation start instruction processing in step S23 marked with “*” regardless of whether the stereo sound generation mode is the monaural sound generation mode.

次に、本発明の楽音生成装置1において、楽音の生成中にピッチベンド命令が検出されたときに、CPU10が実行するピッチベンドイベント処理のフローチャートを図8に示す。ピッチベンド命令は、1つのパートで生成中の1ないし複数の楽音のピッチをリアルタイムに変化させる命令(MIDIメッセージ)であって、パラメータとして、何れのパートの命令であるかを示すパート番号と、音高の変化量を示すベンド量とを伴っている。例えば、操作子13とされるピッチベンドホイールが操作されると、そのホイールが制御するパートを示すパート番号と、その操作量に応じたベンド量を含むピッチベンド命令が生成される。また、通信I/O15を介して、外部機器からピッチベンド命令を受信する場合もある。
ピッチベンド命令が検出されると、図8に示すピッチベンドイベント処理がスタートされ、ステップS30にて、ピッチベンド命令に付随するパート番号をRAM12のワークエリアに確保された領域PTに、ベンド量を領域PVに格納する。次いで、ステップS31にて128ある発音単位(Unit)の先頭の発音単位が指定されて、指定された発音単位のUnit番号がRAM12のワークエリアに確保された領域CUに格納される。そして、ステップS32にて領域CUに格納されているUnit番号から後方へ向かって、領域PTに格納されているパート番号の楽音データを形成中の発音単位が検出されて、検出された場合はその発音単位のUnit番号がRAM12のワークエリアに確保された領域DUに格納される。そして、上記楽音データを形成中の発音単位が検出されたか否かがステップS33にて判断され、検出されたと判断された場合はステップS34に進む。
Next, FIG. 8 shows a flowchart of a pitch bend event process executed by the CPU 10 when a pitch bend command is detected during generation of a musical sound in the musical sound generating apparatus 1 of the present invention. The pitch bend command is a command (MIDI message) for changing in real time the pitch of one or a plurality of musical sounds being generated in one part. As a parameter, a part number indicating which part the command is and a sound With a bend amount indicating a high change amount. For example, when a pitch bend wheel serving as the operator 13 is operated, a pitch bend command including a part number indicating a part controlled by the wheel and a bend amount corresponding to the operation amount is generated. In some cases, a pitch bend command is received from an external device via the communication I / O 15.
When the pitch bend command is detected, the pitch bend event process shown in FIG. 8 is started. In step S30, the part number associated with the pitch bend command is set in the area PT secured in the work area of the RAM 12, and the bend amount is set in the area PV. Store. Next, in step S31, the first sounding unit of the 128 sounding units (Unit) is designated, and the unit number of the designated sounding unit is stored in the area CU secured in the work area of the RAM 12. Then, in step S32, the sound generation unit forming the musical sound data of the part number stored in the region PT is detected backward from the Unit number stored in the region CU. The unit number of the pronunciation unit is stored in the area DU secured in the work area of the RAM 12. Then, it is determined in step S33 whether or not the sounding unit forming the musical sound data is detected. If it is determined that the sounding unit is detected, the process proceeds to step S34.

ステップS34では、音源レジスタ23中の領域DUのUnit番号が示す発音単位におけるLchとRchに共通のピッチシフトPS(DU)の値が、当該発音単位で発音中の楽音のノート番号と領域PVのベンド量とに基づいて変更される。ステップS34の処理が終了するとステップS35にて領域DUのUnit番号が1だけインクリメントされて、そのUnit番号が領域CUに格納されて、ステップS32に戻る。ステップS32では領域CUに格納されている領域DUに格納された1インクリメントされたUnit番号から後方へ向かって、領域PTのパート番号が示すパートの楽音データを形成中の発音単位を検出する処理がさらに行われ、検出された場合はその発音単位のUnit番号が領域DUに格納され、続いてステップS33以降の処理が行われる。このステップS32ないしステップS35の処理が繰り返し行われることにより、領域PTのパート番号が示すパートの楽音データを形成中の発音単位の全てが検出され、音源レジスタ23中のそれらの発音単位におけるLchとRchに共通のピッチシフトPS(DU)の値が、それぞれ領域PVのベンド量に基づいて変更される。そして、領域PTに格納されているパート番号の楽音を形成中の該当発音単位の全てが検出されて、ステップS33にて該当発音単位がないと判断されると、ピッチベンドイベント処理は終了する。この処理の結果、音源20で生成中の、ピッチベンド命令のパート番号が示すパートの全ての楽音データのピッチが、ピッチベンド命令のベンド量に応じて変化(ベンド)する。
なお、本実施形態は、「*」が付されたステップS34のピッチ変更処理において、ステレオ発音モードかモノラル発音モードかに関わらず実質的に同じ処理が行われる点に特徴がある。
In step S34, the value of the pitch shift PS (DU) common to the Lch and Rch in the sound generation unit indicated by the Unit number of the area DU in the sound source register 23 is the note number of the musical sound being sounded in the sound generation unit and the area PV. It is changed based on the bend amount. When the process in step S34 is completed, the unit number of the area DU is incremented by 1 in step S35, the unit number is stored in the area CU, and the process returns to step S32. In step S32, a process of detecting a sounding unit that is forming the musical sound data of the part indicated by the part number of the region PT is performed backward from the unit number incremented by 1 stored in the region DU stored in the region CU. Further, if detected, the unit number of the pronunciation unit is stored in the area DU, and then the processing from step S33 is performed. By repeating the processing from step S32 to step S35, all the sounding units that form the musical tone data of the part indicated by the part number in the area PT are detected, and the Lch and the sounding units in those sounding units in the tone generator register 23 are detected. The value of the pitch shift PS (DU) common to Rch is changed based on the bend amount of the region PV. Then, when all the corresponding pronunciation units that form the musical tone of the part number stored in the area PT are detected and it is determined in step S33 that there is no corresponding pronunciation unit, the pitch bend event process ends. As a result of this processing, the pitch of all musical tone data of the part indicated by the part number of the pitch bend command being generated by the sound source 20 changes (bends) according to the bend amount of the pitch bend command.
The present embodiment is characterized in that substantially the same processing is performed regardless of whether the sound generation mode is the stereo sound mode or the monaural sound mode in the pitch change processing in step S34 to which “*” is added.

上記説明したように、ノートオンイベント処理、ノートオフイベント処理およびピッチベンドイベント処理では、制御対象の楽音データがモノラル発音されるかステレオ発音されるかに関わらず、その発音データを生成する発音単位に対して処理が行われるようになる。モノラル発音では、発音単位の一部のリソースが使われず一見無駄が多いように見えるが、高品質なステレオ発音を用いる音色が多数となっている現状では、実際問題として無駄になるリソースは余り多くなく、CPU10の負荷を軽減できる効果の方が遥かに大きい。
また、音源部20においては、発音単位毎にステレオ発音モードかモノラル発音モードかが設定されることから、ステレオ発音モードの発音単位とモノラル発音モードの発音単位とが平行して楽音データを生成するようになる。
As described above, note-on event processing, note-off event processing, and pitch bend event processing use the sound generation unit for generating sound data regardless of whether the musical sound data to be controlled is sounded in mono or stereo. On the other hand, processing is performed. In monaural pronunciation, some resources of the pronunciation units are not used and it seems that there is a lot of waste at first glance, but in the current situation where there are many timbres that use high-quality stereo pronunciation, there are too many resources that are wasted in practice. The effect of reducing the load on the CPU 10 is much greater.
Further, in the tone generator unit 20, since the stereo sound mode or the monaural sound mode is set for each sound generation unit, the tone data in the stereo sound mode and the sound unit in the monaural sound mode are generated in parallel. It becomes like this.

以上説明した本発明の楽音生成装置においては、波形メモリに圧縮された波形データも記録されるようにしていたが、これに限ることはなく圧縮されていない波形データのみを記録するようにしても良い。この場合は、伸張処理を行うDEC20eを省略することができる。また、本発明にかかる楽音生成装置の発音ch数を256chとしたが、これに限ることはなく256chより多くても少なくても良い。この場合、発音単位数は発音ch数の半分となる。
なお、WAG20c、読出&Cache部20d、DEC20e、INT20f、DCF20g等のステレオ2ch分のリソースを有する各ブロックでは、モノラル発音モードの発音単位のタイムスロットにおいて、Lchのリソースを使用してモノラル波形データの処理を行うようになっていたが、Rchのリソースを使用してモノラル波形データの処理を行うように変更してもよい。
また、トランケートUnit決定処理では、サーチ対象パートの楽音を生成している発音単位のLchの音量レベルに基づいて、トランケートする発音単位を決定していたが、この決定を、LchとRchのうちの大きいほうの音量レベルに基づいて行うようにしてもよい。また、その発音単位がリリース開始前か後かに関わらず、トランケートする発音単位を決定するようにしていたが、既にリリース開始されている発音単位を、優先的にトランケートする発音単位として決定するようにしてもよい。また、まず、サーチ対象のパートを絞り込み、絞り込まれたパートの楽音を生成している発音単位の音量レベルに基づいて、トランケートする発音単位を決定していたが、この絞込みを行わず、全パートの楽音を生成している発音単位の音量に基づいて、トランケートする発音単位を決定するようにしてもよい。
また、CPU11は、セントスケールのFナンバであるピッチシフトデータ(PS)を、音源レジスタ23に設定するようになっていたが、その代わりに、リニアスケールのFナンバを設定するようにしてもよい。この場合、Fナンバ発生部20aでは、CPU11が設定したFナンバを、セントスケールからリニアスケールに変換する必要はなくなる。ただし、Fナンバ発生部20aにおける、CPU11からのFナンバと、PEG20kからのピッチEGと、LFO20mからの変調データの合成のための構成が複雑化するので、音源レジスタ23にリニアスケールのFナンバを記憶させることは、設計として不適切である。
リアルタイムに制御パラメータの値を制御する例として、ピッチベンド命令の例を示したが、リアルタイム制御はこれに限らない。例えば、音量をリアルタイム制御するエクスプレション命令、LFOによる振幅等の変調深さをリアルタイム制御するモジュレーションデプス命令、カットオフ周波数をリアルタイム制御するパラメータチェンジ命令等によるリアルタイム制御であってもよい。
In the musical sound generating apparatus of the present invention described above, compressed waveform data is also recorded in the waveform memory. However, the present invention is not limited to this, and only uncompressed waveform data may be recorded. good. In this case, the DEC 20e that performs the decompression process can be omitted. In addition, although the number of sound generation channels of the tone generator according to the present invention is 256 channels, the number of sound generation channels is not limited to this and may be more or less than 256 channels. In this case, the number of sounding units is half the number of sounding channels.
In each block having resources for 2 stereo channels such as WAG 20c, read & cache unit 20d, DEC 20e, INT 20f, DCF 20g, etc., monaural waveform data processing is performed using Lch resources in the time slot of the sound generation unit in the monaural sound generation mode. However, it may be changed so that monaural waveform data is processed using Rch resources.
In the truncation unit determination process, the sound generation unit to be truncated is determined based on the volume level of the Lch of the sound generation unit that generates the musical sound of the search target part. You may make it carry out based on the larger volume level. In addition, the sounding unit to be truncated is determined regardless of whether the sounding unit is before or after the start of the release, but the sounding unit that has already been released is determined as the sounding unit to be preferentially truncated. It may be. First, the search target part was narrowed down, and the truncation unit to be truncated was determined based on the volume level of the sound generation unit generating the musical sound of the narrowed part. The sounding unit to be truncated may be determined based on the volume of the sounding unit that generates the musical sound.
Further, the CPU 11 sets the pitch shift data (PS), which is the cent scale F number, in the tone generator register 23, but instead, may set the linear scale F number. . In this case, the F number generator 20a does not need to convert the F number set by the CPU 11 from a cent scale to a linear scale. However, since the configuration for synthesizing the F number from the CPU 11, the pitch EG from the PEG 20k, and the modulation data from the LFO 20m in the F number generating unit 20a is complicated, a linear scale F number is added to the sound source register 23. It is inappropriate as a design to memorize.
As an example of controlling the value of the control parameter in real time, an example of a pitch bend command has been shown, but real time control is not limited to this. For example, an expression command for controlling the volume in real time, a modulation depth command for controlling the modulation depth such as amplitude by LFO in real time, or a parameter change command for controlling the cutoff frequency in real time may be used.

1 楽音生成装置、10 CPU、11 フラッシュROM、12 RAM、13 操作子、14 表示器、15 通信I/O、16 バスライン、20 音源部、20a FG、20b PG、20c WAG、20d 読出&Cashe、20e DEC、20f INT、20g DCF、20h DCA、20i MIX、20j DAC、20k PEG、20m LFO、20n FEG、20p AEG、21 波形メモリ、22 サウンドシステム、23 音源レジスタ、111 位相発生部、112 波形読出部、113 特性制御部、114 MIX、115 DAC、116 制御波形発生部、117a 受付部、122 制御部 DESCRIPTION OF SYMBOLS 1 Musical sound production | generation apparatus, 10 CPU, 11 Flash ROM, 12 RAM, 13 Operator, 14 Display, 15 Communication I / O, 16 Bus line, 20 Sound source part, 20a FG, 20b PG, 20c WAG, 20d Reading & Cashe, 20e DEC, 20f INT, 20g DCF, 20h DCA, 20i MIX, 20j DAC, 20k PEG, 20m LFO, 20n FEG, 20p AEG, 21 waveform memory, 22 sound system, 23 tone generator register, 111 phase generator, 112 waveform readout Unit, 113 characteristic control unit, 114 MIX, 115 DAC, 116 control waveform generation unit, 117a reception unit, 122 control unit

Claims (2)

ステレオサンプリングされたLch波形データとRch波形データとからなる波形データペアと、モノラルサンプリングされたモノ波形データとを、それぞれ、複数記憶している波形メモリと、
モードフラグに応じてステレオ発音モードまたはモノラル発音モードで動作する、2つの発音chからなる発音単位であって、N(Nは1以上の整数)個の発音単位を備えており、ステレオ発音モードで動作する各発音単位は、前記波形メモリから2ch分の波形データを読み出して、2chの楽音波形を生成し、モノラル発音モードで動作する各発音単位は、前記波形メモリから1ch分の波形データを読み出して、1chの楽音波形を生成する音源部と、
N個の発音単位に対応するN個の音色制御データを記憶しており、各音色制御データは、前記モードフラグ、第1波形指定情報、第2波形指定情報、Fナンバ、および、特性パラメータを含んでいる音源レジスタと、
前記音源レジスタへパラメータを書き込むことにより、前記音源部の動作を制御する制御部とを備え、
前記制御部は、新たな楽音の発音を指示する発音指示命令(ノートオン)に応じて、
N発音単位の何れか1つを、発音指示された楽音の生成に割り当て、
発音指示された楽音がステレオかモノラルかを判定し、
発音指示された楽音がステレオの場合は、ステレオ発音モードを示すモードフラグ、該楽音の生成に使用する第1波形指定情報、第2波形指定情報、Fナンバ、および、特性パラメータを含む音色制御データを形成し、前記音源レジスタの割り当てた発音単位に対応する記憶領域に設定するようにし、発音指示された楽音がモノラルの場合は、モノラル発音モードを示すモードフラグ、該楽音の生成に使用する第1波形指定情報、Fナンバ、および、特性パラメータを含む音色制御データを形成し、前記音源レジスタの割り当てた発音単位に対応する記憶領域に設定するようにして、
割り当てた発音単位に対して、発音の開始を指示する処理を行い、
前記音源部は、前記制御部からの1つの発音単位に対する発音開始指示に応じて、
前記音源レジスタに記憶された当該発音単位のモードフラグがステレオ発音モードを示していれば、前記音源レジスタに設定された当該発音単位の第1波形指定情報が示すLch(又はRch)波形データと、当該発音単位の第2波形指定情報が示すRch(又はLch)波形データとを、それぞれ、当該発音単位のFナンバが示す速度で前記波形メモリから読み出し、読み出されたLch波形データとRch波形データの各楽音特性を、前記音源レジスタに設定された当該発音単位の特性制御パラメータに基づいて制御して、Lchの楽音信号とRchの楽音信号とを形成し、
前記音源レジスタに記憶された当該発音単位のモードフラグがモノラル発音モードを示していれば、前記音源レジスタに記憶された当該発音単位の第1波形指定情報が示すモノ波形データを、当該発音単位のFナンバが示す速度で波形メモリから読み出し、読み出されたモノ波形データの楽音特性を、前記音源レジスタに設定された当該発音単位の特性制御パラメータに基づいて制御して、モノラルの楽音信号を形成する処理を行うことを特徴とする楽音生成装置。
A waveform memory storing a plurality of waveform data pairs each including stereo-sampled Lch waveform data and Rch waveform data, and mono-sampled mono waveform data;
The sound generation unit is composed of two sound generation channels that operate in the stereo sound mode or the monaural sound mode according to the mode flag, and has N (N is an integer of 1 or more) sound units. Each sounding unit that operates operates to read 2ch of waveform data from the waveform memory to generate a 2ch musical sound waveform, and each sounding unit that operates in the monaural sounding mode reads 1ch of waveform data from the waveform memory. A sound source unit for generating a 1ch musical sound waveform,
N tone color control data corresponding to N tone generation units are stored, and each tone color control data includes the mode flag, the first waveform designation information, the second waveform designation information, the F number, and the characteristic parameter. Including sound source register,
A controller that controls the operation of the sound source unit by writing parameters to the sound source register;
In response to a sound generation instruction command (note-on) for instructing the pronunciation of a new musical sound, the control unit
Assign any one of N sounding units to the generation of a musical sound that has been instructed to sound,
Judge whether the musical sound that is pronounced is stereo or monaural,
When the tone sound to be generated is stereo, tone color control data including a mode flag indicating a stereo tone generation mode, first waveform specifying information used for generating the tone, second waveform specifying information, F number, and characteristic parameters Is set in a storage area corresponding to the tone generation unit assigned in the tone generator register, and when the tone instructed for tone generation is monaural, a mode flag indicating the monaural tone generation mode is used to generate the tone. Forming timbre control data including one waveform designation information, F number, and characteristic parameter, and setting it in a storage area corresponding to the tone generation unit assigned in the tone generator register;
For the assigned pronunciation unit, perform the process to instruct the start of pronunciation,
In response to a sounding start instruction for one sounding unit from the control unit,
If the mode flag of the sounding unit stored in the sound source register indicates the stereo sounding mode, Lch (or Rch) waveform data indicated by the first waveform designation information of the sounding unit set in the sound source register; The Rch (or Lch) waveform data indicated by the second waveform designation information of the sounding unit is read from the waveform memory at the speed indicated by the F number of the sounding unit, and the read Lch waveform data and Rch waveform data are read. Are controlled based on the characteristic control parameter of the sound generation unit set in the tone generator register to form an Lch tone signal and an Rch tone signal,
If the mode flag of the sounding unit stored in the sound source register indicates the monaural sounding mode, the mono waveform data indicated by the first waveform designation information of the sounding unit stored in the sound source register is stored in the sounding unit. A monophonic tone signal is formed by reading out the tone characteristics of the mono waveform data read from the waveform memory at the speed indicated by the F number, based on the characteristic control parameters of the sound generation unit set in the tone generator register. A musical sound generating apparatus characterized by performing processing to perform.
前記制御部は、生成中の楽音のFナンバあるいは制御パラメータの値を指示する制御命令に応じて、
当該制御命令の制御対象の楽音を生成中の発音単位を特定し、
前記音源レジスタの該特定された発音単位のFナンバあるいは制御パラメータの値を、前記制御命令で指示された値に変更する処理を行い、
前記音源部は、前記制御部によるFナンバあるいは制御パラメータの値の変更により、
前記音源レジスタに記憶された当該発音単位のモードフラグがステレオ発音モードを示していれば、前記波形メモリからLch波形データとRch波形データを読み出す際の各読出速度を、変更されたFナンバにより制御あるいは読み出したLch波形データとRch波形データの各楽音特性の制御を、変更された特性パラメータにより制御し、
前記音源レジスタに記憶された当該発音単位のモードフラグがモノラル発音モードを示していれば、前記波形メモリからモノ波形データを読み出す際の読出速度を、変更されたFナンバにより制御あるいは読み出したモノ波形データの楽音特性の制御を、変更された特性パラメータにより制御する処理を行うことを特徴とする請求項1記載の楽音生成装置。
In response to a control command indicating the F number of a musical tone being generated or the value of a control parameter, the control unit
Identify the sound generation unit that is generating the musical tone to be controlled by the control command,
A process of changing the value of the F number or control parameter of the specified tone generation unit of the sound source register to a value instructed by the control instruction;
The sound source unit can be changed by changing the F number or control parameter value by the control unit.
If the mode flag of the sounding unit stored in the tone generator register indicates the stereo sounding mode, each reading speed when reading the Lch waveform data and the Rch waveform data from the waveform memory is controlled by the changed F number. Alternatively, the control of each tone characteristic of the read Lch waveform data and Rch waveform data is controlled by the changed characteristic parameter,
If the mode flag of the sounding unit stored in the tone generator register indicates the monaural sounding mode, the mono waveform controlled or read by the changed F number at the reading speed when reading mono waveform data from the waveform memory 2. The musical tone generation apparatus according to claim 1, wherein a process for controlling the musical tone characteristic of the data is performed according to the changed characteristic parameter.
JP2010174519A 2010-08-03 2010-08-03 Music generator Expired - Fee Related JP5573465B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2010174519A JP5573465B2 (en) 2010-08-03 2010-08-03 Music generator
US13/196,741 US8389844B2 (en) 2010-08-03 2011-08-02 Tone generation apparatus
EP11176241.5A EP2416311B1 (en) 2010-08-03 2011-08-02 Tone generation apparatus
CN201110221297.0A CN102347023B (en) 2010-08-03 2011-08-03 Tone generation apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010174519A JP5573465B2 (en) 2010-08-03 2010-08-03 Music generator

Publications (2)

Publication Number Publication Date
JP2012037562A true JP2012037562A (en) 2012-02-23
JP5573465B2 JP5573465B2 (en) 2014-08-20

Family

ID=45849651

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010174519A Expired - Fee Related JP5573465B2 (en) 2010-08-03 2010-08-03 Music generator

Country Status (1)

Country Link
JP (1) JP5573465B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5136916A (en) * 1990-03-19 1992-08-11 Yamaha Corporation Electronic musical instrument
US5290965A (en) * 1990-03-20 1994-03-01 Yamaha Corporation Asynchronous waveform generating device for use in an electronic musical instrument
US6169241B1 (en) * 1997-03-03 2001-01-02 Yamaha Corporation Sound source with free compression and expansion of voice independently of pitch
JP2003108142A (en) * 2001-09-28 2003-04-11 Casio Comput Co Ltd Musical sound generating device and program for musical sound generation processing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5136916A (en) * 1990-03-19 1992-08-11 Yamaha Corporation Electronic musical instrument
US5290965A (en) * 1990-03-20 1994-03-01 Yamaha Corporation Asynchronous waveform generating device for use in an electronic musical instrument
US6169241B1 (en) * 1997-03-03 2001-01-02 Yamaha Corporation Sound source with free compression and expansion of voice independently of pitch
JP2003108142A (en) * 2001-09-28 2003-04-11 Casio Comput Co Ltd Musical sound generating device and program for musical sound generation processing

Also Published As

Publication number Publication date
JP5573465B2 (en) 2014-08-20

Similar Documents

Publication Publication Date Title
US6687674B2 (en) Waveform forming device and method
US8389844B2 (en) Tone generation apparatus
JP2008112183A (en) Reduced-memory reverberation simulator in sound synthesizer
JP4181637B2 (en) Periodic forced filter for pre-processing acoustic samples used in wavetable synthesizers
KR100319481B1 (en) Method and device for forming a tone waveform by combined use of different waveform sample forming resolutions
JP2007011217A (en) Musical sound synthesizer and program
KR100416932B1 (en) A musical tone generating apparatus, a musical tone generating method, and a storage medium
JP4561636B2 (en) Musical sound synthesizer and program
JP3008922B2 (en) Music sound generating apparatus and music sound generating method
JP4867940B2 (en) Musical sound generating apparatus and program
US6762358B2 (en) Waveform reproduction apparatus
EP3373289B1 (en) Electronic musical instrument, musical sound generating method, and storage medium
JP5573465B2 (en) Music generator
JP5732769B2 (en) Music generator
JP2012037561A (en) Musical sound generating device
JP3095018B2 (en) Music generator
JP5316091B2 (en) Waveform memory sound source
JP4236570B2 (en) Waveform playback device and waveform playback program
JP7159583B2 (en) Musical sound generating device, musical sound generating method, musical sound generating program, and electronic musical instrument
JP3746578B2 (en) Waveform generator
JP2940440B2 (en) Electronic musical instrument waveform data compression recording method and waveform data reproduction method
JP5353305B2 (en) Forming method of waveform data
JPH07271375A (en) Sound source device
JP5070842B2 (en) Musical sound generating apparatus and program
JP2956552B2 (en) Musical sound generating method and apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130620

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140616

R150 Certificate of patent or registration of utility model

Ref document number: 5573465

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees