JP5316091B2 - Waveform memory sound source - Google Patents

Waveform memory sound source Download PDF

Info

Publication number
JP5316091B2
JP5316091B2 JP2009049482A JP2009049482A JP5316091B2 JP 5316091 B2 JP5316091 B2 JP 5316091B2 JP 2009049482 A JP2009049482 A JP 2009049482A JP 2009049482 A JP2009049482 A JP 2009049482A JP 5316091 B2 JP5316091 B2 JP 5316091B2
Authority
JP
Japan
Prior art keywords
waveform data
waveform
data
channel
reading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2009049482A
Other languages
Japanese (ja)
Other versions
JP2010204366A (en
Inventor
正宏 清水
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yamaha Corp filed Critical Yamaha Corp
Priority to JP2009049482A priority Critical patent/JP5316091B2/en
Publication of JP2010204366A publication Critical patent/JP2010204366A/en
Application granted granted Critical
Publication of JP5316091B2 publication Critical patent/JP5316091B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To obtain musical sound with various performance strength in high fidelity, even when a waveform data of sound of a musical instrument with an attenuation type is stored in a memory with a small capacity. <P>SOLUTION: A whole waveform data in which a connection point is set is stored in a waveform memory, for a waveform data (f) of a maximum strength. As for a waveform data W(mf) of a performance strength (mf) which is weaker than the maximum strength, the waveform data (f) creates an attack section waveform data Wa(mf) composed of waveforms of a connection section which is connected to a connection point or after, after a waveform in an attack feature section by performing attack waveform creation processing A, and it is stored in the waveform memory. As for waveform data W(p) of performance strength (mp) and (p), which are weaker than the waveform (mf), attack section waveform data Wa(mp) and Wa(p) which are created by similar attack waveform creation processing B and C are stored in the waveform memory. Thereby, a storage capacity of the waveform memory is reduced. <P>COPYRIGHT: (C)2010,JPO&amp;INPIT

Description

この発明は、波形メモリに記憶された波形データから楽音を合成する波形メモリ音源に関する。   The present invention relates to a waveform memory sound source that synthesizes musical sounds from waveform data stored in a waveform memory.

従来、楽音生成装置における音源の一つとして波形メモリ音源が知られている。波形メモリ音源は、実際の楽器を演奏したときの楽音をサンプリングしてデジタル信号に変換した波形データを波形メモリに記憶させておき、発生すべきノートナンバに応じた読出速度で波形メモリから波形データを読み出して、楽音を生成するようにしている。このような波形メモリ音源において自然楽器の音色に近似した楽音を波形メモリ音源で再生するためには、音高毎あるいは音域毎の波形データを音色毎に波形メモリに記憶させる必要があることから、波形メモリに記憶する波形データのデータ量が膨大な量となる。さらに、楽音の音高(音域)や鍵盤の押鍵速度等の演奏強度に応じて発生される楽音の音色が異なるようになる。例えば、鍵盤を強いタッチで押鍵すると、高域成分が増加した楽音が発生され、鍵盤を押鍵するタッチが弱くなるに従って、高域成分が減少した楽音が発生されるようになる。そこで、波形メモリ音源を備える楽音生成装置においては、波形メモリに音高(音域)や演奏強度に応じた楽音波形データを記憶することも必要とされる。このように、音高(音域)や演奏強度に応じた波形データを音色毎に波形メモリに記憶するようにすると、より膨大なメモリ容量の波形メモリが必要になる。   Conventionally, a waveform memory sound source is known as one of sound sources in a musical sound generation device. The waveform memory sound source stores waveform data obtained by sampling a musical tone when playing an actual musical instrument and converting it into a digital signal in the waveform memory, and reading the waveform data from the waveform memory at a reading speed according to the note number to be generated. Is read out to generate a musical tone. In order to reproduce a musical tone that approximates the tone of a natural musical instrument in such a waveform memory sound source, it is necessary to store waveform data for each pitch or range in the waveform memory for each tone color. The amount of waveform data stored in the waveform memory is enormous. Furthermore, the tone color of the musical tone that is generated differs according to the performance intensity such as the pitch (tone range) of the musical tone and the key depression speed of the keyboard. For example, when a key is pressed with a strong touch, a musical sound with an increased high frequency component is generated, and a musical sound with a decreased high frequency component is generated as the touch of pressing the key becomes weaker. Therefore, in a musical sound generating device equipped with a waveform memory sound source, it is also necessary to store musical sound waveform data corresponding to the pitch (tone range) and performance intensity in the waveform memory. As described above, if waveform data corresponding to the pitch (sound range) or performance intensity is stored in the waveform memory for each tone color, a waveform memory having a huge memory capacity is required.

ところで、楽音波形のアタック部においては基本波の高調波成分等の高い周波数成分が多く含まれているが、持続部においては高調波の減衰が速く進んでおり、残った成分はほとんど基本波成分となるため、アタック部に比較して含まれる周波数成分は低いものとなる。そこで、波形メモリ音源のメモリ容量を低減する一手法として、全波形の波形データを波形メモリに記憶することに替えて、アタック部の波形データと、持続部の波形データの一部を繰り返し再生するループ波形データとして波形メモリに記憶するようにすることが提案されていた。このような波形メモリ音源において楽音を生成する際には、まず、アタック部の波形データを読み出し、次いで、ループ波形データを繰り返し再生するループ再生処理を行うことにより楽音波形を生成するようにしている。   By the way, the high-frequency component such as the harmonic component of the fundamental wave is contained in the attack part of the musical sound waveform, but the attenuation of the harmonic proceeds rapidly in the sustaining part, and the remaining component is almost the fundamental component. Therefore, the frequency component included is lower than that of the attack portion. Therefore, as a method of reducing the memory capacity of the waveform memory sound source, instead of storing the waveform data of all waveforms in the waveform memory, the waveform data of the attack part and a part of the waveform data of the continuous part are repeatedly reproduced. It has been proposed to store in a waveform memory as loop waveform data. When generating a musical tone in such a waveform memory sound source, first, the waveform data of the attack portion is read, and then the musical tone waveform is generated by performing a loop reproduction process of repeatedly reproducing the loop waveform data. .

特許第3666346号公報Japanese Patent No. 3666346 特許第3534012号公報Japanese Patent No. 3534012 特許第3659053号公報Japanese Patent No. 3655903

波形メモリ音源において、メモリ容量を低減するために、アタック部の波形データとループ波形データを波形メモリに記憶するようにすると、楽音を生成する際に、ループ波形データを繰り返し再生する持続部においては音色が単調になるという問題点があった。また、従来の波形メモリ音源において、楽音波形の開始から終了までの全波形を波形メモリに記憶する場合は、膨大なメモリ容量を必要とすることから、通常は1つの演奏強度の波形データのみを波形メモリに記憶するようにしており、種々の演奏強度の楽音が忠実に得られないという問題点があった。   In the waveform memory sound source, if the waveform data of the attack part and the loop waveform data are stored in the waveform memory in order to reduce the memory capacity, the continuation part that repeatedly reproduces the loop waveform data when generating a musical sound There was a problem that the tone became monotonous. Also, in the conventional waveform memory sound source, when all waveforms from the start to the end of the musical sound waveform are stored in the waveform memory, an enormous memory capacity is required, so normally only waveform data of one performance intensity is stored. There is a problem that musical sounds having various performance intensities cannot be faithfully obtained because they are stored in the waveform memory.

そこで、本発明は、少ない容量で減衰系の楽器音の波形データをメモリに記憶しても、種々の演奏強度の楽音を忠実に得ることのできる波形メモリ音源を提供することを目的としている。   Accordingly, an object of the present invention is to provide a waveform memory sound source that can faithfully obtain musical tones with various performance intensities even when waveform data of attenuation-type instrument sounds is stored in a memory with a small capacity.

上記目的を達成するために、本発明の波形メモリ音源は、演奏強度が最強の全波形であって、複数の演奏強度に対応した複数の接続ポイントと、同複数の演奏強度に対応した複数の読出開始アドレスとが設定されている第1波形データと、複数の演奏強度に対応した複数の第4波形データであって、それぞれ、対応する演奏強度の波形データにおけるアタック特徴部と、それに続く、前記第1波形データの該演奏強度に対応した接続ポイント以降へ接続するための接続部とを含む複数の第4波形データとが記憶されている波形メモリと、供給される発音指示に含まれる演奏強度データが示す演奏強度に応じて、複数の前記第4波形データの内の何れか1を選択する選択する選択部と、前記発音指示に応じて、前記選択部により選択された第4波形データをその先頭アドレスから読み出すとともに、該読み出しに同期して、前記第1波形データを、前記複数の読出開始アドレスの内の当該演奏強度に対応する読出開始アドレスから読み出す読出部と、前記読出部により読み出された第4波形データの前記接続部の末尾以降の所定ポイントで、該第4波形データに同読み出された第1波形データを接続し、該接続された波形データに基づいて楽音波形データを形成する楽音形成部とを備えることを最も主要な特徴としている。   In order to achieve the above object, the waveform memory sound source of the present invention is a full waveform having the strongest performance intensity, and has a plurality of connection points corresponding to a plurality of performance intensities and a plurality of connection points corresponding to the plurality of performance intensities. A first waveform data for which a read start address is set, and a plurality of fourth waveform data corresponding to a plurality of performance intensities, each having an attack feature in the waveform data of the corresponding performance intensity, followed by A waveform memory storing a plurality of fourth waveform data including a connection portion for connecting to the connection point corresponding to the performance intensity of the first waveform data, and a performance included in the supplied sounding instruction A selection unit that selects any one of the plurality of fourth waveform data according to the performance intensity indicated by the intensity data, and a fourth selected by the selection unit according to the sound generation instruction. Reading out the shape data from the head address, and reading out the first waveform data from the reading start address corresponding to the performance intensity among the plurality of reading start addresses in synchronization with the reading; And connecting the first waveform data read out to the fourth waveform data at a predetermined point after the end of the connecting portion of the fourth waveform data read out by the unit, and based on the connected waveform data The main feature is the provision of a musical tone forming unit for forming musical tone waveform data.

本発明によれば、接続ポイントが設定されている最高強度の第1波形データと、アタック特徴部と、それに続く、第1波形データの接続ポイント以降へ接続するための接続部とを含む複数の第4波形データだけが波形メモリに記憶されていることから、波形メモリの記憶容量は少なくなっている。そして、楽音を合成する場合は、第4波形データをその先頭アドレスから読み出すとともに、該読み出しに同期して、第4波形データに対応する読出開始アドレスから第1波形データを読み出して、第4波形データの接続部以降に第1波形データを接続することにより楽音波形データを形成しているため、演奏強度に応じた複数の全波形データを、そのまま波形メモリに記憶した場合と比べて殆ど変わらない品質で、楽音を合成することができる。従って、種々の演奏強度の楽音を忠実に得ることができるようになる。   According to the present invention, a plurality of first waveform data having the highest strength at which a connection point is set, an attack feature, and a plurality of subsequent connections for connecting to the first waveform data after the connection point. Since only the fourth waveform data is stored in the waveform memory, the storage capacity of the waveform memory is reduced. When synthesizing a musical tone, the fourth waveform data is read from the head address, and in synchronization with the reading, the first waveform data is read from the read start address corresponding to the fourth waveform data, and the fourth waveform data is read. Since the musical tone waveform data is formed by connecting the first waveform data after the data connection portion, a plurality of all waveform data corresponding to the performance intensity is almost the same as when stored in the waveform memory as it is. Music can be synthesized with quality. Accordingly, it is possible to faithfully obtain musical tones having various performance intensities.

本発明の実施例の波形メモリ音源を備える楽音生成装置の構成を示す回路ブロック図である。It is a circuit block diagram which shows the structure of a musical sound production | generation apparatus provided with the waveform memory sound source of the Example of this invention. 本発明の実施例の波形メモリ音源の詳細な構成を示す回路ブロック図である。It is a circuit block diagram which shows the detailed structure of the waveform memory sound source of the Example of this invention. 本発明の波形メモリ音源における波形メモリに記憶する第1の波形データの形成方法の概要を示す図である。It is a figure which shows the outline | summary of the formation method of the 1st waveform data memorize | stored in the waveform memory in the waveform memory sound source of this invention. 本発明の波形メモリ音源における波形メモリに記憶する第2の波形データの形成方法の概要を示す図である。It is a figure which shows the outline | summary of the formation method of the 2nd waveform data memorize | stored in the waveform memory in the waveform memory sound source of this invention. 本発明の波形メモリ音源における波形メモリに記憶する波形データの形成方法においてアタック波形作成処理を説明する図である。It is a figure explaining the attack waveform creation process in the formation method of the waveform data memorize | stored in the waveform memory in the waveform memory sound source of this invention. 本発明の波形メモリ音源における波形メモリに記憶する波形データの形成方法においてアタック波形作成処理を説明する他の図である。It is another figure explaining the attack waveform creation process in the formation method of the waveform data memorize | stored in the waveform memory in the waveform memory sound source of this invention. 波形データの形成方法にかかるアタック部波形データWa(x)の決定論的成分の波形データDa(x)を作成する処理の概念図である。It is a conceptual diagram of the process which produces the waveform data Da (x) of the deterministic component of the attack part waveform data Wa (x) concerning the formation method of waveform data. 波形データの形成方法にかかるアタック部波形データWa(x)を作成する処理の概念図である。It is a conceptual diagram of the process which produces the attack part waveform data Wa (x) concerning the formation method of waveform data. 波形データの形成方法にかかるスムージング処理における位相のスムージング処理の概念図である。It is a conceptual diagram of the phase smoothing process in the smoothing process concerning the formation method of waveform data. 波形データの形成方法にかかるスムージング処理における振幅のスムージング処理の概念図である。It is a conceptual diagram of the amplitude smoothing process in the smoothing process concerning the formation method of waveform data. 波形データの形成方法においてクロスフェードを行うことによりアタック部波形データを作成する処理を説明する図である。It is a figure explaining the process which produces attack part waveform data by performing a cross fade in the formation method of waveform data. 波形データの形成方法においてクロスフェードを行うことによりアタック部波形データを作成する処理の概念図である。It is a conceptual diagram of the process which produces attack part waveform data by performing a cross fade in the formation method of waveform data. 波形データの形成方法にかかる楽音生成装置において楽音を生成する処理を説明する図である。It is a figure explaining the process which produces | generates a musical tone in the musical tone production | generation apparatus concerning the formation method of waveform data. 本発明にかかる楽音生成装置においてノートオンが検出された際に楽音が生成されるタイミングチャートを示す図である。It is a figure which shows the timing chart in which a musical tone is produced | generated when note-on is detected in the musical tone production | generation apparatus concerning this invention. 本発明にかかる楽音生成装置の音源において実行されるノートオンイベント処理のフローチャートである。It is a flowchart of the note-on event process performed in the sound source of the musical tone generator according to the present invention. 本発明にかかる楽音生成装置の音源において実行されるリンクポイント割込処理のフローチャートである。It is a flowchart of the link point interruption process performed in the sound source of the musical sound production | generation apparatus concerning this invention. 本発明にかかる楽音生成装置の音源において実行されるフェードアウト終了割込処理のフローチャートである。It is a flowchart of the fade-out completion | finish interruption process performed in the sound source of the musical tone production | generation apparatus concerning this invention. 本発明にかかる楽音生成装置の音源において実行されるピッチ変化イベント処理のフローチャートである。It is a flowchart of the pitch change event process performed in the sound source of the musical tone generator according to the present invention. 本発明にかかる楽音生成装置の音源において実行される他のノートオンイベント処理のフローチャートの一部である。It is a part of flowchart of the other note on event process performed in the sound source of the musical sound production | generation apparatus concerning this invention.

本発明の波形メモリ音源を備える楽音生成装置1の構成を示す回路ブロック図を図1に示す。
図1に示す本発明にかかる楽音生成装置1において、CPU(Central Processing Unit)10は楽音生成装置1の全体の動作を制御すると共に、波形メモリ23に記憶させる波形データを形成する波形データ形成処理や楽音制御処理等を実行している。RAM(Random Access Memory)12には、CPU10のワークエリアや各種データ等の記憶エリアが設定されている。フラッシュROM11には、CPU10が実行する波形データ形成処理や楽音制御処理等の動作ソフトウェアが格納されている。フラッシュROM11は書き換え可能とされていることから、動作ソフトウェアを書き換え可能となり動作ソフトウェアのバージョンアップを容易に行うことができる。タイマ13はウォッチドックタイマ、インターバルタイマ、タイマ割り込みとして機能するタイマである。ハードディスクを備えるハードディスクドライブ(HDD)14には、音域や演奏強度に応じた全波形の波形データを音色毎に録音することができる。HDD14から読み出された波形データに波形データ形成処理を施すことにより、波形メモリ23に記憶する波形データが形成される。また、HDD14にはオペレーティングシステム(OS)や種々のアプリケーションプログラムやデータを格納することができる。
FIG. 1 shows a circuit block diagram showing a configuration of a musical sound generating apparatus 1 having a waveform memory sound source of the present invention.
In the musical tone generating apparatus 1 according to the present invention shown in FIG. 1, a CPU (Central Processing Unit) 10 controls the overall operation of the musical tone generating apparatus 1 and forms waveform data to be stored in the waveform memory 23. And musical tone control processing. A RAM (Random Access Memory) 12 is set with a work area for the CPU 10 and a storage area for various data. The flash ROM 11 stores operation software such as waveform data forming processing and musical tone control processing executed by the CPU 10. Since the flash ROM 11 is rewritable, the operation software can be rewritten and the operation software can be easily upgraded. The timer 13 is a timer that functions as a watchdog timer, an interval timer, and a timer interrupt. A hard disk drive (HDD) 14 having a hard disk can record waveform data of all waveforms corresponding to the tone range and performance intensity for each tone color. Waveform data to be stored in the waveform memory 23 is formed by performing waveform data formation processing on the waveform data read from the HDD 14. The HDD 14 can store an operating system (OS) and various application programs and data.

MIDI I/O15は、外部MIDI機器との間でMIDIイベントの授受を行うためのMIDIインタフェースであり、MIDI機器から出力されたMIDI信号を楽音生成装置1において受信することができる。そして、受信したMIDI信号に基づいて楽音信号を生成してサウンドシステム21から放音することができる。パネルスイッチ(パネルSW)16はパネルに備えられており、パネルSW16が走査されることによって操作されたパネル操作子のイベントが検出されてバスライン25に出力される。パネル表示器17は液晶等の表示手段を備え、各種設定画面を表示手段に表示したり波形データ形成処理や楽音制御処理時の操作画面が表示される。書込回路18は、外部波形入力端子24から入力される楽音波形信号をサンプリングして、HDD14に送って記録したり、波形データ形成処理が施された波形データを波形メモリ23に書き込む。バッファ(BUFF)19は、RAM12から波形メモリ23に書き込まれる波形データ形成処理が施された波形データ、あるいは、波形メモリ23から読み出された波形データを一時記憶して、CPU10やRAM12等に転送する。音源20はバスライン25を介して供給される各情報に基づいて、波形メモリ23から波形データを順次読み出し、読み出した波形データに基づいて楽音信号を生成する波形メモリ音源とされている。音源20は、複数の発音チャネルを有し、これら各発音チャネルの楽音信号発生処理を時分割多重制御により行っており、各発音チャネル毎に独立した楽音信号を生成し得るように構成されている。この場合、音源20は、複数時分割チャンネル動作を行い、CPU10から音源パラメータ情報をノートオン時に受けて、複数チャンネル分の複数の楽音信号を生成している。音源パラメータ情報は、割り当てチャンネル、ピッチ情報、エンベロープパラメータ等とされる。音源20の各チャンネルでは、それぞれ、波形メモリ23に記録されている波形データを読み出して、読み出した波形データを音源パラメータ情報に沿って加工することにより楽音信号を生成している。音源20で生成された楽音信号はサウンドシステム21から放音される。アクセス管理部22は、波形メモリ23に対する書込回路18と音源20とバッファ19とからのアクセスが互いに衝突しないように、波形メモリ23のアクセスタイムスロットを管理している。なお、楽音生成装置1の各部はコントロールバス、アドレスバスおよびデータバスからなるバスライン25により相互にデータの授受を行っている。   The MIDI I / O 15 is a MIDI interface for exchanging MIDI events with an external MIDI device, and the musical tone generator 1 can receive a MIDI signal output from the MIDI device. A musical sound signal can be generated based on the received MIDI signal and emitted from the sound system 21. A panel switch (panel SW) 16 is provided in the panel, and an event of a panel operator operated by scanning the panel SW 16 is detected and output to the bus line 25. The panel display 17 includes display means such as liquid crystal, and displays various setting screens on the display means, and operation screens during waveform data formation processing and musical tone control processing. The writing circuit 18 samples the musical sound waveform signal input from the external waveform input terminal 24 and sends it to the HDD 14 for recording, or writes the waveform data subjected to the waveform data forming process to the waveform memory 23. The buffer (BUFF) 19 temporarily stores the waveform data that has been subjected to the waveform data forming process written from the RAM 12 to the waveform memory 23 or the waveform data read from the waveform memory 23, and transfers it to the CPU 10, RAM 12, etc. To do. The sound source 20 is a waveform memory sound source that sequentially reads waveform data from the waveform memory 23 based on each information supplied via the bus line 25 and generates a musical sound signal based on the read waveform data. The sound source 20 has a plurality of tone generation channels, and the tone signal generation processing of each tone generation channel is performed by time-division multiplexing control, and is configured to be able to generate an independent tone signal for each tone generation channel. . In this case, the sound source 20 performs a plurality of time-division channel operations, receives sound source parameter information from the CPU 10 at the time of note-on, and generates a plurality of musical sound signals for a plurality of channels. The sound source parameter information is assigned channels, pitch information, envelope parameters, and the like. In each channel of the sound source 20, the waveform data recorded in the waveform memory 23 is read, and the read waveform data is processed along the sound source parameter information to generate a musical sound signal. The tone signal generated by the sound source 20 is emitted from the sound system 21. The access management unit 22 manages access time slots of the waveform memory 23 so that accesses from the writing circuit 18, the sound source 20, and the buffer 19 to the waveform memory 23 do not collide with each other. Note that each unit of the musical tone generating device 1 exchanges data with each other through a bus line 25 including a control bus, an address bus, and a data bus.

次に、本発明の実施例にかかる音源20の詳細な構成を示す回路ブロック図を図2に示す。図2に示す音源20において、制御レジスタ38には、CPU10により、各発音チャンネルのノートオン信号、ノートオフ信号、各発音チャンネルで生成される楽音信号の特性を制御するパラメータ、後述するリンク情報、DSP36で付与される音響効果を制御するエフェクトパラメータ等の各種パラメータが書き込まれる。さらに、CPU10が、複数同時書込部39を用いて該書き込みを行うことにより、同一チャンネル乃至異チャンネルの複数パラメータを、制御レジスタ38に同時に書き込むことができる。具体的には、CPU10が同時に書き込みたい複数のパラメータを、予め複数同時書込部39に渡しておき、その後のCPU10からのトリガに応じて、複数同時書込部39が、あるサンプリング周期と次のサンプリング周期の間の隙間のタイミングで、それら複数のパラメータを制御レジスタ38に順次書き込む。このようにして書き込まれた複数のパラメータは、各発音チャンネルで生成される楽音信号に対し、同一のタイミング(該次のサンプリング周期)で反映されるので、この明細書では、それを指して「同時書込」と呼んでいる。制御レジスタ38に書き込まれる各発音チャンネルのパラメータには、ノートナンバNN、ピッチデータPD、音量差分、読み出すべき波形データのスタートアドレス及びエンドアドレス、同波形データの原音高、振幅エンベロープ(振幅EG)パラメータ、クロスフェード制御データ等が含まれる。Fナンバ生成部31は、各時分割チャンネルタイミング毎に、制御レジスタ38から供給される当該チャンネルのノートナンバNN、ピッチデータPD、原音高に基づいて、整数部および小数部から構成され、かつ、波形データの音高をノートナンバNNとピッチデータPDにより示される音高にピッチシフトするための、当該チャンネルの周波数ナンバ(以下、「Fナンバ」という)を発生して読出部32に送る。読出部32は、各時分割チャンネル毎に、供給されるFナンバを累算することにより、制御レジスタ38からの当該チャンネルのスタートアドレスからエンドアドレスまで、Fナンバに応じた速度で進行するアドレスを生成し、生成されたアドレスの整数部に基づいて波形メモリ23から波形データのサンプルを読み出し、読み出された波形データのサンプルを、生成されたアドレスの少数部に基づいて、サンプル間補間して、当該チャンネルの補間サンプルを生成する。   Next, FIG. 2 shows a circuit block diagram showing a detailed configuration of the sound source 20 according to the embodiment of the present invention. In the sound source 20 shown in FIG. 2, the control register 38 has a CPU 10 that controls the note-on signal, note-off signal of each tone generation channel, parameters for controlling the characteristics of the tone signal generated in each tone generation channel, link information described later, Various parameters such as effect parameters for controlling the sound effect applied by the DSP 36 are written. Furthermore, the CPU 10 can write the plurality of parameters of the same channel or different channels simultaneously to the control register 38 by performing the writing using the plurality of simultaneous writing units 39. Specifically, a plurality of parameters that the CPU 10 wants to write at the same time are passed to the plurality of simultaneous writing units 39 in advance, and the plurality of simultaneous writing units 39 perform the following sampling cycle and the next in response to a trigger from the CPU 10 thereafter. The plurality of parameters are sequentially written in the control register 38 at the timing of the gap between the sampling periods. The plurality of parameters written in this way are reflected at the same timing (the next sampling cycle) on the musical tone signal generated in each tone generation channel. This is called "simultaneous writing". The parameters of each tone generation channel written to the control register 38 include note number NN, pitch data PD, volume difference, start address and end address of waveform data to be read, original pitch of the waveform data, amplitude envelope (amplitude EG) parameters , Crossfade control data and the like are included. The F number generation unit 31 includes an integer part and a decimal part based on the note number NN, pitch data PD, and original pitch of the channel supplied from the control register 38 for each time division channel timing, and A frequency number of the channel (hereinafter referred to as “F number”) for pitch shifting the pitch of the waveform data to the pitch indicated by the note number NN and the pitch data PD is generated and sent to the reading unit 32. The reading unit 32 accumulates the supplied F number for each time-division channel, thereby obtaining an address that proceeds at a speed corresponding to the F number from the start address to the end address of the channel from the control register 38. Generate waveform data samples from the waveform memory 23 based on the integer part of the generated address, and interpolate the read waveform data samples between samples based on the decimal part of the generated address. , The interpolation sample of the channel is generated.

振幅変化制御部33は、制御レジスタ38から供給されるノートオン信号、ノートオフ信号、音量EGパラメータに応じて、各時分割チャンネルタイミング毎に、楽音の立上りから立下りまでの音量変化を制御する当該チャンネルの音量エンベロープ(音量EG)波形データを生成する。各時分割チャンネルタイミング毎に、生成された音量EG波形データは、読出部32から出力された波形データの補間サンプルに、第1乗算器M1において乗算されて波形データの音量制御が行われる。クロスフェード(Xfade)制御部34は、制御レジスタ38から供給されるクロスフェード制御データに応じて、各時分割チャンネルタイミング毎に、当該チャンネルのクロスフェード係数を生成する。各時分割チャンネルタイミング毎に、生成されたクロスフェード係数は、第1乗算器M1から出力される波形データのサンプルに乗算される。この場合、クロスフェード制御データでフェードインが指示されたチャンネルでは、所定のクロスフェード時間内に0%(0.00)から100%(1.00)に徐々に増加(フェードイン)するクロスフェード係数が生成され、フェードアウトが指示されたチャンネルでは、所定のクロスフェード時間内に100%(1.00)から0%(0.00)に徐々に減少(フェードアウト)するクロスフェード係数が生成される。ここでのフェードイン、フェードアウトは、もともと同じ形状(又はほぼ同じ形状)の波形データ同士の接続用なので、変化カーブには制約がない。クロスフェードにかかる時間を短縮するため、リニアスケールで直線的に変化する変化カーブとするのがよい。また、クロスフェード制御データにより、各チャンネルの生成されるクロスフェード係数の値を、100%(1.00)ないし0%(0.00)に直接設定することもできる。   The amplitude change control unit 33 controls the change in volume from the rising edge to the falling edge of the musical sound at each time division channel timing in accordance with the note-on signal, note-off signal, and volume EG parameter supplied from the control register 38. Generates volume envelope (volume EG) waveform data for the channel. At each time division channel timing, the generated volume EG waveform data is multiplied by the interpolation sample of the waveform data output from the reading unit 32 in the first multiplier M1, and volume control of the waveform data is performed. The crossfade (Xfade) control unit 34 generates a crossfade coefficient of the channel at each time division channel timing in accordance with the crossfade control data supplied from the control register 38. At each time division channel timing, the generated crossfade coefficient is multiplied by the waveform data sample output from the first multiplier M1. In this case, in the channel in which fade-in is instructed by the cross-fade control data, the crossfade gradually increases (fade in) from 0% (0.00) to 100% (1.00) within a predetermined crossfade time. A coefficient is generated, and a crossfade coefficient that gradually decreases (fade out) from 100% (1.00) to 0% (0.00) within a predetermined crossfade time is generated in a channel in which fadeout is instructed. . The fade-in and fade-out here are originally for connecting waveform data having the same shape (or almost the same shape), so there is no restriction on the change curve. In order to reduce the time required for crossfade, it is preferable to use a change curve that changes linearly on a linear scale. In addition, the value of the crossfade coefficient generated for each channel can be directly set to 100% (1.00) to 0% (0.00) by the crossfade control data.

各時分割チャンネル毎に、第2乗算器M2から出力される波形データのサンプルは、ミキサ35に供給され、複数の出力先毎に重み付けされミキシングされる。DSP36は、制御レジスタ38からのエフェクトパラメータに基づき、各サンプリング周期毎に、ミキサ35から供給される波形データのサンプルに対し、リバーブ、コーラス等の各種音響効果を付与して、ミキサ35に戻す。さらに、ミキサ35は、各サンプリング周期毎に、DAC(デジタル−アナログ変換器)37を出力先とする波形データのサンプルに、DSP36からの波形データを足しこんでから該DAC37へ出力する。このようにして、エフェクトが付与されたミキサ35からのミキシング出力は、サンプリング周期毎に、DAC37においてアナログ信号に変換され、サウンドシステム21に出力される。   For each time division channel, the waveform data sample output from the second multiplier M2 is supplied to the mixer 35 and is weighted and mixed for each of a plurality of output destinations. Based on the effect parameter from the control register 38, the DSP 36 gives various acoustic effects such as reverb and chorus to the sample of waveform data supplied from the mixer 35 for each sampling period, and returns it to the mixer 35. Further, the mixer 35 adds the waveform data from the DSP 36 to the sample of waveform data having a DAC (digital-analog converter) 37 as an output destination for each sampling period, and then outputs the sample to the DAC 37. In this way, the mixing output from the mixer 35 to which the effect is applied is converted into an analog signal by the DAC 37 and output to the sound system 21 at every sampling period.

次に、楽音生成装置1の波形メモリ23に記憶させる波形データを形成する第1の波形データの形成方法の概要を図3を用いて説明する。
例えば、鍵盤楽器を最高強度の演奏強度(f)、演奏強度(f)より弱い演奏強度(mf)、演奏強度(mf)よりさらに弱い演奏強度(mp)、演奏強度(mp)よりさらに弱い演奏強度(p)の4種類の演奏強度で押鍵して、それぞれの楽音を同じマイクでかつ同じ録音レベルでHDD14に録音する。HDD14に録音した波形データが、図3における演奏強度(f)の波形データW(f)、演奏強度(mf)の波形データW(mf)、演奏強度(mp)の波形データW(mp)、演奏強度(p)の波形データW(p)である。次いで、波形メモリ23に記憶する波形データを作成するが、最高強度とされる演奏強度(f)の波形データW(f)の全波形データは、波形作成処理を施すことなくそのまま波形メモリ23に第1波形データとして記憶される。次に、波形データW(mf)にアタック波形作成処理Aを行って、波形データW(mf)のアタック特徴部と波形データW(f)に接続する接続部からなるアタック部波形データWa(mf)を作成する。この全波形データよりかなり少ない記憶容量とされるアタック部波形データWa(mf)を波形メモリ23に記憶する。なお、アタック波形作成処理Aにおいては、後述するが最高強度とされる波形データW(f)を利用することにより、波形データW(mf)のアタック特徴部より後の領域において波形データW(f)に接続できるアタック部波形データWa(mf)を作成する。
Next, an outline of a first waveform data forming method for forming waveform data to be stored in the waveform memory 23 of the musical tone generating device 1 will be described with reference to FIG.
For example, playing a keyboard instrument with the highest performance strength (f), performance strength (mf) weaker than performance strength (f), performance strength (mp) weaker than performance strength (mf), performance weaker than performance strength (mp) Keys are pressed at four performance intensities (p), and each tone is recorded on the HDD 14 with the same microphone and at the same recording level. The waveform data recorded in the HDD 14 are the waveform data W (f) of the performance intensity (f), the waveform data W (mf) of the performance intensity (mf), the waveform data W (mp) of the performance intensity (mp) in FIG. This is waveform data W (p) of performance intensity (p). Next, waveform data to be stored in the waveform memory 23 is created. All waveform data W (f) having the highest performance intensity (f) is stored in the waveform memory 23 without being subjected to waveform creation processing. Stored as first waveform data. Next, attack waveform creation processing A is performed on the waveform data W (mf), and the attack waveform data Wa (mf) comprising the attack feature of the waveform data W (mf) and the connection portion connected to the waveform data W (f). ). Attack waveform data Wa (mf) having a storage capacity considerably smaller than the total waveform data is stored in the waveform memory 23. In the attack waveform creation process A, the waveform data W (f) is used in the area after the attack feature of the waveform data W (mf) by using the waveform data W (f) which is the maximum intensity as will be described later. The attack waveform data Wa (mf) that can be connected to () is created.

また、波形データW(mp)には上記した処理と同様のアタック波形作成処理Bを行うことにより、全波形データよりかなり少ない記憶容量とされるアタック部波形データWa(mp)を作成して波形メモリ23に記憶し、波形データW(p)には上記した処理と同様のアタック波形作成処理Cを行うことにより、全波形データよりかなり少ない記憶容量とされるアタック部波形データWa(p)を作成して波形メモリ23に記憶する。このようにして波形メモリ23に記憶された演奏強度に応じた複数のアタック部波形データWa(mf)〜アタック部波形データWa(p)が第4波形データとされる。図3に示されている1波形セットは、ある音色におけるある音域の演奏強度に応じた波形セットである。この1波形セットにおいては、全波形データは最高強度とされる演奏強度(f)の波形データW(f)のみが必要とされ、最高強度より弱い演奏強度の波形データについては全波形データよりかなり少ない記憶容量とされるアタック部波形データWa(x)のみ必要とされることから、波形メモリ23に必要とされる波形データ用の記憶領域の容量を非常に低減することができる。   In addition, the waveform data W (mp) is subjected to the same attack waveform creation processing B as the above processing, thereby creating the attack portion waveform data Wa (mp) having a considerably smaller storage capacity than the entire waveform data. The waveform data W (p) stored in the memory 23 is subjected to attack waveform generation processing C similar to the above-described processing, so that the attack portion waveform data Wa (p) that has a considerably smaller storage capacity than the total waveform data is stored. Created and stored in the waveform memory 23. In this way, a plurality of attack part waveform data Wa (mf) to attack part waveform data Wa (p) corresponding to the performance intensity stored in the waveform memory 23 are set as the fourth waveform data. One waveform set shown in FIG. 3 is a waveform set corresponding to the performance intensity of a certain tone range in a certain tone color. In this one waveform set, only the waveform data W (f) with the performance intensity (f), which is the maximum intensity, is required for all waveform data, and the waveform data with the performance intensity weaker than the maximum intensity is considerably higher than the entire waveform data. Since only the attack portion waveform data Wa (x) having a small storage capacity is required, the capacity of the storage area for the waveform data required for the waveform memory 23 can be greatly reduced.

また、この波形メモリ23を利用して楽音を生成する際には、指示された演奏強度のアタック部波形データWa(x)を読み出し、この波形データWa(x)の接続部により波形データW(f)に接続して、以後は接続した波形データW(f)を読み出して再生する。このことから、指示された演奏強度の全波形データを再生する場合と比べて殆ど変わらない品質で楽音を合成することができる。この場合、音源の第1発音チャンネルと第2発音チャンネルを用いて、第1発音チャンネルにてアタック部波形データWa(x)を読み出して発音させるとともに、それに同期して、第2発音チャンネルにて波形データW(f)を読み出して発音させ、クロスフェード用波形データ(後述する)が読み出されるタイミングで、その2つの発音チャンネルの出力をクロスフェードすることにより、第1発音チャンネルのアタック部の波形データWa(x)から第2発音チャンネルの波形データW(f)になめらかに移行させる。なお、指示された演奏強度が最高強度の場合は、1つの発音チャンネルだけを用意して演奏強度(f)の波形データW(f)における全波形データを読み出して1つの発音チャンネルで再生するようにする。なお、波形データWa(x)から波形データW(f)への接続は、必ずしもクロスフェードによらなくてもよい。   Further, when generating a musical tone using the waveform memory 23, the attack portion waveform data Wa (x) of the instructed performance intensity is read, and the waveform data W ( After connecting to f), the connected waveform data W (f) is read and reproduced. Thus, it is possible to synthesize musical tones with a quality that is almost the same as when reproducing all waveform data of the instructed performance intensity. In this case, using the first sound channel and the second sound channel of the sound source, the attack part waveform data Wa (x) is read and sounded in the first sound channel, and in synchronization with that, the second sound channel is read. The waveform data W (f) is read and sounded, and the waveform of the attack part of the first sounding channel is created by crossfading the output of the two sounding channels at the timing when the crossfade waveform data (described later) is read. The data Wa (x) is smoothly shifted to the waveform data W (f) of the second tone generation channel. When the instructed performance intensity is the highest intensity, only one sounding channel is prepared, and all waveform data in the waveform data W (f) of the performance intensity (f) is read and reproduced on one sounding channel. To. Note that the connection from the waveform data Wa (x) to the waveform data W (f) does not necessarily need to be based on a cross fade.

また、楽音生成装置1の波形メモリ23に記憶させる波形データを形成する第2の波形データの形成方法の概要を図4を用いて説明する。
第2の波形データの形成方法においても、第1の波形データの形成方法と同様にしてHDD14に演奏強度(f)の波形データW(f)、演奏強度(mf)の波形データW(mf)、演奏強度(mp)の波形データW(mp)、演奏強度(p)の波形データW(p)を録音する。次いで、最高強度とされる演奏強度(f)の波形データW(f)の全波形データを、波形メモリ23に第1波形データとして記憶する。次に、波形データW(f)にアタック波形切出作成処理Dを行って、波形データW(f)のアタック特徴部と接続部からなるアタック部波形データWa(f)を切り出して、アタック部波形データWa(f)を波形メモリ23に記憶する。また、波形データW(mf)には第1実施例と同様のアタック波形作成処理Aを行うことにより作成された、全波形データよりかなり少ない記憶容量とされるアタック部波形データWa(mf)を波形メモリ23に記憶する。さらに、第1実施例と同様にしてアタック波形作成処理Bを行うことによりアタック部波形データWa(mp)を作成し、アタック波形作成処理Cを行うことによりアタック部波形データWa(p)を作成して、波形メモリ23にそれぞれ記憶する。このようにして波形メモリ23に記憶された演奏強度に応じた複数のアタック部波形データWa(f)〜アタック部波形データWa(p)が第4波形データとされる。
The outline of the second waveform data forming method for forming the waveform data to be stored in the waveform memory 23 of the musical tone generating device 1 will be described with reference to FIG.
Also in the second waveform data forming method, the performance data (f) waveform data W (f) and performance strength (mf) waveform data W (mf) are stored in the HDD 14 in the same manner as the first waveform data forming method. The waveform data W (mp) of the performance intensity (mp) and the waveform data W (p) of the performance intensity (p) are recorded. Next, the entire waveform data of the waveform data W (f) of the performance intensity (f), which is the maximum intensity, is stored in the waveform memory 23 as the first waveform data. Next, attack waveform cut-out creation processing D is performed on the waveform data W (f), and the attack waveform data Wa (f) composed of the attack feature portion and the connection portion of the waveform data W (f) is cut out. Waveform data Wa (f) is stored in the waveform memory 23. Further, the waveform data W (mf) includes the attack portion waveform data Wa (mf), which is created by performing the attack waveform creation processing A similar to the first embodiment and has a considerably smaller storage capacity than the entire waveform data. Store in the waveform memory 23. Further, the attack part waveform data Wa (mp) is created by performing the attack waveform creation process B in the same manner as the first embodiment, and the attack part waveform data Wa (p) is created by performing the attack waveform creation process C. And stored in the waveform memory 23, respectively. A plurality of attack part waveform data Wa (f) to attack part waveform data Wa (p) corresponding to the performance intensity stored in the waveform memory 23 in this way are set as the fourth waveform data.

波形メモリ23に記憶されたある音色におけるある音域の演奏強度に応じた1波形セットが図4に示されている。図4に示されている1波形セットにおいては、全波形データは最高強度とされる演奏強度(f)の波形データW(f)のみが記憶とされ、各演奏強度における全波形データよりかなり少ない記憶容量とされるアタック部波形データWa(x)が記憶されている。このことから、波形メモリ23に必要とされる波形データ用の記憶領域の容量を非常に低減することができる。また、この波形メモリ23を利用して楽音を生成する際には、上記第1実施例と同様に、指示された演奏強度のアタック部波形データWa(x)を読み出し、この波形データWa(x)の接続部により波形データW(f)に接続して、以後は接続した波形データW(f)を読み出して再生する。このことから、指示された演奏強度の全波形データを再生する場合と比べて殆ど変わらない品質で楽音を合成することができる。この場合、アタック部波形データWa(x)を発音する第1発音チャンネルと波形データW(f)を発音する第2発音チャンネルとを用意して、接続部においてクロスフェードすることにより第1発音チャンネルのアタック部の波形データWa(x)から第2発音チャンネルの波形データW(f)になめらかに移行させる。なお、指示された演奏強度が最高強度の場合であっても、第1発音チャンネルアタック部の波形データWa(f)から第2発音チャンネルの波形データW(f)に移行させることから、演奏強度によって楽音生成処理を変更する必要をなくすことができる。第2実施例においても、波形データWa(x)から波形データW(f)への接続は、必ずしもクロスフェードによらなくてもよい。   FIG. 4 shows one waveform set corresponding to the performance intensity of a certain tone range in a certain tone color stored in the waveform memory 23. In the one waveform set shown in FIG. 4, only the waveform data W (f) of the performance intensity (f), which is the highest intensity, is stored as all waveform data, which is considerably less than the entire waveform data at each performance intensity. Attack portion waveform data Wa (x), which is a storage capacity, is stored. Thus, the capacity of the waveform data storage area required for the waveform memory 23 can be greatly reduced. When a musical tone is generated using the waveform memory 23, the attack portion waveform data Wa (x) of the instructed performance intensity is read out and the waveform data Wa (x ) Is connected to the waveform data W (f) by the connecting portion, and thereafter, the connected waveform data W (f) is read and reproduced. Thus, it is possible to synthesize musical tones with a quality that is almost the same as when reproducing all waveform data of the instructed performance intensity. In this case, a first sounding channel that produces the attack waveform data Wa (x) and a second sounding channel that produces the waveform data W (f) are prepared, and the first sounding channel is created by crossfading at the connecting portion. The waveform data Wa (x) of the attack portion of FIG. 5 is smoothly shifted to the waveform data W (f) of the second sound generation channel. Even if the instructed performance intensity is the highest intensity, the performance intensity is shifted from the waveform data Wa (f) of the first sound channel attack section to the waveform data W (f) of the second sound channel. Therefore, it is possible to eliminate the need to change the tone generation process. Also in the second embodiment, the connection from the waveform data Wa (x) to the waveform data W (f) does not necessarily need to be based on a cross fade.

次に、アタック波形作成処理A〜Cについて図を参照しながら説明する。参照する図においては最高強度より弱い演奏強度(x)の波形データをW(x)として示している。
アタック波形作成処理においては、まず、図5の上段に示すように波形データW(f)と波形データW(x)とを減衰していく振幅レベルが相互に略一致するように時間軸上に並べる。ただし、図5に示す減衰波形はイメージ図であり、実際の減衰波形は、立上りがより速くて立下りがより遅くなると共に、立下りのカーブは指数カーブになる。次いで、演奏強度(f)の波形データW(f)と演奏強度(x)の波形データW(x)を周波数分析して、それぞれ、ピーク軌跡データ(決定論的成分)と残余波形データ(残余波形)とを分離抽出する。この抽出方法は、特許第3534012号公報ないし特許第3659053号公報で説明されている抽出方法と基本的に同じである。図5の下段に、演奏強度(f)の波形データW(f)を周波数分析して分離抽出した決定論的成分d(f)および残余波形R(f)と、最高強度より弱い演奏強度(x)の波形データW(x)を周波数分析して分離抽出した決定論的成分d(x)および残余波形R(x)とが示されている。波形データの周波数分析処理においては、まず、分析する波形データを、分析区間を時間軸方向に移動させながらスペクトル分析して、周波数成分のピーク軌跡を作成する。波形のスペクトルは、FFT(高速フーリエ変換:Fast Fourier Transform)することによって分析することができる。そして、作成されたすべてのピーク軌跡のスペクトルからピーク軌跡データ(決定論的成分)が得られ、元の波形データから、その得られたピーク軌跡データ(決定論的成分)を逆フーリエ変換した波形データを差し引くことにより残余波形データ(残余波形)が得られる。さらに、残余波形に対して再度のスペクトル分析を行って、より精密なピーク軌跡データ(決定論的成分)を求めるようにしてもよい。このような、残余波形に対するスペクトル分析は、必要な回数だけ行われる。
Next, the attack waveform creation processes A to C will be described with reference to the drawings. In the figure to be referred to, the waveform data of performance intensity (x) weaker than the maximum intensity is shown as W (x).
In the attack waveform creation process, first, as shown in the upper part of FIG. 5, the time axis is set so that the amplitude levels at which the waveform data W (f) and the waveform data W (x) are attenuated substantially coincide with each other. Line up. However, the attenuation waveform shown in FIG. 5 is an image diagram, and the actual attenuation waveform has a faster rise and a slower fall, and the fall curve is an exponential curve. Next, the waveform data W (f) of the performance intensity (f) and the waveform data W (x) of the performance intensity (x) are frequency-analyzed, respectively, and the peak trajectory data (deterministic component) and residual waveform data (residual) Waveform). This extraction method is basically the same as the extraction method described in Japanese Patent No. 3534012 to Japanese Patent No. 3659053. In the lower part of FIG. 5, the deterministic component d (f) and the residual waveform R (f) obtained by separating and extracting the waveform data W (f) of the performance intensity (f) by frequency analysis, and the performance intensity (less than the maximum intensity) A deterministic component d (x) and a residual waveform R (x) obtained by separating and extracting the waveform data W (x) of x) by frequency analysis are shown. In the frequency analysis processing of waveform data, first, the waveform data to be analyzed is subjected to spectrum analysis while moving the analysis section in the time axis direction to create a peak locus of the frequency component. The spectrum of the waveform can be analyzed by performing FFT (Fast Fourier Transform). Then, peak trajectory data (deterministic component) is obtained from the spectrum of all created peak trajectories, and the waveform obtained by inverse Fourier transform of the obtained peak trajectory data (deterministic component) from the original waveform data. The residual waveform data (residual waveform) is obtained by subtracting the data. Furthermore, the spectrum analysis may be performed again on the remaining waveform to obtain more precise peak locus data (deterministic component). Such spectrum analysis on the residual waveform is performed as many times as necessary.

このようにして得られた図5の下段に示す最高強度より弱い演奏強度(x)の波形データW(x)における決定論的成分d(x)に基づいて、波形データW(x)のアタック特徴部より後の領域に、波形データW(x)から最高強度の波形データW(f)に移行させるための接続開始点と接続終了点とを設定する。波形データW(x)に設定された接続開始点と接続終了点との一例を図6に示すが、図6において接続開始点はスムージングの開始点SSとして示されており、接続終了点はスムージングの終了点SEとして示されている。また、波形メモリ23に記憶するアタック部波形データWa(x)の終了点に対応する波形終了点WEを設定する。波形データW(x)のアタック特徴部より後の領域とは、時間軸上で減衰状態を揃えた波形データW(f)と、その先頭より比較した場合に、波形データW(x)の特徴が薄れ、音色的に類似した波形データとなる点以降の領域のことであり、この領域内に、開始点SS、終了点SE、波形終了点WEが順に設定される。該領域の決定方法としては、例えば、波形データW(x)と波形データW(f)とで、スペクトルの主要成分のレベルバランスを比較し、それらが略一致する点以降をその領域とすることができる。或いは、聴感に基づいて、減衰状態を揃えた波形データW(x)と波形データW(f)とを、その時間軸上の同じ点から再生してみて、同じように聞こえる最も前の点以降とすることができる。さらに、減衰状態を揃えた波形データW(x)と波形データW(f)の波形形状を見比べて、同じように見える最も前の点以降としてもよい。なお、開始点SS、終了点SE、波形終了点WEは、複数のアタック部波形データWa(x)の各波形データ毎に定められる。なお、本明細書においては、各データが、時間領域と周波数領域の何れのデータであるかを区別するため、時間領域における波形についてはアルファベット符号の1文字目を大文字とし、周波数領域における成分についてはアルファベット符号の1文字目を小文字としている。   Based on the deterministic component d (x) in the waveform data W (x) of the performance intensity (x) weaker than the maximum intensity shown in the lower part of FIG. 5 thus obtained, the attack of the waveform data W (x) A connection start point and a connection end point for shifting from the waveform data W (x) to the waveform data W (f) having the highest intensity are set in an area after the feature portion. An example of the connection start point and the connection end point set in the waveform data W (x) is shown in FIG. 6. In FIG. 6, the connection start point is shown as the smoothing start point SS, and the connection end point is the smoothing point. Shown as the end point SE. Further, a waveform end point WE corresponding to the end point of the attack portion waveform data Wa (x) stored in the waveform memory 23 is set. The area after the attack feature of the waveform data W (x) is the characteristic of the waveform data W (x) when compared from the beginning of the waveform data W (f) with the same attenuation state on the time axis. Is a region after the point where the waveform data becomes faint and timbre-like, and a start point SS, an end point SE, and a waveform end point WE are sequentially set in this region. As a method of determining the region, for example, the level balance of the main components of the spectrum is compared between the waveform data W (x) and the waveform data W (f), and the region after the point where they substantially match is set as the region. Can do. Or, from the earliest point that sounds the same after playing back the waveform data W (x) and waveform data W (f) with the same attenuation state from the same point on the time axis based on the sense of hearing It can be. Furthermore, the waveform data W (x) and the waveform data W (f) having the same attenuation state may be compared, and the waveform may be the first and subsequent points that look the same. Note that the start point SS, end point SE, and waveform end point WE are determined for each waveform data of the plurality of attack portion waveform data Wa (x). In this specification, in order to distinguish whether each data is data in the time domain or in the frequency domain, the first letter of the alphabet is capitalized for the waveform in the time domain, and the component in the frequency domain The first letter of the alphabet is lowercase.

開始点SS、終了点SE、波形終了点WEが設定されることにより、波形データW(f)の決定論的成分d(f)は、成分(df1)、成分(df2)、成分(df3)、成分(df4)に分割され、残余波形R(f)は、波形(Rf1)、波形(Rf2)、波形(Rf3)、波形(Rf4)に分割される。また、波形データW(x)の決定論的成分d(x)は、成分(dx1)、成分(dx2)、成分(dx3)、成分(dx4)に分割され、残余波形R(x)は、波形(Rx1)、波形(Rx2))、波形(Rx3)、波形(Rx4)に分割される。そこで、最高強度の波形データW(f)の決定論的成分(df2)および成分(df3)と、波形データW(x)の決定論的成分(dx1)および成分(dx2)に基づいて、アタック部波形データWa(x)の決定論的成分の波形データDa(x)を作成する。   By setting the start point SS, end point SE, and waveform end point WE, the deterministic component d (f) of the waveform data W (f) becomes component (df1), component (df2), component (df3) The residual waveform R (f) is divided into a waveform (Rf1), a waveform (Rf2), a waveform (Rf3), and a waveform (Rf4). The deterministic component d (x) of the waveform data W (x) is divided into a component (dx1), a component (dx2), a component (dx3), and a component (dx4), and the residual waveform R (x) is Waveform (Rx1), Waveform (Rx2)), Waveform (Rx3), and Waveform (Rx4). Therefore, the attack is based on the deterministic component (df2) and component (df3) of the waveform data W (f) with the highest intensity and the deterministic component (dx1) and component (dx2) of the waveform data W (x). The waveform data Da (x) of the deterministic component of the partial waveform data Wa (x) is created.

波形データDa(x)を作成する処理の概念図を図7に示す。図7において、波形データW(x)の決定論的成分(dx2)にスムージング処理を行うことにより、第3波形データの接続部(決定論的成分)に相当する中間決定論的成分(di2)を形成する。スムージング処理では、その結果として得られる中間決定論的成分(di2)の最後の位相および振幅が、接続先となる波形データW(f)の決定論的成分(df3)の最初の位相および振幅に一致するように、決定論的成分(dx2)を構成する全スペクトルのうちの、決定論的成分(df3)を構成する何れかのスペクトルと対応付けができたスペクトル成分の各々の位相および振幅の軌跡が、時間軸方向ないしレベル方向に調整される。その詳細については、後に、図9ないし図10を参照して説明する。なお、中間決定論的成分(di2)の形成方法としては、スムージング処理によらずに、例えば、波形データW(x)の決定論的成分(dx2)から破線で示す波形データW(f)の決定論的成分(df2)にクロスフェードさせることにより形成するようにしても良い。
中間決定論的成分(di2)が形成されたら、図7の2段目に示すように時間軸上に並べた波形データW(x)の決定論的成分(dx1)と波形データW(f)の決定論的成分(df3)との間に中間決定論的成分(di2)を配置して接続する。これら3成分のうち、決定論的成分(dx1)がアタック特徴部に、中間決定論的成分(di2)が接続部に、決定論的成分(df3)が同一特性部にそれぞれ対応する。接続した状態が図7の3段目に示されており、接続されて時間軸上に並べられた決定論的成分(dx1)、中間決定論的成分(di2)、決定論的成分(df3)を逆FFTすることにより、アタック部波形データWa(x)の決定論的成分の波形データDa(x)が作成される。
FIG. 7 shows a conceptual diagram of processing for creating the waveform data Da (x). In FIG. 7, by performing a smoothing process on the deterministic component (dx2) of the waveform data W (x), an intermediate deterministic component (di2) corresponding to the connection portion (deterministic component) of the third waveform data. Form. In the smoothing process, the final phase and amplitude of the resulting intermediate deterministic component (di2) is changed to the first phase and amplitude of the deterministic component (df3) of the connected waveform data W (f). The phase and amplitude of each of the spectral components that can be matched with any of the spectra that make up the deterministic component (df3) out of all the spectra that make up the deterministic component (dx2) The trajectory is adjusted in the time axis direction or level direction. Details thereof will be described later with reference to FIGS. As a method of forming the intermediate deterministic component (di2), for example, the waveform data W (f) indicated by the broken line from the deterministic component (dx2) of the waveform data W (x) is not used for the smoothing process. It may be formed by crossfading the deterministic component (df2).
When the intermediate deterministic component (di2) is formed, the deterministic component (dx1) and the waveform data W (f) of the waveform data W (x) arranged on the time axis as shown in the second stage of FIG. An intermediate deterministic component (di2) is placed between and connected to the deterministic component (df3). Of these three components, the deterministic component (dx1) corresponds to the attack feature, the intermediate deterministic component (di2) corresponds to the connection portion, and the deterministic component (df3) corresponds to the same characteristic portion. The connected state is shown in the third row of FIG. 7. The deterministic component (dx1), the intermediate deterministic component (di2), and the deterministic component (df3) connected and arranged on the time axis. , The waveform data Da (x) of the deterministic component of the attack portion waveform data Wa (x) is created.

そして、作成された波形データDa(x)と、波形データW(f)の残余波形(Rf2)および波形(Rf3)と、波形データW(x)の残余波形(Rx1)および波形(Rx2)を重み付け合成して、第4波形データとされるアタック部波形データWa(x)が作成される。アタック部波形データWa(x)を作成する処理の概念図を図8に示す。図8に示すように、開始点SSから波形終了点WEまで、波形データDa(x)の重みは100%(0dB)とされ、波形データW(f)の残余波形(Rf2)の重みについては、開始点SSにおいて0%(−∞dB)とされ終了点SEに向かって上昇(フェードイン)していき終了点SEにおいて100%(0dB)とされて、波形(Rf3)の重みは、終了点SEから波形終了点WEまで100%(0dB)とされている。また、波形データW(x)の残余波形(Rx1)の重みは、最初から開始点SSまで100%(0dB)とされ、波形(Rx2)の重みは、開始点SSにおいて100%(0dB)とされ終了点SEに向かって減少(フェードアウト)していき終了点SEにおいて0%(−∞dB)とされる。ここで、開始点SSから終了点SEでフェードアウトされる残余波形(Rx2)とフェードインされる残余波形(Rf2)とを加算合成した波形が、第3波形データの接続部(残余波形)に相当する。また、ここでのフェードイン、フェードアウトは、異なる2波形の接続用であるので、重みの変化カーブは、混合後の音量がほぼ一定に保てるように、それぞれ、デシベルスケールで直線的に変化する形状とするのがよい。このように重み付けされた波形データDa(x)と、波形データW(f)の残余波形(Rf2)および波形(Rf3)と、波形データW(x)の残余波形(Rx1)および波形(Rx2)とが合成されて、アタック部波形データWa(x)が作成される。なお、アタック部波形データWa(x)における終了点SEから波形終了点WEまでの波形データは、波形データW(f)の決定論的成分(df3)を逆フーリエ変換した波形と、波形データW(f)の残余波形(Rf3)との和であるので、波形データW(f)における終了点SEから波形終了点WEまでの波形データと同じ形状になるはずである。アタック部波形データWa(x)におけるクロスフェード用波形データ(同一特性部)は、終了点SEから波形終了点WEまでの領域となる。   The generated waveform data Da (x), the residual waveform (Rf2) and waveform (Rf3) of the waveform data W (f), and the residual waveform (Rx1) and waveform (Rx2) of the waveform data W (x) By performing weighted synthesis, attack portion waveform data Wa (x) which is the fourth waveform data is created. FIG. 8 shows a conceptual diagram of processing for creating the attack portion waveform data Wa (x). As shown in FIG. 8, from the start point SS to the waveform end point WE, the weight of the waveform data Da (x) is 100% (0 dB), and the weight of the residual waveform (Rf2) of the waveform data W (f) The starting point SS is 0% (−∞ dB), and is increased (fade in) toward the ending point SE. The ending point SE is 100% (0 dB), and the weight of the waveform (Rf3) is ended. 100% (0 dB) from the point SE to the waveform end point WE. The weight of the remaining waveform (Rx1) of the waveform data W (x) is 100% (0 dB) from the beginning to the start point SS, and the weight of the waveform (Rx2) is 100% (0 dB) at the start point SS. Then, it decreases (fades out) toward the end point SE and becomes 0% (−∞ dB) at the end point SE. Here, the waveform obtained by adding and combining the residual waveform (Rx2) faded out from the start point SS to the end point SE and the residual waveform (Rf2) faded in corresponds to the connection portion (residual waveform) of the third waveform data. To do. Also, since the fade-in and fade-out here are for connecting two different waveforms, the weight change curves each change linearly on a decibel scale so that the volume after mixing is kept almost constant. It is good to do. Waveform data Da (x) thus weighted, residual waveform (Rf2) and waveform (Rf3) of waveform data W (f), residual waveform (Rx1) and waveform (Rx2) of waveform data W (x) Are combined to create attack waveform data Wa (x). The waveform data from the end point SE to the waveform end point WE in the attack part waveform data Wa (x) is the waveform obtained by inverse Fourier transforming the deterministic component (df3) of the waveform data W (f), and the waveform data W Since it is the sum of the residual waveform (Rf3) in (f), it should have the same shape as the waveform data from the end point SE to the waveform end point WE in the waveform data W (f). The crossfade waveform data (same characteristic part) in the attack part waveform data Wa (x) is an area from the end point SE to the waveform end point WE.

ここで、スムージング処理について図9および図10を参照しながら説明する。図9は波形データW(x)の決定論的成分d(x)のスムージング処理のうちの、該決定論的成分d(x)を構成するスペクトルの一つである第y成分の位相に関する処理の概念図であり、横軸は時間軸とされ縦軸は位相とされている。位相のスムージング処理では、決定論的成分d(x)の第y成分の位相のうちの開始点SSから終了点SEまでの位相を、位相方向にシフトしたり時間軸方向に伸縮することにより、終了点SEにおける位相がその接続先となる決定論的成分(df3)の対応する第y成分の最初の位相に一致するよう調整される。位相方向のシフトは、開始点から終了点SEの期間で滑らかに変化する位相オフセットを加算したり、同変化する位相係数を乗算することにより行われる。時間軸方向の伸縮では、まず、終了点SEの近傍で決定論的成分d(x)の第y成分の位相が該最初の位相と一致するポイントを検出し、そのポイントが終了点SEに一致するよう、決定論的成分d(x)の第y成分の開始点SSからそのポイントまでの位相を時間軸方向に伸縮する。なお、位相方向へのシフトと時間軸方向への伸縮を組み合わせて前記調整を行ってもよい。位相のスムージング処理は、決定論的成分d(x)の全成分うちの、決定論的成分(df3)の何れかの成分と対応付けできた全ての成分について行われ、決定論的成分d(x)の各成分の位相が、終了点SEにおいて、決定論的成分(df3)の最初の位相に一致するようになる。   Here, the smoothing process will be described with reference to FIGS. FIG. 9 shows a process related to the phase of the y-th component which is one of the spectra constituting the deterministic component d (x) in the smoothing processing of the deterministic component d (x) of the waveform data W (x). The horizontal axis is the time axis, and the vertical axis is the phase. In the phase smoothing process, by shifting the phase from the start point SS to the end point SE among the phases of the y-th component of the deterministic component d (x) in the phase direction or expanding and contracting in the time axis direction, The phase at the end point SE is adjusted to match the first phase of the corresponding y-th component of the deterministic component (df3) to which it is connected. The shift in the phase direction is performed by adding a phase offset that smoothly changes during the period from the start point to the end point SE, or by multiplying the phase coefficient that changes in the same way. In the expansion and contraction in the time axis direction, first, a point where the phase of the y-th component of the deterministic component d (x) matches the first phase in the vicinity of the end point SE is detected, and the point matches the end point SE. Thus, the phase from the start point SS of the y-th component of the deterministic component d (x) to that point is expanded or contracted in the time axis direction. The adjustment may be performed by combining a shift in the phase direction and expansion and contraction in the time axis direction. The phase smoothing process is performed for all components that can be associated with any one of the deterministic components (df3) among all the components of the deterministic component d (x), and the deterministic component d ( The phase of each component of x) coincides with the first phase of the deterministic component (df3) at the end point SE.

また、図10は波形データW(x)の決定論的成分d(x)のスムージング処理のうちの、該決定論的成分d(x)を構成するスペクトルの一つである第y成分の振幅に関する処理の概念図であり、横軸は時間軸とされ縦軸は振幅とされている。振幅のスムージング処理では、決定論的成分d(x)の第y成分の振幅のうちの開始点SSから終了点SEまでの振幅を、振幅方向にシフトしたり時間軸方向に伸縮することにより、終了点SEにおける振幅がその接続先となる決定論的成分(df3)の対応する第y成分の最初の振幅に一致するよう調整される。振幅方向のシフトは、開始点から終了点SEの期間で滑らかに変化する振幅オフセットを加算したり、同変化する振幅係数を乗算することにより行われる。時間軸方向の伸縮では、まず、終了点SEの近傍で決定論的成分d(x)の第y成分の振幅が該最初の振幅と一致するポイントを検出し、そのポイントが終了点SEに一致するよう、決定論的成分d(x)の第y成分の開始点SSからそのポイントまでの振幅を時間軸方向に伸縮する。なお、振幅方向へのシフトと時間軸方向への伸縮を組み合わせて前記調整を行ってもよい。振幅のスムージング処理では、決定論的成分d(x)の全成分うちの、決定論的成分(df3)の何れかの成分と対応付けできた全成分について上述した処理が行われる。また、決定論的成分(df3)のうちの対応付けできなかった成分については、開始点SSから終了点SEの間に減少(フェードアウト)させる処理が行われ、決定論的成分(df3)のうちの対応付けできなかった成分については、開始点SSから終了点SEの間に上昇(フェードイン)させる処理が行われる。このようにして、決定論的成分d(x)の各成分の振幅は、終了点SEにおいて、決定論的成分(df3)の最初の振幅に完全一致するようになる。
なお、図9および図10ではそれぞれ位相あるいは振幅の態様が誇張して示されており、実際には波形データW(f)と波形データW(x)との間において図示するほど大きく位相あるいは振幅がずれることはない。また、スムージング処理を、上述したようなシフト処理や時間軸の制御で行う代わりに、決定論的成分(dx2)と決定論的成分(df2)の対応付けできた各成分における、位相および振幅のクロスフェードで行うようにしてもよい。
FIG. 10 shows the amplitude of the y-th component which is one of the spectra constituting the deterministic component d (x) in the smoothing process of the deterministic component d (x) of the waveform data W (x). The horizontal axis is the time axis and the vertical axis is the amplitude. In the amplitude smoothing process, the amplitude from the start point SS to the end point SE of the amplitude of the y-th component of the deterministic component d (x) is shifted in the amplitude direction or expanded or contracted in the time axis direction. The amplitude at the end point SE is adjusted to match the first amplitude of the corresponding y-th component of the deterministic component (df3) to which it is connected. The shift in the amplitude direction is performed by adding an amplitude offset that smoothly changes during the period from the start point to the end point SE, or by multiplying the amplitude coefficient that changes. In the expansion and contraction in the time axis direction, first, a point where the amplitude of the y-th component of the deterministic component d (x) matches the first amplitude is detected in the vicinity of the end point SE, and the point matches the end point SE. Thus, the amplitude from the start point SS of the y-th component of the deterministic component d (x) to that point is expanded or contracted in the time axis direction. The adjustment may be performed by combining the shift in the amplitude direction and the expansion and contraction in the time axis direction. In the amplitude smoothing process, the above-described process is performed on all components that can be associated with any one of the deterministic components (df3) among all the components of the deterministic component d (x). In addition, for the components that could not be matched among the deterministic components (df3), a process of reducing (fade out) between the start point SS and the end point SE is performed, and among the deterministic components (df3) For components that could not be associated with each other, a process of raising (fade in) between the start point SS and the end point SE is performed. In this way, the amplitude of each component of the deterministic component d (x) becomes completely coincident with the initial amplitude of the deterministic component (df3) at the end point SE.
9 and 10 each show the phase or amplitude in an exaggerated manner. Actually, the phase or amplitude increases as shown between the waveform data W (f) and the waveform data W (x). Will not slip. In addition, instead of performing the smoothing process by the shift process or the control of the time axis as described above, the phase and amplitude of each component that can be associated with the deterministic component (dx2) and the deterministic component (df2) You may make it carry out by cross fade.

ところで、アタック部波形データは、上記説明したような周波数分析処理を用いた周波数ドメインでのスムージング処理による精密な方法を用いる代わりに、波形データのクロスフェード(時間ドメインにおけるスムージング処理)を用いた簡易な方法で作成することもできる。これにより作成されたアタック部波形データをWa'(x)として説明する。
波形のクロスフェードを行うことにより、アタック部波形データWa'(x)を作成する際には、まず、図5に示すように波形データW(f)と波形データW(x)とを減衰していく振幅レベルが相互に略一致するように時間軸上に並べ、波形データW(x)のアタック特徴部より後の領域に、波形データW(x)から最高強度の波形データW(f)に移行させるためのクロスフェードの開始点SSと、終了点SEと、波形終了点WEとを図11に示すように設定する。この場合、開始点SS、終了点SE、波形終了点WEの設定は、聴感で決めたり、波形形状を見比べて決めることができる。
By the way, the attack part waveform data is simplified by using the crossfading (smoothing process in the time domain) of the waveform data instead of using the precise method by the smoothing process in the frequency domain using the frequency analysis process as described above. It can also be created in a simple way. The attack part waveform data thus created will be described as Wa ′ (x).
When creating the attack portion waveform data Wa ′ (x) by performing crossfading of the waveform, first, the waveform data W (f) and the waveform data W (x) are attenuated as shown in FIG. Arrange on the time axis so that the amplitude levels that follow are approximately the same, and in the area after the attack feature of the waveform data W (x), the waveform data W (f) with the highest intensity from the waveform data W (x) The crossfade start point SS, end point SE, and waveform end point WE for shifting to are set as shown in FIG. In this case, the setting of the start point SS, the end point SE, and the waveform end point WE can be determined by hearing or by comparing the waveform shape.

開始点SS、終了点SE、波形終了点WEが設定されることにより、波形データW(f)は、波形データ(Wf1)、波形データ(Wf2)、波形データ(Wf3)、波形データ(Wf4)に領域が分割され、波形データW(x)は、波形データ(Wx1)、波形データ(Wx2)、波形データ(Wx3)、波形データ(Wx4)に領域が分割される。これらの分割された領域の波形をクロスフェードすることにより、アタック部波形データWa'(x)を作成する。このアタック部波形データWa'(x)を作成する処理の概念図を図12に示す。図12に示すように、波形データW(f)における波形データ(Wf1)の重みは開始点SSまで0%(−∞dB)とされ、波形データ(Wf2)の重みは開始点SSにおいて0%とされ終了点SEに向かって上昇(フェードイン)していき終了点SEにおいて100%(0dB)とされて、波形データ(Wf3)の重みは終了点SEから波形終了点WEまで100%とされる。また、波形データW(x)における波形データ(Wx1)の重みは先頭から開始点SSまで100%とされ、波形データ(Wx2)の重みは開始点SSにおいて100%とされ終了点SEに向かって減少(フェードアウト)していき終了点SEにおいて0%とされ、波形データ(Wx3)の重みは終了点SEから波形終了点WEまで0%とされる。ここでのフェードイン、フェードアウトも、異なる2波形の接続用であるので、混合後の音量がほぼ一定に保てるように、それぞれ、デシベルスケールで直線的に変化する変化カーブとするのがよい。このように重み付けされた波形データW(x)と波形データW(f)とが重み合成されて、図12に示すようにアタック部波形データWa'(x)が作成される。波形のクロスフェードを行うことによりアタック部波形データWa'(x)を作成する処理は、スムージング処理より簡易に行うことができるが、音質においてやや劣るようになる。形成されるアタック部波形データWa'(x)のうち、先頭から開始点SSまでの波形データ(Wx1と同一形状)がアタック特徴部に、開始点SSから終了点SEまでのフェードアウトする波形データ(Wx2)とフェードインする波形データ(Wf2)とを加算合成した波形データが接続部に、終了点SEから波形終了点WEまでの波形データ(Wf3と同一形状)が同一特性部にそれぞれ相当する。   By setting the start point SS, end point SE, and waveform end point WE, the waveform data W (f) becomes the waveform data (Wf1), waveform data (Wf2), waveform data (Wf3), and waveform data (Wf4). The waveform data W (x) is divided into waveform data (Wx1), waveform data (Wx2), waveform data (Wx3), and waveform data (Wx4). The attack part waveform data Wa ′ (x) is created by crossfading the waveforms of these divided areas. FIG. 12 shows a conceptual diagram of processing for creating the attack portion waveform data Wa ′ (x). As shown in FIG. 12, the weight of the waveform data (Wf1) in the waveform data W (f) is 0% (−∞ dB) until the start point SS, and the weight of the waveform data (Wf2) is 0% at the start point SS. Ascending (fade in) toward the end point SE, the end point SE is set to 100% (0 dB), and the weight of the waveform data (Wf3) is set to 100% from the end point SE to the waveform end point WE. The In addition, the weight of the waveform data (Wx1) in the waveform data W (x) is 100% from the beginning to the start point SS, and the weight of the waveform data (Wx2) is 100% at the start point SS toward the end point SE. It decreases (fades out) and is 0% at the end point SE, and the weight of the waveform data (Wx3) is 0% from the end point SE to the waveform end point WE. Since the fade-in and fade-out here are also for connecting two different waveforms, it is preferable to use change curves that change linearly on a decibel scale so that the volume after mixing can be kept substantially constant. The weighted waveform data W (x) and the waveform data W (f) are weight-synthesized to create attack portion waveform data Wa ′ (x) as shown in FIG. The process of creating the attack part waveform data Wa ′ (x) by performing the waveform cross-fading can be performed more easily than the smoothing process, but the sound quality is slightly inferior. Of the formed attack waveform data Wa '(x), the waveform data from the beginning to the start point SS (same shape as Wx1) is faded out to the attack feature from the start point SS to the end point SE ( Waveform data obtained by adding and synthesizing Wx2) and the waveform data (Wf2) to be faded in corresponds to the connection portion, and waveform data from the end point SE to the waveform end point WE (the same shape as Wf3) corresponds to the same characteristic portion.

次に、図1にかかる楽音生成装置1において演奏強度(x)の楽音を生成する処理について説明する。本発明は、波形メモリに記憶する波形データの形成と、その波形メモリを用いた楽音の生成に関するものであり、楽音生成では、波形データの形成の過程で現れる4つの波形データのうちの2つの波形データ(第1波形データ、第4波形データ)だけを用いる。従って、楽音生成に関し、使用する波形データだけで番号を振りなおすことも考えられるが、波形データの形成過程との対応付けを維持するために、本明細書ではそれを行わない。
波形メモリ23には、各音色の各音域毎に、図3ないし図4に示す波形セットが記憶されている。図13には、合成波形データCW(x)を生成するために選択された、それらの波形セットの1に含まれる第1波形データとされる最高強度の波形データW(f)と、第4波形データとされるアタック部波形データWa(x)とが示されている。図示するように、アタック部波形データWa(x)に第1ポイント(第1p)が設定され、第1波形データW(f)に第2ポイント(第2p)が設定されている。アタック部波形データWa(x)上の第1ポイント以降が第1波形データW(f)の第2ポイント以降に接続するためのクロスフェード用波形データ(同一特性部)とされ、第1ポイントは前述した終了点SEに相当し、同一特性部は終了点SEから波形終了点WEまでの波形データとなる。すなわち、アタック部波形データWa(x)における第1ポイント以降の波形特性は、第1波形データW(f)の第2ポイント以降の波形特性と同一になっている。第1ポイントと第2ポイントとは、それぞれ、第4波形データとされる複数のアタック部波形データWa(x)の各波形データ毎に定められている。また、第1波形データW(f)には第3ポイント(第3p)が設定されており、第1波形データW(f)において、アタック部波形データWa(x)の先頭から第1ポイントまでの長さ分、第2ポイントより前に位置するポイントが第3ポイントとされている。
Next, processing for generating a musical tone of performance intensity (x) in the musical tone generating apparatus 1 according to FIG. 1 will be described. The present invention relates to formation of waveform data to be stored in a waveform memory and generation of musical sounds using the waveform memory. In musical tone generation, two of the four waveform data appearing in the process of waveform data formation. Only waveform data (first waveform data, fourth waveform data) is used. Therefore, it is conceivable to renumber only the waveform data to be used for the musical sound generation, but this is not done in this specification in order to maintain the correspondence with the waveform data formation process.
The waveform memory 23 stores a waveform set shown in FIGS. 3 to 4 for each tone range of each tone color. FIG. 13 shows the waveform data W (f) having the highest intensity selected as the first waveform data included in one of the waveform sets selected to generate the combined waveform data CW (x), The attack portion waveform data Wa (x), which is waveform data, is shown. As shown in the figure, a first point (first p) is set in the attack portion waveform data Wa (x), and a second point (second p) is set in the first waveform data W (f). The first point on the attack waveform data Wa (x) is the crossfade waveform data (same characteristic part) for connecting to the second and subsequent points of the first waveform data W (f). Corresponding to the end point SE described above, the same characteristic portion is waveform data from the end point SE to the waveform end point WE. That is, the waveform characteristics after the first point in the attack portion waveform data Wa (x) are the same as the waveform characteristics after the second point of the first waveform data W (f). The first point and the second point are respectively determined for each waveform data of the plurality of attack portion waveform data Wa (x) that is the fourth waveform data. Further, the third point (third p) is set in the first waveform data W (f), and in the first waveform data W (f), from the head of the attack portion waveform data Wa (x) to the first point. The point located before the second point by the length of is the third point.

図14に、楽音の発音開始を指示するノートオンに応じて、本発明にかかる音源20を備える楽音生成装置1において楽音が生成される場合のタイミングチャートが示されている。
図14では、タイミングt0においてノートオンが発生したとする。これに応じて、CPU10は、ノートナンバやベロシティに応じて発音に使用する波形データWa(x)とW(f)とを決定するとともに、発音チャンネル割り当てを行い発音に使用する第1発音チャンネルと第2発音チャンネルとを決定して、制御レジスタ38に第1および第2発音チャンネルのパラメータとリンク情報を設定し、第1発音チャンネルにノートオン信号を供給する。ここで設定される第1発音チャンネルのパラメータには、アタック部波形データWa(x)の先頭を示すスタートアドレス、末尾を示すエンドアドレスが含まれる。設定される第2チャンネルのパラメータには、波形データW(f)の第2ポイントを示すスタートアドレス、末尾を示すエンドアドレスが含まれる。また、設定されるリンク情報は、第1チャンネルにおいて、読み出しアドレスが第1ポイントに達したとき、第2チャンネルへ発音のトリガをかけることを示す。
これらスタートアドレスおよびエンドアドレスの設定は、読出部32において、第1発音チャンネルの時分割チャンネルタイミングで、波形データWa(x)のサンプルを順次読み出させ、第2発音チャンネルの時分割チャンネルタイミングで、波形データW(f)のサンプルを順次読み出させるためのものである。以下では、この第1発音チャンネルの読み出し動作を第1読出部とし、第2発音チャンネルの読み出し動作を第2読出部とする。また、第1発音チャンネルと第2発音チャンネルは、Fナンバ生成部31で生成されるFナンバが常時同じとなるように制御される。すなわち、ノートオン時に、同じノートナンバNN、同じピッチデータPD、同じ原音高が設定され、また、楽音生成中にピッチデータPDを変更する場合は、複数同時書込部39を用いて、同じ値のピッチデータPDが両発音チャンネルに同時(同じサンプリング周期)に設定される。
FIG. 14 shows a timing chart in the case where a musical sound is generated in the musical sound generating apparatus 1 including the sound source 20 according to the present invention in response to a note-on instructing the start of musical sound generation.
In FIG. 14, it is assumed that note-on occurs at timing t0. In response to this, the CPU 10 determines the waveform data Wa (x) and W (f) to be used for sound generation according to the note number and velocity, assigns the sound channel and uses the first sound channel to be used for sound generation. The second tone generation channel is determined, the parameters and link information of the first and second tone generation channels are set in the control register 38, and the note-on signal is supplied to the first tone generation channel. The parameters of the first tone generation channel set here include a start address indicating the beginning and an end address indicating the end of the attack portion waveform data Wa (x). The set parameters of the second channel include a start address indicating the second point of the waveform data W (f) and an end address indicating the end. Further, the set link information indicates that a sound generation trigger is applied to the second channel when the read address reaches the first point in the first channel.
The start address and the end address are set by causing the reading unit 32 to sequentially read the samples of the waveform data Wa (x) at the time division channel timing of the first tone generation channel and at the time division channel timing of the second tone generation channel. This is for sequentially reading the samples of the waveform data W (f). Hereinafter, the reading operation of the first sounding channel is referred to as a first reading unit, and the reading operation of the second sounding channel is referred to as a second reading unit. The first sound channel and the second sound channel are controlled so that the F number generated by the F number generator 31 is always the same. That is, at the time of note-on, the same note number NN, the same pitch data PD, and the same original pitch are set, and when the pitch data PD is changed during music generation, the same value is used by using the multiple simultaneous writing unit 39. Pitch data PD is set for both sound channels simultaneously (same sampling period).

CPU10からのノートオン信号に応じて、第1読出部は、アタック部波形データWa(x)を先頭のサンプルから読み出し始める。すなわち、読出部32では、第1発音チャンネルの時分割チャンネルタイミングで、供給されるFナンバを累算し、波形データWa(x)の先頭を起点として該Fナンバに応じた速度で進行する読出アドレスが生成され、該生成された読出アドレスに基づいて波形メモリ23から波形データWa(x)のサンプルが順次読み出される。そして、第1読出部(第1発音チャンネル)がアタック部波形データの第1ポイントを読み出すタイミングt1になった時に、設定されたリンク情報に基づいて、第2読出部(第2発音チャンネル)に対してトリガが供給され、第2読出部は、波形データW(f)を第2ポイントから読み出し始める。音源20の読出部32は、このトリガの発生時に、第1発音チャンネル(第1読出部)にて累算されたFナンバの小数部を、第2発音チャンネル(第2読出部)に引き継がせる引継機能を備えており、第1読出部と第2読出部とで、読み出される波形データのサンプルの位相を完全同期することができる。なお、この引継機能は必須ではなく省略することができるが、その場合、第1読出部と第2読出部の同期は位相の整数部のみとなり、小数部にずれが生じて出力される補間サンプルは僅かに異なる値となる虞がある。このようにして、タイミングt1では、第2読出部が、第1読出部によるアタック部波形データWa(x)の読み出しに同期して、波形データW(f)の読み出しを開始する。   In response to the note-on signal from the CPU 10, the first reading unit starts reading the attack portion waveform data Wa (x) from the first sample. That is, the reading unit 32 accumulates the supplied F number at the time division channel timing of the first sound generation channel, and reads out at a speed corresponding to the F number starting from the beginning of the waveform data Wa (x). An address is generated, and samples of waveform data Wa (x) are sequentially read from the waveform memory 23 based on the generated read address. When the first reading unit (first sounding channel) reaches the timing t1 for reading the first point of the attack part waveform data, the second reading unit (second sounding channel) is set based on the set link information. On the other hand, a trigger is supplied, and the second reading unit starts reading the waveform data W (f) from the second point. When the trigger is generated, the reading unit 32 of the sound source 20 causes the second sounding channel (second reading unit) to take over the fractional part of the F number accumulated in the first sounding channel (first reading unit). A takeover function is provided, and the phase of the sample of the waveform data to be read can be completely synchronized between the first reading unit and the second reading unit. Note that this takeover function is not essential and can be omitted. In this case, the synchronization between the first reading unit and the second reading unit is only the integer part of the phase, and the interpolation sample is output with a shift in the decimal part. May have slightly different values. In this way, at the timing t1, the second reading unit starts reading the waveform data W (f) in synchronization with the reading of the attack portion waveform data Wa (x) by the first reading unit.

また、Xfade制御部34は、制御レジスタ38に設定されたクロスフェード制御データに基づいて、第1発音チャンネルの時分割チャンネルタイミングで、ノートオン時(タイミングt0)に100%(1.00)に設定され、第1発音チャンネルの読出アドレスが第1ポイントに達したとき(タイミングt1)に減少(フェードアウト)を開始し、所定のクロスフェード時間後(タイミングt2)に0%(0.00)となる第1Xfade係数を生成し、第2発音チャンネルの時分割チャンネルタイミングで、ノートオン時(タイミングt0)に0%(0.00)に設定され、第1発音チャンネルの読出アドレスが第1ポイントに達したとき(タイミングt1)に上昇(フェードイン)を開始し、所定のクロスフェード時間後(タイミングt2)に100%(1.00)となる第2Xfade係数を生成する。乗算器M2において、第1発音チャンネルの時分割チャンネルタイミングで、第1読出部から出力され乗算器M1で音量変化が付与されたアタック部波形データWa(x)のサンプルに第1Xfade係数が乗算されて、ノートオン時(タイミングt0)から発音開始されタイミングt1でフェードアウトを開始されタイミングt2で消音される第1チャンネルの波形データが形成される。また、第2発音チャンネルの時分割チャンネルタイミングで、第2読出部から出力され乗算器M1で音量制御された波形データW(f)のサンプルに第2Xfade係数が乗算されて、タイミングt1で発音開始されるとともにフェードインされその後発音を継続する第2チャンネルの波形データが形成される。ミキサ35では、形成された第1チャンネルの波形データと第2チャンネルの波形データとが合成されて、このノートオンに係る合成波形データである波形データCW(x)が生成される。最終的な合成波形データCW(x)のうち、ノートオン(タイミングt0)からタイミングt1までは、アタック部波形データWa(x)に基づいて形成され、タイミングt1からタイミングt2までは、アタック部波形データWa(x)から波形データW(f)へのクロスフェード波形に基づいて形成され、タイミングt2以降は、波形データW(f)に基づいて形成されている。なお、アタック部波形データWa(x)は、タイミングt2以降は読み出されないため、第1発音チャンネルは、タイミングt2に達した際に開放される   Further, the Xfade control unit 34 is set to 100% (1.00) at the time of note-on (timing t0) at the time division channel timing of the first sound generation channel based on the crossfade control data set in the control register 38. When the read address of the first tone generation channel reaches the first point (timing t1), it starts to decrease (fade out), and after a predetermined crossfade time (timing t2), 0% (0.00) The first Xfade coefficient is generated and is set to 0% (0.00) at the time of note-on (timing t0) at the time division channel timing of the second sound channel, and the read address of the first sound channel is set to the first point. When it reaches (timing t1), it starts to rise (fade in), and after a predetermined crossfade time (timing t2) 100% (1.00 To generate the second Xfade coefficient. In the multiplier M2, at the time division channel timing of the first tone generation channel, the sample of the attack portion waveform data Wa (x) output from the first readout portion and given the volume change by the multiplier M1 is multiplied by the first Xfade coefficient. Thus, waveform data of the first channel is formed, which starts sounding from the time of note-on (timing t0), starts fading out at timing t1, and is muted at timing t2. Also, at the time t1 of the second sound generation channel, the second Xfade coefficient is multiplied by the sample of the waveform data W (f) output from the second reading unit and volume-controlled by the multiplier M1, and the sound generation starts at the timing t1. As a result, the waveform data of the second channel which is faded in and then continues to generate sound is formed. In the mixer 35, the formed waveform data of the first channel and the waveform data of the second channel are synthesized, and waveform data CW (x) which is synthesized waveform data related to the note-on is generated. Of the final synthesized waveform data CW (x), from note-on (timing t0) to timing t1, it is formed based on the attack waveform data Wa (x), and from timing t1 to timing t2, the attack waveform It is formed based on the crossfade waveform from the data Wa (x) to the waveform data W (f), and after the timing t2, it is formed based on the waveform data W (f). Since the attack portion waveform data Wa (x) is not read after timing t2, the first tone generation channel is released when timing t2 is reached.

なお、クロスフェードが行われるタイミングt1からタイミングt2の期間において、アタック部波形データWa(x)と第1波形データW(f)とは、前述したように同一特性(又は、ほぼ同一特性)となっている。このように同一特性の波形データの領域(同一特性部)においてクロスフェードすることから、クロスフェードのタイミング、速さ、変化カーブなど、はどのようであっても聴感上の問題を生じない。実施例のように、クロスフェードをタイミングt1からタイミングt2の全期間にかけて行う必要もない。
この実施例では接続をクロスフェードで行っているので、同一特性部を読み出すタイミングにおいて、第1発音チャンネルにおける波形データと第2発音チャンネルにおける波形データとで、形状が多少違っていても接続時にノイズを生じない。先程、第1発音チャンネルから第2発音チャンネルへの引継機能が必ずしも必要ないと述べたが、これは接続時のクロスフェードがあるためである。また、各発音チャンネルを音色フィルタを備えたものとした場合に、第1発音チャンネルと第2発音チャンネルとでフィルタ係数を異ならせることも可能になる。逆に、クロスフェードを行わず、タイミングt1直後の1サンプリング周期で、第1発音チャンネルの出力を100%から0%に変更し、第2発音チャンネルの出力を0%から100%にして、チャンネルを切り替えることが考えられる。その場合には、前記引継機能は必須となり、また、前記フィルタ係数は同一にしなければならない。
In the period from the timing t1 to the timing t2 when the crossfade is performed, the attack part waveform data Wa (x) and the first waveform data W (f) have the same characteristics (or almost the same characteristics) as described above. It has become. As described above, since the crossfading is performed in the waveform data region (same characteristic portion) having the same characteristic, no problem in hearing is caused regardless of the timing, speed, change curve, and the like of the crossfade. As in the embodiment, it is not necessary to perform the crossfade over the entire period from the timing t1 to the timing t2.
In this embodiment, since the connection is performed by crossfading, even when the waveform data in the first sound channel and the waveform data in the second sound channel are slightly different at the timing of reading out the same characteristic portion, noise is generated at the time of connection. Does not occur. As described above, it has been described that the takeover function from the first sound generation channel to the second sound generation channel is not necessarily required because there is a crossfade at the time of connection. Further, when each tone generation channel is provided with a timbre filter, it is possible to make the filter coefficient different between the first tone generation channel and the second tone generation channel. On the contrary, without the crossfade, the output of the first sound channel is changed from 100% to 0% and the output of the second sound channel is changed from 0% to 100% in one sampling period immediately after timing t1, and the channel Can be considered. In that case, the handover function is essential and the filter coefficients must be the same.

ところで、ノートオンにより最高強度の波形データW(f)が選択された場合において、波形メモリ23に図3に示す構成の波形セットが記憶されている場合は、発音チャンネルは1つだけ割り当てられ、1つの割当チャンネルにおいて波形データW(f)が立上りから立下りまで読み出されて、合成波形データCW(x)とされるようになる。また、波形メモリ23に図4に示す構成の波形セットが記憶されている場合は、上記したように2つの発音チャンネルが割り当てられて上記した処理が行われる。
上記の説明では、第1読出部が、アタック部波形データWa(x)の第1ポイントを読み出すタイミングにおいて、第2読出部が、第1波形データW(f)を第2ポイントから読み出し始めることにより、第1波形データW(f)をアタック部波形データWa(x)に同期させるようにしている。先述したように、第1読出部と第2読出部には、同じFナンバが供給されるので、ある時点で同期させた位相は、その後にピッチを変化させてもずれることがない。なお、第2読出部の読出開始タイミングについては、第1読出部が、アタック部波形データWa(x)を読み出し始めるタイミングt0で、第2読出部が、第1波形データW(f)を第3ポイントから読み出し始めるようにしてもよい。その場合、第1、第2読出部に同時(同じサンプリング周期)にノートオン信号を供給して、同時に読み出しを開始させる。第1読出部から第2読出部への発音のトリガは供給されず、上述したような位相の引継機能も不要である。
By the way, when the waveform data W (f) having the maximum intensity is selected by note-on and the waveform set having the configuration shown in FIG. 3 is stored in the waveform memory 23, only one tone generation channel is assigned. In one assigned channel, the waveform data W (f) is read from the rising edge to the falling edge and becomes the combined waveform data CW (x). Further, when the waveform set having the configuration shown in FIG. 4 is stored in the waveform memory 23, as described above, two tone generation channels are allocated and the above-described processing is performed.
In the above description, at the timing when the first reading unit reads the first point of the attack portion waveform data Wa (x), the second reading unit starts reading the first waveform data W (f) from the second point. Thus, the first waveform data W (f) is synchronized with the attack portion waveform data Wa (x). As described above, since the same F number is supplied to the first reading unit and the second reading unit, the phase synchronized at a certain point in time does not shift even if the pitch is changed thereafter. Regarding the reading start timing of the second reading unit, the first reading unit starts reading the attack portion waveform data Wa (x) at the timing t0, and the second reading unit sets the first waveform data W (f) to the first time. You may make it start reading from 3 points | pieces. In this case, a note-on signal is supplied to the first and second reading units simultaneously (same sampling period), and reading is started simultaneously. A trigger for sound generation from the first reading unit to the second reading unit is not supplied, and the phase takeover function as described above is unnecessary.

次に、図2に示す音源20において、新規楽音の発音開始を指示するノートオンイベントが起こった際に実行されるノートオンイベント処理のフローチャートを図15に示す。ただし、波形メモリ23には、図3に示す構成の波形セットが、各音色の各音域毎に記憶されているものとする。
音源20にノートオンが指示されるとノートオンイベント処理がスタートされ、ステップS10にてノートオンにおける、音高を示すノートナンバがレジスタNNに、演奏強度を示すベロシティがレジスタVELに格納される。本明細書では、レジスタXに記憶するパラメータを、簡略化してパラメータXと記載する。次いで、ステップS11にてタッチカーブ(Tカーブ)を参照してレジスタVELに格納されているベロシティを音量を示すボリューム値に変換してレジスタtvolに格納する。ステップS12では、波形メモリ23に記憶されている波形セットのうちの、現在当該パートで選択されている音色に対応する複数の波形セットの中から、ノートナンバNNが属する音域に応じた波形セットが選択され、さらに、選択された波形セットの中から、ベロシティVELに応じた波形(W(f)ないしWa(x))が選択される。次いで、ステップS12において選択された波形が当該波形セットにおいて最高強度の波形データW(f)か否かがステップS13にて判断される。
Next, FIG. 15 shows a flowchart of note-on event processing executed when a note-on event instructing the start of sound generation of a new musical tone occurs in the sound source 20 shown in FIG. However, it is assumed that a waveform set having the configuration shown in FIG. 3 is stored in the waveform memory 23 for each tone range of each tone color.
When note-on is instructed to the sound source 20, note-on event processing is started. In step S10, a note number indicating the pitch at note-on is stored in the register NN, and a velocity indicating the playing intensity is stored in the register VEL. In this specification, the parameter stored in the register X is simplified and described as the parameter X. Next, in step S11, the velocity stored in the register VEL is converted into a volume value indicating the volume by referring to the touch curve (T curve) and stored in the register tvol. In step S12, among the waveform sets stored in the waveform memory 23, a waveform set corresponding to the tone range to which the note number NN belongs is selected from a plurality of waveform sets corresponding to the timbre currently selected in the part. Further, a waveform (W (f) to Wa (x)) corresponding to the velocity VEL is selected from the selected waveform set. Next, it is determined in step S13 whether or not the waveform selected in step S12 is the waveform data W (f) having the highest intensity in the waveform set.

ここで、最高強度の波形データW(f)が選択されたとステップS13において判断された場合は、ステップS14に進み、当該ノートオンに係る楽音の生成のために、音源20が有する複数の発音チャンネルのうちの1の発音チャンネルが割り当てられ、ステップS15にて割り当てられた発音チャンネルに最高強度の波形データW(f)の先頭を示すスタートアドレス(SA)と末尾を示すエンドアドレス(EA)と原音高とがセットされる。さらに、ステップS16にて、当該発音チャンネルに、ボリューム値tvolと選択された波形のボリューム値wvolとの差分の音量がセットされる。これにより、当該発音チャンネルでは、ボリューム値tvolに応じた音量で発音されるようになる。次いで、ステップS17にて、当該発音チャンネルに、ノートナンバNN、ピッチのずれを示すピッチデータPD、ベロシティVELに応じた振幅エンベロープパラメータ、クロスフェード係数を100%に設定するクロスフェード制御データ等の各種楽音制御用のパラメータがセットされる。そして、当該発音チャンネルに対する発音開始の指示(ノートオン信号の供給)がステップS18にて行われる。これにより、音源20の当該発音チャンネルにおいて、波形メモリ23から波形データW(f)が、ノートナンバNN、ピッチデータPD、および原音高に応じた速度で、スタートアドレスが示すその先頭から読み出され、読み出された波形データに基づき、かつ、楽音制御用のパラメータに応じて特性制御された最高強度の合成波形データCW(f)が生成されるようになる。次いで、ステップS19にて、今回割り当てた発音チャンネルの数である「1」を、ノートナンバNNに応じたチャンネル数レジスタであるch数(NN)にセットして、ノートオンイベント処理は終了する。当該発音チャンネルにおける波形データW(f)の読み出しは、振幅エンベロープ波形が減衰しきるまで、ないし、読出アドレスがエンドアドレスに達するまで継続される。   Here, if it is determined in step S13 that the waveform data W (f) having the highest intensity has been selected, the process proceeds to step S14, and a plurality of tone generation channels possessed by the sound source 20 are generated in order to generate a musical sound related to the note-on. One of the sound generation channels is assigned, and the start address (SA) indicating the beginning of the waveform data W (f) having the highest intensity, the end address (EA) indicating the end, and the original sound are assigned to the sound generation channels assigned in step S15. High and set. In step S16, the volume of the difference between the volume value tvol and the volume value wvol of the selected waveform is set in the sound generation channel. As a result, the sound channel is sounded at a volume corresponding to the volume value tvol. Next, in step S17, the note channel NN, pitch data PD indicating the pitch deviation, amplitude envelope parameter corresponding to the velocity VEL, crossfade control data for setting the crossfade coefficient to 100%, etc. Parameters for musical tone control are set. Then, a sounding start instruction (supply of a note-on signal) for the sounding channel is performed in step S18. As a result, in the sound generation channel of the sound source 20, the waveform data W (f) is read from the waveform memory 23 from the head indicated by the start address at a speed corresponding to the note number NN, the pitch data PD, and the original pitch. Then, the maximum intensity composite waveform data CW (f) whose characteristics are controlled based on the read waveform data and in accordance with the musical sound control parameters is generated. Next, in step S19, “1”, which is the number of sounding channels assigned this time, is set in the channel number register (NN) corresponding to the note number NN, and the note-on event processing is completed. Reading of the waveform data W (f) in the sound generation channel is continued until the amplitude envelope waveform is completely attenuated or until the read address reaches the end address.

また、ステップS13にて選択された波形が波形セットにおいて最高強度の波形データW(f)ではないと判断された場合は、ステップS20に分岐して第1チャンネル(#1)と第2チャンネル(#2)の発音チャンネルが割り当てられる。次いで、ステップS21にて割り当てられた第1チャンネル(#1)に、ベロシティVELに応じて選択されたアタック部波形データWa(x)の先頭を示すスタートアドレス(SA)と末尾を示すエンドアドレス(EA)と原音高とがセットされ、割り当てられた第2チャンネル(#2)に、該アタック部波形データWa(x)が属する波形セットの最高強度の波形データW(f)の第2ポイントを示すスタートアドレス(SA)と末尾を示すエンドアドレス(EA)と原音高とがセットされる。ここで、該第2ポイントの位置は、選択されるアタック部波形データWa(x)に応じて異なる。また、セットされる原音高は、アタック部波形データWa(x)と波形データW(f)とで同一である。次に、ステップS22にて、第1チャンネル(#1)に、ボリューム値tvolとアタック部波形データWa(x)のボリューム値wvolとの差分の音量がセットされると共に、第2チャンネル(#2)に、ボリューム値tvolと波形データW(f)の第3ポイントにおけるボリューム値wvolとの差分の音量がセットされる。これにより、第2チャンネル(#2)で生成されるボディ部の楽音波形の音量と、第1チャンネル(#1)で生成されるアタック部の楽音波形の音量とを、ボリューム値tvolが示す音量に一致させることができる。   If it is determined that the waveform selected in step S13 is not the highest-intensity waveform data W (f) in the waveform set, the process branches to step S20 and the first channel (# 1) and second channel ( Sound channel # 2) is assigned. Next, the start address (SA) indicating the beginning of the attack part waveform data Wa (x) selected in accordance with the velocity VEL and the end address indicating the end are assigned to the first channel (# 1) assigned in step S21. EA) and original pitch are set, and the second point of the waveform data W (f) with the highest intensity of the waveform set to which the attack waveform data Wa (x) belongs is assigned to the assigned second channel (# 2). The start address (SA) to be indicated, the end address (EA) to indicate the end, and the original pitch are set. Here, the position of the second point differs according to the selected attack portion waveform data Wa (x). The set original pitches are the same for the attack portion waveform data Wa (x) and the waveform data W (f). Next, in step S22, the volume of the difference between the volume value tvol and the volume value wvol of the attack waveform data Wa (x) is set in the first channel (# 1), and the second channel (# 2). ), The volume of the difference between the volume value tvol and the volume value wvol at the third point of the waveform data W (f) is set. Thus, the volume value tvol indicates the volume of the musical tone waveform of the body part generated in the second channel (# 2) and the volume of the musical sound waveform of the attack part generated in the first channel (# 1). Can match.

次いで、ステップS23にて、割り当てられた第1チャンネル(#1)と第2チャンネル(#2)とに、ノートナンバNN、ピッチのずれを示すピッチデータPD、ベロシティVELに応じた振幅エンベロープパラメータ等の各種楽音制御用の同じ値のパラメータがそれぞれセットされる。また、クロスフェード制御データとして、第1チャンネル(#1)には、クロスフェード係数を100%に設定するデータが、第2チャンネル(#2)には、クロスフェード係数を0%に設定するデータが設定される。次いで、ステップS24にて、制御レジスタ38には、トリガをかける側である第1チャンネル(#1)を示すトリガチャンネル番号、トリガをかける第1ポイントを示すリンクアドレス、トリガをかけられる第2チャンネルを示す被トリガチャンネル番号が、リンク情報として設定される。そして、第1チャンネル(#1)に対する発音開始の指示(ノートオン信号の供給)がステップS25にて行われる。これにより、音源20の第1チャンネル(#1)において、波形メモリ23からアタック部波形データWa(x)が、ノートナンバNN、ピッチデータPD、および原音高に応じた速度で、スタートアドレスが示すその先頭から読み出され(第1読出部)、読み出された波形データに基づき、かつ、楽音制御用のパラメータに応じて特性制御された演奏強度(x)の合成波形データCW(x)のアタック部が生成されるようになる。次いで、ステップS26にて、今回割り当てた発音チャンネルの数である「2」を、チャンネル数レジスタであるch数(NN)にセットしてノートオンイベント処理は終了する。
そして、トリガチャンネル番号が示す第1チャンネル(#1)における読出アドレスが、リンクアドレスが示すアタック部波形データWa(x)の第1ポイントに達した時に、被トリガチャンネル番号が示す第2チャンネル(#2)にトリガ(位相の小数部を含む)が与えられる。音源20の第2チャンネル(#2)は、該トリガに応じて、波形メモリ23に記憶された最高強度の波形データW(f)を、ノートナンバNN、ピッチデータPD、および原音高に応じた速度で、スタートアドレスが示す第2ポイントから読み出し始める(第2読出部)。これにより、第2読出部では、第1読出部によるアタック部波形データWa(x)の読み出しに同期して、そのアタック部波形データに接続されるべき波形データW(f)の読み出しが開始される。この時点では、第1チャンネル(#1)のクロスフェード係数は100%であり、第2チャンネルのクロスフェード係数は0%であるので、合成波形データCW(x)は第1チャンネルの波形データのみとなるが、読み出される両波形データの位相は、相互に同じになるよう制御されており、また、乗算器M2に入力する波形データ(クロスフェード係数が乗算される前の波形データ)の音量も、相互に同じになるように制御されている。
In step S23, the assigned first channel (# 1) and second channel (# 2) are assigned note numbers NN, pitch data PD indicating pitch deviation, amplitude envelope parameters corresponding to velocity VEL, and the like. Parameters of the same value for various musical tone controls are set. Further, as crossfade control data, data for setting the crossfade coefficient to 100% is set for the first channel (# 1), and data for setting the crossfade coefficient to 0% for the second channel (# 2). Is set. Next, in step S24, the control register 38 has a trigger channel number indicating the first channel (# 1) on which the trigger is applied, a link address indicating the first point to be triggered, and the second channel to be triggered. Is set as link information. Then, an instruction to start sounding (supplying a note-on signal) to the first channel (# 1) is performed in step S25. Thereby, in the first channel (# 1) of the sound source 20, the attack address waveform data Wa (x) from the waveform memory 23 is indicated by the start address at a speed corresponding to the note number NN, the pitch data PD, and the original pitch. The composite waveform data CW (x) of the performance intensity (x) read from the head (first reading unit) and subjected to the characteristic control based on the read waveform data and in accordance with the parameters for tone control An attack part is generated. Next, in step S26, “2”, which is the number of sounding channels assigned this time, is set to the number of channels (NN) which is the channel number register, and the note-on event processing is ended.
When the read address in the first channel (# 1) indicated by the trigger channel number reaches the first point of the attack waveform data Wa (x) indicated by the link address, the second channel (indicated by the triggered channel number) A trigger (including a fractional part of the phase) is given to # 2). In response to the trigger, the second channel (# 2) of the sound source 20 uses the highest-intensity waveform data W (f) stored in the waveform memory 23 in accordance with the note number NN, the pitch data PD, and the original pitch. At the speed, reading starts from the second point indicated by the start address (second reading unit). As a result, in the second reading unit, reading of the waveform data W (f) to be connected to the attack unit waveform data is started in synchronization with the reading of the attack unit waveform data Wa (x) by the first reading unit. The At this time, since the crossfade coefficient of the first channel (# 1) is 100% and the crossfade coefficient of the second channel is 0%, the combined waveform data CW (x) is only the waveform data of the first channel. However, the phases of the two waveform data to be read out are controlled to be the same, and the volume of the waveform data (the waveform data before being multiplied by the crossfade coefficient) input to the multiplier M2 is also controlled. Are controlled to be the same as each other.

音源20は、第1チャンネル(#1)の読出アドレスがリンクアドレスが示す第1ポイントに達した時に、CPU10に対してリンクポイント割込をかける。図16は、該割込に応じてCPU10が実行する、リンクポイント割込処理のフローチャートである。リンクポイント割込がかけられると、CPU10は、まず、ステップS30にて制御レジスタ38に第2チャンネル(#2)のフェードイン開始を指示するクロスフェード制御データを設定し、続いて、ステップS31にて第1チャンネル(#1)のフェードアウト開始を指示するクロスフェード制御データを設定して、リンクポイント割込処理は終了する。これにより、図14に示すように、第2チャンネル(#2)のクロスフェード係数が0%から100%まで徐々に増加し、第2チャンネルで生成される合成波形データCW(x)のボディ部がフェードインされるとともに、第1チャンネル(#1)のクロスフェード係数が100%から0%まで徐々に減少し、第1チャンネルで生成される合成波形データCW(x)のアタック部がフェードアウトされる。そして、ミキサ35においては、リンクポイントでフェードアウトされるアタック部の楽音波形とリンクポイントからフェードインされるボディ部の楽音波形とがミキシングされて、1つのノートオンに応じた立上りから立下りまでの波形データである、合成波形データCW(x)が生成される。   When the read address of the first channel (# 1) reaches the first point indicated by the link address, the sound source 20 interrupts the CPU 10 with a link point. FIG. 16 is a flowchart of a link point interrupt process executed by the CPU 10 in response to the interrupt. When the link point interrupt is applied, the CPU 10 first sets the cross-fade control data instructing the fade-in start of the second channel (# 2) in the control register 38 in step S30, and then proceeds to step S31. Then, the cross-fade control data for instructing the start of fade-out of the first channel (# 1) is set, and the link point interrupt process is completed. Thereby, as shown in FIG. 14, the crossfade coefficient of the second channel (# 2) gradually increases from 0% to 100%, and the body portion of the synthesized waveform data CW (x) generated in the second channel Is faded in, the crossfade coefficient of the first channel (# 1) gradually decreases from 100% to 0%, and the attack part of the synthesized waveform data CW (x) generated in the first channel is faded out. The In the mixer 35, the musical tone waveform of the attack portion faded out at the link point and the musical tone waveform of the body portion faded in from the link point are mixed, and from the rise to the fall corresponding to one note-on. Composite waveform data CW (x), which is waveform data, is generated.

クロスフェード制御部34が発生する第1チャンネル(#1)のクロスフェード係数が0%に達すると、音源20は、CPU10に対してクロスフェード終了割込をかける。図17は、該割込に応じてCPU10が実行する、フェードアウト終了割込処理のフローチャートである。クロスフェード終了割込がかけられると、CPU10は、ステップS40にてフェードアウトし終えた第1チャンネル(#1)を、新たな発音に使用できるように開放する。次いで、ステップS41にて、当該チャンネルで生成していた楽音のノートナンバNNに対応するch数(NN)のレジスタに、割り当てたチャンネルが1つ残っていることを示す「1」をセットしてフェードアウト終了割込処理を終了する。このように、第1チャンネル(#1)は、合成波形データCW(x)のアタック部の生成が終わったらすぐに開放されるので、1つのノートオンに対して2つの発音チャンネルを割り当てるようにしても、実質的な同時発音数はそれほど減らないのである。   When the crossfade coefficient of the first channel (# 1) generated by the crossfade control unit 34 reaches 0%, the sound source 20 applies a crossfade end interrupt to the CPU 10. FIG. 17 is a flowchart of a fade-out end interrupt process executed by the CPU 10 in response to the interrupt. When the cross fade end interrupt is applied, the CPU 10 releases the first channel (# 1) that has been faded out in step S40 so that it can be used for new sound generation. Next, in step S41, "1" indicating that one assigned channel remains is set in the register of the number of channels (NN) corresponding to the note number NN of the musical tone generated in the channel. End the fade-out end interrupt process. As described above, the first channel (# 1) is released as soon as the generation of the attack portion of the combined waveform data CW (x) is completed, so two sound generation channels are assigned to one note-on. However, the actual number of simultaneous pronunciations does not decrease so much.

なお、アタック部波形データWa(x)における同一特性部の波形データは、前述したように、波形データW(f)の第2ポイント以降と同じ形状とされていることから、クロスフェードすることなく切り替えてもノイズ等は発生しない。例えば、音源20の内部において、第1チャンネル(#1)がリンクポイントに達したタイミングで、第2チャンネル(#2)に発音開始のトリガをかけるとともに、クロスフェード制御部34自身が、同トリガに応じて、第1チャンネル(#1)のクロスフェード係数を0%に設定し、かつ、第2チャンネル(#2)のクロスフェード係数を100%に設定するようにすればよい。この場合、アタック部波形データWa(x)の同一特性部は必要ないので、同一特性部を含まないさらに短い波形データとすることができる。また、CPU10による、リンクポイント割込処理も不要である。
あるいは、リンクポイント割込に応じたリンクポイント割込処理で、CPU10が、クロスフェード制御部34の第1チャンネル(#1)のクロスフェード係数を0%に設定し、かつ、第2チャンネル(#2)のクロスフェード係数を100%に設定するようにしてもよい。その場合、アタック部波形データWa(x)には、その割込処理の遅れに相当する分の同一特性部が必要となる。
Note that the waveform data of the same characteristic portion in the attack portion waveform data Wa (x) has the same shape as the second and subsequent points of the waveform data W (f), as described above, so that it does not crossfade. No noise is generated even when switching. For example, in the sound source 20, at the timing when the first channel (# 1) reaches the link point, the second channel (# 2) is triggered to start sounding, and the crossfade control unit 34 itself performs the trigger. Accordingly, the crossfade coefficient of the first channel (# 1) may be set to 0%, and the crossfade coefficient of the second channel (# 2) may be set to 100%. In this case, since the same characteristic part of the attack part waveform data Wa (x) is not necessary, it can be made shorter waveform data not including the same characteristic part. Moreover, the link point interruption process by CPU10 is also unnecessary.
Alternatively, in the link point interrupt process corresponding to the link point interrupt, the CPU 10 sets the crossfade coefficient of the first channel (# 1) of the crossfade control unit 34 to 0% and the second channel (# The crossfade coefficient of 2) may be set to 100%. In that case, the same characteristic portion corresponding to the delay of the interrupt processing is required for the attack portion waveform data Wa (x).

次に、ピッチ変化イベント処理のフローチャートを図18に示す。
楽音生成装置1に備えられているピッチベンド操作子が操作されたときや、CPU10がビブラート波形やピッチエンベロープ波形を生成する処理を行ったときには、楽音のピッチを動的な変化を指示するピッチ変化イベントが発生する。図18は、該ピッチ変化イベントに応じて、CPU10が実行するピッチ変化イベント処理のフローチャートである。MIDIにおけるピッチベンド等のピッチ変化イベントは、各パートごとピッチ変化を制御するイベントとなっている。ピッチ変化イベントが発生すると、まず、ステップS50にて変化した新しいピッチがレジスタPDに格納される。次いで、ステップS51にて、当該パートにおいて現在発音されているノートナンバ(NN)が検出され、発音中のノートナンバがあるか否かがステップS52にて判断される。ここで、発音中のノートナンバがないと判断された場合は、ピッチ変化イベント処理はそのまま終了し、発音中のノートナンバがあると判断された場合はステップS53に進んで検出されたノートナンバの内の一つ目のノートナンバが選択される。次いで、ステップS54にて選択されたノートナンバにセットされている発音チャンネル数が当該ノートナンバのch数(NN)のレジスタを参照して「1」とされているか「2」とされているかが判断される。ここで、当該ノートナンバにおいて発音チャンネル数が「1」とされていると判断された場合は、ステップS55に進んで、制御レジスタ38に、当該ノートナンバの楽音生成に割り当てられている発音チャンネルのピッチデータとして、レジスタPDに格納されたピッチデータが書き込まれる。また、ステップS54にて当該ノートナンバにおいて発音チャンネル数が「2」とされていると判断された場合は、ステップS57に分岐して、複数同時書込部39を利用して、制御レジスタ38に、当該ノートナンバの楽音生成に割り当てられている第1チャンネル(#1)および第2チャンネル(#2)の2つのチャンネルの2つのピッチデータとして、レジスタPDに格納されたピッチデータを同時(同じサンプリング周期)に書き込む。
Next, a flowchart of the pitch change event process is shown in FIG.
When the pitch bend operator provided in the musical sound generating device 1 is operated, or when the CPU 10 performs processing for generating a vibrato waveform or a pitch envelope waveform, a pitch change event for instructing a dynamic change in the pitch of the musical sound. Will occur. FIG. 18 is a flowchart of pitch change event processing executed by the CPU 10 in response to the pitch change event. A pitch change event such as pitch bend in MIDI is an event for controlling the pitch change for each part. When a pitch change event occurs, first, a new pitch changed in step S50 is stored in the register PD. Next, in step S51, the note number (NN) currently sounded in the part is detected, and it is determined in step S52 whether or not there is a note number being sounded. If it is determined that there is no note number being sounded, the pitch change event process is terminated, and if it is determined that there is a note number being sounded, the process proceeds to step S53 and the detected note number is detected. The first note number is selected. Next, whether the number of sound generation channels set in the note number selected in step S54 is set to “1” or “2” with reference to the register of the channel number (NN) of the note number. To be judged. Here, if it is determined that the number of sound generation channels is “1” in the note number, the process proceeds to step S55, and the control channel 38 stores the sound channel assigned to the sound generation of the note number. As the pitch data, the pitch data stored in the register PD is written. On the other hand, if it is determined in step S54 that the number of sound generation channels is “2” in the note number, the process branches to step S57, and a plurality of simultaneous writing sections 39 are used to enter the control register 38. The pitch data stored in the register PD is simultaneously (same as the two pitch data of the two channels of the first channel (# 1) and the second channel (# 2) assigned to the tone number generation of the note number). (Sampling period).

ステップS55あるいはステップS57の処理が終了するとステップS56に進み、処理していないノートナンバが残っているか否かが判断される。ここで、ノートナンバが残っていると判断された場合はステップS58に分岐して次のノートナンバが選択されてステップS54に戻り、ステップS54ないしステップS57の処理が繰り返し行われる。この繰り返し処理は、処理していない発音中のノートナンバがなくなるまで行われ、ステップS56において当該パートで発音中のノートナンバの全てについて処理が行われて処理していないノートナンバがないと判断されると、ピッチ変化イベント処理は終了する。このピッチ変化イベント処理により、ピッチを変化させる操作をした際には当該パートで発音中のすべてのノートナンバにおいて、2つの発音チャンネルを割り当てている場合も1つの発音チャンネルを割り当てている場合も、合成波形データCW(x)のピッチを時間変化させることができるようになる。これにより、当該パートで発音中の全発音チャンネルの楽音波形のピッチを動的に変化させることができる。さらに、演奏強度(x)の合成波形データCW(x)を生成している第1チャンネル(#1)と第2チャンネル(#2)とには、ピッチデータを同時に書き込むようにしたので、ピッチを動的に変化させた場合でも、第1チャンネル(#1)と第2チャンネル(#2)とで読み出される波形データの位相にずれが生じない。   When the process of step S55 or step S57 ends, the process proceeds to step S56, and it is determined whether or not a note number that has not been processed remains. If it is determined that the note number remains, the process branches to step S58, the next note number is selected, the process returns to step S54, and the processes from step S54 to step S57 are repeated. This iterative process is performed until there is no unprocessed note number being processed, and it is determined in step S56 that all the note numbers being sounded in the part are processed and there is no unprocessed note number. Then, the pitch change event process ends. With this pitch change event processing, when the pitch is changed, all note numbers that are sounding in the part are assigned two sounding channels or one sounding channel. The pitch of the composite waveform data CW (x) can be changed with time. Thereby, it is possible to dynamically change the pitch of the musical sound waveform of all the sound generation channels that are sounding in the part. Furthermore, since the pitch data is simultaneously written in the first channel (# 1) and the second channel (# 2) that generate the composite waveform data CW (x) of the performance intensity (x), the pitch Even when is changed dynamically, the phase of the waveform data read by the first channel (# 1) and the second channel (# 2) does not shift.

ところで、前述したように、第2読出部を同期させるタイミングは、第1読出部がアタック部波形データWa(x)の先頭を読み出し始めるタイミングとすることもできる。この場合においては、図15のノートオンイベント処理におけるステップS20からステップS26までの処理のうち、ステップS21、S24、S25を以下のように変更すればよい。
まず、ステップS21では、割り当てられた第1チャンネル(#1)に、ベロシティVELに応じて選択されたアタック部波形データWa(x)の先頭を示すスタートアドレス(SA)と末尾を示すエンドアドレス(EA)と原音高とがセットされ、割り当てられた第2チャンネル(#2)に該アタック部波形データWa(x)が属する波形セットの最高強度の波形データW(f)の第3ポイントを示すスタートアドレス(SA)と末尾を示すエンドアドレス(EA)と原音高がセットされるようにする。ステップS24では、トリガをかける側である第1チャンネル(#1)を示すトリガチャンネル番号と、トリガをかける第1ポイントを示すリンクアドレスとをリンク情報として設定し、被トリガチャンネル番号は設定しない。従って、第1チャンネル(#1)から第2チャンネル(#2)へのトリガは、供給されることがない。そして、ステップS25では、第1チャンネル(#1)と第2チャンネル(#2)に対して同時発音開始の指示(同じサンプリング周期にノートオン信号を供給)を行う。
これにより、ステップS25で供給されるノートオン信号に応じて、音源部20の第1チャンネル(#1)では、アタック部波形データWa(x)がスタートアドレスの示すその先頭から読み出され(第1読出部)、第2チャンネル(#2)では、最高強度の波形データW(f)がスタートアドレスの示す第3ポイントから読み出される(第2読出部)。この時点では、第1チャンネル(#1)のクロスフェード係数は100%であり、第2チャンネルのクロスフェード係数は0%であるので、合成波形データCW(x)は第1チャンネルの波形データのみとなる。そして、第1チャンネル(#1)の読出アドレスがリンクアドレスが示す第1ポイントに達したとき、リンクポイント割込処理が実行され、第1チャンネルで生成されるアタック部の楽音波形がフェードアウトされ、それに替えて、第2チャンネルで生成されるボディ部の楽音波形がフェードインされる。それら生成された楽音波形はミキサ35でミキシングされ、合成波形データCW(x)となる。
As described above, the timing at which the second reading unit is synchronized may be the timing at which the first reading unit starts reading the head of the attack portion waveform data Wa (x). In this case, among the processes from step S20 to step S26 in the note-on event process of FIG. 15, steps S21, S24, and S25 may be changed as follows.
First, in step S21, a start address (SA) indicating the beginning of the attack waveform data Wa (x) selected according to velocity VEL and an end address indicating the end are assigned to the assigned first channel (# 1). EA) and original pitch are set, and the third point of the waveform data W (f) having the highest intensity of the waveform set to which the attack waveform data Wa (x) belongs to the assigned second channel (# 2) is shown. The start address (SA), end address (EA) indicating the end, and original pitch are set. In step S24, the trigger channel number indicating the first channel (# 1) on the triggering side and the link address indicating the first point to be triggered are set as link information, and the triggered channel number is not set. Therefore, the trigger from the first channel (# 1) to the second channel (# 2) is not supplied. In step S25, an instruction to start simultaneous sounding is supplied to the first channel (# 1) and the second channel (# 2) (note-on signal is supplied at the same sampling period).
Thus, in response to the note-on signal supplied in step S25, the attack section waveform data Wa (x) is read from the head indicated by the start address (first) in the first channel (# 1) of the sound source section 20. 1 reading section) and the second channel (# 2), the waveform data W (f) having the highest intensity is read from the third point indicated by the start address (second reading section). At this time, since the crossfade coefficient of the first channel (# 1) is 100% and the crossfade coefficient of the second channel is 0%, the combined waveform data CW (x) is only the waveform data of the first channel. It becomes. When the read address of the first channel (# 1) reaches the first point indicated by the link address, the link point interrupt process is executed, and the tone waveform of the attack part generated in the first channel is faded out, Instead, the tone waveform of the body part generated in the second channel is faded in. The generated musical sound waveforms are mixed by the mixer 35 to become synthesized waveform data CW (x).

なお、上記説明した波形データの形成方法において、波形メモリ23に図4に示す構成の波形セットが記憶されている場合は、演奏強度に応じて選択された波形が最高強度の波形であっても、最高強度より弱い演奏強度の波形であっても同様のノートオンイベント処理が行われる。この場合は、図15に示すノートオンイベント処理におけるステップS13ないしステップS19の処理は不要になると共に、ステップS12の処理が終了すると続いてステップS20ないしステップS26の処理が行われるようになる。このように、波形メモリ23に図4に示す構成の波形セットが記憶するようにすると、演奏強度によらずノートオンに対して2つの発音チャンネルを割り当てることになることから、上記したように演奏強度に応じて異なるノートオンイベント処理を行うことがなくなる。
また、音源20の第1および第2チャンネルを用いて楽音を生成する場合の、第2チャンネルにおける第1波形データの読み出し開始アドレスは、図13の第2ポイントないし第3ポイントとされていたが、第2ポイントからクロスフェード用波形データの長さ分後のポイントを第4ポイントとして、該読出開始アドレスは、第3ポイントから第4ポイントまでの範囲のどのポイントにも設定することもできる。その場合、リンクアドレスは、第4波形データの、その設定された読出開始アドレスに対応するアドレスとすればよい。
In the waveform data forming method described above, when the waveform set having the configuration shown in FIG. 4 is stored in the waveform memory 23, even if the waveform selected according to the performance intensity is the highest intensity waveform. The same note-on event processing is performed even if the waveform has a performance intensity weaker than the maximum intensity. In this case, the processing of step S13 to step S19 in the note-on event processing shown in FIG. 15 is not necessary, and the processing of step S20 to step S26 is subsequently performed when the processing of step S12 is completed. As described above, if the waveform set having the configuration shown in FIG. 4 is stored in the waveform memory 23, two tone generation channels are assigned to note-on regardless of the performance intensity. Different note-on event processing depending on intensity is not performed.
In addition, when the musical sound is generated using the first and second channels of the sound source 20, the read start address of the first waveform data in the second channel is the second point to the third point in FIG. The read start address can be set to any point in the range from the third point to the fourth point, with the point after the length of the crossfade waveform data from the second point being the fourth point. In this case, the link address may be an address corresponding to the set read start address of the fourth waveform data.

以上説明した波形データの形成方法では、4種類の演奏強度のアタック部波形データWa(x)を波形メモリ23に記憶するようにしたが、4種類に限らず任意の数の演奏強度に対応するアタック部波形データWa(x)を形成して波形メモリ23に記憶するようにしてもよい。
また、上記した波形データの形成方法においては、アタック部波形データWa(x)から切り換えられる最強強度の波形データW(f)の読み出しは、第2ポイント(終了点SE)以前の何れのポイントから開始しても良い。ただし、第2ポイントにおいてアタック部波形データWa(x)と同期している必要がある。
In the waveform data forming method described above, the attack waveform data Wa (x) having four types of performance intensities are stored in the waveform memory 23. However, the number of performance intensities is not limited to four and corresponds to any number of performance intensities. The attack portion waveform data Wa (x) may be formed and stored in the waveform memory 23.
In the above waveform data forming method, the strongest waveform data W (f) switched from the attack waveform data Wa (x) is read from any point before the second point (end point SE). You may start. However, it is necessary to synchronize with the attack part waveform data Wa (x) at the second point.

1 楽音生成装置、10 CPU、11 フラッシュROM、12 RAM、13 タイマ、14 HDD、15 MIDI I/O、16 パネルSW、17 パネル表示器、18 書込回路、19 バッファ、20 音源、21 サウンドシステム、22 アクセス管理部、23 波形メモリ、24 外部波形入力端子、25 バスライン、31 Fナンバ生成部、32 読出部、33 振幅変化生成部、34 X fade制御部、35 ミキサ、36 DSP、37 DAC I/O、38 制御レジスタ、39 複数同時書込部、M1 乗算器、M2 乗算器 1 musical tone generator, 10 CPU, 11 flash ROM, 12 RAM, 13 timer, 14 HDD, 15 MIDI I / O, 16 panel SW, 17 panel display, 18 writing circuit, 19 buffer, 20 sound source, 21 sound system , 22 Access management unit, 23 Waveform memory, 24 External waveform input terminal, 25 Bus line, 31 F number generation unit, 32 Reading unit, 33 Amplitude change generation unit, 34 X fade control unit, 35 Mixer, 36 DSP, 37 DAC I / O, 38 control register, 39 multiple simultaneous write unit, M1 multiplier, M2 multiplier

Claims (5)

演奏強度が最強の全波形であって、複数の演奏強度に対応した複数の接続ポイントと、同複数の演奏強度に対応した複数の読出開始アドレスとが設定されている第1波形データと、複数の演奏強度に対応した複数の第4波形データであって、それぞれ、対応する演奏強度の波形データにおけるアタック特徴部と、それに続く、前記第1波形データの該演奏強度に対応した接続ポイント以降へ接続するための接続部とを含む複数の第4波形データとが記憶されている波形メモリと、
供給される発音指示に含まれる演奏強度データが示す演奏強度に応じて、複数の前記第4波形データの内の何れか1を選択する選択する選択部と、
前記発音指示に応じて、前記選択部により選択された第4波形データをその先頭アドレスから読み出すとともに、該読み出しに同期して、前記第1波形データを、前記複数の読出開始アドレスの内の当該演奏強度に対応する読出開始アドレスから読み出す読出部と、
前記読出部により読み出された第4波形データの前記接続部の末尾以降の所定ポイントで、該第4波形データに同読み出された第1波形データを接続し、該接続された波形データに基づいて楽音波形データを形成する楽音形成部と、
を備えることを特徴とする波形メモリ音源。
A plurality of first waveform data having a plurality of connection points corresponding to a plurality of performance intensities and a plurality of readout start addresses corresponding to the plurality of performance intensities, all waveforms having the strongest performance intensity; A plurality of fourth waveform data corresponding to the performance intensity of the first, each of the attack feature in the waveform data of the corresponding performance intensity, and the subsequent connection point corresponding to the performance intensity of the first waveform data. A waveform memory in which a plurality of fourth waveform data including a connection portion for connection is stored;
A selection unit for selecting any one of the plurality of fourth waveform data according to the performance intensity indicated by the performance intensity data included in the supplied pronunciation instruction;
In response to the sound generation instruction, the fourth waveform data selected by the selection unit is read from the head address, and in synchronization with the reading, the first waveform data is read from the plurality of read start addresses. A reading unit for reading from a reading start address corresponding to the performance intensity;
At a predetermined point after the end of the connecting portion of the fourth waveform data read by the reading portion, the first waveform data that has been read out is connected to the fourth waveform data, and the connected waveform data is connected to the connected waveform data. A musical sound forming unit for forming musical sound waveform data based on the
A waveform memory sound source comprising:
演奏強度が最強の全波形であって、複数の演奏強度に対応した複数の接続ポイントと、同複数の演奏強度に対応した複数の読出開始アドレスとが設定されている第1波形データと、複数の演奏強度に対応した複数の第4波形データであって、それぞれ、対応する演奏強度の波形データにおけるアタック特徴部と、それに続く、前記第1波形データの該演奏強度に対応した接続ポイント以降へ接続するための接続部とを含む複数の第4波形データとが記憶されている波形メモリと、
供給される発音指示に含まれる強度データに応じて、前記第1波形データと前記複数の第4波形データとの内の何れか1の波形データを選択する選択部と、
前記選択部により第1波形データが選択された場合は、前記波形メモリから、該選択された第1波形データをその先頭アドレスから読み出し、前記選択部により何れかの第4波形データが選択された場合は、前記波形メモリから、該選択された第4波形データを読み出すとともに、該読み出しに同期して、前記第1波形データを、前記複数の読出開始アドレスの内の当該演奏強度に対応する読出開始アドレスから読み出す読出部と、
前記選択部により第1波形データが選択された場合は、前記読出部により読み出された第1波形データに基づいて楽音波形データを形成し、何れかの第4波形データが選択された場合には、前記読出部により読み出された第4波形データの接続部の末尾以降の所定ポイントで、該第4波形データに同読み出された第1波形データを接続し、該接続された波形データに基づいて楽音波形データを形成する楽音形成部と、
を備えることを特徴とする波形メモリ音源。
A plurality of first waveform data having a plurality of connection points corresponding to a plurality of performance intensities and a plurality of readout start addresses corresponding to the plurality of performance intensities, all waveforms having the strongest performance intensity; A plurality of fourth waveform data corresponding to the performance intensity of the first, each of the attack feature in the waveform data of the corresponding performance intensity, and the subsequent connection point corresponding to the performance intensity of the first waveform data. A waveform memory in which a plurality of fourth waveform data including a connection portion for connection is stored;
A selection unit that selects any one of the first waveform data and the plurality of fourth waveform data according to intensity data included in the supplied sound generation instruction;
When the first waveform data is selected by the selection unit, the selected first waveform data is read from the start address from the waveform memory, and any of the fourth waveform data is selected by the selection unit In this case, the selected fourth waveform data is read from the waveform memory, and in synchronization with the reading, the first waveform data is read corresponding to the performance intensity of the plurality of reading start addresses. A reading unit that reads from the start address;
When the first waveform data is selected by the selection unit, musical tone waveform data is formed based on the first waveform data read by the reading unit, and any of the fourth waveform data is selected. Connects the first waveform data read to the fourth waveform data at a predetermined point after the end of the connecting portion of the fourth waveform data read by the reading unit, and the connected waveform data A musical tone generator that forms musical tone waveform data based on
A waveform memory sound source comprising:
複数の前記各第4波形データは、その接続部に前記第1波形データと特性が同一な同一特性部を含んでおり、前記楽音形成部における前記第4波形データと前記第1波形データとの接続は、前記第1波形データの前記同一特性部内の全部あるいは一部の範囲において、前記第1波形データから前記第4波形データにクロスフェードすることにより接続されていることを特徴とする請求項1あるいは2記載の波形メモリ音源。   Each of the plurality of fourth waveform data includes the same characteristic portion having the same characteristic as that of the first waveform data at the connection portion, and the fourth waveform data and the first waveform data in the musical tone forming portion are The connection is established by cross-fading from the first waveform data to the fourth waveform data in the whole or a part of the range of the first waveform data within the same characteristic portion. Waveform memory sound source according to 1 or 2. 前記第4波形データの読み出しに同期した前記第1波形データの読み出しは、前記読出部が、前記第4波形データの前記接続部を読み終えたタイミングで開始されることを特徴とする請求項1あるいは2記載の波形メモリ音源。   2. The reading of the first waveform data in synchronization with the reading of the fourth waveform data is started at a timing when the reading unit finishes reading the connection portion of the fourth waveform data. Or the waveform memory sound source of 2. 前記第4波形データの読み出しに同期した前記第1波形データの読み出しは、前記読出部が、前記第4波形データを読み始めるタイミングで開始されることを特徴とする請求項1あるいは2記載の波形メモリ音源。   3. The waveform according to claim 1, wherein reading of the first waveform data in synchronization with reading of the fourth waveform data is started at a timing when the reading unit starts reading the fourth waveform data. Memory sound source.
JP2009049482A 2009-03-03 2009-03-03 Waveform memory sound source Expired - Fee Related JP5316091B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009049482A JP5316091B2 (en) 2009-03-03 2009-03-03 Waveform memory sound source

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009049482A JP5316091B2 (en) 2009-03-03 2009-03-03 Waveform memory sound source

Publications (2)

Publication Number Publication Date
JP2010204366A JP2010204366A (en) 2010-09-16
JP5316091B2 true JP5316091B2 (en) 2013-10-16

Family

ID=42965919

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009049482A Expired - Fee Related JP5316091B2 (en) 2009-03-03 2009-03-03 Waveform memory sound source

Country Status (1)

Country Link
JP (1) JP5316091B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5665445B2 (en) 2010-09-13 2015-02-04 キヤノン株式会社 Organic-inorganic composite composition and optical element

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61204696A (en) * 1985-03-07 1986-09-10 ヤマハ株式会社 Tone signal generator
JP2739669B2 (en) * 1992-08-24 1998-04-15 株式会社河合楽器製作所 Tone generator
JPH086563A (en) * 1994-06-16 1996-01-12 Yamaha Corp Musical sound generating device
JP3659053B2 (en) * 1998-04-23 2005-06-15 ヤマハ株式会社 Waveform data generation method, recording medium recording waveform data generation program, and waveform data generation apparatus

Also Published As

Publication number Publication date
JP2010204366A (en) 2010-09-16

Similar Documents

Publication Publication Date Title
JP3744216B2 (en) Waveform forming apparatus and method
EP1729283B1 (en) Tone synthesis apparatus and method
JP4998046B2 (en) Music generator
JP2003263159A (en) Musical sound generation device and computer program for generating musical sound
JP3008922B2 (en) Music sound generating apparatus and music sound generating method
JP3482685B2 (en) Sound generator for electronic musical instruments
WO2007139034A1 (en) Music sound combining device and method
JP5316091B2 (en) Waveform memory sound source
JP5353305B2 (en) Forming method of waveform data
JP3428401B2 (en) Waveform data processing method
JP4552769B2 (en) Musical sound waveform synthesizer
JP3904012B2 (en) Waveform generating apparatus and method
JP3095018B2 (en) Music generator
JP4353225B2 (en) Music generator
JP4236570B2 (en) Waveform playback device and waveform playback program
JP5359203B2 (en) Music processing apparatus and program
JP2010237594A (en) Musical sound generating device
JP5732769B2 (en) Music generator
JP3752855B2 (en) Waveform data creation method
JP2940440B2 (en) Electronic musical instrument waveform data compression recording method and waveform data reproduction method
JP5573465B2 (en) Music generator
JP5681946B2 (en) Sound generator
JP5935346B2 (en) Musical sound synthesizer and program
JP5151523B2 (en) Electronic musical instruments
JP4835433B2 (en) Performance pattern playback device and computer program therefor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120120

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130529

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130624

R150 Certificate of patent or registration of utility model

Ref document number: 5316091

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees