JP3904012B2 - Waveform generating apparatus and method - Google Patents

Waveform generating apparatus and method Download PDF

Info

Publication number
JP3904012B2
JP3904012B2 JP2004280251A JP2004280251A JP3904012B2 JP 3904012 B2 JP3904012 B2 JP 3904012B2 JP 2004280251 A JP2004280251 A JP 2004280251A JP 2004280251 A JP2004280251 A JP 2004280251A JP 3904012 B2 JP3904012 B2 JP 3904012B2
Authority
JP
Japan
Prior art keywords
waveform
loop
data
unit
sequence
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
JP2004280251A
Other languages
Japanese (ja)
Other versions
JP2005037964A (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 JP2004280251A priority Critical patent/JP3904012B2/en
Publication of JP2005037964A publication Critical patent/JP2005037964A/en
Application granted granted Critical
Publication of JP3904012B2 publication Critical patent/JP3904012B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

この発明は、メモリに記憶した波形データを読み出すことに基づき、楽音あるいは音声若しくはその他任意の音の波形を形成する装置及び方法に関し、特に、繰り返し読み出しされるループ波形を使用するものに関する。この発明は、電子楽器は勿論のこと、自動演奏装置、コンピュータ、電子ゲーム装置その他マルチメディア機器等、楽音あるいは音声若しくはその他任意の音を発生する機能を有する汎ゆる分野の機器若しくは装置または方法において広範囲に応用できるものである。なお、この明細書において、楽音波形という場合、音楽的な音の波形に限るものではなく、音声あるいはその他任意の音の波形を含んでいてもよい意味合いで用いるものとする。   The present invention relates to an apparatus and method for forming a waveform of a musical tone or a voice or any other sound based on reading out waveform data stored in a memory, and more particularly to one using a loop waveform that is repeatedly read out. The present invention is not limited to electronic musical instruments, but in general performance devices, computers, electronic game devices, other multimedia devices, etc., in a wide range of devices, devices or methods having a function of generating musical sounds or sounds or other arbitrary sounds. It can be applied in a wide range. In this specification, the term “musical sound waveform” is not limited to a musical sound waveform, but is used in a sense that may include a sound waveform or any other sound waveform.

波形メモリにおいて、PCM(パルス符号変調)あるいはDPCM(差分PCM)又はADPCM(適応差分PCM)等の任意の符号化方式で符号化した波形データ(つまり波形サンプルデータ)を記憶しておき、これを所望の楽音ピッチに対応して読み出すことにより、楽音波形を形成するようにした、いわゆる「波形メモリ読み出し」技術は、既に公知であり、また、様々なタイプの「波形メモリ読み出し」技術が知られている。従来知られた「波形メモリ読み出し」技術のほとんどは、発音開始から終了までの1つの音の波形を発生するためのものである。一例として、発音開始から終了までの1音の全波形の波形データを記憶する方式がある。また、別の例として、変化の複雑なアタック部についてはその全波形の波形データを記憶し、変化のあまりないサステイン部については所定のループ波形を記憶する方式がある(例えば特許文献1)。後者の方式では、ループ波形を記憶する構成であることにより波形データ記憶量を簡素化することができると共に、ループ波形を繰り返し読み出すことにより、音の持続時間を任意に調節することができる。なお、本明細書において、「ループ波形」とは、繰り返し読み出し(ループ読み出し)される波形という意味で用いるものとし、「ループ再生波形」とは、「ループ波形」を繰り返し読み出し(ループ読み出し)することで得られた(再生された)波形という意味で用いるものとする。
特開昭59−188697号公報
In the waveform memory, waveform data (that is, waveform sample data) encoded by an arbitrary encoding method such as PCM (pulse code modulation), DPCM (differential PCM), or ADPCM (adaptive differential PCM) is stored. A so-called “waveform memory read” technique for forming a musical sound waveform by reading in accordance with a desired musical tone pitch is already known, and various types of “waveform memory read” techniques are known. ing. Most of the conventionally known “waveform memory reading” techniques are for generating one sound waveform from the start to the end of sound generation. As an example, there is a method of storing waveform data of all waveforms of one sound from the start to the end of sound generation. As another example, there is a method of storing waveform data of all waveforms for an attack portion having a complicated change, and storing a predetermined loop waveform for a sustain portion having little change (for example, Patent Document 1). In the latter method, since the loop waveform is stored, the waveform data storage amount can be simplified, and the sound duration can be arbitrarily adjusted by repeatedly reading the loop waveform. In this specification, “loop waveform” is used to mean a waveform that is repeatedly read (loop read), and “loop playback waveform” is used to repeatedly read (loop read) a “loop waveform”. It is used in the meaning of the waveform obtained (reproduced).
JP 59-1888697

また、1つの音の発生のために、複数のループ波形を使用し、各ループ波形を特定のシーケンスに従って順次切り替えて読み出し、相前後するループ波形のループ読出出力データ(つまり「ループ再生波形」)をクロスフェード合成することで、各ループ再生波形が滑らかに接続されるようにした技術も知られている(例えば特許文献2)。この場合、クロスフェード合成は、所定のクロスフェード区間において行なわれるようになっており、上述した単純な1つのループ波形の繰り返し読み出し技術とは異なり、個々のクロスフェード区間の時間長を任意に可変調節することについては示されていない。また、この種のループ波形は、1つの音に対応する上記特定のシーケンスでのみ用いられるものである。
特開昭62−14696号公報
In addition, for the generation of one sound, a plurality of loop waveforms are used, and each loop waveform is sequentially switched and read out according to a specific sequence, and loop read output data of successive loop waveforms (that is, “loop reproduction waveform”) A technique is also known in which each loop reproduction waveform is smoothly connected by cross-fade synthesis (for example, Patent Document 2). In this case, the cross-fade synthesis is performed in a predetermined cross-fade interval, and the time length of each cross-fade interval is arbitrarily variable, unlike the simple one-loop waveform repetitive reading technique described above. No adjustment is shown. Further, this type of loop waveform is used only in the specific sequence corresponding to one sound.
JP-A-62-14696

一方、音声信号の時間軸圧縮技術としては、例えば特許文献3に示されたものがある。そこでは、音声波形を母音区間と子音区間とに分け、子音区間の時間軸圧縮比率を相対的に小さくし、母音区間の時間軸圧縮比率を相対的に大きくすることが示されている。また、特許文献4においては、子音区間では時間軸圧縮制御を行なわず、母音区間でのみ時間軸圧縮制御を行なうことが示されている。しかし、これらの技術は、音声信号のデータ圧縮のためのものであり、音のアーティキュレーション(奏法)を考慮したり、そのコントロールを可能にすることとは全く無関係である。
特開平1−93795号公報 特開平5−274599号公報
On the other hand, as a time base compression technique of an audio signal, there is one disclosed in Patent Document 3, for example. It is shown that the speech waveform is divided into a vowel section and a consonant section, the time axis compression ratio of the consonant section is relatively reduced, and the time axis compression ratio of the vowel section is relatively increased. Patent Document 4 discloses that time axis compression control is performed only in a vowel section without performing time axis compression control in a consonant section. However, these techniques are for data compression of audio signals, and are completely unrelated to taking into account or enabling control of sound articulation.
JP-A-1-93795 JP-A-5-274599

従来のループ波形を用いた楽音波形形成技術においては、記憶する波形データ量を簡素化することに関しては適していたが、それと引き替えに、表現力のある楽音波形の形成には適さないものであり、また、音のアーティキュレーション(奏法)を考慮した楽音波形の形成とは無関係であった。一方、繰り返し読み出しをしない波形(これをノンループ波形ということにする)を複数周期にわたって記憶しておき、これを読み出すことにより楽音波形を形成する方式においては、記憶した複数周期波形それ自体は、品質のよい、音のアーティキュレーション(奏法)を考慮した楽音波形であるということができるが、記憶した波形データの通りにしか再生することができないので、制御性に乏しく、また、編集性にも乏しかった。   In conventional musical tone waveform forming technology using loop waveforms, it was suitable for simplifying the amount of waveform data to be stored, but in exchange, it was not suitable for forming expressive musical sound waveforms. Also, it was unrelated to the formation of musical sound waveform considering the articulation of sound. On the other hand, in a method in which a waveform that is not repeatedly read (referred to as a non-loop waveform) is stored over a plurality of cycles and a musical sound waveform is formed by reading out the waveform, the stored multi-cycle waveform itself is the quality. It can be said that it is a musical sound waveform that takes into account the articulation of sound, but it can only be played back according to the stored waveform data, so it has poor controllability and editability It was scarce.

この発明は上述の点に鑑みてなされたもので、ループ波形を使用して、楽音波形を形成する場合において、音のアーティキュレーション(奏法)を考慮した品質のよい波形形成を行なうことができる波形生成装置及び方法を提供しようとするものであり、特に、演奏フレーズに対応する楽音波形を高品質に生成し得るようにした波形生成装置及び方法を提供しようとするものである。更には、制御性に富み、また、編集性にも富んだ波形生成装置及び方法を提供することを目的とする。   The present invention has been made in view of the above points, and when a musical tone waveform is formed using a loop waveform, it is possible to perform waveform formation with high quality in consideration of sound articulation (performance method). An object of the present invention is to provide a waveform generation apparatus and method, and particularly to provide a waveform generation apparatus and method that can generate a musical sound waveform corresponding to a performance phrase with high quality. It is another object of the present invention to provide a waveform generating apparatus and method which are rich in controllability and rich in editability.

この発明に係る波形生成装置は、繰返し読み出されないノンループ波形とその前後の少なくとも一方につながる繰返し読み出しされる少なくとも1つのループ波形とからなる単位波形データを複数記憶してなる記憶手段と、複数の任意の前記単位波形データを順次読み出す順序を当該単位波形を再生する時間を示すタイミングデータで規定する波形シーケンスに従い、前記記憶手段から前記単位波形データを読み出し、前記複数の任意の単位波形データにおいて相前後する単位波形データの前記ループ波形を繰り返して読み出してクロスフェード合成することで、該相前後する単位波形データに基づく波形を接続して楽音波形を生成する波形形成手段とを具備する。 The waveform generation device according to the present invention includes a storage unit configured to store a plurality of unit waveform data including a non-loop waveform that is not repeatedly read and at least one loop waveform that is repeatedly read connected to at least one of the non-loop waveform, The unit waveform data is read from the storage means according to a waveform sequence defined by the timing data indicating the time for reproducing the unit waveform in order for sequentially reading the arbitrary unit waveform data, and the unit waveform data is read into the plurality of arbitrary unit waveform data . And waveform forming means for generating a musical sound waveform by connecting the waveforms based on the unit waveform data before and after the loop waveform of the unit waveform data preceding and succeeding and repeatedly reading and synthesizing the loop waveforms .

この発明によれば、繰返し読み出されないノンループ波形とその前後の少なくとも一方につながる繰返し読み出しされる少なくとも1つのループ波形とからなる単位波形データが記憶手段に複数記憶されており、所望の楽音波形を生成するのに使用する複数の単位波形データを、それを順次読み出す順序を当該単位波形を再生する時間を示すタイミングデータで規定する波形シーケンスによって特定し、この波形シーケンスに従って該記憶手段から単位波形データを前記タイミングデータに従う時間で順次読み出し、かつ相前後する単位波形データの前記ループ波形を繰り返して読み出してクロスフェード合成することで、これらの単位波形データに基づく波形を接続して楽音波形を生成する。これによって、繰返し読み出されないノンループ波形とその前後の少なくとも一方につながる繰返し読み出しされる少なくとも1つのループ波形とからなる単位波形データを任意に組み合わせてなる任意の楽音波形を、それに対応する波形シーケンスを特定することで、容易に生成することができるものであり、しかも、波形シーケンスは、複数の単位波形データを順次読み出す順序を、各単位波形を再生する時間を示すタイミングデータで規定するので、多様な時間的バリエーションで各単位波形を接続することができるようになる。また、各単位波形データに含まれるノンループ波形は、アーティキュレーション(奏法)等の特徴を有する高品質な波形であるので、高品質な演奏フレーズ楽音波形を生成することができる。 According to the present invention, a plurality of unit waveform data consisting of a non-loop waveform that is not repeatedly read and at least one loop waveform that is repeatedly read connected to at least one of the non-loop waveforms is stored in the storage means, and a desired musical sound waveform is obtained. A plurality of unit waveform data used for generation is specified by a waveform sequence defined by timing data indicating a time for reproducing the unit waveform, and the unit waveform data is stored from the storage means according to the waveform sequence. the by said sequentially read out at the time according the timing data, and read out repeatedly the loop waveform of the unit waveform data preceding and succeeding to crossfade synthesis, the connecting waveform based on these unit waveform data tone waveform Generate. As a result, an arbitrary musical sound waveform formed by arbitrarily combining unit waveform data composed of a non-loop waveform that is not repeatedly read and at least one loop waveform that is repeatedly read connected to at least one of the non-loop waveforms is converted into a waveform sequence corresponding thereto. The waveform sequence can be easily generated , and the waveform sequence defines the order of sequentially reading a plurality of unit waveform data with timing data indicating the time to reproduce each unit waveform. Each unit waveform can be connected with a simple temporal variation. Further , since the non-loop waveform included in each unit waveform data is a high-quality waveform having characteristics such as articulation (performance method), a high-quality performance phrase musical sound waveform can be generated.

また、ノンループ波形は、アーティキュレーション(奏法)等の特徴を有する高品質な波形であるが、複雑な特徴を持つが故に、それ自体では他の任意の波形と滑らかに接続するのに適していないが、この発明によれば、ノンループ波形の前後の少なくとも一方にループ波形を具備してなる単位波形データを用いるので、単位波形データ同士の接続を容易にかつ滑らかに行うことができる。したがって、この発明によれば、アーティキュレーション(奏法)等の特徴を有する高品質な波形であるノンループ波形同士を簡便に組み合わせて自由な演奏フレーズの楽音波形形成を行うことができるようになり、制御性に富み、また、編集性にも富んだ形態で、音のアーティキュレーション(奏法)を考慮した品質のよい波形形成を行なうことができるようになる、という優れた効果を奏する。 A non-loop waveform is a high-quality waveform that has characteristics such as articulation (playing style), but because it has complex characteristics, it is suitable for connecting smoothly to any other waveform. However, according to the present invention, since unit waveform data having a loop waveform is used at least before and after the non-loop waveform, the unit waveform data can be connected easily and smoothly. Therefore, according to the present invention, it becomes possible to perform a musical sound waveform formation of a free performance phrase by simply combining non-loop waveforms, which are high-quality waveforms having characteristics such as articulation (performance method), It has an excellent effect that it is possible to perform waveform formation with good quality in consideration of sound articulation (performance method) in a form rich in controllability and rich in editability.

また、ノンループ波形は、一般に、再生時間長が固定されるので、その再生時間長を可変するには、再生ピッチを変えるしかない。従って、再生ピッチに影響を与えることなく、ノンループ波形の再生時間長を可変制御するのには困難が伴う。これに対して、ループ波形は、ループ回数を可変制御することにより、再生ピッチに影響を与えることなく、その再生時間長を可変制御することができるので、波形データの時間制御が容易である。したがって、この発明によば、ループ波形の時間制御が容易である点に着目して、ループ波形の部分で時間制御を行うことにより、高品質のノンループ波形とループ波形とを含む楽音波形全体の再生時間長を可変制御することができる、という優れた特徴を有するものである。 Further, since the playback time length of a non-loop waveform is generally fixed, the only way to change the playback time length is to change the playback pitch. Therefore, it is difficult to variably control the reproduction time length of the non-loop waveform without affecting the reproduction pitch. In contrast, the loop waveform, by variably controlling the number of loops, without affecting the playback pitch, since the reproduction time length can be variably controlled, it is easy to time control of the waveform data. Therefore, according to the present invention, focusing on the point that the time control of the loop waveform is easy, by performing the time control on the loop waveform portion, the entire musical sound waveform including the high quality non-loop waveform and the loop waveform can be obtained. It has an excellent feature that the reproduction time length can be variably controlled.

これによって、例えば、複数の音符に対応するフレーズ演奏の波形を時間制御することで種々の特殊な制御を実現することができるようになる。例えば、第1,第2,第3の各音符の主要部はそれぞれノンループ波形で構成し、各音符をスラー等の特殊な奏法でつなぐ部分もノンループ波形で構成し、各ノンループ波形をつなぐ部分をそれぞれループ波形で構成する。その場合、各ノンループ波形のループ再生区間を適宜の時間軸伸縮比でそれぞれ制御すれば、各音符の長さを所定の比率で均一に伸縮することができる(例えば8分音符を4分音符に変える等)。若しくは、それによって、見かけ上の演奏テンポを可変することができる。あるいは、特定の音符についてのループ波形を他とは異なる時間軸伸縮比で制御することにより、該特定の音符だけその音符長を変化させることができる。例えば、8分音符の3連符からなるフレーズを、8分音符1個と16分音符2個からなるフレーズに変更する、といった制御が可能となる。 Thereby, for example, various special controls can be realized by time- controlling the waveform of a phrase performance corresponding to a plurality of notes. For example, the main part of each note of the first, second, and third is made up of a non-loop waveform, the part that connects each note with a special performance such as slur is also made up of a non-loop waveform, and the part that connects each non-loop waveform Each consists of a loop waveform. In this case, if the loop playback section of each non-loop waveform is controlled with an appropriate time axis expansion / contraction ratio, the length of each note can be expanded and contracted uniformly at a predetermined ratio (for example, an eighth note is changed to a quarter note). Change). Alternatively, the apparent performance tempo can be varied. Alternatively, by controlling the loop waveform of a specific note with a time axis expansion / contraction ratio different from the others, the note length can be changed by the specific note. For example, it is possible to control such that a phrase composed of triplet of eighth notes is changed to a phrase composed of one eighth note and two sixteenth notes.

本発明は、装置発明として構成し、実施することができるのみならず、方法発明として構成し、実施することもできる。また、本発明は、コンピュータプログラムの形態で実施することができるし、そのようなコンピュータプログラムを記憶した記録媒体の形態で実施することもできる。更に、本発明は、新規な波形データ構造からなる波形データを記憶した記録媒体の形態で実施することもできる。   The present invention can be configured and implemented not only as a device invention but also as a method invention. In addition, the present invention can be implemented in the form of a computer program, and can also be implemented in the form of a recording medium storing such a computer program. Furthermore, the present invention can also be implemented in the form of a recording medium storing waveform data having a novel waveform data structure.

以下、添付図面を参照してこの発明の実施の形態を詳細に説明しよう。
図1は、この発明の一実施例に係る波形生成装置のハードウェア構成例を示すブロック図である。ここに示されたハードウェア構成例はコンピュータを用いて構成されており、そこにおいて、波形形成処理は、コンピュータがこの発明に係る波形形成処理を実現する所定のプログラム(ソフトウェア)を実行することにより実施される。勿論、この波形形成処理は、コンピュータソフトウェアの形態に限らず、DSP(ディジタル・シグナル・プロセッサ)によって処理されるマイクロプログラムの形態でも実施可能であり、また、この種のプログラムの形態に限らず、ディスクリート回路又は集積回路若しくは大規模集積回路等を含んで構成された専用ハードウェア装置の形態で実施してもよい。また、この波形生成装置は、電子楽器あるいはカラオケ装置又は電子ゲーム装置又はその他のマルチメディア機器又はパーソナルコンピュータ等、任意の製品応用形態をとっていてよい。
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
FIG. 1 is a block diagram showing a hardware configuration example of a waveform generating apparatus according to an embodiment of the present invention. The hardware configuration example shown here is configured using a computer, in which the waveform forming processing is performed by executing a predetermined program (software) for realizing the waveform forming processing according to the present invention by the computer. To be implemented. Of course, this waveform forming process is not limited to the form of computer software, but can be implemented in the form of a microprogram processed by a DSP (digital signal processor), and is not limited to this form of program. You may implement in the form of the dedicated hardware apparatus comprised including the discrete circuit or the integrated circuit or the large scale integrated circuit. The waveform generation device may take any product application form such as an electronic musical instrument, a karaoke device, an electronic game device, another multimedia device, or a personal computer.

図1に示されたハードウェア構成例においては、コンピュータのメイン制御部としてのCPU(中央処理部)100に、ROM(リードオンリーメモリ)101、RAM(ランダムアクセスメモリ)102、ハードディスク装置103、リムーバブルディスク装置(例えばCD−ROMドライブ若しくはMOドライブなど)104,表示器105,キーボード及びマウス等の入力操作装置106,波形インタフェース107,タイマ108、通信インタフェース109,MIDIインタフェース110等が、バス111を介して接続されている。波形インタフェース107は、外部からアナログ波形信号(オーディオ信号)を入力してディジタル信号に変換してバス111に送り出す機能と、このコンピュータにより実行した波形形成処理によって形成されたディジタル波形データをバス111を介して受け取り、アナログ変換してスピーカシステム等に出力する機能等を有するものである。もちろん、形成されたディジタル波形データをディジタルデータのまま外部に転送出力することも可能である。   In the hardware configuration example shown in FIG. 1, a CPU (central processing unit) 100 as a main control unit of a computer includes a ROM (read only memory) 101, a RAM (random access memory) 102, a hard disk device 103, and a removable device. A disk device (for example, a CD-ROM drive or an MO drive) 104, a display 105, an input operation device 106 such as a keyboard and a mouse, a waveform interface 107, a timer 108, a communication interface 109, a MIDI interface 110, and the like are connected via a bus 111. Connected. The waveform interface 107 inputs an analog waveform signal (audio signal) from the outside, converts it into a digital signal and sends it to the bus 111, and the digital waveform data formed by the waveform forming process executed by this computer via the bus 111. And the like, and the like having a function of outputting to a speaker system or the like after analog conversion. Of course, it is also possible to transfer and output the formed digital waveform data to the outside as it is.

この波形生成装置が楽器の製品応用形態をとっている場合は、入力操作装置106におけるキーボードとして、所望の楽音ピッチを選択・指定するための演奏キーボードを含んでいる。一方、この波形形成装置が楽器以外の製品応用形態をとっている場合は、MIDIインタフェース110にMIDIキーボードモジュールを接続し、これにより所望の楽音ピッチを選択・指定することができる。また、所望の楽音ピッチを選択・指定は、自動演奏データの形態で与えるようにしてもよい。自動演奏データは、ROM101、RAM102、ハードディスク装置103、リムーバブルディスク装置104等のいずれかの記憶装置に記憶されているものを読み出すことにより与えられるようになっていてもよいし、MIDIインタフェース110を介して外部から与えられるようにしてもよい。特に詳しく説明しないが、電子楽器の分野では通常知られているように、入力操作装置106においては、各種音色や楽音効果、音量等、各種楽音要素の選択・設定等を行うためのスイッチや操作子類が適宜設けられている。また、これらの各種楽音要素の選択・設定は、上記と同様に自動演奏データの形態で与える要になっていてもよい。   In the case where the waveform generation device is in the form of a musical instrument product, a keyboard for the input operation device 106 includes a performance keyboard for selecting and specifying a desired musical tone pitch. On the other hand, when the waveform forming apparatus takes a product application form other than a musical instrument, a MIDI keyboard module can be connected to the MIDI interface 110, thereby selecting and specifying a desired musical tone pitch. Further, selection and designation of a desired musical tone pitch may be given in the form of automatic performance data. The automatic performance data may be given by reading out data stored in any storage device such as the ROM 101, RAM 102, hard disk device 103, removable disk device 104, or via the MIDI interface 110. It may be given from outside. Although not described in detail, as is generally known in the field of electronic musical instruments, the input operation device 106 has switches and operations for selecting and setting various musical tone elements such as various timbres, musical tone effects, and volume. Children are provided as appropriate. In addition, selection and setting of these various musical tone elements may be important in the form of automatic performance data as described above.

波形データを記憶する波形メモリWMの機能は、どのタイプのデータ記憶装置が受け持ってもよい。すなわち、ROM101、RAM102、ハードディスク装置103、リムーバブルディスク装置104のいずれを波形メモリWMとして機能させてもよい。一般的には、大容量の記憶装置であるハードディスク装置103における適宜の記憶領域あるいはリムーバブルディスク装置104に着脱可能なCD−ROMやMO等のリムーバブルな記録媒体を、波形データベースとしてつまり波形メモリWMとして、機能させればよい。あるいは、外部のホスト又はサーバコンピュータに具備されている波形データベースに対して、通信インタフェース109及び通信回線を介してアクセスし、必要な波形データをハードディスク装置103あるいはRAM102等にダウンロードするようにしてもよい。   The function of the waveform memory WM for storing the waveform data may be handled by any type of data storage device. That is, any of the ROM 101, the RAM 102, the hard disk device 103, and the removable disk device 104 may function as the waveform memory WM. In general, an appropriate storage area in the hard disk device 103, which is a large-capacity storage device, or a removable recording medium such as a CD-ROM or MO that is removable from the removable disk device 104 is used as a waveform database, that is, as a waveform memory WM. Just make it work. Alternatively, a waveform database provided in an external host or server computer may be accessed via the communication interface 109 and a communication line, and necessary waveform data may be downloaded to the hard disk device 103 or RAM 102 or the like. .

CPU100の制御の下で、この発明に係る波形形成処理を実行するソフトウェアプログラムは、ROM101又はRAM102あるいはハードディスク装置103のいずれに記憶しておくようにしてもよい。また、このプログラムは、リムーバブルディスク装置104に着脱可能なCD−ROMやMO等のリムーバブルな記録媒体に記録されていてもよく、また、外部のホスト又はサーバコンピュータから通信回線及び通信インタフェース109を介して該プログラムを受信し、ハードディスク装置103あるいはRAM102等にダウンロードするようにしてもよい。   The software program for executing the waveform forming process according to the present invention under the control of the CPU 100 may be stored in either the ROM 101, the RAM 102, or the hard disk device 103. The program may be recorded on a removable recording medium such as a CD-ROM or MO that can be attached to and detached from the removable disk device 104, or from an external host or server computer via a communication line and a communication interface 109. The program may be received and downloaded to the hard disk device 103 or the RAM 102 or the like.

波形メモリWMにおいては、多数の単位波形の波形データが記憶されている。単位波形とは、それを一つの単位として選択することが可能な波形の一単位を指す。単位波形には、複数のタイプがあり、そのタイプは、音楽的若しくは感性的な意味と、データ読み出しの仕方に基づく技術的意味の、両面から分類するようにしてよい。技術的意味に基づく分類は、その波形データを繰り返し読み出しするか否かによる分類であり、便宜上、波形データが繰り返し読み出しされるものを「ループ波形」といい、波形データが繰り返し読み出しされないものを「ノンループ波形」という。一方、音楽的若しくは感性的な意味に基づく分類は、その波形が、音のどのような部分若しくは区間で使用されるのに相応しいか、ということに基づく分類である。例えば、音の立ち上がり部分(アタック部)で使用されるのに相応しい単位波形を「アタック部波形」、音の立ち下げ部分(リリース部)で使用されるのに相応しい単位波形を「リリース部波形」、音の持続部分(サステイン部)で使用されるのに相応しい単位波形を「サステイン部波形」、スラー等の特定の奏法に従う音と音のつながり部分で使用されるのに相応しい単位波形を「つなぎ奏法波形」、あるいは、ビブラートやトレモロ等の特定の奏法に従って音の持続部で使用されるのに相応しい単位波形を「中間奏法波形」、等のように、適宜に分類し、適切に名付けることができる。   In the waveform memory WM, waveform data of a large number of unit waveforms is stored. The unit waveform refers to one unit of a waveform that can be selected as one unit. There are a plurality of types of unit waveforms, and the types may be classified from both a musical or emotional meaning and a technical meaning based on how to read data. Classification based on technical meaning is classification depending on whether or not the waveform data is repeatedly read. For convenience, a waveform data that is repeatedly read is called a “loop waveform”, and a waveform data that is not repeatedly read is “ It is called a “non-loop waveform”. On the other hand, the classification based on musical or emotional meaning is a classification based on what part or section of the sound is appropriate for the waveform. For example, the unit waveform suitable for use in the rising part (attack part) of the sound is “attack part waveform”, and the unit waveform suitable for use in the sound falling part (release part) is “release part waveform”. The unit waveform suitable for use in the sustained part of the sound (sustain part) is the “sustain part waveform”, and the unit waveform suitable for use in the connected part of the sound according to a specific performance such as slur is connected Appropriately classify unit waveforms that are suitable for use in the sound sustaining part according to a specific rendition technique such as vibrato or tremolo, such as "intermediate rendition waveform", and name them appropriately it can.

通常の演奏では、定常的でない波形が連続することはまれであり、「ノンループ波形」が必要な部分でもその前後は定常的な波形となる。従って、奏法を色濃く表現する波形であっても、ほとんどの場合「ノンループ波形」の両端に「ループ波形」を含むような単位波形で表現できる。概して、微妙なアーティキュレーション(奏法)が要求される部分で使用されるのに相応しい単位波形としては、そのアーティキュレーション(奏法)の特徴を色濃く表現することができる「ノンループ波形」を含んで使用するのがよい。「ノンループ波形」は、通常、そのアーティキュレーション(奏法)の特徴を表現するのに必要十分な複数周期分の波形からなる。一方、比較的単調な音の部分では、「ループ波形」を使用するのが、波形データ記憶容量の節約の点で都合がよい。「ループ波形」は、通常、1周期または適当な複数周期分の波形からなる。「ループ波形」は、それ単独で、比較的単調な音部分の単位波形として、例えば「サステイン部波形」の単位波形として、使用することができる。その場合に、複数の「ループ波形」を適宜順次組み合わせることにより、つまり、複数の単位波形を順次組み合わせることにより、一連の音の持続部分の波形を形成するようにしてもよく、それは音の品質を上げることができる点で有利である。また、単位波形同士の接続をクロスフェード合成によって滑らかに行うために、その接続箇所部分で、「ループ波形」を使用するのも有利である。しかして、「ノンループ波形」を含む単位波形にあっても、他の単位波形との接続箇所となる始端又は終端において予め「ループ波形」を含むことが、好ましい一実施の形態として考えられる。よって、「ノンループ波形」の両端に「ループ波形」を含むような単位波形であれば、前後の「ループ波形」で他の単位波形と接続ができるので、例えば、「つなぎ奏法波形」または「中間奏法波形」の単位波形として、使用することができる。一方、「ノンループ波形」のみで構成される単位波形があってもよい。ただし、そのような単位波形の場合、接続点において適切な位相合わせ処理等を行ったとしても、他の単位波形と滑らかに接続することは困難である。
なお、以下では「サステイン部波形」、「つなぎ奏法波形」、「中間奏法波形」等をすべてまとめて「中間波形」と呼ぶことにする。
In a normal performance, it is rare that a non-stationary waveform continues, and a portion that requires a “non-loop waveform” is a steady waveform before and after. Therefore, even a waveform that expresses a performance style in a deep color can be expressed by a unit waveform that includes “loop waveforms” at both ends of a “non-loop waveform” in most cases. In general, unit waveforms suitable for use in areas where subtle articulations are required include “non-loop waveforms” that can express the characteristics of the articulations It is good to use. The “non-loop waveform” usually consists of waveforms for a plurality of periods necessary and sufficient to express the characteristics of the articulation (performance method). On the other hand, in a relatively monotonous sound portion, it is convenient to use a “loop waveform” in terms of saving waveform data storage capacity. The “loop waveform” usually consists of a waveform for one period or an appropriate plurality of periods. The “loop waveform” alone can be used as a unit waveform of a relatively monotonous sound portion, for example, as a unit waveform of a “sustain portion waveform”. In that case, the waveform of the continuous part of a series of sounds may be formed by appropriately combining multiple “loop waveforms”, that is, by sequentially combining multiple unit waveforms. This is advantageous in that it can be increased. It is also advantageous to use a “loop waveform” at the connecting portion in order to smoothly connect unit waveforms by cross-fade synthesis. Thus, even in a unit waveform including a “non-loop waveform”, it is conceivable as a preferred embodiment that a “loop waveform” is included in advance at the start or end of a connection point with another unit waveform. Therefore, a unit waveform that includes a “loop waveform” at both ends of a “non-loop waveform” can be connected to other unit waveforms at the preceding and subsequent “loop waveforms”. It can be used as the unit waveform of the “performance waveform”. On the other hand, there may be a unit waveform composed only of “non-loop waveforms”. However, in the case of such a unit waveform, it is difficult to smoothly connect to other unit waveforms even if appropriate phase matching processing or the like is performed at the connection point.
In the following description, all of the “sustain section waveform”, “continuous performance waveform”, “intermediate performance waveform” and the like are collectively referred to as “intermediate waveform”.

図2は、波形メモリWMに記憶されるいくつかの単位波形の典型例を示す概略図である。図示の簡略化のために、実際の波形図形は略示にて示し、波形の所在の概要を四角枠で囲って図示している。なお、この図示例では、記憶する波形データの振幅ピークレベルを規格化せずに、任意の振幅エンベロープが付与された状態のまま記憶しておくようにしている。勿論、これに限らず、波形データの振幅ピークレベルを一定値に規格化して記憶しておき、読出・再生時に、所要の振幅エンベロープを付与するようにしてもよい。図で横軸はメモリのアドレスである。なお、波形メモリWMに記憶する各単位波形の波形データは、典型的には、PCM化された波形サンプルデータであるものとする。しかし、波形データのコード化フォームは、PCMに限らず、DPCMあるいはADPCM等であってもよい。   FIG. 2 is a schematic diagram showing typical examples of several unit waveforms stored in the waveform memory WM. For simplification of illustration, the actual waveform figure is shown schematically, and the outline of the location of the waveform is shown surrounded by a square frame. In the illustrated example, the amplitude peak level of the waveform data to be stored is not normalized, but is stored in a state where an arbitrary amplitude envelope is applied. Of course, the present invention is not limited to this, and the amplitude peak level of the waveform data may be normalized and stored at a constant value, and a required amplitude envelope may be given at the time of reading / reproducing. In the figure, the horizontal axis represents the memory address. It is assumed that the waveform data of each unit waveform stored in the waveform memory WM is typically waveform sample data converted to PCM. However, the encoded form of waveform data is not limited to PCM, and may be DPCM or ADPCM.

図2(a)はアタック部波形の一例であり、このアタック部波形AUWは先行するノンループ波形NLWと後続するループ波形LWとからなっている。波形メモリWMにおけるこのアタック部波形AUWのノンループ波形の開始点は特定のスタートアドレスNLSによって、終了点は特定のエンドアドレスNLEによって特定される。また、ループ波形LWの開始点は特定のループスタートアドレスL2S(=NLE)によって、終了点は特定のループエンドアドレスL2Eによって特定される。   FIG. 2A shows an example of an attack part waveform. This attack part waveform AUW is composed of a preceding non-loop waveform NLW and a succeeding loop waveform LW. The start point of the non-loop waveform of the attack waveform AUW in the waveform memory WM is specified by a specific start address NLS, and the end point is specified by a specific end address NLE. The start point of the loop waveform LW is specified by a specific loop start address L2S (= NLE), and the end point is specified by a specific loop end address L2E.

図2(b)はサステイン部波形を含む中間波形IUWに該当する単位波形の一例であり、この中間波形IUWは、所定のノンループ波形NLWの前後にループ波形LWをそれぞれ配置して1つの単位波形を構成している。波形メモリWMにおけるこの中間波形IUWのループ波形LWの開始点は特定のループスタートアドレスL1Sによって、終了点は特定のループエンドアドレスL1Eによって特定される。また、ノンループ波形NLWの開始点は特定のスタートアドレスNLS(=L1E)によって、終了点は特定のエンドアドレスNLEによって特定される。また、ノンループ波形NLWに後続するループ波形LWの開始点は特定のループスタートアドレスL2S(=NLE)によって、終了点は特定のループエンドアドレスL2Eによって特定される。なお、中間波形IUWに該当する単位波形の形態は、これに限らず、図2(d)に示すように1つのループ波形LWのみからなっていてもよい。この場合におけるループ波形LWの開始点は特定のループスタートアドレスL1Sによって、終了点は特定のループエンドアドレスL1Eによって特定される。   FIG. 2B shows an example of a unit waveform corresponding to the intermediate waveform IUW including the sustain portion waveform. The intermediate waveform IUW is a unit waveform in which the loop waveform LW is arranged before and after the predetermined non-loop waveform NLW. Is configured. The start point of the loop waveform LW of the intermediate waveform IUW in the waveform memory WM is specified by a specific loop start address L1S, and the end point is specified by a specific loop end address L1E. The start point of the non-loop waveform NLW is specified by a specific start address NLS (= L1E), and the end point is specified by a specific end address NLE. The start point of the loop waveform LW following the non-loop waveform NLW is specified by a specific loop start address L2S (= NLE), and the end point is specified by a specific loop end address L2E. The form of the unit waveform corresponding to the intermediate waveform IUW is not limited to this, and it may be composed of only one loop waveform LW as shown in FIG. In this case, the start point of the loop waveform LW is specified by a specific loop start address L1S, and the end point is specified by a specific loop end address L1E.

図2(c)はリリース部波形RUWの一例であり、このリリース部波形RUWは先行するループ波形LWと後続するノンループ波形NLWとからなっている。波形メモリWMにおけるこのリリース部波形RUWのループ波形LWの開始点は特定のループスタートアドレスL1Sによって、終了点は特定のループエンドアドレスL1Eによって特定される。また、ノンループ波形NLWの開始点は特定のスタートアドレスNLS(=L1E)によって、終了点は特定のエンドアドレスNLEによって特定される。なお、前述のとおり、アタック部波形AUW又はリリース部波形RUWは、ループ波形LWを含まずに、ノンループ波形NLWのみからなっていてもよい。   FIG. 2C shows an example of the release part waveform RUW. The release part waveform RUW is composed of a preceding loop waveform LW and a subsequent non-loop waveform NLW. The start point of the loop waveform LW of the release part waveform RUW in the waveform memory WM is specified by a specific loop start address L1S, and the end point is specified by a specific loop end address L1E. The start point of the non-loop waveform NLW is specified by a specific start address NLS (= L1E), and the end point is specified by a specific end address NLE. As described above, the attack part waveform AUW or the release part waveform RUW may include only the non-loop waveform NLW without including the loop waveform LW.

ループスタートアドレスL1S(またはL2S)は前述の通りループ波形LWの開始点のアドレスであり、繰り返し読み出しつまりループ読み出しの開始アドレスを示す。ループエンドアドレスL1E(またはL2E)はループ読み出しのおわりのアドレスである。ただし、ループエンドアドレスの特定については、直接ループエンドアドレスを特定することなく、例えば、該ループ波形LWの長さをアドレス数によって示すデータ(すなわち、ループ長LL)を備え、「LS+LL」によってループエンドアドレスを特定することによってもよい。この場合には、当該ループ波形LWの繰り返し読み出しつまりループ読み出しは、ループスタートアドレスL1S(またはL2S)からループエンドアドレス「L1S(またはL2S)+LL」までの波形データを繰り返し読み出すことにより行われる。   The loop start address L1S (or L2S) is the address of the start point of the loop waveform LW as described above, and indicates the start address of repeated reading, that is, loop reading. The loop end address L1E (or L2E) is an end address of loop reading. However, for specifying the loop end address, without specifying the loop end address directly, for example, the loop waveform LW is provided with data indicating the length of the loop waveform LW by the number of addresses (that is, the loop length LL). The end address may be specified. In this case, the loop waveform LW is repeatedly read, that is, the loop read is performed by repeatedly reading the waveform data from the loop start address L1S (or L2S) to the loop end address “L1S (or L2S) + LL”.

以下の説明では、便宜上、ループ波形LWとノンループ波形部NLWとを適宜組み合わせた構造である単位波形をまとめて「ユニット波形」と呼び、ループ波形LWのみで構成される単位波形を単に「ループ波形」と呼ぶことにする。   In the following description, for convenience, unit waveforms having a structure in which a loop waveform LW and a non-loop waveform portion NLW are appropriately combined are collectively referred to as a “unit waveform”, and a unit waveform including only the loop waveform LW is simply referred to as a “loop waveform”. I will call it.

図3は、ユニット波形(すなわち、アタック部波形AUW、中間波形IUW、リリース部波形RUW)の具体的な記憶例のいくつかを示したものである。図3の左側から順にアタック部波形AUW、中間波形IUW、リリース部波形RUWを表すユニット波形の一実施例を示した。ただし、波形そのものではなくエンベロープによって波形の所在の概要を四角枠内に示した。   FIG. 3 shows some specific examples of storage of unit waveforms (that is, attack part waveform AUW, intermediate waveform IUW, release part waveform RUW). An example of unit waveforms representing the attack part waveform AUW, the intermediate waveform IUW, and the release part waveform RUW in order from the left side of FIG. 3 is shown. However, the outline of the location of the waveform is shown in a square frame not by the waveform itself but by the envelope.

図3から理解できるように、波形メモリWMにおいては様々な音についての、アタック部波形AUW、リリース部波形RUW、およびつなぎ奏法波形等を含む中間波形IUW毎に波形データを多数記憶するようにしている。この場合、複数の音色及び楽音特性(音高又は音域に応じた特性や、ビブラート、スラー等の変調特性)に対応した波形データをそれぞれ記憶することができる。すなわち、複数周期波形からなる単位波形を、各音色に対応して単に1種類だけ記憶するのではなく、各音色毎に、音高または音域に対応して、あるいはタッチ(ベロシティ)の強さに対応して、あるいは様々な奏法(ビブラート、トレモロ、ピッチベンド、スラー等)または奏法態様(速いスラー、ゆっくりしたスラー等)に対応して、複数種類記憶する。例えば、アタック部波形AUWには「鋭い立ち上がり」や「グライドを伴ったゆっくりした立ち上がり」の波形等、リリース部波形RUWには「ビブラート付きの急速な立ち下がり」の波形等、中間波形IUWには「次音のアタックの小さなテヌート」の波形等を各々記憶する。また、必ずしも各音色毎に異なる記憶波形データを使用しなければならないわけでなく、異なる音色間で共通の波形データを使用するようにすることもできる。さらに、記憶する複数周期波形は、オリジナル波形の音量エンベロープをそのまま具備しているものであってもよいし、あるいは、音量エンベロープを一定レベルに規格化したものであってもよい。また、記憶する複数周期波形は、外部からサンプリングした波形そのものに限らず、適宜の波形加工処理(クロスフェード合成やフィルタ処理等)を施したものであってもよい。   As can be understood from FIG. 3, in the waveform memory WM, a large number of waveform data is stored for each intermediate waveform IUW including the attack part waveform AUW, the release part waveform RUW, the connection method waveform, etc. for various sounds. Yes. In this case, waveform data corresponding to a plurality of timbres and musical tone characteristics (characteristics according to pitch or range, modulation characteristics such as vibrato, slur, etc.) can be stored. That is, instead of storing only one type of unit waveform consisting of a plurality of periodic waveforms corresponding to each timbre, for each timbre, corresponding to the pitch or range, or the strength of touch (velocity). A plurality of types are stored correspondingly or corresponding to various performance methods (vibrato, tremolo, pitch bend, slur, etc.) or performance modes (fast slur, slow slur, etc.). For example, the attack waveform AUW has a “sharp rise” or “slow rise with glide” waveform, the release waveform RUW has a “rapid fall with vibrato” waveform, etc., and the intermediate waveform IUW Each of the waveforms and the like of “tenuto with a small attack of the next sound” is stored. Further, it is not always necessary to use different stored waveform data for each tone color, and it is also possible to use waveform data common to different tone colors. Furthermore, the multiple period waveform to be stored may have the volume envelope of the original waveform as it is, or the volume envelope may be standardized to a certain level. Further, the plurality of periodic waveforms to be stored are not limited to waveforms sampled from the outside, but may be those subjected to appropriate waveform processing (cross-fade synthesis, filter processing, etc.).

図4(a)は、波形メモリWMにおける記憶フォーマットを略示する図であり、波形メモリWMは管理データ領域と波形データ領域とからなる。波形データ領域は、上述したような様々なタイプの単位波形の波形データ(具体的な波形サンプルデータ)をそれぞれ個別に記憶する領域である。管理データ領域は、波形データ領域に記憶している個々の波形データについて必要な各種の管理情報を記憶している領域である。
図4(b)〜(e)は、管理データ領域に記憶される各波形データ毎の管理データの具体的なフォーマットを、いくつかのタイプの単位波形について例示するものである。(b)はループ波形LWのみからなる中間波形IUW(すなわち、「サステイン部波形」)についての管理データの一例、(c)はノンループ波形NLWと第2のループ波形とからなるアタック部波形AUWについての管理データの一例、(d)は第1のループ波形LWとノンループ波形NLWと第2のループ波形とからなる中間波形IUW(すなわち、「つなぎ奏法波形」または「中間奏法波形」)についての管理データの一例、(e)は第1のループ波形LWとノンループ波形NLWとからなるリリース部波形RUWの管理データの一例を示す。 なお、図4においてはアタック部波形AUW、中間波形IUW、リリース部波形RUWの各々で異なるフォーマットを用いているが、これら全ての波形のフォーマットを図4(d)のようなフォーマットにしてもよい。ただし、この場合には、各波形の区別を後述の識別データIDによって行うようにする。
FIG. 4A schematically shows a storage format in the waveform memory WM. The waveform memory WM includes a management data area and a waveform data area. The waveform data area is an area for individually storing waveform data (specific waveform sample data) of various types of unit waveforms as described above. The management data area is an area in which various management information necessary for individual waveform data stored in the waveform data area is stored.
FIGS. 4B to 4E illustrate specific formats of management data for each waveform data stored in the management data area for several types of unit waveforms. (B) is an example of management data for an intermediate waveform IUW (ie, “sustain portion waveform”) consisting only of the loop waveform LW, and (c) is an attack portion waveform AUW consisting of the non-loop waveform NLW and the second loop waveform. (D) shows the management of the intermediate waveform IUW (that is, “connecting method waveform” or “intermediate method waveform”) composed of the first loop waveform LW, the non-loop waveform NLW, and the second loop waveform. An example of data, (e) shows an example of management data of the release part waveform RUW composed of the first loop waveform LW and the non-loop waveform NLW. In FIG. 4, different formats are used for each of the attack part waveform AUW, the intermediate waveform IUW, and the release part waveform RUW, but the format of all these waveforms may be a format as shown in FIG. . However, in this case, each waveform is distinguished by identification data ID described later.

図示した管理データフォーマットにおいて、タイプデータTYPEは、その単位波形がいかなるタイプのものであるかを示すデータである。例えば、(b)の場合は「ループ波形LWのみからなる中間波形IUW」ということがタイプデータTYPEによって示され、(c)の場合は「ノンループ波形NLWと第2のループ波形LWからなるアタック部波形AUW」ということがタイプデータTYPEによって示され、(d)の場合は「第1のループ波形LWとノンループ波形NLWと第2のループ波形LWからなる中間波形IUW」ということがタイプデータTYPEによって示され、(e)の場合は「第1のループ波形LWとノンループ波形NLWとからなるリリース部波形RUW」ということがタイプデータTYPEによって示される。その他、タイプデータTYPEは、上述した各種のタイプに応じて、当該タイプを示すことができるような情報からなる。識別データIDは、個々の波形データを識別するデータ(例えば個別波形データのファイル名)である。   In the management data format shown in the figure, type data TYPE is data indicating what type the unit waveform is. For example, in the case of (b), the “intermediate waveform IUW consisting only of the loop waveform LW” is indicated by the type data TYPE, and in the case of (c), the “attack portion consisting of the non-loop waveform NLW and the second loop waveform LW”. The waveform “AUW” is indicated by the type data TYPE, and in the case of (d), “the intermediate waveform IUW including the first loop waveform LW, the non-loop waveform NLW, and the second loop waveform LW” is indicated by the type data TYPE. In the case of (e), the type data TYPE indicates that “the release portion waveform RUW is composed of the first loop waveform LW and the non-loop waveform NLW”. In addition, the type data TYPE includes information that can indicate the type according to the various types described above. The identification data ID is data for identifying individual waveform data (for example, a file name of individual waveform data).

上述したように、単位波形はアタック部波形AUW、中間波形IUW、リリース部波形RUW、ループ波形LW毎に各々複数種類記憶される。そこで、識別データIDを付加することで、各々の波形の種類内において単位波形の区別を行うことができるようになる。スタートアドレス(L1S、NLS、L2S等)およびエンドアドレス(L1E、NLE、L2E等)は、ループ波形LWまたはノンループ波形NLWの各々のスタートアドレスおよびエンドアドレスを示す(図2参照)。位相情報(L1P、L2P等)は、ループ波形LWの波形開始時における初期位相データである。また、その他の情報には、ピッチや音量や振幅といったデータが含まれる。なお、データフォーマットは上述のものだけに限られるものではなく、例えば、位相情報等を備えていないものであってもよい。
ここで説明した各種の単位波形は、データベースによって管理されている。ユーザは該データベースを、属性、奏法およびその態様、音高、タッチ、音量等の1乃至複数をキーとして参照することにより、所望の単位波形を見つけることができる。
As described above, a plurality of types of unit waveforms are stored for each of the attack part waveform AUW, the intermediate waveform IUW, the release part waveform RUW, and the loop waveform LW. Therefore, by adding the identification data ID, the unit waveforms can be distinguished within each waveform type. The start address (L1S, NLS, L2S, etc.) and the end address (L1E, NLE, L2E, etc.) indicate the start address and end address of each of the loop waveform LW or the non-loop waveform NLW (see FIG. 2). The phase information (L1P, L2P, etc.) is initial phase data at the start of the loop waveform LW. The other information includes data such as pitch, volume, and amplitude. Note that the data format is not limited to the one described above, and may not include phase information, for example.
The various unit waveforms described here are managed by a database. The user can find a desired unit waveform by referring to the database using one or more of attributes, playing styles and modes, pitches, touches, volume, and the like as keys.

図1に示すような波形形成装置において、波形の形成は、コンピュータがこの発明に係る波形形成処理を実現する所定のプログラム(ソフトウェア)を実行することにより実施される。この際に、波形メモリWMから複数の単位波形を所定のシーケンスで選択的に順次読み出して、これら各単位波形の読み出し出力波形データを組み合わせることによって、一連の音(1または複数の音若しくは音の一部分等)の波形形成が行われる(以下、このシーケンスを波形シーケンスWSと呼ぶ)。図5は、1つの波形シーケンスWSにおけるその一部のシーケンスデータの一例を示し、RAM10またはハードディスク装置103等の適宜のデータ記憶装置内に設定された波形シーケンスメモリ部に記憶されるものである。図6は、前記波形形成処理を実現する所定のプログラム(ソフトウェア)のフローチャートの一実施例を示したものである。   In the waveform forming apparatus as shown in FIG. 1, the waveform is formed by a computer executing a predetermined program (software) for realizing the waveform forming process according to the present invention. At this time, a plurality of unit waveforms are selectively read sequentially from the waveform memory WM in a predetermined sequence, and a series of sounds (one or a plurality of sounds or sounds) are combined by combining the read output waveform data of each unit waveform. Waveform formation is performed (hereinafter, this sequence is referred to as a waveform sequence WS). FIG. 5 shows an example of partial sequence data in one waveform sequence WS, which is stored in a waveform sequence memory unit set in an appropriate data storage device such as the RAM 10 or the hard disk device 103. FIG. 6 shows an embodiment of a flowchart of a predetermined program (software) for realizing the waveform forming process.

図5の波形シーケンスWSは、後述の図8(a)に示した波形を再生することのできる波形シーケンスWSを一例として示したものである。
波形シーケンスWSは、単位波形を選択するデータ(AUW(5),LW(12),・・・)と当該単位波形の再生を開始する時間(つまり、当該単位波形で示される音の発音開始時間)を示すタイミングデータ(Dt0,Dt2,・・・)とを含む「波形イベント」により構成される。前記波形選択データは、図4に示した管理データ領域における識別データIDに対応するものであり、また、前記タイミングデータは、図8(a)に示した再生波形図における各単位波形の再生開始時間に対応するものである(すなわち、Dt0に対してt0、Dt2に対してt2、・・・)。
各波形イベントに対応するタイミングで対応する単位波形の再生読み出しが開始され、波形形成が行われる。図5の例では、最初の波形イベントに対応してタイミングデータDt0と波形選択データAUW(5)(アタック部波形AUWの属性を持つ)が記憶され、次の波形イベントに対応してタイミングデータDt2と波形選択データLW(12)(ループ波形LWの属性を持つ)が記憶され、さらに次の波形イベントに対応して タイミングデータDt3と波形選択データIUW(8)(中間波形IUWの属性を持つ)が記憶される、といったように波形シーケンスWSが構成されている。
なお、タイミングデータは上述の説明では絶対時間を示すものとしたがこれに限られるものではなく、例えば、相対時間、あるいはイベント間の差分時間を示すものであってもよい。ただし、ループ再生波形をクロスフェード合成する場合はクロスフェード時間つまりクロスフェード合成区間長を示すものとする。
The waveform sequence WS shown in FIG. 5 is an example of a waveform sequence WS that can reproduce the waveform shown in FIG.
The waveform sequence WS includes data for selecting a unit waveform (AUW (5), LW (12),...) And a time for starting reproduction of the unit waveform (that is, a sound generation start time of the sound indicated by the unit waveform). ) Indicating timing data (Dt0, Dt2,...). The waveform selection data corresponds to the identification data ID in the management data area shown in FIG. 4, and the timing data starts reproduction of each unit waveform in the reproduction waveform diagram shown in FIG. It corresponds to time (ie t0 for Dt0, t2 for Dt2,...).
Reproduction and reading of the corresponding unit waveform is started at the timing corresponding to each waveform event, and waveform formation is performed. In the example of FIG. 5, timing data Dt0 and waveform selection data AUW (5) (having the attribute of the attack part waveform AUW) are stored corresponding to the first waveform event, and timing data Dt2 corresponding to the next waveform event. And waveform selection data LW (12) (having attributes of loop waveform LW) are stored, and timing data Dt3 and waveform selection data IUW (8) (having attributes of intermediate waveform IUW) corresponding to the next waveform event. Is stored in the waveform sequence WS.
The timing data indicates the absolute time in the above description, but is not limited to this. For example, the timing data may indicate a relative time or a difference time between events. However, when the loop reproduction waveform is subjected to cross-fade synthesis, the cross-fade time, that is, the cross-fade synthesis section length is indicated.

図6に示した波形再生処理のフローチャートは、例えばMIDIフォーマット等からなる自動演奏シーケンスデータに基づき、波形再生開始指示(例えば、曲選択)を受信したような場合に開始される。
最初のステップS1において、再生を行う曲データおよびその曲データの中の再生範囲の指定命令を受信する。ステップS2では、指定された再生範囲の再生のために必要な波形シーケンスWSが予め波形シーケンスメモリ部に記憶されているかを判定し、記憶されていた場合(YES)には、ステップS4に行き、指定範囲の波形シーケンスWSに基づき波形を形成して再生する処理(波形形成処理)を行う。波形シーケンスメモリ部に該当する波形シーケンスWSが存在しない場合(ステップS2のNO)には、必要な波形シーケンスWSを作成した後に(ステップS3)、作成した波形シーケンスWSに応じて波形を形成して再生する(ステップS4)。
The waveform reproduction processing flowchart shown in FIG. 6 is started when a waveform reproduction start instruction (for example, song selection) is received based on automatic performance sequence data having a MIDI format, for example.
In the first step S1, song data to be reproduced and a reproduction range designation command in the song data are received. In step S2, it is determined whether the waveform sequence WS necessary for reproduction of the designated reproduction range is stored in advance in the waveform sequence memory unit. If it has been stored (YES), the process goes to step S4. A process of generating and reproducing a waveform based on the waveform sequence WS in the specified range (waveform forming process) is performed. If there is no corresponding waveform sequence WS in the waveform sequence memory unit (NO in step S2), after creating the necessary waveform sequence WS (step S3), a waveform is formed according to the created waveform sequence WS. Playback is performed (step S4).

このように、例えばMIDIフォーマットからなる曲データに基づき必要な波形シーケンスWSを特定し、これに基づき波形を形成する。そして、この際に曲データの再生範囲に応じた波形シーケンスWSが予め存在しない場合には、ステップS3において、曲データの特徴に応じて波形シーケンスWSを自動作成する。例えば、音符データに重なりがあるならば(すなわち、スラーを検出した場合)単位波形としてスラー奏法波形を選択し、または音量データが徐々に増加または減少していたならばクレッシェンド奏法波形またはデクレッシェンド奏法波形を選択し、またはピッチベンドが時間的に変化していたならば当該ピッチベンドの時間変化カーブに応じたピッチベンド奏法波形を選択する、等と必要な単位波形を選択的に組み合わせて新規の波形シーケンスWSを作成する。つまり、ステップS3は、MIDIフォーマット等で表現された曲データを波形シーケンスWSに変換する変換ステップであるといえる。
なお、本実施例においては波形シーケンスWSに応じた波形形成と形成された波形データに基づく再生発音を一連の処理で行っているが、波形シーケンスWSに基づき形成した波形データをバッファメモリに記憶しておき、その後の再生発音指示に従ってバッファメモリから波形データを読み出して再生発音するようにしてもよい。
In this way, for example, a necessary waveform sequence WS is specified based on music data having a MIDI format, and a waveform is formed based on the specified waveform sequence WS. At this time, if the waveform sequence WS corresponding to the reproduction range of the music data does not exist in advance, the waveform sequence WS is automatically created according to the characteristics of the music data in step S3. For example, if there is an overlap in note data (ie, if a slur is detected), a slur performance waveform is selected as the unit waveform, or a crescendo performance waveform or decrescendo performance if the volume data is gradually increasing or decreasing. Select a waveform, or if the pitch bend has changed over time, select a pitch bend performance waveform according to the time change curve of the pitch bend, etc. Create That is, step S3 can be said to be a conversion step for converting music data expressed in a MIDI format or the like into a waveform sequence WS.
In the present embodiment, waveform generation according to the waveform sequence WS and reproduction sound generation based on the formed waveform data are performed by a series of processes, but the waveform data formed based on the waveform sequence WS is stored in a buffer memory. Alternatively, the waveform data may be read out from the buffer memory in accordance with a subsequent playback sound generation instruction and played back.

図7は、上述のステップS4で実行する波形形成処理のフローチャートの一実施例を詳細に示したものである。
最初のステップS10において、波形シーケンスWSの最初の波形イベントをセットする(読み出す)。図5の例では、例えばタイミングデータDt0のイベントが最初の波形イベントであったとすると、該タイミングデータDt0と波形選択データAUW(5)が読み出され、レジスタにセットされる。次のステップS11では、ストップ命令STOPを受け付ける。NOであれば、ステップS12に行き、セットされたイベントのタイミングつまり発音開始タイミングが到来したかを判定する。処理は、ステップS11とステップS12によるループで、ストップ命令STOPの発生、ないし、発音開始タイミングの到来まで待機する。発音開始タイミングが到来したら、ステップS14で、当該波形イベントにおける波形選択データがユニット波形であるか、それともループ波形であるかの判断を行う(ステップS14)。
FIG. 7 shows in detail an example of a flowchart of the waveform forming process executed in step S4 described above.
In the first step S10, the first waveform event of the waveform sequence WS is set (read out). In the example of FIG. 5, if the event of the timing data Dt0 is the first waveform event, for example, the timing data Dt0 and the waveform selection data AUW (5) are read and set in the register. In the next step S11, a stop instruction STOP is accepted. If NO, the process goes to step S12 to determine whether the set event timing, that is, the sound generation start timing has come. The process waits until a stop command STOP is generated or a sounding start timing comes in a loop of step S11 and step S12. When the sound generation start timing comes, it is determined in step S14 whether the waveform selection data in the waveform event is a unit waveform or a loop waveform (step S14).

波形選択データがユニット波形であった場合(通常は、最初はアタック部波形AUWであり、先頭がノンループ波形NLWからなるが、これに限らない)、ステップS15に行き、当該ユニット波形の前記管理データに基づいてノンループ波形NLWの波形データを順次読み出す。このノンループ波形NLWの波形データの読み出しを終了したら、ステップS16に進み、このユニット波形において上記ノンループ波形NLWの後に続いているループ波形LWの読み出しを行う。すなわち、該ループ波形に関する各種の前記管理データを波形メモリWMの管理データ領域から読み出し、これに基づき波形データ領域から該ループ波形の波形データのループ読み出しを開始する。そして、波形シーケンスメモリ部から次の波形イベントの読み出しを行う(ステップS17)。
一方、ステップS14において、単独のループ波形LWであると判定された場合には、該ループ波形LWの読み出しを行って(ステップS19)、ステップS17に行き、次の波形イベントの読み出しを行う。
If the waveform selection data is a unit waveform (usually the attack waveform AUW is the first and the top is a non-loop waveform NLW, but this is not limited to this), go to step S15 and the management data of the unit waveform The waveform data of the non-loop waveform NLW is sequentially read based on the above. When the reading of the waveform data of the non-loop waveform NLW is completed, the process proceeds to step S16, and the loop waveform LW following the non-loop waveform NLW in the unit waveform is read. That is, various management data related to the loop waveform is read from the management data area of the waveform memory WM, and based on this, loop reading of the waveform data of the loop waveform is started from the waveform data area. Then, the next waveform event is read from the waveform sequence memory unit (step S17).
On the other hand, if it is determined in step S14 that the loop waveform LW is a single one, the loop waveform LW is read (step S19), the process goes to step S17, and the next waveform event is read.

例えば、上述の波形形成処理において波形シーケンスWSが図5に示したようなものである場合、最初の波形イベントの波形選択データはアタック部波形AUW(5)である。従って、ステップS15により当該アタック部波形AUW(5)のノンループ波形NLWの読み出しが行われる(後述の図8(a)において時点t0から始まる波形)。このノンループ波形NLWの波形データの読み出しを終了したら(図8(a)における時点t1)、このノンループ波形NLWに続くループ波形LWの読み出しが行われる(ステップS16)。
ステップS18では、上述のステップS17で読み出した波形イベントにおける波形選択データがユニット波形であるか、単独のループ波形LWであるか(すなわち、ユニット波形の先頭のループ波形LWを含まず)、それともそもそも波形イベントが存在しないのかの判断を行う。図5の例では、2番目の波形イベントの波形選択データは単独のループ波形LW(12)であるので、ステップS23に行き、当該ループ波形LW(12)の読み出しを行う。次のステップS24(ループ読出及びクロスフェード合成処理)では、既に読み出しされた2つのループ波形(ステップS16で読み出ししたアタック部波形AUW(5)の後端部のループ波形つまり先行するループ波形と、ステップS23で読み出ししたループ波形つまり後続するループ波形)をそれぞれループ波形読み出しを継続しながらクロスフェード合成する。このクロスフェード合成は、ステップS17で読み出したイベントデータに含まれるタイミングデータ(2番目の波形イベントの場合はDt2)で指定される時間だけ行われる。クロスフェード時間が経過すると、先行するループ波形の波形再生読出が停止される(ステップS25)。そして、ステップS17に戻って、次の波形イベントの読み出しを行う。
For example, when the waveform sequence WS is as shown in FIG. 5 in the waveform forming process described above, the waveform selection data of the first waveform event is the attack portion waveform AUW (5). Accordingly, the non-loop waveform NLW of the attack portion waveform AUW (5) is read in step S15 (a waveform starting from time t0 in FIG. 8A described later). When reading of the waveform data of the non-loop waveform NLW is finished (time t1 in FIG. 8A), the loop waveform LW following the non-loop waveform NLW is read (step S16).
In step S18, whether the waveform selection data in the waveform event read in step S17 described above is a unit waveform or a single loop waveform LW (that is, does not include the first loop waveform LW of the unit waveform), or in the first place. Determine if there is a waveform event. In the example of FIG. 5, since the waveform selection data of the second waveform event is a single loop waveform LW (12), the process goes to step S23 to read out the loop waveform LW (12). In the next step S24 (loop reading and cross-fade synthesizing process), two loop waveforms that have already been read (the loop waveform at the rear end of the attack portion waveform AUW (5) read in step S16, that is, the preceding loop waveform), The loop waveform read out in step S23 (that is, the subsequent loop waveform) is cross-fade synthesized while continuing to read the loop waveform. This cross-fade synthesis is performed for the time specified by the timing data (Dt2 in the case of the second waveform event) included in the event data read in step S17. When the crossfade time elapses, the waveform reproduction / reading of the preceding loop waveform is stopped (step S25). Then, returning to step S17, the next waveform event is read.

図5の例では、3番目の波形イベントの単位波形選択データは中間波形IUW(8)であり、ステップS18では「ユニット波形」と判定されて、ステップS20に行く。ステップS20では、ステップS23と同様に、当該ユニット波形おける先頭のループ波形の読み出しを行う。次のステップS21では、ステップ24と同様に、ループ読出及びクロスフェード合成処理を行う。今の例では、前回のクロスフェード合成における後続ループ波形であったループ波形LW(12)が先行ループ波形に切り替わり、ステップS20で新たに読み出しされたユニット波形(中間波形IUW(8)の先頭のループ波形)が後続ループ波形となり、両ループ波形をループ読み出ししつつクロスフェード合成する。このクロスフェード合成も、ステップS17で読み出したイベントデータに含まれるタイミングデータ(3番目の波形イベントの場合はDt3)で指定される時間だけ行われる。クロスフェード時間が経過すると、両方のループ波形の波形再生読み出しを停止し(ステップS22)、ステップS15に戻り、当該ユニット波形(今の例では中間波形IUW(8))におけるノンループ波形NLWの読み出しを行う。このノンループ波形NLWの波形データの読み出しを終了したら、前述のように、ステップS16に進み、このユニット波形において上記ノンループ波形NLWの後に続いているループ波形LWの読み出しを行う。その後、ステップS17に行き、以後、同様にしてループ波形LW(3)、中間波形IUW(7)、リリース部波形RUW(1)が順次読み出され、クロスフェードにより接続される。   In the example of FIG. 5, the unit waveform selection data of the third waveform event is the intermediate waveform IUW (8). In step S18, it is determined as “unit waveform”, and the process goes to step S20. In step S20, as in step S23, the top loop waveform in the unit waveform is read. In the next step S21, similarly to step 24, loop reading and cross-fade synthesis processing are performed. In this example, the loop waveform LW (12) that was the subsequent loop waveform in the previous cross-fade synthesis is switched to the preceding loop waveform, and the unit waveform (intermediate waveform IUW (8)) at the beginning of the unit waveform newly read in step S20. Loop waveform) becomes the subsequent loop waveform, and cross-fade synthesis is performed while reading both loop waveforms. This cross-fade synthesis is also performed only for the time specified by the timing data (Dt3 in the case of the third waveform event) included in the event data read in step S17. When the crossfade time elapses, the waveform reproduction readout of both loop waveforms is stopped (step S22), and the process returns to step S15 to read out the non-loop waveform NLW in the unit waveform (in this example, the intermediate waveform IUW (8)). Do. When the reading of the waveform data of the non-loop waveform NLW is completed, the process proceeds to step S16 as described above, and the loop waveform LW following the non-loop waveform NLW in the unit waveform is read. Thereafter, the process goes to step S17, and thereafter, similarly, the loop waveform LW (3), the intermediate waveform IUW (7), and the release portion waveform RUW (1) are sequentially read and connected by cross-fade.

最後の波形イベントに対応して、リリース部波形RUW(1)のノンループ波形がステップS15で読み出された後は、それに続くループ波形がないためステップS16を通り越してステップS17に行く。この場合、新たな波形イベントが当該波形シーケンスWSに存在していないので、ステップS26に行き、現在再生中の波形に対してフェードアウト処理を実行しながら、ステップS27で波形の再生読出を停止させ、発音を終了する。その後、ステップS11に戻り、ステップS11とステップS12によるループで、ストップ命令STOPの発生、ないし、次の発音開始タイミングの到来まで待機する。波形シーケンスWSの次の発音開始タイミングが到来した場合には、ステップS12で「YES」に分岐し、上述したのと同様の処理により対応する波形の再生処理を行う。このようにして波形シーケンスWSが順次再生され、ステップS1で指定された再生範囲の再生が終了した場合、ないし、ユーザにより入力操作装置1でストップ操作が行われた場合には、ステップS11で「YES」と判断され、波形形成処理を終了する(ステップS13)。   In response to the last waveform event, after the non-loop waveform of the release part waveform RUW (1) is read in step S15, since there is no subsequent loop waveform, the process passes through step S16 and goes to step S17. In this case, since a new waveform event does not exist in the waveform sequence WS, the process goes to step S26 to stop the reproduction and reading of the waveform in step S27 while executing the fade-out process on the currently reproduced waveform. Ends pronunciation. Thereafter, the process returns to step S11 and waits until the stop command STOP is generated or the next sounding start timing arrives in the loop of step S11 and step S12. When the next sounding start timing of the waveform sequence WS has arrived, the process branches to “YES” in step S12, and a corresponding waveform reproduction process is performed by the same process as described above. In this way, when the waveform sequence WS is sequentially reproduced and the reproduction of the reproduction range designated in step S1 is completed, or when the user performs a stop operation on the input operation device 1, "step S11" It is determined as “YES”, and the waveform forming process is terminated (step S13).

ここで、先行するループ波形と後続するループ波形をループ再生(繰り返し読み出し)しつつクロスフェード合成する例につき、図8(a)に示したループ波形A,B,Cを参照して説明する。図8(a)は、図5の波形シーケンスWSに示される6つの波形イベントにより生成される楽音波形の例である。
この場合は、時点t1からt2までのクロスフェード区間において、先行するループ波形A(すなわち、波形シーケンスWSのアタック部波形AUW(5)におけるループ波形)をループ読み出しすると同時に、後続するループ波形B(すなわち、ループ波形LW(12))もループ読み出しし、先行するループ波形Aのループ再生波形をフェードアウト(立ち下がり)特性のエンベロープで振幅制御し、後続するループ波形Bのループ再生波形をフェードイン(立ち上がり)特性のエンベロープで振幅制御し、両者を加算合成して、1つのループ再生波形を合成する。クロスフェード合成されたループ再生波形は、ループ波形Aからループ波形Bへと滑らかに変化することになる。この処理は図7のステップS24で行なわれる。この場合のクロスフェード時間つまりクロスフェード区間長は、前述の通り、後続するループ波形Bについてのイベントデータに含まれるタイミングデータDt2によって特定される。つまり、タイミングデータDt2によって特定される開始時点t1から終了時点t2までのクロスフェード区間の間で、先行するループ波形A用のフェードアウト(立ち下がり)特性のクロスフェード係数が最大値「1」から最小値「0」まで直線的に立ち下がるようにし、後続するループ波形B用のフェードイン(立ち上がり)特性のクロスフェード係数が最小値「0」から最大値「1」まで直線的に立ち上がるようにする。このタイミングデータDt2を時間軸伸縮制御情報に応じて可変制御することにより、クロスフェード終了時点t2を、図8(b)に例示するように、t2'に伸張(又は圧縮)することができ、ループ波形によるクロスフェード区間長を自由に時間軸制御することができる。なお、クロスフェード区間長を指定するタイミングデータは、クロスフェードカーブの傾きを示す係数データとして表現するようにしてよい。
すなわち、上述した図7のステップS16およびS19で行われるループ読み出しにおいては、ループ波形(すなわち、先行するループ波形)を前述のクロスフェード係数を最大値「1」として読み出し開始する。また、図7のステップS20およびS23で行われるループ読み出しでは、ループ波形(すなわち、後続のループ波形)をクロスフェード係数を最小値「0」として読み出し開始する。そして、ステップS21およびS24では、上述したように先行するループ波形と後続のループ波形の両方のループ読み出しを継続しながらクロスフェード合成を行うようにしている。
Here, an example of cross-fade synthesis while loop reproduction (repetitive readout) of the preceding loop waveform and the subsequent loop waveform will be described with reference to the loop waveforms A, B, and C shown in FIG. FIG. 8A is an example of a musical sound waveform generated by six waveform events shown in the waveform sequence WS of FIG.
In this case, in the crossfade period from the time point t1 to the time t2, the preceding loop waveform A (that is, the loop waveform in the attack part waveform AUW (5) of the waveform sequence WS) is read out simultaneously with the subsequent loop waveform B ( That is, the loop waveform LW (12)) is also read out, the amplitude of the loop reproduction waveform of the preceding loop waveform A is controlled by the envelope of the fade-out (falling) characteristic, and the loop reproduction waveform of the subsequent loop waveform B is faded in ( The amplitude is controlled by the envelope of the rising) characteristic, and both are added and synthesized to synthesize one loop reproduction waveform. The loop reproduction waveform subjected to the cross-fade synthesis smoothly changes from the loop waveform A to the loop waveform B. This process is performed in step S24 of FIG. In this case, the crossfade time, that is, the crossfade interval length is specified by the timing data Dt2 included in the event data for the subsequent loop waveform B as described above. That is, the cross-fade coefficient of the fade-out (falling) characteristic for the preceding loop waveform A is minimum from the maximum value “1” during the cross-fade period from the start time t1 to the end time t2 specified by the timing data Dt2. It is made to fall linearly to the value “0”, and the crossfade coefficient of the subsequent fade-in (rise) characteristic for the loop waveform B is made to rise linearly from the minimum value “0” to the maximum value “1”. . By variably controlling the timing data Dt2 according to the time axis expansion / contraction control information, the crossfade end time t2 can be expanded (or compressed) to t2 ′ as illustrated in FIG. 8B, It is possible to freely control the time axis of the crossfade interval length by the loop waveform. Note that the timing data for designating the crossfade section length may be expressed as coefficient data indicating the slope of the crossfade curve.
That is, in the loop reading performed in steps S16 and S19 of FIG. 7 described above, reading of the loop waveform (that is, the preceding loop waveform) is started with the aforementioned crossfade coefficient as the maximum value “1”. Further, in the loop reading performed in steps S20 and S23 in FIG. 7, reading of the loop waveform (that is, the subsequent loop waveform) is started with the crossfade coefficient as the minimum value “0”. In steps S21 and S24, as described above, cross-fade synthesis is performed while continuing to read out both the preceding loop waveform and the subsequent loop waveform.

図8(a)において、その次の時点t2からt3までのクロスフェード区間においては、それまで後続ループ波形であったループ波形Bを先行ループ波形に切り替えてそのループ読出しを続けると共にフェードアウト(立ち下がり)特性のエンベロープで振幅制御し、同時に、後続ループ波形をループ波形C(すなわち、中間波形IUW(8)のループ波形)に切り替えてそのループ読出しを開始すると共に、フェードイン(立ち上がり)特性のエンベロープで振幅制御し、両者を加算合成して、1つのループ再生波形を合成する。この処理は図7のステップS21で行なわれる。この場合のクロスフェード時間つまりクロスフェード区間長は、前述の通り、後続するループ波形Cについてのイベントデータに含まれるタイミングデータDt3によって特定される。この場合も、タイミングデータDt3を時間軸伸縮制御情報に応じて可変制御することにより、クロスフェード終了時点t3を、図8(b)に例示するように、t3'に伸張(又は圧縮)することができる。   In FIG. 8A, in the next crossfade period from the time t2 to the time t3, the loop waveform B that has been the subsequent loop waveform is switched to the preceding loop waveform, and the loop reading is continued and fadeout (falling) is performed. ) The amplitude is controlled by the characteristic envelope, and at the same time, the subsequent loop waveform is switched to the loop waveform C (that is, the loop waveform of the intermediate waveform IUW (8)) to start reading the loop, and the envelope of the fade-in (rising) characteristic Amplitude control is performed, and both are added and synthesized to synthesize one loop reproduction waveform. This process is performed in step S21 of FIG. In this case, the crossfade time, that is, the crossfade section length is specified by the timing data Dt3 included in the event data for the subsequent loop waveform C as described above. Also in this case, the timing data Dt3 is variably controlled in accordance with the time axis expansion / contraction control information, so that the crossfade end time t3 is expanded (or compressed) to t3 ′ as illustrated in FIG. 8B. Can do.

この発明においては、再生する楽音のピッチ制御とは独立に、波形データの時間軸上の長さを、任意の範囲で伸張又は圧縮した状態で読み出す制御(これをTime Stretch & Compress 制御と称し、"TSC制御"と略称する)を行い、これによって発生する楽音の特徴を自由かつ多様に制御するようにしている。TSC制御を用いた各種奏法若しくは楽音効果等の制御のいくつかの具体例を例示すると次のようなものがある。
(1)ビブラートやトレモロのような周期的変調効果の周期を制御する。
(2)ピッチベンドのような経過的ピッチ変調効果の時間を制御する。
(3)アタック、ディケイ等の音の立上りや立下りの時間を制御する。
(4)楽音に"ゆらぎ"を積極的かつ自在に付与する。
(5)ループ制御(持続音形成のためのループ読出制御又はビブラートのループ的制御を含む)の単調性を解消する。
(6)音と音をつなげる制御(スラー等)の時間(つなぎ時間)を制御する。
(7)装飾音の長さを制御する。
(8)記憶された元波形を異なるピッチで読み出したときの発音時間長の変化を補償する。
(9)記憶された元波形を局所的あるいは部分的に時間軸制御して読み出すことにより、該元波形から様々なバリエーションの音を作り出す。
(10)記憶された元波形の全体の発音時間長を任意に可変制御して読み出すことにより、該元波形に基づく音の再生時の発音時間長を任意に制御する(例えば、自動演奏情報にて与えられた楽譜の音符長に合わせる)。
etc.
In the present invention, independently of the pitch control of the musical sound to be played back, the length of the waveform data on the time axis is read out in an expanded or compressed state in an arbitrary range (this is referred to as Time Stretch & Compress control, (Abbreviated as “TSC control”), and the characteristics of the musical sound generated thereby are freely and variously controlled. Some specific examples of control of various performance methods or musical tone effects using TSC control are as follows.
(1) Control the period of periodic modulation effects such as vibrato and tremolo.
(2) Control the time of the transitional pitch modulation effect such as pitch bend.
(3) Control the rise and fall times of sounds such as attack and decay.
(4) Providing “fluctuation” actively and freely to musical sounds.
(5) Eliminate monotonicity of loop control (including loop readout control for forming a continuous sound or vibrato loop-like control).
(6) Control the time (connection time) of the control (slur etc.) to connect the sound.
(7) Control the length of the decoration sound.
(8) Compensate for a change in sound generation time length when the stored original waveform is read out at a different pitch.
(9) Various stored sounds are generated from the original waveform by reading out the stored original waveform with local or partial time axis control.
(10) By arbitrarily varying and reading out the entire sounding time length of the stored original waveform, the sounding time length at the time of reproducing the sound based on the original waveform is arbitrarily controlled (for example, in automatic performance information) To match the note length of the given score).
etc.

上述のTSC制御について図8を用いて詳細に説明する。図8(a)はTSC制御前の元の波形を概念的に示した図であり、(b)はTSC制御された後の波形を概念的に示した図であり、共に横軸は時間軸を示す。また、各波形図の下には、当該波形によって示される譜面上の音符データを各々示した。当該音符データのすべてにスラー記号が付されていることから理解できるように、当該音符データによって示される波形データは連続した一連の音の波形である。   The above TSC control will be described in detail with reference to FIG. FIG. 8A is a diagram conceptually showing an original waveform before TSC control, and FIG. 8B is a diagram conceptually showing a waveform after TSC control. Indicates. In addition, note data on the musical score indicated by the waveform are shown below each waveform diagram. As can be understood from the fact that slur symbols are attached to all the note data, the waveform data indicated by the note data is a continuous series of sound waveforms.

図8(a)は、図5の波形シーケンスWSに示される6つの波形イベントにより生成される楽音波形の例である。当該波形は、1つのアタック部波形(AUW(5))と2つの中間波形(IUW(8),IUW(7))と1つのリリース部波形(RUW(1))と2つのループ波形(LW(12),LW(3))とにより構成され、これらはすべて1つの波形シーケンスWSに波形イベントとして保持されている。
波形シーケンスWSは、図5に示すように各単位波形毎に所定の再生開始時間をデータとして保持するが、その時間を図8の各単位波形の下に示している。すなわち、時点t0において四分音符「ド」のアタック部波形AUW(5)の再生が開始される。時点t2においては前記「ド」のサスティン波形たるループ波形LW(12)の再生が開始される。時点t3においては前記「ド」のリリース波形と次の四分音符「レ」のアタック波形とがスラー奏法でつながった波形である中間波形ILW(8)の再生が開始される。時点t5では前記「レ」のサスティン波形たるループ波形LW(3)が、時点t6では前記「レ」のリリース波形と次の四分音符「ミ」のアタック波形とがスラー奏法でつながった波形である中間波形ILW(7)の再生が各々の時点で再生れる。最後に、時点t8では前記「ミ」のリリース波形たるリリース部波形RLW(1)が再生される。このようにして、順次波形の再生がなされる。そして、この際に各波形の接続(すなわち、波形の合成)を滑らかに行うためにクロスフェード合成を各ループ範囲間で行っている。
FIG. 8A is an example of a musical sound waveform generated by six waveform events shown in the waveform sequence WS of FIG. The waveform includes one attack waveform (AUW (5)), two intermediate waveforms (IUW (8), IUW (7)), one release waveform (RUW (1)), and two loop waveforms (LW). (12) and LW (3)), all of which are held as waveform events in one waveform sequence WS.
As shown in FIG. 5, the waveform sequence WS holds a predetermined reproduction start time as data for each unit waveform, and the time is shown below each unit waveform in FIG. That is, the reproduction of the attack waveform AUW (5) of the quarter note “do” is started at time t0. At time t2, the reproduction of the loop waveform LW (12), which is the sustain waveform of “DO”, is started. At time t3, the reproduction of the intermediate waveform ILW (8), which is a waveform in which the release waveform of “do” and the attack waveform of the next quarter note “re” are connected by the slur technique, is started. At time t5, the loop waveform LW (3), which is the sustain waveform of the “re”, is a waveform in which the release waveform of the “re” and the attack waveform of the next quarter note “mi” are connected by the slur technique at time t6. A certain intermediate waveform ILW (7) is reproduced at each time point. Finally, at time point t8, the release portion waveform RLW (1), which is the release waveform of the “mi”, is reproduced. In this way, the waveform is sequentially reproduced. At this time, in order to smoothly connect the waveforms (that is, combine the waveforms), cross-fade combining is performed between the loop ranges.

具体的なクロスフェード合成のやり方としては、種々の手法が考えられる。この実施例においては、前述の通り、波形メモリから2系列のループ波形をそれぞれループ読み出しして、クロスフェード合成するようにしている。クロスフェード合成の手法(例えばフェードインとアウトの関係やクロスフェード関数の特性など)はこれに限らず、種々変更可能である。なお、このようなクロスフェード合成を行うことは非常に好ましいことであるが、必ずしも必須ではない。すなわち、単に1つのループ波形のループ再生時間を可変制御することでもTSC制御を行うことができる。   Various methods can be considered as a specific method of cross-fade synthesis. In this embodiment, as described above, two series of loop waveforms are respectively read out from the waveform memory and subjected to cross-fade synthesis. The method of cross-fade synthesis (for example, the relationship between fade-in and out and the characteristics of the cross-fade function) is not limited to this, and can be variously changed. Although it is highly preferable to perform such cross-fade synthesis, it is not always necessary. That is, the TSC control can be performed by simply variably controlling the loop reproduction time of one loop waveform.

波形シーケンスWSは各波形イベント毎にタイミングデータを有し、当該タイミングデータにより波形の再生開始時間および再生時間長さが決定されることから、当該タイミングデータを変更することによるTSC制御を行うことができる。再生時間を伸縮するためのタイム伸縮制御を行う際には、パラメータとして標準の再生時間に対する伸縮比を指示する時間伸縮比CRateを使用する。「標準の再生時間」とは元波形の時間長さ(すなわち、時間軸伸縮なしで、ピッチアップおよびピッチダウンしないときの再生時間長)である。   The waveform sequence WS has timing data for each waveform event, and the waveform reproduction start time and the reproduction time length are determined by the timing data. Therefore, TSC control can be performed by changing the timing data. it can. When performing time expansion / contraction control for expanding / contracting the reproduction time, a time expansion / contraction ratio CRate indicating the expansion / contraction ratio with respect to the standard reproduction time is used as a parameter. The “standard playback time” is the time length of the original waveform (that is, the playback time length when the pitch does not increase or decrease without time axis expansion / contraction).

ここで、上述の時間伸縮比CRateについて説明すると、時間伸縮比CRateは、「出力波形の再生時間(時間長さ)を、元の波形(ピッチ制御されたもの)の再生時間(時間長さ)の1/CRateとすること」を意味するパラメータである。もちろん、CRateは一定値とは限らず、波形読み出しの途中(発音の途中)でもリアルタイムに変更可能であるので、局所的に見て上記の意味があるということである。出力波形は、CRate=1.0なら等倍、CRate>1.0なら圧縮、CRate<1.0なら伸張されることになる。   Here, the time expansion / contraction ratio CRate will be described. The time expansion / contraction ratio CRate is “the reproduction time (time length) of the output waveform is the reproduction time (time length) of the original waveform (pitch controlled)”. It is a parameter meaning “to be 1 / CRate of”. Of course, CRate is not limited to a constant value, and can be changed in real time even during waveform reading (in the middle of sound generation). The output waveform is equal if CRate = 1.0, compressed if CRate> 1.0, and expanded if CRate <1.0.

図8に戻る。図8(b)に示した例ではループ読み出し区間に対してTSC制御を施すようにしている。つまり、図8(a)の波形に対してt1〜t2間およびt2〜t3間の再生時間を伸張し(t1'〜t2'間およびt2'〜t3'間と比較)、さらにt7〜t8間の再生時間を圧縮(t7'〜t8'間と比較)した例を示している。すなわち、t1〜t2間およびt2〜t3間では、時間圧縮比CRateをCRate>1.0とし、t7〜t8間をCRate<1.0として、それ以外の時間ではCRate=1.0として上述の波形合成/再生処理を行ったものである。こうすることにより、上述したTSC制御を容易に行うことができるようになる。   Returning to FIG. In the example shown in FIG. 8B, TSC control is performed on the loop read section. That is, the playback time between t1 and t2 and between t2 and t3 is extended with respect to the waveform of FIG. 8A (compared with between t1 ′ and t2 ′ and between t2 ′ and t3 ′), and further between t7 and t8. Is shown as an example in which the playback time is compressed (compared with t7 ′ to t8 ′). That is, between t1 and t2 and between t2 and t3, the time compression ratio CRate is CRate> 1.0, between t7 and t8 is CRate <1.0, and at other times, CRate = 1.0. Waveform synthesis / reproduction processing is performed. By doing so, the above-described TSC control can be easily performed.

例えば、図8(a)に示すオリジナルの波形シーケンスWSが、その下に音符を付記して示したように、3個の四分音符「ド」、「レ」、「ミ」と四分休符からなる曲データの演奏フレーズに対応しているものであるとして、当該演奏フレーズを(b)に示すように、二分音符「ド」と、四分音符「レ」、八分音符「ミ」と八分休符からなる演奏フレーズに変更すると、各音符長の変化に対応して所望のループ再生区間に夫々個別に時間軸伸縮制御が施され、再生ピッチは変化させずに、そのループ再生区間の時間長のみを伸縮制御することができる。このほか、様々な態様で時間軸伸縮制御を施すことにより、オリジナルの波形シーケンスWSの演奏フレーズを、再生演奏時にリアルタイムで又はノンリアルタイムで、可変制御することができる。例えば、3個の四分音符「ド」、「レ」、「ミ」を夫々八分音符の長さになるように変化させたり、逆に夫々二分音符の長さになるように変化させることに対応して時間軸伸張の制御が行われることから、実質的に、演奏テンポを速くしたり遅くしたりする制御を行なうことができることとなる。 なお、この発明においては、上述したような時間伸縮比CRateによる波形の時間軸伸縮制御(TSC制御)と同時に、かつ、それとは独立に波形の読み出し速度を制御することにより再生する楽音のピッチ制御を行うことができるので、これによって発生する楽音をより多様に制御することができる。   For example, the original waveform sequence WS shown in FIG. 8A has three quarter notes “do”, “re”, “mi” and a quarter rest as shown with notes added below. As shown in (b), the performance phrase is assumed to correspond to the performance phrase of the song data composed of notes, and as shown in (b), the half note “do”, the quarter note “re”, and the eighth note “mi”. If you change to a performance phrase consisting of an octave rest, time axis expansion / contraction control is applied to the desired loop playback section in response to changes in each note length, and the playback of that loop is not changed. Only the time length of the section can be expanded and contracted. In addition, by performing time axis expansion / contraction control in various modes, the performance phrase of the original waveform sequence WS can be variably controlled in real time or non-real time during playback performance. For example, changing three quarter notes “do”, “le”, and “mi” to be the length of an eighth note, or vice versa. Since the time axis expansion control is performed in response to the above, it is possible to substantially control the performance tempo to be faster or slower. In the present invention, the pitch control of the musical sound to be reproduced by controlling the waveform reading speed independently of the time axis expansion / contraction control (TSC control) of the waveform based on the time expansion / contraction ratio CRate as described above. Therefore, it is possible to control the musical sound generated thereby more variously.

上述のように、ループ波形の場合は、基本的には、ループ回数ないしループ継続時間を可変することによって、比較的簡単に、楽音再生ピッチとは独立に、ループ再生波形全体の時間長を可変制御することができる。つまり、タイミングデータDtによってクロスフェード区間長が特定されると、それに伴ってクロスフェードカーブの傾きが決まってくるので、このクロスフェードカーブの傾きを(若しくはタイミングデータDtの値を)時間軸伸縮比データCRateによって可変制御することにより、クロスフェードの速さが可変制御され、結局、クロスフェード区間の時間長を可変制御することができる。その間、楽音再生ピッチには影響を与えないので、結局、ループ回数が可変制御されることで当該クロスフェード区間(つまりループ再生区間)の時間長が可変制御される。   As described above, in the case of a loop waveform, basically, the time length of the entire loop reproduction waveform can be varied relatively easily by independently varying the number of loops or the loop duration, independently of the musical sound reproduction pitch. Can be controlled. That is, when the crossfade section length is specified by the timing data Dt, the slope of the crossfade curve is determined accordingly, and therefore the slope of the crossfade curve (or the value of the timing data Dt) is set as the time axis expansion / contraction ratio. By variably controlling the data CRate, the crossfade speed is variably controlled, and eventually the time length of the crossfade interval can be variably controlled. In the meantime, since the musical tone reproduction pitch is not affected, the time length of the crossfade section (that is, the loop reproduction section) is variably controlled by variably controlling the number of loops.

一方、ノンループ波形の場合は、楽音再生ピッチとは独立に、時間軸上におけるその存在時間長を可変制御することはそれほど簡単ではない。従って、上記のように、ノンループ波形とループ波形とからなる一連の音の波形において、ループ読出区間の時間長を伸縮可変制御することで全体の発音時間長を可変制御するように工夫することは、時間軸伸縮制御を容易にするので極めて好ましい。また、特殊な奏法に対応するノンループ波形においては、その部分の時間軸の長さを可変してしまうと、かえって好ましくないものがある。しかし、その種のノンループ波形を含む楽音波形においても、時間軸伸縮制御を行ないたいという要求はあるので、その要求に応えるために、ノンループ波形の部分においては時間軸伸縮制御を行なわずに、部分的にループ波形の部分においてのみ時間軸伸縮制御を行なうようにすることは、極めて効果的である。   On the other hand, in the case of a non-loop waveform, it is not so easy to variably control the existence time length on the time axis independently of the tone reproduction pitch. Therefore, as described above, in a series of sound waveforms composed of a non-loop waveform and a loop waveform, it is possible to devise to variably control the overall sound generation time length by performing variable control of the time length of the loop reading section. It is extremely preferable because it facilitates time axis expansion / contraction control. In addition, in a non-loop waveform corresponding to a special performance method, it may be unpreferable if the length of the time axis of the portion is varied. However, even in a musical sound waveform including such a non-loop waveform, there is a request to perform time-axis expansion / contraction control, so in order to meet that requirement, the time-axis expansion / contraction control is not performed in the portion of the non-loop waveform. In particular, it is extremely effective to perform the time axis expansion / contraction control only in the loop waveform portion.

一方、本出願人が既に出願済み(特願平9−130394号)の新技術である「波形データの時間軸伸縮制御」技術を用いることで、ノンループ波形の時間軸伸縮制御も可能である。すなわち、簡単に要約すれば、一定の波形データ量からなるノンループ波形を、一定の再生サンプリング周波数と所定の再生ピッチを維持しつつ、その時間軸上の波形データ存在時間長を伸縮するために、圧縮する場合は、波形データの適宜の部分を飛び越して読み出しを行ない、伸張する場合は、波形データの適宜の部分を繰り返し読み出しするようにし、そして、飛び越し若しくは部分的繰り返し読み出しによる波形データの不連続性を除去するためにクロスフェード合成を行なうようにする。この手法を、本実施例におけるノンループ波形の読出処理(図7のステップS15)に対して適用し、該ノンループ波形部分でTSC制御を施すことも可能であるが、本明細書では詳しくは説明しない。   On the other hand, using the “time-axis expansion / contraction control of waveform data” technology, which is a new technology already filed by the present applicant (Japanese Patent Application No. 9-130394), non-loop waveform time-axis expansion / contraction control is also possible. That is, to summarize briefly, in order to expand and contract the waveform data existing time length on the time axis of a non-loop waveform consisting of a certain amount of waveform data while maintaining a constant reproduction sampling frequency and a predetermined reproduction pitch, When compressing, read out by skipping an appropriate part of the waveform data, and when expanding, read out the appropriate part of the waveform data repeatedly, and discontinuity of the waveform data by skipping or partial repeated reading Cross-fade synthesis is performed to eliminate the property. Although this technique can be applied to the non-loop waveform reading process (step S15 in FIG. 7) in the present embodiment and TSC control can be performed on the non-loop waveform portion, it will not be described in detail in this specification. .

更に、本実施例においては、波形シーケンスWSのデータを任意にエディットすることができる。図9は、そのための波形エディット処理のフローチャートの一例を示す。
最初のステップS30において、波形シーケンスWSにおける単位波形データを任意に変更および追加する位置の指定を行う。波形シーケンスWSにおける任意に指定された単位波形データを別の単位波形データと差し替えたり、指定された単位波形データを削除したり、新たに指定位置に単位波形データを追加したりすることによって、波形シーケンスWSを変更する(ステップS31)。
例えば、作成済みの波形シーケンスWSにおける或る中間波形がノンループ波形を含むものであっても、その前後にループ波形を具備するので(例えば、図4の真ん中に示すような中間波形)、これを別の中間波形(例えば、図4の一番下側に示すような中間波形)に変更することが容易に行える。また、図8(d)に示すように、リリース部波形RUWを差し替えることもできる。また、図8(c)に示すように、任意の指定位置に新たにループ波形を追加することもできる。このように、単位波形を任意かつ容易に変更することができるのは、本発明の波形データフォーマットを採用したおかげである。
Furthermore, in the present embodiment, the data of the waveform sequence WS can be arbitrarily edited. FIG. 9 shows an example of a flowchart of the waveform editing process for that purpose.
In the first step S30, a position for arbitrarily changing and adding unit waveform data in the waveform sequence WS is designated. By replacing the unit waveform data arbitrarily specified in the waveform sequence WS with another unit waveform data, deleting the specified unit waveform data, or newly adding unit waveform data at the specified position The sequence WS is changed (step S31).
For example, even if a certain intermediate waveform in the generated waveform sequence WS includes a non-loop waveform, it has a loop waveform before and after that (for example, an intermediate waveform as shown in the middle of FIG. 4). It is easy to change to another intermediate waveform (for example, an intermediate waveform as shown at the bottom of FIG. 4). Further, as shown in FIG. 8D, the release part waveform RUW can be replaced. Further, as shown in FIG. 8C, a loop waveform can be newly added at an arbitrary designated position. As described above, the unit waveform can be arbitrarily and easily changed by adopting the waveform data format of the present invention.

個々の波形シーケンスWSは、曲データに対応するノートシーケンス(自動演奏シーケンス)によって指定される。例えば、1つのノートイベントに対応して1つの波形シーケンスWSが指定されることもあれば、スラー等の特殊奏法を伴う連続する複数のノートイベントに対応して1つの波形シーケンスWS(例えば図8(a)のような)が指定されることもあり、また、1つのノートイベントに対応して複数の波形シーケンスWSが指定されることがあってもよい。そのようなノートシーケンスも、ユーザーによって適宜エディットできるようになっていてよい。図10は、そのためのノートシーケンスエディット処理の一例を示す。 最初のステップS40において、ノートシーケンスにおけるノートイベントを任意に変更および追加する位置の指定を行う。ノートシーケンスにおける任意に指定されたノートイベントを別のノートイベントと差し替えたり、指定されたノートイベントを削除したり、指定位置に新たなノートイベントを追加したりすることによって、ノートシーケンスを変更する(ステップS41)。ノートシーケンスのエディットされた曲データの再生が指示された場合、エディットされた部分に対応する波形シーケンスWSは未だ用意されていないので、図6のステップS2で「NO」が判断され、続くステップS3でエディットされた曲データに対応する波形シーケンスWSが生成される。なお、曲データの一部だけがエディットされた場合、ステップS3では、そのエディットされた部分についてだけ対応する波形シーケンスWSを新規作成し、残りの部分は過去に作成した波形シーケンスWSを使用すればよい。
例えば、図8(b)に対応する波形シーケンスWSは、図8(a)に対応する3個の四分音符「ド」、「レ」、「ミ」と1個の四分休符からなるノートシーケンスを上述したノートシーケンスエディット処理により、二分音符「ド」と四分音符「レ」と八分音符「ミ」と八分休符とにエディットし(すなわち、ノートイベントの変更)、当該エディット後のノートシーケンスによって指定される波形シーケンスWSはまだ存在していないので、図6のステップS3で当該ノートシーケンスに対応する波形シーケンスWSが新規に作成される。
Each waveform sequence WS is designated by a note sequence (automatic performance sequence) corresponding to music data. For example, one waveform sequence WS may be designated corresponding to one note event, or one waveform sequence WS (for example, FIG. 8) corresponding to a plurality of consecutive note events accompanied by a special performance technique such as slur. (As in (a)) may be designated, and a plurality of waveform sequences WS may be designated corresponding to one note event. Such a note sequence may be appropriately edited by the user. FIG. 10 shows an example of a note sequence edit process for that purpose. In the first step S40, a position for arbitrarily changing and adding a note event in the note sequence is designated. Change the note sequence by replacing an arbitrarily specified note event in the note sequence with another note event, deleting the specified note event, or adding a new note event at the specified position ( Step S41). When reproduction of the song data edited in the note sequence is instructed, the waveform sequence WS corresponding to the edited portion has not been prepared yet, so “NO” is determined in step S2 of FIG. 6, and the subsequent step S3. A waveform sequence WS corresponding to the music data edited in step S1 is generated. When only a part of the music data is edited, in step S3, a waveform sequence WS corresponding to only the edited part is newly created, and the remaining part is created by using a waveform sequence WS created in the past. Good.
For example, the waveform sequence WS corresponding to FIG. 8B includes three quarter notes “do”, “le”, “mi” and one quarter rest corresponding to FIG. The note sequence is edited into the half note “do”, the quarter note “re”, the eighth note “mi”, and the eighth rest (that is, the note event is changed) by the above-described note sequence editing process. Since the waveform sequence WS specified by the subsequent note sequence does not yet exist, a waveform sequence WS corresponding to the note sequence is newly created in step S3 of FIG.

なお、図7の波形形成処理プログラムにおいて、ステップS15,S21,S24等で行なわれる波形サンプルデータの読出処理の具体的手順については、任意の方式を用いてよい。例えば、所定の再生サンプリング周波数の1周期毎の割込み処理として当該サンプリング周期における1サンプル分の波形サンプルデータを読み出して形成する方式であってもよい。あるいは、本出願人が既に提案済みのソフトウェア音源技術で知られているように、1フレーム区間に該当する多数のサンプル数分の波形サンプルデータを短時間で一括して形成し、これを出力バッファに蓄えておき、出力バッファからの波形サンプルデータの読み出しを再生サンプリング周波数fsの1周期毎に行なうようにしてもよい。また、ソフトウェアプログラムに基づく波形形成処理に限らず、上記実施例と同様の波形形成処理用のマイクロプログラムで動作するように構成されたDSP装置によって本発明に従う波形形成処理を行なうようにしてもよいし、あるいは、LSI回路やディスクリート回路によって上記実施例と同様の波形形成処理を行なうように専用ハードウェア回路を構成してもよい。   In the waveform forming processing program of FIG. 7, an arbitrary method may be used for the specific procedure of the waveform sample data reading processing performed in steps S15, S21, S24 and the like. For example, a method of reading and forming waveform sample data for one sample in the sampling period as an interrupt process for each period of a predetermined reproduction sampling frequency may be used. Alternatively, as known in the software sound source technology already proposed by the present applicant, waveform sample data corresponding to the number of samples corresponding to one frame section is formed in a short period of time and this is output as an output buffer. The waveform sample data from the output buffer may be read out every cycle of the reproduction sampling frequency fs. In addition to the waveform forming process based on the software program, the waveform forming process according to the present invention may be performed by a DSP device configured to operate with a waveform forming process microprogram similar to the above embodiment. Alternatively, the dedicated hardware circuit may be configured so that the waveform forming process similar to that in the above embodiment is performed by an LSI circuit or a discrete circuit.

以上のように、上記実施例によれば、波形データの構造として、ノンループ波形の前後に第1および第2のループ波形をそれぞれ具備してなる波形を1単位の波形データとして構成したので、該1単位の波形データとそれに先行するまたは後続する他の波形とを当該ループ波形の部分を介して接続することで、順次組み合わせるようにして波形形成を行うことができるようになる。すなわち、アーティキュレーション(奏法)等の特徴を有する高品質な波形であるノンループ波形を、他の任意の波形と簡便に組み合わせて自由な波形形成を行うことができるようにしたので、音のアーティキュレーション(奏法)を考慮した品質のよい波形形成を行なうことができる、という優れた効果を奏する。
したがって、ノンループ波形として、ビブラートやトレモロ等の変調が付与された波形、ベンド等のピッチ変調が付与された波形、スラーの付与された波形、あるいは経過音や装飾音のような経過的なピッチ変動が付与された波形等、任意のアーティキュレーション(奏法)や効果等の特徴を有する高品質な波形を用いれば、そのような高品質の波形を他の任意の波形と簡便に組み合わせて自由な波形形成を行うことによって、高品質な波形の利用効率を高めることができ、制御性に富み、また、編集性にも富んだ形態で、音のアーティキュレーション(奏法)や効果を考慮した品質のよい波形形成を行なうことができるようになる、という優れた効果を奏する。
As described above, according to the above-described embodiment, the waveform data structure includes the waveform including the first and second loop waveforms before and after the non-loop waveform as one unit of waveform data. By connecting one unit of waveform data and another waveform preceding or following it through the loop waveform portion, waveform formation can be performed by sequentially combining them. In other words, the non-loop waveform, which is a high-quality waveform having characteristics such as articulation (playing method), can be easily combined with any other waveform to form a free waveform, so the sound art There is an excellent effect that it is possible to perform waveform formation with good quality in consideration of curation.
Therefore, as a non-loop waveform, a waveform to which modulation such as vibrato or tremolo is applied, a waveform to which pitch modulation such as bend is applied, a waveform to which slur is applied, or a gradual pitch fluctuation such as elapsed sound or decoration sound If you use a high-quality waveform that has features such as arbitrary articulations (effects) and effects, such as a waveform that has been added, you can freely combine such high-quality waveforms with other arbitrary waveforms. By shaping the waveform, the use efficiency of high-quality waveforms can be increased, and the quality that takes into account the articulation (effects) and effects of sound in a form that is rich in controllability and rich in editability This provides an excellent effect that it is possible to form a good waveform.

また、上記実施例によれば、記憶部に記憶したノンループ波形とループ波形を含む単位波形データを、ループ波形を含む他の単位波形データとそれぞれのループ波形の部分を介して組み合わせることで、上述と同様に、アーティキュレーション(奏法)等の特徴を有する高品質な波形であるノンループ波形を、他の任意の波形と簡便に組み合わせて自由な波形形成を行うことができるようになり、制御性に富み、また、編集性にも富んだ形態で、音のアーティキュレーション(奏法)を考慮した品質のよい波形形成を行なうことができるようになる、という優れた効果を奏する。また、両者の接続箇所においてループ再生波形をクロスフェード合成する場合に、そのクロスフェード合成時間長を時間制御情報に応じて自由に制御することができるようにしたので、形成される楽音波形全体の時間軸上の存在時間長を、該楽音波形のピッチとは独立に自由に可変伸縮制御することができるようになり、音のアーティキュレーション(奏法)を考慮した品質のよい波形形成を行うにあたって、時間軸伸縮制御を導入することができるものとなり、制御性を豊かにすることができる、という優れた効果を奏する。   Further, according to the above-described embodiment, the unit waveform data including the non-loop waveform and the loop waveform stored in the storage unit is combined with the other unit waveform data including the loop waveform via the respective loop waveform portions. As with, non-loop waveforms, which are high-quality waveforms with characteristics such as articulation (playing style), can be easily combined with other arbitrary waveforms to create free waveforms, and controllability In addition, there is an excellent effect that it is possible to form a high-quality waveform in consideration of sound articulation (performance method) in a form rich in editability. In addition, when cross-fading the loop playback waveform at the connection point between the two, the cross-fade synthesizing time length can be freely controlled according to the time control information. The time length on the time axis can be freely variable and expanded independently of the pitch of the tone waveform, and waveform formation with good quality taking into account the articulation of the sound Thus, the time axis expansion / contraction control can be introduced, and the excellent controllability can be achieved.

さらに、上記実施例によれば、読み出し速度の制御(発生楽音の音高制御)とは独立に発音の任意の部分(全体または一部の区間)で、波形データの読み出し位置を時間軸で伸縮制御することにより、所望部分の発生時間長を任意に制御することにより、発生楽音の多様な変化を実現し、従来にない、表現力と制御性に富んだ形態で楽音発生・制御を行うことができる、という優れた効果を奏する。例えば、発生楽音の音高を所望音高に維持しつつ、音の立ち上がり部分または立ち下がり部分等の発生時間長を自由に可変制御することができる。あるいは、発生楽音の音高を所望音高に維持しつつ、発生楽音全体の時間長を可変制御することにより、音符長等にあわせて自由に発生時間長を制御することもできる。   Furthermore, according to the above-described embodiment, the waveform data readout position is expanded or contracted on the time axis in any part of the pronunciation (whole or part of the section) independent of the readout speed control (pitch control of the generated musical sound). By controlling the generation time length of the desired part as desired, various changes in the generated musical sound can be realized, and musical sound generation and control can be performed in a form rich in expressive power and controllability, which has never existed before There is an excellent effect of being able to. For example, it is possible to freely variably control the generation time length of the rising portion or falling portion of the sound while maintaining the pitch of the generated musical sound at a desired pitch. Alternatively, it is possible to freely control the generation time length according to the note length or the like by variably controlling the time length of the entire generated music sound while maintaining the pitch of the generated music sound at a desired pitch.

この発明の一実施例に係る波形生成装置のハードウェア構成例を示すブロック図。1 is a block diagram illustrating a hardware configuration example of a waveform generation device according to an embodiment of the present invention. 波形メモリに記憶されるいくつかの単位波形の典型例を示す概略図。Schematic which shows the typical example of some unit waveforms memorize | stored in a waveform memory. ユニット波形の具体的な記憶例を示した概念図。The conceptual diagram which showed the specific example of memory | storage of a unit waveform. 波形メモリにおける記憶フォーマットの一実施例を略示した概念図。The conceptual diagram which simplified and showed one Example of the storage format in a waveform memory. 1つの波形シーケンスにおけるシーケンスデータの一例を示した概念図。The conceptual diagram which showed an example of the sequence data in one waveform sequence. 波形再生処理の一例を示したフローチャート。The flowchart which showed an example of the waveform reproduction process. 波形形成処理の一例を示したフローチャート。The flowchart which showed an example of the waveform formation process. TSC制御の一実施例を説明するための波形概念図。The wave form conceptual diagram for demonstrating one Example of TSC control. 波形シーケンスにおける波形エディット処理の一例を示したフローチャート。The flowchart which showed an example of the waveform edit process in a waveform sequence. ノートシーケンスにおける波形エディット処理の一例を示したフローチャート。The flowchart which showed an example of the waveform edit process in a note sequence.

符号の説明Explanation of symbols

100 CPU
101 ROM
102 RAM
103 ハードディスク
104 リムーバブルディスク
105 表示器
106 入力操作装置
107 波形インタフェース
108 タイマ
109 通信インタフェース
110 MIDIインタフェース
111 バス
WM 波形メモリ
AUW アタック部波形
IUW 中間波形
RUW リリース部波形
NLW ノンループ波形
LW ループ波形
WS 波形シーケンス
100 CPU
101 ROM
102 RAM
DESCRIPTION OF SYMBOLS 103 Hard disk 104 Removable disk 105 Display 106 Input operation apparatus 107 Waveform interface 108 Timer 109 Communication interface 110 MIDI interface 111 Bus WM Waveform memory AUW Attack part waveform IUW Intermediate waveform RUW Release part waveform NLW Non-loop waveform LW Loop waveform WS Waveform sequence

Claims (9)

繰返し読み出されないノンループ波形とその前後の少なくとも一方につながる繰返し読み出しされる少なくとも1つのループ波形とからなる単位波形データを複数記憶してなる記憶手段と、
複数の任意の前記単位波形データを順次読み出す順序を当該単位波形を再生する時間を示すタイミングデータで規定する波形シーケンスに従い、前記記憶手段から前記単位波形データを読み出し、前記複数の任意の単位波形データにおいて相前後する単位波形データの前記ループ波形を繰り返して読み出してクロスフェード合成することで、該相前後する単位波形データに基づく波形を接続して楽音波形を生成する波形形成手段と
を具備する波形生成装置。
Storage means for storing a plurality of unit waveform data composed of a non-loop waveform that is not repeatedly read and at least one loop waveform that is repeatedly read connected to at least one of the non-loop waveform;
The unit waveform data is read from the storage means according to a waveform sequence that defines the order of sequentially reading a plurality of arbitrary unit waveform data by timing data indicating the time for reproducing the unit waveform, and the plurality of arbitrary unit waveform data in that cross-fade synthesis is read by repeating the loop waveform of the unit waveform data before and after Oite phase, and a waveform forming unit for generating a tone waveform by connecting the waveform based on the unit waveform data before and after said phase Waveform generator.
前記波形シーケンスは、順次再生すべき各単位波形を選択する情報を含むことを特徴とする請求項1に記載の波形生成装置。The waveform generation apparatus according to claim 1, wherein the waveform sequence includes information for selecting each unit waveform to be sequentially reproduced. 前記波形シーケンスにおける前記タイミングデータには、前記ループ波形のクロスフェード合成の時間を示すデータを含むことを特徴とする請求項1又は2に記載の波形生成装置。The waveform generation apparatus according to claim 1, wherein the timing data in the waveform sequence includes data indicating a time of cross-fade synthesis of the loop waveform. 前記波形シーケンスを編集する手段を更に具備することを特徴とする請求項1乃至3のいずれかに記載の波形生成装置。 Waveform generator according to any one of claims 1 to 3, further comprising a means for editing the waveform sequence. 複数の波形シーケンスを記憶する手段と、記憶された波形シーケンスの中から、生成すべき演奏フレーズに対応する波形シーケンスを選択する手段とを更に具え、前記波形形成手段では、該選択された波形シーケンスに従い前記記憶手段から前記単位波形データを読み出すことを特徴とする請求項1乃至4のいずれかに記載の波形生成装置。 Means for storing a plurality of waveform sequences; and means for selecting a waveform sequence corresponding to a performance phrase to be generated from the stored waveform sequences, wherein the waveform forming means includes the selected waveform sequence. waveform generator according to any one of claims 1 to 4, characterized in that reading the unit waveform data from said memory means in accordance with. 前記波形シーケンスを選択する手段は、複数の音符の演奏順序を定義する演奏データに基づき前記波形シーケンスを選択することを特徴とする請求項に記載の波形生成装置。 6. The waveform generation apparatus according to claim 5 , wherein the means for selecting the waveform sequence selects the waveform sequence based on performance data defining a performance order of a plurality of notes. 複数の音符の演奏順序を定義する演奏データに基づき、適宜の演奏範囲に対応する波形シーケンスを作成する手段を更に具え、前記波形形成手段では、該作成された波形シーケンスに従い前記記憶手段から前記単位波形データを読み出すことを特徴とする請求項1乃至6のいずれかに記載の波形生成装置。 Further comprising means for creating a waveform sequence corresponding to an appropriate performance range based on performance data defining a performance order of a plurality of notes, wherein the waveform forming means is configured to store the unit from the storage means according to the created waveform sequence. waveform generator according to any one of claims 1 to 6, characterized in that reading the waveform data. 繰返し読み出されないノンループ波形とその前後の少なくとも一方につながる繰返し読み出しされる少なくとも1つのループ波形とからなる単位波形データを複数記憶してなる記憶手段を使用して波形を生成する方法であって、
数の任意の前記単位波形データを順次読み出す順序を当該単位波形を再生する時間を示すタイミングデータで規定する波形シーケンスを特定するステップと、
前記特定された波形シーケンスに従い、前記記憶手段から前記単位波形データを読み出し、前記複数の任意の単位波形データにおいて相前後する単位波形データの前記ループ波形を繰り返して読み出してクロスフェード合成することで、該相前後する単位波形データに基づく波形を接続して楽音波形を生成するステップと
を具備する波形生成方法。
A method of generating a waveform by using a storage unit that stores a plurality of unit waveform data composed of a non-loop waveform that is not repeatedly read and at least one loop waveform that is repeatedly read and connected to at least one of the non-loop waveform.
Identifying a waveform sequence defining sequentially reading the order of any of the unit waveform data of multiple timing data indicating a time of reproducing the unit waveform,
Wherein according to the specific waveform sequence, reading the unit waveform data from said memory means, to cross-fade synthesis is read by repeating the loop waveform of the unit waveform data before and after Oite phase to said plurality of arbitrary unit waveform data A waveform generating method comprising: connecting a waveform based on the unit waveform data before and after each other to generate a musical sound waveform.
繰返し読み出されないノンループ波形とその前後の少なくとも一方につながる繰返し読み出しされる少なくとも1つのループ波形とからなる単位波形データを複数記憶してなる記憶手段を使用して波形を生成する手順をコンピュータに実行させるプログラムを記憶したコンピュータ読み取り可能な記憶媒体であって、前記手順は、
数の任意の前記単位波形データを順次読み出す順序を当該単位波形を再生する時間を示すタイミングデータで規定する波形シーケンスを特定するステップと、
前記特定された波形シーケンスに従い、前記記憶手段から前記単位波形データを読み出し、前記複数の任意の単位波形データにおいて相前後する単位波形データの前記ループ波形を繰り返して読み出してクロスフェード合成することで、該相前後する単位波形データに基づく波形を接続して楽音波形を生成するステップと
を具備する。
The computer executes a procedure for generating a waveform by using a storage unit that stores a plurality of unit waveform data including a non-loop waveform that is not repeatedly read and at least one loop waveform that is repeatedly read and connected to at least one of the non-loop waveforms. A computer-readable storage medium storing a program to be executed, wherein the procedure includes:
Identifying a waveform sequence defining sequentially reading the order of any of the unit waveform data of multiple timing data indicating a time of reproducing the unit waveform,
Wherein according to the specific waveform sequence, reading the unit waveform data from said memory means, to cross-fade synthesis is read by repeating the loop waveform of the unit waveform data before and after Oite phase to said plurality of arbitrary unit waveform data And generating a musical sound waveform by connecting waveforms based on the unit waveform data before and after the phase .
JP2004280251A 2004-09-27 2004-09-27 Waveform generating apparatus and method Expired - Fee Related JP3904012B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004280251A JP3904012B2 (en) 2004-09-27 2004-09-27 Waveform generating apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004280251A JP3904012B2 (en) 2004-09-27 2004-09-27 Waveform generating apparatus and method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP22485098A Division JP3744216B2 (en) 1998-08-07 1998-08-07 Waveform forming apparatus and method

Publications (2)

Publication Number Publication Date
JP2005037964A JP2005037964A (en) 2005-02-10
JP3904012B2 true JP3904012B2 (en) 2007-04-11

Family

ID=34214473

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004280251A Expired - Fee Related JP3904012B2 (en) 2004-09-27 2004-09-27 Waveform generating apparatus and method

Country Status (1)

Country Link
JP (1) JP3904012B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5239433B2 (en) * 2008-03-24 2013-07-17 ヤマハ株式会社 Tone generator and program
JP5239432B2 (en) * 2008-03-24 2013-07-17 ヤマハ株式会社 Tone generator and program
JP2011013445A (en) * 2009-07-02 2011-01-20 Korg Inc Electronic musical instrument
JP6114492B2 (en) * 2011-05-26 2017-04-12 ヤマハ株式会社 Data processing apparatus and program

Also Published As

Publication number Publication date
JP2005037964A (en) 2005-02-10

Similar Documents

Publication Publication Date Title
JP3744216B2 (en) Waveform forming apparatus and method
JP3644263B2 (en) Waveform forming apparatus and method
JP6191459B2 (en) Automatic performance technology using audio waveform data
JP4274152B2 (en) Music synthesizer
JP2007011217A (en) Musical sound synthesizer and program
JP3601371B2 (en) Waveform generation method and apparatus
JP4802857B2 (en) Musical sound synthesizer and program
JP4561636B2 (en) Musical sound synthesizer and program
JP3904012B2 (en) Waveform generating apparatus and method
JP3675184B2 (en) Waveform forming apparatus and method
JP2010113278A (en) Music processing device and program
JP3654084B2 (en) Waveform generation method and apparatus
JP3520781B2 (en) Apparatus and method for generating waveform
JP2000276194A (en) Waveform compressing method and waveform generating method
JP4552769B2 (en) Musical sound waveform synthesizer
JP3744247B2 (en) Waveform compression method and waveform generation method
JP5359203B2 (en) Music processing apparatus and program
JP3788096B2 (en) Waveform compression method and waveform generation method
JP3613191B2 (en) Waveform generation method and apparatus
JP3726765B2 (en) Waveform forming apparatus and method
JP3933162B2 (en) Waveform generation method and apparatus
JP4826276B2 (en) Musical sound synthesizer and program
JP3933161B2 (en) Waveform generation method and apparatus
JP4007374B2 (en) Waveform generation method and apparatus
JP3876896B2 (en) Waveform generation method and apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041102

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060822

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060829

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061030

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070101

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20110119

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120119

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130119

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20140119

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees