JP3972912B2 - Waveform editing program and waveform editing apparatus - Google Patents
Waveform editing program and waveform editing apparatus Download PDFInfo
- Publication number
- JP3972912B2 JP3972912B2 JP2004083365A JP2004083365A JP3972912B2 JP 3972912 B2 JP3972912 B2 JP 3972912B2 JP 2004083365 A JP2004083365 A JP 2004083365A JP 2004083365 A JP2004083365 A JP 2004083365A JP 3972912 B2 JP3972912 B2 JP 3972912B2
- Authority
- JP
- Japan
- Prior art keywords
- waveform
- waveform data
- length
- block
- fade
- 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
Links
- 238000000034 method Methods 0.000 claims description 41
- 238000005562 fading Methods 0.000 claims description 18
- 238000005520 cutting process Methods 0.000 claims description 15
- 238000010586 diagram Methods 0.000 description 17
- 230000015572 biosynthetic process Effects 0.000 description 8
- 238000003786 synthesis reaction Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 6
- 238000005070 sampling Methods 0.000 description 5
- 239000000654 additive Substances 0.000 description 3
- 230000000996 additive effect Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000011112 process operation Methods 0.000 description 1
Images
Landscapes
- Electrophonic Musical Instruments (AREA)
Description
この発明は、表示画面上に表示した楽音等のサンプリング波形データに対して、その波形データの一部をカット又はクリアする、あるいは別の波形データをペースト又はインサートするなどの編集操作を行うことにより、波形データを適宜に編集することが可能な波形編集プログラム及び波形編集装置に関する。 By performing an editing operation such as cutting or clearing a part of the waveform data or pasting or inserting another waveform data on the sampling waveform data such as a musical tone displayed on the display screen. The present invention relates to a waveform editing program and a waveform editing apparatus capable of appropriately editing waveform data.
従来から、楽音等のサンプリング波形データを表示画面上に表示し、これを表示画面上で編集することのできる波形編集装置又は波形編集プログラムが知られている。特に最近ではユーザが容易に波形データを編集することができるように、GUI(グラフィック・ユーザ・インタフェース)が採用されている。これについて簡単に説明すると、ユーザは表示画面上に表示された編集対象の波形データの任意の領域をポインタで指定し、所定の編集操作を行うだけで、この指定した領域をカット(削除)又はコピー(複写)することができる。また、カット又はコピーした当該領域部分の波形データなどをクリップボード等のバッファに一時記憶しておき、ユーザは表示画面上に表示された編集対象の波形データの任意の領域をポインタで指定し、所定の編集操作を行うだけで、バッファに一時記憶した波形データを編集対象の波形データの所望位置にペースト(貼り付け)又はインサート(挿入)することができるようになっている。 2. Description of the Related Art Conventionally, a waveform editing apparatus or a waveform editing program is known that can display sampling waveform data such as musical sounds on a display screen and edit it on the display screen. In particular, recently, a GUI (graphic user interface) has been adopted so that a user can easily edit waveform data. Briefly describing this, the user designates an arbitrary area of the waveform data to be edited displayed on the display screen with a pointer, and performs a predetermined editing operation to cut (delete) or delete the designated area. Can be copied. Further, the waveform data or the like of the area that has been cut or copied is temporarily stored in a buffer such as a clipboard, and the user designates an arbitrary area of the waveform data to be edited displayed on the display screen with a pointer, and The waveform data temporarily stored in the buffer can be pasted (inserted) or inserted (inserted) into a desired position of the waveform data to be edited simply by performing the editing operation.
ところで、指定された波形データの任意の領域をカットしたり、バッファに一時記憶された波形データをペーストしたりインサートしたりする単純な編集操作を行うだけでは、音楽的に音の分断されたつながりの悪い不連続な波形データに編集されてしまうことがある。そこで、従来の波形編集装置又は波形編集プログラムにおいては、カット、コピー、ペースト、インサート等の基本的な編集機能の他に、表示画面上に表示された波形データに関する各種の編集パラメータを設定するためのパラメータ設定機能が具えられている。ユーザはカット、コピー、ペースト、インサート等の所望の編集態様に応じた所定の編集操作を行う際に、前記パラメータ設定機能を用いて表示画面上に表示されている波形データに関する各種の編集パラメータを適宜に調整するあるいは編集条件を変更するなどの編集作業を行うことによって、音楽的につながりのよい連続した任意の波形データに編集することができるようになっている。
上述したように、音楽的につながりのよい連続した波形データに編集するためには、カット、コピー、ペースト、インサート等の編集態様に応じた所定の編集操作を行う度に、これとは別に編集パラメータの調整や編集条件の変更などの編集作業を必要に応じてユーザが適宜に行わなければならない。しかし、従来の波形編集装置又は波形編集プログラムにおいては、カット、コピー、ペースト、インサート等の編集態様や編集条件等に応じて、編集パラメータの調整や編集条件の変更などをユーザ自身がステップバイステップの手作業により行わなければならず、こうした編集作業を行わなければならないのは面倒であるだけでなく、特に音楽的知識の浅い初心者にとって編集パラメータを適切に設定することは非常に難しいことであった。 As described above, in order to edit continuous waveform data that is musically connected, every time a predetermined editing operation is performed according to the editing mode such as cut, copy, paste, insert, etc., editing is performed separately. Editing operations such as parameter adjustment and editing condition change must be performed by the user as needed. However, in the conventional waveform editing apparatus or waveform editing program, the user himself / herself makes step-by-step adjustments of editing parameters, changes of editing conditions, etc. according to editing modes and editing conditions such as cut, copy, paste, and insert. Not only is it cumbersome to do such editing work, but it is also very difficult to set editing parameters appropriately, especially for beginners with little musical knowledge. It was.
本発明は上述の点に鑑みてなされたもので、編集態様や編集条件等に応じて最も適切な編集結果が得られるように、自動的に編集パラメータを設定することによって、ユーザが複雑な編集作業を行わなくても音楽的に音の繋がりのよい波形データへと簡単に編集することのできるようにした波形編集プログラム及び波形編集装置を提供することを目的とする。 The present invention has been made in view of the above-mentioned points, and the user can perform complicated editing by automatically setting editing parameters so that the most appropriate editing result can be obtained according to the editing mode and editing conditions. It is an object of the present invention to provide a waveform editing program and a waveform editing apparatus which can be easily edited into waveform data having a good musical connection without performing work.
請求項1の本発明に係る波形編集プログラムは、コンピュータに、波形データを取得するステップと、ユーザ操作に従い、所望のカット対象範囲とその前後に隣接するクロスフェード領域の長さをそれぞれ可変設定するステップと、前記設定されたカット対象範囲に基づいて前記取得した波形データの全区間を、該カット対象範囲に先行する第1波形ブロック、カット対象範囲に該当する第2波形ブロック、該カット対象範囲に後続する第3波形ブロックからなる3つの波形ブロックに分割するステップと、前記第1及び第3波形ブロックの長さと前記設定されたクロスフェード領域の長さとを比較するステップと、前記比較に基づき、前記第1又は第3波形ブロックの長さが前記設定されたクロスフェード領域の長さよりも短い場合、該クロスフェード領域の長さを短い方の該第1又は第3ブロックの長さに適合するように自動的に調整し、該調整されたクロスフェード領域に従い前記第1及び第3波形ブロックを相互にクロスフェード接続し、1つの連続する波形データを新たに生成するステップと、前記比較に基づき、前記第1及び第3波形ブロックの長さが前記設定されたクロスフェード領域の長さよりも短くない場合、前記設定されたクロスフェード領域に従い前記第1及び第3波形ブロックを相互にクロスフェード接続し、1つの連続する波形データを新たに生成するステップとを実行させるものである。
The waveform editing program according to the present invention of
本発明によると、ユーザ操作に従い、所望のカット対象範囲とその前後に隣接するクロスフェード領域の長さをそれぞれ可変設定した場合、最も適切な編集結果が得られるように波形編集を自動的に実行する。すなわち、設定されたカット対象範囲に基づいて前記取得した波形データの全区間が、該カット対象範囲に先行する第1波形ブロック、カット対象範囲に該当する第2波形ブロック、該カット対象範囲に後続する第3波形ブロックからなる3つの波形ブロックに分割される。第1及び第3波形ブロックの長さと前記設定されたクロスフェード領域の長さとを比較し、この比較に基づき、第1又は第3波形ブロックの長さが設定されたクロスフェード領域の長さよりも短い場合、該クロスフェード領域の長さを短い方の該第1又は第3ブロックの長さに適合するように自動的に調整し、該調整されたクロスフェード領域に従い前記第1及び第3波形ブロックを相互にクロスフェード接続し、1つの連続する波形データを新たに生成する。一方、第1及び第3波形ブロックの長さが前記設定されたクロスフェード領域の長さよりも短くない場合、前記設定されたクロスフェード領域に従い前記第1及び第3波形ブロックを相互にクロスフェード接続し、1つの連続する波形データを新たに生成する。このようにして、ユーザが所望のカット対象範囲とその前後に隣接するクロスフェード領域の長さをそれぞれ可変設定すると、適切な波形編集(カット処理)を自動的に実行することから、ユーザは複雑な編集作業を行わなくても音楽的に音の繋がりのよい波形データへと簡単に編集を行うことができるようになる。
請求項3の本発明に係る波形編集プログラムは、コンピュータに、編集対象の第1波形データを取得するステップと、貼り付けるべき第2波形データを取得するステップと、ユーザ操作に従い、前記第1波形データにおいて所望のキャレット位置を指示するステップと、前記第1波形データにおける前記指示されたキャレット位置以後の区間の長さを示すテール長と前記第2波形データの長さとを比較するステップと、前記比較に基づき、前記テール長が前記第2波形データの長さよりも長い場合、前記第1波形データの全区間から、前記キャレット位置に先行する部分を含むと共にその後端以降の区間にフェードアウト領域を有する第1波形ブロックを取り出すと共に、前記キャレット位置よりも後の部分を含むと共にその前端以前の区間にフェードイン領域を有する第2波形ブロックを取り出し、前記第1波形ブロックと第2波形ブロックとの間に前記第2波形データを挿入して前記フェードアウト領域と前記フェードイン領域とでそれぞれクロスフェード接続することで、前記第1波形ブロックと前記第2波形データと前記第2波形ブロックとでなる1つの連続する波形データを新たに生成するステップと、前記比較に基づき、前記テール長が前記ペースト波形データの長さよりも短い場合、前記第1波形データの全区間から、前記キャレット位置に先行する部分を含むと共にその後端以降の区間にフェードアウト領域を有する第1波形ブロックを取り出し、該第1波形ブロックのフェードアウト領域に対して前記第2波形データの前端をクロスフェード接続することで、前記第1波形ブロックと前記第2波形データとでなる1つの連続する波形データを新たに生成するステップと、を実行させるものである。
これにより、キャレット位置を任意に指示することで、第2波形データの貼り付け開始位置を任意に設定することができ、その場合、指示されたキャレット位置以後の区間の長さを示すテール長と前記第2波形データの長さとを比較し、この比較に基づき、前記テール長が前記第2波形データの長さよりも長い場合、前記第1波形ブロックと第2波形ブロックとの間に前記第2波形データを挿入して、該第2波形データの前端と後端の両側でクロスフェード接続を行う一方、前記テール長が前記ペースト波形データの長さよりも短い場合は、該第1波形ブロックのフェードアウト領域に対して前記第2波形データの前端をクロスフェード接続する、という編集作業が自動的に行われる。従って、ユーザは複雑な編集作業を行わなくても音楽的に音の繋がりのよい波形データへと簡単に編集を行うことができるようになる。
請求項5の本発明に係る波形編集プログラムは、コンピュータに、編集対象の第1波形データを取得するステップと、貼り付けるべき第2波形データを取得するステップと、ユーザ操作に従い、前記第1波形データにおいて所望の編集対象範囲を指示するステップと、前記第1波形データにおける前記指示された編集対象範囲の長さと前記第2波形データの長さとを比較するステップと、前記比較に基づき、前記第2波形データの長さが前記編集対象範囲の長さに等しい場合、前記第1波形データの全区間から、前記編集対象範囲に先行する部分を含むと共にその後端以降の区間にフェードアウト領域を有する第1波形ブロックを取り出すと共に、前記編集対象範囲よりも後の部分を含むと共にその前端以前の区間にフェードイン領域を有する第2波形ブロックを取り出し、前記第1波形ブロックと第2波形ブロックとの間に前記第2波形データを挿入して前記フェードアウト領域と前記フェードイン領域とでそれぞれクロスフェード接続することで、前記第1波形ブロックと前記第2波形データと前記第2波形ブロックとでなる1つの連続する波形データを新たに生成するステップと、前記比較に基づき、前記第2波形データの長さが前記編集対象範囲の長さよりも小さい場合、前記指示された編集対象範囲を前記第2波形データの長さに等しい長さの範囲に変更し、該変更した編集対象範囲に先行する部分を含むと共にその後端以降の区間にフェードアウト領域を有する第1波形ブロックを取り出すと共に、前記変更した編集対象範囲よりも後の部分を含むと共にその前端以前の区間にフェードイン領域を有する第2波形ブロックを取り出し、前記第1波形ブロックと第2波形ブロックとの間に前記第2波形データを挿入して前記フェードアウト領域と前記フェードイン領域とでそれぞれクロスフェード接続することで、前記第1波形ブロックと前記第2波形データと前記第2波形ブロックとでなる1つの連続する波形データを新たに生成するステップと、前記比較に基づき、前記第2波形データの長さが前記編集対象範囲の長さよりも大きい場合、前記第2波形データから前記指示された編集対象範囲の長さに対応する部分を第3波形データとして取り出し、該指示された編集対象範囲に先行する部分を含むと共にその後端以降の区間にフェードアウト領域を有する第1波形ブロックを取り出すと共に、前記指示された編集対象範囲よりも後の部分を含むと共にその前端以前の区間にフェードイン領域を有する第2波形ブロックを取り出し、前記第1波形ブロックと第2波形ブロックとの間に前記第3波形データを挿入して前記フェードアウト領域と前記フェードイン領域とでそれぞれクロスフェード接続することで、前記第1波形ブロックと前記第3波形データと前記第2波形ブロックとでなる1つの連続する波形データを新たに生成するステップと、を実行させるものである。
これにより、第1波形データにおいて所望の編集対象範囲を任意に指示することで、該第1波形データに対する第2波形データの貼り付け範囲を任意に設定することができ、その場合、指示された編集対象範囲の長さと第2波形データの長さとを比較し、この比較に基づき、第2波形データの長さと編集対象範囲の長さとの大小関係に応じて、前記指示された編集対象範囲を前記第2波形データの長さに等しい長さの範囲に変更する、あるいは、第2波形データから前記指示された編集対象範囲の長さに対応する部分を第3波形データとして取り出す、などの編集作業が自動的に行われる。従って、ユーザは複雑な編集作業を行わなくても音楽的に音の繋がりのよい波形データへと簡単に編集を行うことができるようになる。
According to the present invention, when the desired cut target range and the length of the crossfade area adjacent to the front and back are variably set according to the user operation, the waveform editing is automatically executed so that the most appropriate editing result can be obtained. To do. That is, all sections of the acquired waveform data based on the set cut target range are the first waveform block preceding the cut target range, the second waveform block corresponding to the cut target range, and following the cut target range. The third waveform block is divided into three waveform blocks. The length of the first and third waveform blocks is compared with the length of the set crossfade region, and based on this comparison, the length of the first or third waveform block is set to be longer than the length of the set crossfade region. If shorter, the length of the crossfade area is automatically adjusted to match the length of the shorter first or third block, and the first and third waveforms are adjusted according to the adjusted crossfade area. The blocks are cross-fade to each other, and one continuous waveform data is newly generated. On the other hand, when the lengths of the first and third waveform blocks are not shorter than the length of the set crossfade region, the first and third waveform blocks are crossfade connected to each other according to the set crossfade region. Then, one continuous waveform data is newly generated. In this way, when the user variably sets the desired cut target range and the length of the crossfade area adjacent to the front and back of the range, appropriate waveform editing (cut processing) is automatically executed, and the user is complicated. Thus, it is possible to easily edit the waveform data having a good musical connection without performing a simple editing operation.
According to a third aspect of the present invention, there is provided a waveform editing program according to the present invention, wherein a first waveform data to be edited is acquired in a computer, a second waveform data to be pasted is acquired, and the first waveform according to a user operation. Indicating a desired caret position in the data, comparing a tail length indicating a length of a section after the indicated caret position in the first waveform data with a length of the second waveform data; based on the comparison, if the tail length is longer than the length of said second waveform data from said first waveform entire section of the data, a fade-out area at its rear subsequent sections together including a portion preceding the caret position is taken out of the first waveform block with its front end earlier sections together including a portion of the post than the caret position A second waveform block having a fade-in area is taken out, the second waveform data is inserted between the first waveform block and the second waveform block, and cross-fade connection is made in the fade-out area and the fade-in area, respectively. Thus, based on the comparison, a step of newly generating one continuous waveform data composed of the first waveform block, the second waveform data, and the second waveform block, the tail length is the paste waveform data. The first waveform block including a portion preceding the caret position and having a fade-out area in the section after the rear end thereof is extracted from all the sections of the first waveform data. By crossfading the front end of the second waveform data to the fadeout area of the A step of newly generating a single continuous waveform data formed by said first waveform block second waveform data, and for the execution.
Thus, by arbitrarily designating the caret position, it is possible to arbitrarily set the pasting start position of the second waveform data. In this case, the tail length indicating the length of the section after the designated caret position, The length of the second waveform data is compared, and based on this comparison, when the tail length is longer than the length of the second waveform data, the second waveform data is inserted between the first waveform block and the second waveform block. When waveform data is inserted and crossfading is performed on both the front and rear ends of the second waveform data, and the tail length is shorter than the paste waveform data length, the first waveform block fades out. The editing operation of cross-fading the front end of the second waveform data to the area is automatically performed. Therefore, the user can easily edit the waveform data having a good musical connection without performing complicated editing work.
According to a fifth aspect of the present invention, there is provided a waveform editing program according to the present invention, wherein a first waveform data to be edited is acquired in a computer, a second waveform data to be pasted is acquired, and a first operation is performed according to a user operation. Based on the comparison, the step of designating a desired edit target range in the data, the step of comparing the length of the designated edit target range in the first waveform data with the length of the second waveform data, If the length of the second waveform data is equal to the length of the editing target range, from the first waveform entire section of the data, with a fade-out area at its rear subsequent sections together including a portion which precedes the editing target range is taken out of the first waveform blocks, have a fade-in area at its front end a previous interval with including a portion later than the editing target range The second waveform block is taken out, the second waveform data is inserted between the first waveform block and the second waveform block, and crossfade connection is performed in the fade-out region and the fade-in region, respectively. A step of newly generating one continuous waveform data composed of one waveform block, the second waveform data, and the second waveform block; and based on the comparison, the length of the second waveform data is the range to be edited The editing target range is changed to a range having a length equal to the length of the second waveform data, and includes a portion preceding the changed editing target range and after the trailing end. section is taken out the first waveform block having a fade-out area of the front end previously with including a portion later than edited range mentioned above change Removed second waveform block having a fade-in area in the section, the first waveform block and said inserting said second waveform data fadeout region and the fade-in area and the cross-fade, respectively between the second waveform block By connecting, a step of newly generating one continuous waveform data composed of the first waveform block, the second waveform data, and the second waveform block, and based on the comparison, When the length is larger than the length of the editing target range, a portion corresponding to the length of the specified editing target range is extracted from the second waveform data as third waveform data, and the specified editing target range is included in the specified editing target range. A first waveform block including a preceding portion and having a fade-out area in a section after the rear end thereof is taken out and The second waveform block having a fade-in area at its front end a previous interval with including a portion later than edited range was taken out, the third waveform data between the first waveform block and the second waveform block One continuous waveform data composed of the first waveform block, the third waveform data, and the second waveform block is newly created by inserting and cross-fading the fade-out region and the fade-in region. And a generating step.
Thus, by arbitrarily designating a desired edit target range in the first waveform data, it is possible to arbitrarily set the pasting range of the second waveform data with respect to the first waveform data. The length of the edit target range is compared with the length of the second waveform data, and based on this comparison, the designated edit target range is determined according to the magnitude relationship between the length of the second waveform data and the length of the edit target range. Editing such as changing to a range having a length equal to the length of the second waveform data, or extracting a portion corresponding to the length of the designated editing target range from the second waveform data as third waveform data Work is done automatically. Therefore, the user can easily edit the waveform data having a good musical connection without performing complicated editing work.
本発明は、コンピュータまたはDSP等のプロセッサのプログラムの発明として構成し実施することができるのみならず、そのようなプログラムを記憶した記憶媒体の形態で実施することができる。また、本発明は、そのようなプログラムを用いて波形編集を実行する波形編集装置の発明として構成し実施することもできる。 The present invention can be implemented not only as an invention of a program of a processor such as a computer or a DSP, but also in the form of a storage medium storing such a program. The present invention can also be configured and implemented as an invention of a waveform editing apparatus that executes waveform editing using such a program.
この発明によれば、編集態様や編集条件に応じた適切な波形編集を自動的に実行することから、ユーザは面倒な編集作業を新たに行わなくても最も適切な編集結果を簡単に得ることができるようになる、という優れた効果を奏する。 According to the present invention, since the appropriate waveform editing according to the editing mode and editing conditions is automatically executed, the user can easily obtain the most appropriate editing result without newly performing troublesome editing work. There is an excellent effect that can be done.
以下、この発明の実施の形態を添付図面に従って詳細に説明する。 Embodiments of the present invention will be described below in detail with reference to the accompanying drawings.
図1は、この発明に係る波形編集プログラムを適用した波形編集装置の全体構成を示したハード構成ブロック図である。ここに示された波形編集装置のハードウエア構成例はコンピュータを用いて構成されているものであり、そこにおいて、当該波形編集装置における波形編集を行うためにGUI(グラフィック・ユーザ・インタフェース)を用いた制御処理、つまりディスプレイなどの表示部4上に表示された波形データに対する各種操作(カット操作、ペースト操作等)に応じて波形データを編集する制御処理は、コンピュータがGUIを実現する所定の制御プログラム(後述する図2又は図4〜図6参照)を実行することにより実施される。勿論、これらの制御処理はコンピュータソフトウエアの形態に限らず、DSP(ディジタル・シグナル・プロセッサ)によって処理されるマイクロプログラムの形態でも実施可能であり、また、この種のプログラムの形態に限らず、ディスクリート回路又は集積回路若しくは大規模集積回路等を含んで構成された専用ハードウエア装置の形態で実施してもよい。
FIG. 1 is a hardware configuration block diagram showing the overall configuration of a waveform editing apparatus to which a waveform editing program according to the present invention is applied. The hardware configuration example of the waveform editing apparatus shown here is configured using a computer, and a GUI (graphic user interface) is used for waveform editing in the waveform editing apparatus. Control processing for editing waveform data in accordance with various operations (cut operation, paste operation, etc.) on the waveform data displayed on the
本実施例に示す波形編集装置は、マイクロプロセッサユニット(CPU)1とメモリ2(ROMやRAMなど)とからなるマイクロコンピュータによって制御される。CPU1は、この波形編集装置全体の動作を制御するものである。このCPU1に対して、データ及びアドレスバス1Dを介してメモリ2、操作部3、表示部4、波形入出力インタフェース(I/F)5、その他入出力インタフェース(I/F)6、外部記憶装置7がそれぞれ接続されている。メモリ2はCPU1により実行される各種プログラムや各種データを格納したり、あるいはCPU1が所定のプログラムを実行する際に発生する各種データを一時的に記憶するワーキングメモリ、現在実行中のプログラムやそれに関連するデータを記憶するバッファメモリ等として使用される。メモリ2の所定のアドレス領域がそれぞれの機能に割り当てられ、レジスタやフラグ、テーブル、バッファメモリなどとして利用される。
The waveform editing apparatus shown in this embodiment is controlled by a microcomputer comprising a microprocessor unit (CPU) 1 and a memory 2 (ROM, RAM, etc.). The
操作部3は、GUI(グラフィック・ユーザ・インタフェース)として表示部4上に表示される波形データ(後述する図3、図7〜図10参照)等を操作したり、各種の編集パラメータ等を直接入力したりするために用いる操作子である。例えば、数値データ入力用のテンキーや文字データ入力用のキーボード、表示部4上に表示されるポインタやカーソルなどを操作するマウス等のポインティングデバイスなどである。操作子としてはこの他にも、所定のキーと同時操作されることにより所定の編集機能を実現する「コントロール(CTRL)キー」などの操作子を含む。表示部4は例えば液晶表示パネル(LCD)やCRT等から構成されるディスプレイであって、編集対象の波形データやバッファ領域(バッファメモリ)に記憶された波形データなどを所定の表示態様で表示することは勿論のこと、編集パラメータやCPU1の制御状態なども表示することができる。ユーザは、マウス等を用いて該表示部4に表示された波形データを操作して波形データを編集することができる。
The
波形入出力インタフェース5は波形入力部5a及び波形出力部5bとからなり、波形入力部5aは当該波形編集装置に接続された図示しない外部機器等から波形データを取得する。この波形入力部5aは、波形データがアナログ信号である場合にはディジタル信号(サンプリング波形データ)に変換後、ディジタル信号である場合にはディジタル信号のまま波形データを取得する。波形出力部5bは当該波形編集装置に接続された図示しない外部機器等へ波形データを供給するためのものであり、アナログ信号に変換してあるいはディジタル信号のまま外部機器等に波形データを出力する。その他の入出力インタフェース6は、例えばLANやインターネット、電話回線等の有線あるいは無線の通信ネットワークに接続されており、該通信ネットワークを介してサーバコンピュータ(図示せず)などと接続され、当該サーバコンピュータから制御プログラムあるいは波形データなどの各種データを当該波形編集装置側に取り込むためのインタフェースである。すなわち、メモリ2や外部記憶装置7等に制御プログラムや波形データ等が記憶されていない場合に、サーバコンピュータから制御プログラムや波形データ等をダウンロードするために用いられる。こうしたその他の入出力インタフェース6は、有線あるいは無線のものいずれかでなく双方を具えていてよい。外部記憶装置7は、CPU1が実行する各種制御プログラムや波形データなどを記憶する。勿論、この外部記憶装置はハードディスク(HD)に限られず、フレキシブルディスク(FD)、コンパクトディスク(CD‐ROM)、光磁気ディスク(MO)、あるいはDVD(Digital Versatile Disk)等の着脱自在な様々な形態の外部記憶媒体を利用する記憶装置であってもよい。
The waveform input /
なお、上述した波形編集装置は操作部3や表示部4あるいは外部記憶装置7などを1つの装置本体に内蔵したものに限らず、それぞれが別々に構成され、各種インタフェースや各種ネットワーク等の通信手段を用いて各装置を接続するように構成されたものであってもよいことは言うまでもない。さらに、本発明に係る波形編集プログラムを適用する装置としては上記したようなコンピュータに限らず、携帯型通信端末あるいはカラオケ装置やゲーム装置など、どのような形態の装置・機器に適用してもよい。
The above-described waveform editing device is not limited to one in which the
図1に示した波形編集装置においては、編集対象の波形データに基づき表示部4上に表示された波形(これを便宜的に表示波形とも呼ぶ)を操作して当該波形データを編集することができる。こうしたGUI(グラフィック・ユーザ・インタフェース)を用いて波形データを編集する制御処理は、図1に示したCPU1がユーザによる各操作に応じた所定の制御プログラムを実行することにより実施される。そこで、まずカット操作が行われた場合に実行する「カット処理」について、図2を用いて説明する。図2は、「カット処理」の一実施例を示したフローチャートである。以下、図2に示したフローチャートに従って、カット操作された場合の編集処理動作について説明する。
In the waveform editing apparatus shown in FIG. 1, the waveform data can be edited by operating the waveform (also referred to as a display waveform for convenience) displayed on the
まず、ステップS1では編集対象の波形データを読み込み、該読み込んだ波形データを表示部4に表示する。すなわち、外部記憶装置7に記憶された多数の波形データの中からユーザにより編集対象に指定された波形データを選択的に読み出し、該読み出した波形データに基づいて表示部4上に所定の表示形態(後述する図3参照)で波形を表示する。ステップS2では、各種の編集条件の設定を行う。設定する編集条件としては、例えば波形データのうちカット(削除)する範囲である編集対象範囲、一部の波形データがカットされることにより生ずる残りの編集対象範囲前後の波形データを互いに滑らかに接続するためのクロスフェード接続を行う範囲であるクロスフェード領域値などがある。こうした編集条件は、ユーザがマウス等のポインティングデバイスを用いて表示部4上を移動するポインタP(あるいはカーソル)を操作して表示波形の所望位置をクリックすることにより、あるいは操作部3の対応する操作子のいずれかを操作することによって設定することができる。すなわち、例えば表示波形の所望の2点をクリックすることで編集対象範囲を、表示波形の所望の2点間をドラッグ操作することでクロスフェード領域値を設定することができるし、あるいはテンキーやキーボード等を用いて直接的に数値を入力するなどによっても設定することができる。
First, in step S1, waveform data to be edited is read, and the read waveform data is displayed on the
ステップS3では、カット操作が行われたか否かを判定する。例えば、ユーザによりキーボード上の「コントロール(CTRL)キー」と「Xキー」とが同時に押下された場合などを、カット操作が行われたものと判定する。カット操作が行われていないと判定した場合には(ステップS3のNO)、カット操作が行われたわけでなく他の操作が行われた場合であることから当該カット処理を終了する。一方、カット操作が行われたと判定した場合には(ステップS3)、上記ステップS2において設定した編集対象範囲に該当する分の波形データをメモリ2のバッファ領域に記憶する(ステップS4)。そして、ステップS5では、ヘッド部のサイズ(ヘッド長)又はテール部のサイズ(テール長)が、上記ステップS2において設定したクロスフェード領域値よりも短いか否かを判定する。ここで、波形データの一部が編集対象範囲に指定されることに応じて波形データが編集対象範囲を境として分割され、そのうちの波形先端部から編集対象範囲までにあたる前部の波形データ(波形ブロック)をヘッド部と呼び、波形データのうち編集対象範囲から波形終端部までにあたる後部の波形データをテール部と呼ぶ(図3参照)。 In step S3, it is determined whether or not a cutting operation has been performed. For example, when the “control (CTRL) key” and the “X key” on the keyboard are simultaneously pressed by the user, it is determined that the cutting operation has been performed. If it is determined that the cutting operation has not been performed (NO in step S3), the cutting process is terminated because the cutting operation has not been performed and another operation has been performed. On the other hand, when it is determined that the cutting operation has been performed (step S3), the waveform data corresponding to the editing target range set in step S2 is stored in the buffer area of the memory 2 (step S4). In step S5, it is determined whether the size of the head portion (head length) or the size of the tail portion (tail length) is shorter than the crossfade region value set in step S2. Here, when a part of the waveform data is designated as the editing target range, the waveform data is divided at the editing target range, and the front waveform data (waveform) from the top of the waveform to the editing target range is divided. Block) is referred to as a head portion, and the waveform data at the rear of the waveform data from the editing target range to the waveform end portion is referred to as a tail portion (see FIG. 3).
こうしたヘッド部のサイズ又はテール部のサイズがクロスフェード領域値よりも小さい場合には(ステップS5のYES)、ヘッド部又はテール部のサイズのうち小さい方のサイズをクロスフェード代替え値に設定する(ステップS6)。ステップS7では、ヘッド部とテール部とを前記設定したクロスフェード代替え値に応じてクロスフェード接続して波形を加算合成する。ヘッド部のサイズ又はテール部のサイズがクロスフェード領域値よりも小さくない場合には(ステップS5のNO)、ヘッド部とテール部とを上記ステップS2で設定したクロスフェード領域値に応じてクロスフェード接続して波形を加算合成する(ステップS8)。こうすることにより、編集対象の波形データの一部を削除した連続的な波形データが生成される。なお、上記ヘッド部とテール部のように複数の波形を滑らかに接続するための技術であるクロスフェード接続については公知のどのような方法を用いてもよい。 When the size of the head portion or the tail portion is smaller than the crossfade region value (YES in step S5), the smaller one of the head or tail size is set as the crossfade substitute value ( Step S6). In step S7, the head portion and tail portion are cross-fade connected in accordance with the set cross-fade substitute value, and the waveforms are added and synthesized. When the size of the head part or the size of the tail part is not smaller than the crossfade area value (NO in step S5), the head part and the tail part are crossfade according to the crossfade area value set in step S2. Connect and combine the waveforms (step S8). By doing so, continuous waveform data in which a part of the waveform data to be edited is deleted is generated. It should be noted that any known method may be used for cross-fade connection, which is a technique for smoothly connecting a plurality of waveforms such as the head part and tail part.
ここで、上記カット処理について、図3を用いて具体的に説明する。図3に示す各図は、カット処理についての詳細を場合を分けて説明するための概念図である。図3Aはヘッド部のサイズ又はテール部のサイズがクロスフェード領域値よりも大きいか同等である場合を示した図であり、図3Bはヘッド部のサイズ又はテール部のサイズがクロスフェード領域値よりも小さい場合を示した図である。これらの各図において、上段の図は波形データに基づき表示部4上に表示されるGUI(グラフィック・ユーザ・インタフェース)としての機能を持つ表示波形の一例を示した図であり、中段の図はクロスフェード接続のために加工された波形データを示した図であり、下段の図は処理後に形成される最終的な波形データを示した図である。ただし、ここでは図示の便宜上、表示部4上に表示する波形データの表示形態として四角形の箱型形状で波形を表示した例を示したが、当該波形のエンベロープ形状が表れるように表示してよいことは言うまでもない。
Here, the cutting process will be specifically described with reference to FIG. Each figure shown in FIG. 3 is a conceptual diagram for explaining the details of the cutting process for each case. FIG. 3A is a diagram showing a case where the size of the head portion or the size of the tail portion is larger than or equal to the crossfade region value, and FIG. 3B is a diagram where the size of the head portion or the tail portion is larger than the crossfade region value. FIG. In each of these diagrams, the upper diagram shows an example of a display waveform having a function as a GUI (graphic user interface) displayed on the
波形データが読み込まれると、表示部4上に波形全体(あるいは波形の一部)が表示される。該表示された波形に対して所望の2点をクリックすることで編集対象範囲が、所望の2点間をドラッグ操作することでクロスフェード領域値が設定されることに伴い、図3Aの上段に示すように編集対象範囲とクロスフェード領域とがそれぞれ表示される。また、波形全体のうち編集対象範囲よりも前の波形をヘッド部として、編集対象範囲よりも後の波形をテール部として表示する。このヘッド部のサイズがヘッド長であり、テール部のサイズがテール長である。ヘッド長又はテール長がクロスフェード領域値よりも大きいか同等である場合には、図3Aの中段及び下段に示すように、編集対象範囲前後のヘッド部及びテール部をクロスフェード領域値分だけそれぞれフェードイン/フェードアウトしながら加算合成する。このようにして、編集対象の波形データの一部を削除した連続的な波形データが生成される。該カット処理において生成される最終的な波形データ全体のサイズは、編集前の波形データ全体のサイズから編集対象範囲とクロスフェード領域値とを減算したものとなる。
When the waveform data is read, the entire waveform (or part of the waveform) is displayed on the
図3Bの上段に示すように、ヘッド長又はテール長がクロスフェード領域値よりも小さい場合には(ここではヘッド長がクロスフェード領域値よりも小さい例を示した)、ヘッド長又はテール長のうち最も小さい長さを用いて加算合成する。すなわち、ヘッド長又はテール長のうち最も小さい長さをクロスフェード代替え値として、図3Bの中段及び下段に示すように、ヘッド部及びテール部をクロスフェード代替え値分だけそれぞれフェードイン/フェードアウトしながら加算合成する。ただし、この場合においてヘッド長又はテール長が存在しない場合には、クロスフェード接続の対象とする波形データとしてテール部又はヘッド部のいずれか1つしか存在しないことから、クロスフェード接続による加算合成を行わなくてよい。該カット処理において生成される最終的な波形データ全体のサイズは、編集前の波形データ全体のサイズから編集対象範囲とクロスフェード代替え値とを減算したものとなる。 As shown in the upper part of FIG. 3B, when the head length or tail length is smaller than the crossfade area value (here, an example in which the head length is smaller than the crossfade area value is shown), the head length or tail length is Addition synthesis is performed using the smallest length. That is, the smallest length of the head length or tail length is used as the crossfade substitute value, and the head portion and tail portion are faded in / fade out by the crossfade substitute value as shown in the middle and lower parts of FIG. 3B. Additive synthesis. However, in this case, if there is no head length or tail length, only one of the tail portion and the head portion exists as waveform data to be crossfade connected, so addition synthesis by crossfade connection is performed. You don't have to do it. The final size of the entire waveform data generated in the cutting process is obtained by subtracting the range to be edited and the cross-fade substitute value from the size of the entire waveform data before editing.
次に、ペースト操作が行われた場合に実行する「ペースト処理」について、図4〜図6を用いて説明する。図4は、「ペースト処理」の一実施例を示したフローチャートである。図5は、前記「ペースト処理」においてキャレット指定が行われた場合に実行する「キャレット処理」の一実施例を示したフローチャートである。図6は、前記「ペースト処理」においてエリア指定が行われた場合に実行する「エリア処理」の一実施例を示したフローチャートである。以下、これら図4〜図6に示した各フローチャートに従い、ペースト操作された場合の編集処理動作について説明する。 Next, “paste processing” executed when a paste operation is performed will be described with reference to FIGS. FIG. 4 is a flowchart showing an example of “paste processing”. FIG. 5 is a flowchart showing an example of “caret processing” executed when caret designation is performed in the “paste processing”. FIG. 6 is a flowchart showing an example of “area processing” executed when an area is designated in the “paste processing”. Hereinafter, the editing process operation when the paste operation is performed will be described according to the flowcharts shown in FIGS.
図4に示すように、「ペースト処理」においても、まず編集対象の波形データを読み込み、該読み込んだ波形データを表示部4に表示する(ステップS11)。そして、ペーストする波形データとして、メモリ2のバッファ領域に所望の波形データを記憶する(ステップS12)。この場合にバッファ領域に記憶する波形データとしては、読み込んだ編集対象の波形データの一部をコピーしたもの、外部記憶装置7等に予め用意された多数の波形データの中から任意に選択されたものなどがある。ステップS13では、各種の編集条件の設定を行う。編集条件については、既に上記「カット処理」で説明済みのものと同様である。ステップS14では、ペースト操作が行われたか否かを判定する。例えば、ユーザによりキーボード上の「コントロール(CTRL)キー」と「Vキー」とが同時に押下された場合などを、ペースト操作が行われたものと判定する。ペースト操作が行われていないと判定した場合には(ステップS14のNO)、ペースト操作が行われたわけでなく他の操作が行われた場合であることから当該ペースト処理を終了する。
As shown in FIG. 4, also in the “paste processing”, the waveform data to be edited is first read, and the read waveform data is displayed on the display unit 4 (step S11). Then, the desired waveform data is stored in the buffer area of the
一方、ペースト処理が行われたと判定した場合には(ステップS14のYES)、上記ステップS13において編集対象範囲を指定する方法として「キャレット指定」がなされていたか否かを判定する(ステップS15)。ここで、「キャレット指定」とは、マウスの1回のクリック操作によって、表示波形上の1点(波形データの1サンプリングポイントにあたる)を指定することにより編集対象範囲を指定する方法である。この「キャレット指定」とは異なる指定方法として「エリア指定」があり、該「エリア指定」とはマウスの2回のクリック操作によって、表示波形上の2点(2サンプリングポイント)以上に渡る範囲を一括指定することにより編集対象範囲を指定する方法である。上記した「キャレット指定」が行われたと判定した場合には(ステップS15のYES)、後述する図5に記載の「キャレット処理」を実行する(ステップS16)。他方、上記した「エリア指定」が行われたと判定した場合には(ステップS15のNO)、後述する図6に記載の「エリア処理」を実行する(ステップS17)。ステップS18では、前記各処理により加工済みの編集対象の波形データとペーストする波形データとをクロスフェード接続することにより加算合成する。こうすることにより、編集対象の波形データの一部がペーストした波形データに置き換えられた連続的な波形データを生成することができる。 On the other hand, if it is determined that the paste process has been performed (YES in step S14), it is determined whether or not “caret designation” has been performed as a method for designating the edit target range in step S13 (step S15). Here, “caret designation” is a method of designating a range to be edited by designating one point on the display waveform (corresponding to one sampling point of waveform data) by one click operation of the mouse. There is “area designation” as a designation method different from this “caret designation”, and this “area designation” means a range over two points (two sampling points) on the display waveform by two clicks of the mouse. This is a method for designating a range to be edited by batch designation. If it is determined that the “caret designation” described above has been performed (YES in step S15), “caret processing” described in FIG. 5 described later is executed (step S16). On the other hand, if it is determined that the “area designation” described above has been performed (NO in step S15), “area processing” shown in FIG. 6 described later is executed (step S17). In step S18, the waveform data to be edited that has been processed by the above processes and the waveform data to be pasted are added and synthesized by cross-fade connection. By doing so, it is possible to generate continuous waveform data in which part of the waveform data to be edited is replaced with pasted waveform data.
上述した「ペースト処理」時において、編集対象範囲を指定する方法として「キャレット指定」がなされていた場合には(図4のステップS16参照)、図5に示す「キャレット処理」を実行する。この図5に示すキャレット処理では、まず表示された波形データのうちキャレット指定された位置から後部の波形データであるテール部のサイズ(テール長)がバッファ領域に記憶された波形データのサイズ(バッファ波形長)よりも小さいか否かを判定する(ステップS21)。テール長がバッファ波形長よりも小さい場合には(ステップS21のYES)、表示された波形データのうちキャレット指定された位置から前部の波形データであるヘッド部の終端からクロスフェード領域分をフェードアウト化する(ステップS22)。また、バッファ波形の先頭部分からクロスフェード領域分をフェードイン化する(ステップS23)。一方、テール長がバッファ波形長よりも大きい場合には(ステップS21のNO)、編集対象波形のヘッド部の終端からクロスフェード領域分をフェードアウト化する(ステップS24)。また、バッファ波形の先頭部分からクロスフェード領域分をフェードイン化する(ステップS25)と共に、バッファ波形の末端部分からクロスフェード領域分をフェードアウト化する(ステップS26)。さらに、キャレット位置からバッファ波形長分の間隔を空けた位置以降を新たにテール部とし、該新たなテール部の先頭部分からクロスフェード領域分をフェードイン化する(ステップS27)。こうしたキャレット処理の詳細については、後述する図7により説明する。 When “caret designation” has been performed as a method for designating the editing target range in the “paste processing” described above (see step S16 in FIG. 4), the “caret processing” shown in FIG. 5 is executed. In the caret processing shown in FIG. 5, the size of the tail portion (tail length), which is the waveform data at the rear of the displayed waveform data from the position designated by the caret, is the size of the waveform data stored in the buffer area (buffer It is determined whether it is smaller than (waveform length) (step S21). If the tail length is smaller than the buffer waveform length (YES in step S21), the portion of the displayed waveform data fades out from the position designated by the caret to the crossfade area from the end of the head portion that is the waveform data in the front portion. (Step S22). Further, the cross fade area is faded in from the beginning of the buffer waveform (step S23). On the other hand, if the tail length is longer than the buffer waveform length (NO in step S21), the cross fade area is faded out from the end of the head portion of the waveform to be edited (step S24). In addition, the cross fade area is faded in from the beginning of the buffer waveform (step S25), and the cross fade area is faded out from the end of the buffer waveform (step S26). Further, the position after the position corresponding to the buffer waveform length from the caret position is newly set as the tail part, and the cross fade area is faded in from the head part of the new tail part (step S27). Details of the caret processing will be described with reference to FIG.
一方、上述した「ペースト処理」時において、編集対象範囲を指定する方法として「エリア指定」がなされていた場合には(図4のステップS17参照)、図6に示す「エリア処理」を実行する。この図6に示すエリア処理では、まずバッファ領域に記憶された波形データのサイズ(バッファ波形長)が編集対象範囲(編集範囲長)よりも大きいか否かを判定する(ステップS31)。バッファ波形長が編集範囲長よりも大きいと判定した場合には(ステップS31のYES)、オプション操作が行われていたか否かを判定する(ステップS42)。例えば、ユーザによりペースト操作が行われた際に、キーボード上の「コントロール(CTRL)キー」と「Vキー」とに加えて「シフト(SHIFT)キー」がさらに同時に押下されていた場合を、オプション操作が行われたものと判定する。オプション操作が行われていないと判定した場合には(ステップS42のNO)、ステップS32の処理へジャンプする。オプション操作が行われていたと判定した場合には(ステップS42のYES)、ヘッド部の終端からクロスフェード領域分をフェードアウト化する(ステップS43)。また、バッファ波形の終端から編集対象範囲分の間隔を空けた位置を先頭位置として、その先頭位置からクロスフェード領域分をフェードイン化する(ステップS44)と共に、バッファ波形の終端からクロスフェード領域分をフェードアウト化する(ステップS45)。さらに、テール部の先頭部分からクロスフェード領域分をフェードイン化する(ステップS46)。 On the other hand, in the above-described “paste processing”, if “area specification” has been made as a method for specifying the editing target range (see step S17 in FIG. 4), the “area processing” shown in FIG. 6 is executed. . In the area processing shown in FIG. 6, it is first determined whether or not the size of the waveform data (buffer waveform length) stored in the buffer area is larger than the editing target range (editing range length) (step S31). If it is determined that the buffer waveform length is longer than the edit range length (YES in step S31), it is determined whether an option operation has been performed (step S42). For example, when a paste operation is performed by the user, in addition to the “control (CTRL) key” and “V key” on the keyboard, the “SHIFT key” is pressed at the same time. It is determined that the operation has been performed. If it is determined that the option operation has not been performed (NO in step S42), the process jumps to the process in step S32. If it is determined that the option operation has been performed (YES in step S42), the cross fade area is faded out from the end of the head portion (step S43). Also, the position at the interval of the editing target range from the end of the buffer waveform is set as the start position, the cross fade area is faded in from the start position (step S44), and the cross fade area from the end of the buffer waveform is set. Is faded out (step S45). Further, the cross fade area is faded in from the head part of the tail part (step S46).
上記ステップS31においてバッファ波形長が編集範囲長よりも大きくないと判定した場合(ステップS31のNO)、あるいは上記ステップS42においてオプション操作が行われていないと判定した場合には(ステップS42のNO)、編集対象範囲が編集対象波形の先頭を含まないか否かを判定する(ステップS32)。編集対象範囲が編集対象波形の先頭を含まないと判定した場合には(ステップS32のYES)、ヘッド部の終端からクロスフェード領域分をフェードアウト化する(ステップS33)。また、バッファ波形の先頭部分からクロスフェード領域分をフェードイン化する(ステップS34)。一方、編集対象範囲が編集対象波形の先頭を含むと判定した場合には(ステップS32のYES)、編集対象波形の編集対象範囲分の位置までを波形先端とし(ステップS35)、該波形先端よりも前のヘッド部についてはクリア(無音化)する(ステップS36)。ステップS37では、編集対象範囲が編集対象波形の終端を含まないか否かを判定する。編集対象範囲が編集対象波形の終端を含まないと判定した場合には(ステップS37のYES)、バッファ波形の編集対象範囲分の位置までを終端とし、該終端からクロスフェード領域分をフェードアウト化する(ステップS38)。また、編集対象波形のテール部の先頭部分からクロスフェード領域分をフェードイン化する(ステップS39)。一方、編集対象範囲が編集対象波形の終端を含むと判定した場合には(ステップS37のNO)、バッファ波形の編集対象範囲分の位置までを波形終端とし(ステップS40)、該波形終端よりも後のテール部についてはクリア(無音化)する(ステップS41)。こうしたエリア処理の詳細については、後述する図7により説明する。 If it is determined in step S31 that the buffer waveform length is not greater than the edit range length (NO in step S31), or if it is determined in step S42 that no option operation has been performed (NO in step S42). Then, it is determined whether or not the edit target range does not include the head of the edit target waveform (step S32). If it is determined that the edit target range does not include the beginning of the edit target waveform (YES in step S32), the cross fade area is faded out from the end of the head portion (step S33). Further, the cross fade area is faded in from the beginning of the buffer waveform (step S34). On the other hand, when it is determined that the editing target range includes the head of the editing target waveform (YES in step S32), the waveform leading end is set to the position corresponding to the editing target range of the editing target waveform (step S35). The previous head is cleared (silenced) (step S36). In step S37, it is determined whether the edit target range does not include the end of the edit target waveform. If it is determined that the editing target range does not include the end of the editing target waveform (YES in step S37), the end of the buffer waveform is the position corresponding to the editing target range, and the cross fade area is faded out from the end. (Step S38). Further, the cross fade area is faded in from the head of the tail part of the waveform to be edited (step S39). On the other hand, if it is determined that the edit target range includes the end of the edit target waveform (NO in step S37), the waveform end is set to the position corresponding to the edit target range of the buffer waveform (step S40), and the end of the waveform is set. The rear tail portion is cleared (silenced) (step S41). Details of such area processing will be described with reference to FIG.
ここで、上記ペースト処理について図7を用いて具体的に説明する。図7に示す各図は、ペースト処理についての詳細を場合を分けて説明するための概念図である。ここでは、編集条件に応じて図7A〜図7Gまでに図を分けて説明する。この場合においても上記カット処理の場合と同様に、編集対象の波形データが読み込まれると表示部4上に波形全体(あるいは波形の一部)が表示される。
Here, the paste process will be specifically described with reference to FIG. Each figure shown in FIG. 7 is a conceptual diagram for explaining the details of the paste process for each case. Here, FIGS. 7A to 7G will be described separately according to editing conditions. Also in this case, as in the case of the cut process, when the waveform data to be edited is read, the entire waveform (or part of the waveform) is displayed on the
図7A又は図7Bの各上段に示すように、表示された表示波形に対して所望の1点をクリックすることでキャレット位置が、所望の2点間をドラッグ操作することでクロスフェード領域値が設定されることに伴い、表示部4上においてキャレット位置とクロスフェード領域がそれぞれ表示される。キャレット位置以降のテール部のサイズ(テール長)がバッファ波形のサイズ(バッファ波形長)よりも大きいか同等である場合には、図7Aの中段及び下段に示すように、テール部の先端からバッファ波形長分までを編集対象範囲として、その前後のヘッド部及びテール部とバッファ波形とをそれぞれクロスフェード領域値分だけフェードイン/フェードアウトしながら加算合成する。このようにして、編集対象の波形データの一部をバッファ波形に置き換えた連続的な波形データが生成される。この場合に生成される最終的な波形データ全体のサイズは、編集前の波形データ全体のサイズと変わらない。一方、テール長がバッファ波形長よりも小さい場合には、図7Bの中段及び下段に示すように、ヘッド部とバッファ波形とをそれぞれクロスフェード領域値分だけフェードイン/フェードアウトしながら加算合成する。この場合に生成される最終的な波形データ全体のサイズは、編集前の波形データ全体のサイズよりもバッファ波形長からテール長を減算した分だけ大きいサイズとなる。
7A or 7B, the caret position can be set by clicking one desired point on the displayed waveform, and the crossfade area value can be set by dragging between the two desired points. Along with the setting, the caret position and the cross-fade region are displayed on the
図7C〜図7Gの各図に示すように、該表示された波形に対して所望の2点をクリックした場合には、上記したようなキャレット位置ではなく編集対象範囲が表示される。該編集対象範囲が編集対象波形の先頭又は終端を含まず、且つバッファ波形長が編集対象範囲のサイズ(編集範囲長)と同等又は小さい場合には、図7C又は図7Dの中段及び下段に示すように、編集対象範囲の前後のヘッド部及びテール部とバッファ波形とをそれぞれクロスフェード領域値分だけフェードイン/フェードアウトしながら加算合成する。ただし、この場合には編集範囲長をバッファ波形長に変更すると共に、それにあわせてテール長も変更する。このようにして、編集対象の波形データの一部をバッファ波形に置き換えた連続的な波形データが生成される。この場合に生成される最終的な波形データ全体のサイズは、編集前の波形データ全体のサイズと変わらない。 As shown in FIGS. 7C to 7G, when two desired points are clicked on the displayed waveform, the edit target range is displayed instead of the caret position as described above. When the edit target range does not include the beginning or end of the edit target waveform and the buffer waveform length is equal to or smaller than the size of the edit target range (edit range length), the middle and lower stages of FIG. 7C or FIG. 7D are shown. As described above, the head and tail portions before and after the editing target range and the buffer waveform are added and synthesized while fading in / fade out by the amount of the crossfade area value. However, in this case, the edit range length is changed to the buffer waveform length, and the tail length is changed accordingly. In this way, continuous waveform data in which a part of the waveform data to be edited is replaced with the buffer waveform is generated. In this case, the final size of the entire waveform data generated is the same as the size of the entire waveform data before editing.
また、編集対象範囲が編集対象波形の先頭又は終端を含まず、且つバッファ波形長が編集対象範囲のサイズ(編集範囲長)よりも大きい場合には、図7Eの中段及び下段に示すように、編集対象範囲の前後のヘッド部及びテール部とバッファ波形とをそれぞれクロスフェード領域値分だけフェードイン/フェードアウトしながら加算合成する。ただし、この場合にはバッファ波形長を編集範囲長に変更する。そして、元のバッファ波形の先頭から編集範囲長分までの範囲を新たなバッファ波形として用いるか、元のバッファ波形の終端から編集範囲長分までの範囲を新たなバッファ波形として用いるかを、ペースト操作時におけるオプションキーの操作有無に応じて決定する。上記した「ペースト処理」においては「シフト(SHIFT)キー」をオプションキーとして用い、該「シフト(SHIFT)キー」が同時に操作されていない場合には元のバッファ波形の先頭から編集範囲長分までの範囲を新たなバッファ波形として用い、同時に操作されている場合には元のバッファ波形の終端から編集範囲長分までの範囲を新たなバッファ波形として用いる例を示した。 Further, when the editing target range does not include the beginning or end of the editing target waveform and the buffer waveform length is larger than the size of the editing target range (editing range length), as shown in the middle and lower parts of FIG. The head portion, tail portion, and buffer waveform before and after the editing target range are added and combined while fading in / fade out by the amount of the crossfade area value. In this case, however, the buffer waveform length is changed to the edit range length. Paste whether the range from the beginning of the original buffer waveform to the edit range length is used as a new buffer waveform or the range from the end of the original buffer waveform to the edit range length is used as a new buffer waveform It is determined according to whether or not the option key is operated during operation. In the “paste processing” described above, the “SHIFT key” is used as an option key, and when the “SHIFT key” is not operated at the same time, from the beginning of the original buffer waveform to the edit range length An example is shown in which the range from the end of the original buffer waveform to the edit range length is used as the new buffer waveform when these ranges are used as a new buffer waveform.
編集対象範囲が編集対象波形の先頭を含む場合には、図7Fの中段及び下段に示すように、テール部をクロスフェード領域値分だけフェードインさせ、バッファ波形についてはフェードアウトのみをさせながら加算合成する。この際に、編集対象波形の終端から編集対象範囲分の位置を波形先端とし、該波形先端よりも前についてはクリア(無音化)しておく。一方、編集対象範囲が編集対象波形の終端を含む場合には、図7Gの中段及び下段に示すように、ヘッド部をクロスフェード領域値分だけフェードアウトさせ、バッファ波形についてはフェードインのみをさせながら加算合成する。この際に、編集対象波形の先頭から編集対象範囲分の位置を波形終端とし、該波形終端よりも後についてはクリア(無音化)しておく。 When the editing target range includes the beginning of the editing target waveform, as shown in the middle and lower parts of FIG. 7F, the tail part is faded in by the value of the crossfade area, and the buffer waveform is added and synthesized while only fading out. To do. At this time, the position corresponding to the editing target range from the end of the editing target waveform is set as the leading end of the waveform, and the portion before the leading end of the waveform is cleared (silenced). On the other hand, when the editing target range includes the end of the editing target waveform, as shown in the middle and lower parts of FIG. 7G, the head part is faded out by the value of the crossfade area, and the buffer waveform is only faded in. Additive synthesis. At this time, the position corresponding to the edit target range from the beginning of the edit target waveform is set as the waveform end, and the portion after the end of the waveform is cleared (silenced).
表示部4上に表示された波形データへの編集態様としては、カットやペースト以外にも、インサート、ミキシング、クリアなどがある。「インサート」とは、編集対象の波形データの所望位置にバッファ波形を挿入する編集態様である。「ミキシング」とは、編集対象の波形データの所望位置にバッファ波形を重ね合わせ波形のミキシングを行う編集態様である。「クリア」とは、編集対象の波形データの一部の振幅レベルをゼロにすることで当該部分を無音化する編集態様である。そこで、これらインサート、ミキシング、クリアといった編集態様に応じた編集操作が行われた場合の処理概要について、図8〜図10を用いてそれぞれ簡単に説明する。
Examples of the editing mode for the waveform data displayed on the
図8は、インサート処理についての詳細を場合を分けて説明するための概念図である。インサート処理においてキャレット指定が行われた場合、図8Aに示すように、ヘッド部とテール部との間にバッファ波形を挿入し、これらのヘッド部とテール部とバッファ波形とをそれぞれクロスフェード領域値分だけフェードイン/フェードアウトしながら加算合成する。インサート処理においてエリア指定が行われた場合に、編集対象範囲が編集対象波形の先頭又は終端を含まない場合には、図8B又は図8Cに示すように、通常操作によるエリア指定においてはヘッド部と編集対象範囲との間にバッファ波形を挿入し、オプション操作によるキャレット指定においては編集対象範囲とテール部との間にバッファ波形を挿入し、これらのヘッド部とテール部とバッファ波形とをそれぞれクロスフェード領域値分だけフェードイン/フェードアウトしながら加算合成する。 FIG. 8 is a conceptual diagram for explaining the details of the insert process for each case. When caret designation is performed in the insert process, as shown in FIG. 8A, a buffer waveform is inserted between the head portion and the tail portion, and the cross-fade region values are respectively set for these head portion, tail portion, and buffer waveform. Add and synthesize while fading in / out. When the area is specified in the insert process and the editing target range does not include the beginning or end of the editing target waveform, as shown in FIG. 8B or FIG. A buffer waveform is inserted between the editing target range, and when specifying caret by optional operation, a buffer waveform is inserted between the editing target range and the tail part, and the head part, tail part, and buffer waveform are crossed respectively. Addition synthesis is performed while fading in / out the fade area value.
インサート処理において編集対象範囲が編集対象波形の先頭を含む場合には、図8Dに示すように、テール部の先端にバッファ波形を挿入して、テール部とバッファ波形とをそれぞれクロスフェード領域値分だけフェードイン/フェードアウトしながら加算合成する。インサート処理において編集対象範囲が編集対象波形の終端を含む場合には、図8Eに示すように、テール部の後端にバッファ波形を挿入して、テール部とバッファ波形とをそれぞれクロスフェード領域値分だけフェードイン/フェードアウトしながら加算合成する。
以上のようなインサート処理の場合に生成される最終的な波形データ全体のサイズは、編集前の波形データのサイズに比べて、クロスフェード領域分を除いたバッファ波形分だけ大きくなる。
When the editing target range includes the beginning of the editing target waveform in the insert processing, as shown in FIG. 8D, a buffer waveform is inserted at the tip of the tail part, and the tail part and the buffer waveform are respectively divided by the crossfade area value. Only add and synthesize while fading in / out. When the editing target range includes the end of the editing target waveform in the insert processing, as shown in FIG. 8E, a buffer waveform is inserted at the rear end of the tail part, and the tail part and the buffer waveform are respectively set to the crossfade region values. Add and synthesize while fading in / out.
The overall size of the final waveform data generated in the case of the insert processing as described above is larger by the buffer waveform excluding the crossfade region than the size of the waveform data before editing.
図9は、ミキシング処理についての詳細を場合を分けて説明するための概念図である。ミキシング処理においてキャレット指定が行われた場合、図9A及び図9Bに示すように、当該キャレット位置にバッファ波形を重ね合わせ、バッファ波形をクロスフェード領域値分だけフェードイン/フェードアウトしながら元の波形データにミキシングする。ミキシング処理においてエリア指定が行われた場合に、編集対象範囲が編集対象波形の先頭又は終端を含まず、且つバッファ波形長が編集対象範囲のサイズ(編集範囲長)と同等又は小さい場合には、図9C又は図9Dに示すように、編集対象範囲の前後のヘッド部及びテール部とバッファ波形とをそれぞれクロスフェード領域値分だけフェードイン/フェードアウトしながらミキシングする。 FIG. 9 is a conceptual diagram for explaining the details of the mixing process for each case. When caret designation is performed in the mixing process, as shown in FIGS. 9A and 9B, the original waveform data is superimposed while the buffer waveform is superimposed on the caret position, and the buffer waveform is faded in / out by the crossfade area value. To mix. When the area is specified in the mixing process, if the editing target range does not include the beginning or end of the editing target waveform and the buffer waveform length is equal to or smaller than the size of the editing target range (editing range length), As shown in FIG. 9C or 9D, the head and tail portions before and after the edit target range and the buffer waveform are mixed while fading in / fade out by the amount of the crossfade region value.
ミキシング処理においてエリア指定が行われた場合に、編集対象範囲が編集対象波形の先頭又は終端を含まず、且つバッファ波形長が編集対象範囲のサイズ(編集範囲長)よりも大きい場合には、図9Eに示すように、編集対象範囲の前後のヘッド部及びテール部とバッファ波形とをそれぞれクロスフェード領域値分だけフェードイン/フェードアウトしながらミキシングする。ただし、通常操作の場合に元のバッファ波形の先頭から編集範囲長分までの範囲に、オプション操作の場合には元のバッファ波形の終端から編集範囲長分までの範囲に、それぞれバッファ波形のサイズを変更する。編集対象範囲が編集対象波形の先頭を含む場合には、図9Fに示すように、バッファ波形をフェードアウトさせながらミキシングする。一方、編集対象範囲が編集対象波形の終端を含む場合には、図9Gに示すように、バッファ波形をフェードインさせながらミキシングする。
以上のようなミキシング処理の場合に生成される最終的な波形データ全体のサイズは、一般的には編集前の波形データのサイズと同じである。ただし、図9Bに示すような場合には、編集前の波形データよりも大きくなる。
When the area is specified in the mixing process, the editing target range does not include the beginning or end of the editing target waveform, and the buffer waveform length is larger than the size of the editing target range (editing range length). As shown in 9E, the head and tail portions before and after the editing target range and the buffer waveform are mixed while fading in and out by the amount of the crossfade region value. However, the buffer waveform size is the range from the beginning of the original buffer waveform to the edit range length in normal operation, and the range from the end of the original buffer waveform to the edit range length in optional operation. To change. When the editing target range includes the beginning of the editing target waveform, as shown in FIG. 9F, mixing is performed while fading out the buffer waveform. On the other hand, when the edit target range includes the end of the edit target waveform, as shown in FIG. 9G, mixing is performed while fading in the buffer waveform.
The overall size of the final waveform data generated in the case of the mixing process as described above is generally the same as the size of the waveform data before editing. However, in the case shown in FIG. 9B, the waveform data is larger than that before editing.
図10は、クリア処理についての詳細を場合を分けて説明するための概念図である。クリア処理の場合にはクリアする範囲を位置指定により決めなければならないことから、キャレット指定ではなくエリア指定を行う必要がある。クリア処理において編集対象範囲が編集対象波形の先頭又は終端を含まない場合には、図10Aに示すように、編集対象範囲を例えば振幅レベルをゼロにするなどのクリアを行い無音化した上で、ヘッド部をクロスフェード領域値分だけフェードアウト、且つテール部をクロスフェード領域値分だけフェードインして加算合成する。クリア処理において編集対象範囲が編集対象波形の先頭又は終端を含む場合には、図10B又は図10Cに示すように、編集対象範囲をクリアした上で、ヘッド部のみをクロスフェード領域値分だけフェードアウト、又はテール部のみをクロスフェード領域値分だけフェードインして加算合成する。 FIG. 10 is a conceptual diagram for explaining the details of the clear process for each case. In the case of clear processing, since the range to be cleared must be determined by position designation, it is necessary to perform area designation instead of caret designation. When the edit target range does not include the beginning or end of the edit target waveform in the clear process, as shown in FIG. 10A, after clearing the edit target range, for example, by setting the amplitude level to zero, The head part fades out by the crossfade area value, and the tail part fades in by the crossfade area value, and the addition synthesis is performed. When the edit target range includes the beginning or end of the edit target waveform in the clear process, as shown in FIG. 10B or 10C, after the edit target range is cleared, only the head portion fades out by the crossfade area value. Alternatively, only the tail portion is faded in by the value of the crossfade region value, and addition synthesis is performed.
なお、上述した「カット処理」における編集対象範囲の指定方法としては「エリア指定」に限らず、「キャレット指定」であってもよいことは言うまでもない。「キャレット指定」の場合には、例えばマウスの1回のクリック操作によって指定した表示波形上の1点から予め決められた所定の範囲内までを編集対象範囲とするとよい。
なお、上記したカット、ペースト、インサート、ミキシング、クリアなどの編集態様は一例であり、これら以外の編集態様があってよいことは言うまでもない。また、各編集態様に応じた編集操作についても上記したものに限らない。さらに、こうした編集態様の設定方法として、キーボード上の「コントロール(CTRL)キー」と所定の文字キーとの組み合わせにより設定する方法を示したがこれに限らず、各編集態様に応じて「カットスイッチ」、「ペーストスイッチ」、「インサートスイッチ」、「ミキシングスイッチ」、「クリアスイッチ」などの専用の操作子の操作に応じて編集態様を設定できるようにしてもよい。
Needless to say, the method for specifying the editing target range in the above-described “cut processing” is not limited to “area specification”, but may be “caret specification”. In the case of “caret designation”, for example, a range from one point on the display waveform designated by one click operation of the mouse to a predetermined range determined in advance may be set as the editing target range.
Note that the editing modes such as cut, paste, insert, mixing, and clear described above are examples, and it goes without saying that there may be other editing modes. Further, the editing operation corresponding to each editing mode is not limited to the above. Furthermore, as a method of setting such an editing mode, a method of setting by a combination of a “control (CTRL) key” on the keyboard and a predetermined character key has been shown, but the present invention is not limited to this. "," Paste switch "," insert switch "," mixing switch "," clear switch ", etc., the editing mode may be set according to the operation of a dedicated operator.
1…CPU、2…メモリ、3…操作部、4…表示部、5…波形入出力インタフェース、5a…波形入力部、5b…波形出力部、6…その他インタフェース、7…外部記憶装置、1D…通信バス
DESCRIPTION OF
Claims (6)
波形データを取得するステップと、
ユーザ操作に従い、所望のカット対象範囲とその前後に隣接するクロスフェード領域の長さをそれぞれ可変設定するステップと、
前記設定されたカット対象範囲に基づいて前記取得した波形データの全区間を、該カット対象範囲に先行する第1波形ブロック、カット対象範囲に該当する第2波形ブロック、該カット対象範囲に後続する第3波形ブロックからなる3つの波形ブロックに分割するステップと、
前記第1及び第3波形ブロックの長さと前記設定されたクロスフェード領域の長さとを比較するステップと、
前記比較に基づき、前記第1又は第3波形ブロックの長さが前記設定されたクロスフェード領域の長さよりも短い場合、該クロスフェード領域の長さを短い方の該第1又は第3ブロックの長さに適合するように自動的に調整し、該調整されたクロスフェード領域に従い前記第1及び第3波形ブロックを相互にクロスフェード接続し、1つの連続する波形データを新たに生成するステップと、
前記比較に基づき、前記第1及び第3波形ブロックの長さが前記設定されたクロスフェード領域の長さよりも短くない場合、前記設定されたクロスフェード領域に従い前記第1及び第3波形ブロックを相互にクロスフェード接続し、1つの連続する波形データを新たに生成するステップと
を実行させるための波形編集プログラム。 On the computer,
Acquiring waveform data; and
In accordance with a user operation, a step of variably setting a desired cut target range and the length of the crossfade region adjacent to the front and back of the range ,
Subsequent all the region of the waveform data the acquired based on the cut target range the set, the first waveform block preceding the cut target range, the second waveform block corresponding to the cut target range, to the cut target range Dividing into three waveform blocks comprising a third waveform block;
Comparing the length of the first and third waveform blocks with the length of the set crossfade region;
Based on the comparison, when the length of the first or third waveform block is shorter than the length of the set crossfade region, the length of the crossfade region is set to be shorter than that of the first or third block. Automatically adjusting to fit the length, crossfading the first and third waveform blocks to each other according to the adjusted crossfade region, and newly generating one continuous waveform data; ,
Based on the comparison, if the lengths of the first and third waveform blocks are not shorter than the length of the set crossfade region, the first and third waveform blocks are connected to each other according to the set crossfade region. Cross-fade to each other and newly generating one continuous waveform data;
Waveform editing program for running .
ユーザ操作に従い、所望のカット対象範囲とその前後に隣接するクロスフェード領域の長さをそれぞれ可変設定する手段と、
前記設定されたカット対象範囲に基づいて前記取得した波形データの全区間を、該カット対象範囲に先行する第1波形ブロック、カット対象範囲に該当する第2波形ブロック、該カット対象範囲に後続する第3波形ブロックからなる3つの波形ブロックに分割する手段と、
前記第1及び第3波形ブロックの長さと前記設定されたクロスフェード領域の長さとを比較する手段と、
前記比較に基づき、前記第1又は第3波形ブロックの長さが前記設定されたクロスフェード領域の長さよりも短い場合、該クロスフェード領域の長さを短い方の該第1又は第3ブロックの長さに適合するように自動的に調整し、該調整されたクロスフェード領域に従い前記第1及び第3波形ブロックを相互にクロスフェード接続し、1つの連続する波形データを新たに生成する手段と、
前記比較に基づき、前記第1及び第3波形ブロックの長さが前記設定されたクロスフェード領域の長さよりも短くない場合、前記設定されたクロスフェード領域に従い前記第1及び第3波形ブロックを相互にクロスフェード接続し、1つの連続する波形データを新たに生成する手段と
を具える波形編集装置。 Means for acquiring waveform data;
In accordance with a user operation, means for variably setting a desired cut target range and the length of the crossfade area adjacent to the front and back thereof ,
Subsequent full segment of the waveform data the acquired based on the cutting target range the set, the first waveform block preceding the cut target range, the second waveform block corresponding to the cut target range, to the cut target range Means for dividing into three waveform blocks comprising a third waveform block;
Means for comparing the length of the first and third waveform blocks with the length of the set crossfade region;
Based on the comparison, when the length of the first or third waveform block is shorter than the length of the set crossfade region, the length of the crossfade region is set to be shorter than that of the first or third block. Means for automatically adjusting to fit the length , cross-fading the first and third waveform blocks to each other according to the adjusted cross-fade region, and newly generating one continuous waveform data; ,
Based on the comparison, if the lengths of the first and third waveform blocks are not shorter than the length of the set crossfade region, the first and third waveform blocks are connected to each other according to the set crossfade region. A waveform editing apparatus comprising: means for cross-fading to each other and newly generating one continuous waveform data .
編集対象の第1波形データを取得するステップと、
貼り付けるべき第2波形データを取得するステップと、
ユーザ操作に従い、前記第1波形データにおいて所望のキャレット位置を指示するステップと、
前記第1波形データにおける前記指示されたキャレット位置以後の区間の長さを示すテール長と前記第2波形データの長さとを比較するステップと、
前記比較に基づき、前記テール長が前記第2波形データの長さよりも長い場合、前記第1波形データの全区間から、前記キャレット位置に先行する部分を含むと共にその後端以降の区間にフェードアウト領域を有する第1波形ブロックを取り出すと共に、前記キャレット位置よりも後の部分を含むと共にその前端以前の区間にフェードイン領域を有する第2波形ブロックを取り出し、前記第1波形ブロックと第2波形ブロックとの間に前記第2波形データを挿入して前記フェードアウト領域と前記フェードイン領域とでそれぞれクロスフェード接続することで、前記第1波形ブロックと前記第2波形データと前記第2波形ブロックとでなる1つの連続する波形データを新たに生成するステップと、
前記比較に基づき、前記テール長が前記ペースト波形データの長さよりも短い場合、前記第1波形データの全区間から、前記キャレット位置に先行する部分を含むと共にその後端以降の区間にフェードアウト領域を有する第1波形ブロックを取り出し、該第1波形ブロックのフェードアウト領域に対して前記第2波形データの前端をクロスフェード接続することで、前記第1波形ブロックと前記第2波形データとでなる1つの連続する波形データを新たに生成するステップと、
を実行させるための波形編集プログラム。 On the computer,
Obtaining first waveform data to be edited;
Obtaining second waveform data to be pasted;
Instructing a desired caret position in the first waveform data according to a user operation;
Comparing the tail length indicating the length of the section after the indicated caret position in the first waveform data with the length of the second waveform data;
Based on the comparison, if the tail length is longer than the length of said second waveform data, from said first waveform entire section of the data, fade-out area at its rear subsequent sections together including a portion preceding the caret position is taken out of the first waveform block having said removed second waveform block having a fade-in area at its front end a previous interval with including a portion later than caret position, said first waveform block and the second waveform block The second waveform data is inserted in between and the fade-out area and the fade-in area are cross-fade connected to each other, thereby forming the first waveform block, the second waveform data, and the second waveform block. A step of newly generating one continuous waveform data;
Based on the comparison, if the tail length is shorter than the length of the paste waveform data from said first waveform entire section of the data, a fade-out area at its rear subsequent sections together including a portion preceding the caret position The first waveform block is taken out, and the front end of the second waveform data is cross-fade connected to the fade-out area of the first waveform block, so that one of the first waveform block and the second waveform data is Newly generating continuous waveform data; and
Waveform editing program for running.
貼り付けるべき第2波形データを取得する手段と、
ユーザ操作に従い、前記第1波形データにおいて所望のキャレット位置を指示する手段と、
前記第1波形データにおける前記指示されたキャレット位置以後の区間の長さを示すテール長と前記第2波形データの長さとを比較する手段と、
前記比較に基づき、前記テール長が前記第2波形データの長さよりも長い場合、前記第1波形データの全区間から、前記キャレット位置に先行する部分を含むと共にその後端以降の区間にフェードアウト領域を有する第1波形ブロックを取り出すと共に、前記キャレット位置よりも後の部分を含むと共にその前端以前の区間にフェードイン領域を有する第2波形ブロックを取り出し、前記第1波形ブロックと第2波形ブロックとの間に前記第2波形データを挿入して前記フェードアウト領域と前記フェードイン領域とでそれぞれクロスフェード接続することで、前記第1波形ブロックと前記第2波形データと前記第2波形ブロックとでなる1つの連続する波形データを新たに生成する手段と、
前記比較に基づき、前記テール長が前記ペースト波形データの長さよりも短い場合、前記第1波形データの全区間から、前記キャレット位置に先行する部分を含むと共にその後端以降の区間にフェードアウト領域を有する第1波形ブロックを取り出し、該第1波形ブロックのフェードアウト領域に対して前記第2波形データの前端をクロスフェード接続することで、前記第1波形ブロックと前記第2波形データとでなる1つの連続する波形データを新たに生成する手段と、
を具備する波形編集装置。 Means for acquiring first waveform data to be edited;
Means for acquiring second waveform data to be pasted;
Means for instructing a desired caret position in the first waveform data according to a user operation;
Means for comparing a tail length indicating a length of a section after the designated caret position in the first waveform data with a length of the second waveform data;
Based on the comparison, if the tail length is longer than the length of said second waveform data, from said first waveform entire section of the data, fade-out area at its rear subsequent sections together including a portion preceding the caret position is taken out of the first waveform block having said removed second waveform block having a fade-in area at its front end a previous interval with including a portion later than caret position, said first waveform block and the second waveform block The second waveform data is inserted in between and the fade-out area and the fade-in area are cross-fade connected to each other, thereby forming the first waveform block, the second waveform data, and the second waveform block. Means for newly generating one continuous waveform data;
Based on the comparison, if the tail length is shorter than the length of the paste waveform data from said first waveform entire section of the data, a fade-out area at its rear subsequent sections together including a portion preceding the caret position The first waveform block is taken out, and the front end of the second waveform data is cross-fade connected to the fade-out area of the first waveform block, so that one of the first waveform block and the second waveform data is Means for newly generating continuous waveform data;
A waveform editing apparatus comprising:
編集対象の第1波形データを取得するステップと、
貼り付けるべき第2波形データを取得するステップと、
ユーザ操作に従い、前記第1波形データにおいて所望の編集対象範囲を指示するステップと、
前記第1波形データにおける前記指示された編集対象範囲の長さと前記第2波形データの長さとを比較するステップと、
前記比較に基づき、前記第2波形データの長さが前記編集対象範囲の長さに等しい場合、前記第1波形データの全区間から、前記編集対象範囲に先行する部分を含むと共にその後端以降の区間にフェードアウト領域を有する第1波形ブロックを取り出すと共に、前記編集対象範囲よりも後の部分を含むと共にその前端以前の区間にフェードイン領域を有する第2波形ブロックを取り出し、前記第1波形ブロックと第2波形ブロックとの間に前記第2波形データを挿入して前記フェードアウト領域と前記フェードイン領域とでそれぞれクロスフェード接続することで、前記第1波形ブロックと前記第2波形データと前記第2波形ブロックとでなる1つの連続する波形データを新たに生成するステップと、
前記比較に基づき、前記第2波形データの長さが前記編集対象範囲の長さよりも小さい場合、前記指示された編集対象範囲を前記第2波形データの長さに等しい長さの範囲に変更し、該変更した編集対象範囲に先行する部分を含むと共にその後端以降の区間にフェードアウト領域を有する第1波形ブロックを取り出すと共に、前記変更した編集対象範囲よりも後の部分を含むと共にその前端以前の区間にフェードイン領域を有する第2波形ブロックを取り出し、前記第1波形ブロックと第2波形ブロックとの間に前記第2波形データを挿入して前記フェードアウト領域と前記フェードイン領域とでそれぞれクロスフェード接続することで、前記第1波形ブロックと前記第2波形データと前記第2波形ブロックとでなる1つの連続する波形データを新たに生成するステップと、
前記比較に基づき、前記第2波形データの長さが前記編集対象範囲の長さよりも大きい場合、前記第2波形データから前記指示された編集対象範囲の長さに対応する部分を第3波形データとして取り出し、該指示された編集対象範囲に先行する部分を含むと共にその後端以降の区間にフェードアウト領域を有する第1波形ブロックを取り出すと共に、前記指示された編集対象範囲よりも後の部分を含むと共にその前端以前の区間にフェードイン領域を有する第2波形ブロックを取り出し、前記第1波形ブロックと第2波形ブロックとの間に前記第3波形データを挿入して前記フェードアウト領域と前記フェードイン領域とでそれぞれクロスフェード接続することで、前記第1波形ブロックと前記第3波形データと前記第2波形ブロックとでなる1つの連続する波形データを新たに生成するステップと、
を実行させるための波形編集プログラム。 On the computer,
Obtaining first waveform data to be edited;
Obtaining second waveform data to be pasted;
Instructing a desired edit target range in the first waveform data according to a user operation;
Comparing the length of the designated editing target range in the first waveform data with the length of the second waveform data;
Based on the comparison, if the length of the second waveform data is equal to the length of the editing target range, from the first waveform entire section of data, the rear end after together includes a portion which precedes the editing target range A first waveform block having a fade-out area in a section of the first waveform block, a second waveform block including a portion after the edit target range and having a fade-in area in the section before the front end thereof , and the first waveform block The second waveform data is inserted between the first waveform block, the second waveform data, and the second waveform data, and the fade-out region and the fade-in region are respectively crossfade-connected. Newly generating one continuous waveform data consisting of two waveform blocks;
Based on the comparison, when the length of the second waveform data is smaller than the length of the editing target range, the designated editing target range is changed to a range having a length equal to the length of the second waveform data. , it is taken out of the first waveform block having a fade-out area at its rear subsequent sections together including a portion preceding the edited ranges the change, the front end previously with including a portion later than edited range mentioned above change The second waveform block having a fade-in area in the interval is taken out, the second waveform data is inserted between the first waveform block and the second waveform block, and the fade-out area and the fade-in area cross each other. By making a fade connection, one continuous waveform data consisting of the first waveform block, the second waveform data, and the second waveform block is obtained. The method comprising the steps of: generating a new,
Based on the comparison, when the length of the second waveform data is larger than the length of the editing target range, a portion corresponding to the length of the instructed editing target range is determined from the second waveform data as the third waveform data. as taken out, the taken out first waveform block having a fade-out area at its rear subsequent sections together including a portion preceding the edited range indicated finger includes a portion later than the indicated edit range removed second waveform block having a fade-in area at its front end a previous interval with the said fade-out area and the fade-in area by inserting the third waveform data between a first waveform block and the second waveform block And the crossfade connection, the first waveform block, the third waveform data, and the second waveform block A step of generating a new one continuous waveform data,
Waveform editing program for running.
貼り付けるべき第2波形データを取得する手段と、
ユーザ操作に従い、前記第1波形データにおいて所望の編集対象範囲を指示する手段と、
前記第1波形データにおける前記指示された編集対象範囲の長さと前記第2波形データの長さとを比較する手段と、
前記比較に基づき、前記第2波形データの長さが前記編集対象範囲の長さに等しい場合、前記第1波形データの全区間から、前記編集対象範囲に先行する部分を含むと共にその後端以降の区間にフェードアウト領域を有する第1波形ブロックを取り出すと共に、前記編集対象範囲よりも後の部分を含むと共にその前端以前の区間にフェードイン領域を有する第2波形ブロックを取り出し、前記第1波形ブロックと第2波形ブロックとの間に前記第2波形データを挿入して前記フェードアウト領域と前記フェードイン領域とでそれぞれクロスフェード接続することで、前記第1波形ブロックと前記第2波形データと前記第2波形ブロックとでなる1つの連続する波形データを新たに生成する手段と、
前記比較に基づき、前記第2波形データの長さが前記編集対象範囲の長さよりも小さい場合、前記指示された編集対象範囲を前記第2波形データの長さに等しい長さの範囲に変更し、該変更した編集対象範囲に先行する部分を含むと共にその後端以降の区間にフェードアウト領域を有する第1波形ブロックを取り出すと共に、前記変更した編集対象範囲よりも後の部分を含むと共にその前端以前の区間にフェードイン領域を有する第2波形ブロックを取り出し、前記第1波形ブロックと第2波形ブロックとの間に前記第2波形データを挿入して前記フェードアウト領域と前記フェードイン領域とでそれぞれクロスフェード接続することで、前記第1波形ブロックと前記第2波形データと前記第2波形ブロックとでなる1つの連続する波形データを新たに生成する手段と、
前記比較に基づき、前記第2波形データの長さが前記編集対象範囲の長さよりも大きい場合、前記第2波形データから前記指示された編集対象範囲の長さに対応する部分を第3波形データとして取り出し、該指示された編集対象範囲に先行する部分を含むと共にその後端以降の区間にフェードアウト領域を有する第1波形ブロックを取り出すと共に、前記指示された編集対象範囲よりも後の部分を含むと共にその前端以前の区間にフェードイン領域を有する第2波形ブロックを取り出し、前記第1波形ブロックと第2波形ブロックとの間に前記第3波形データを挿入して前記フェードアウト領域と前記フェードイン領域とでそれぞれクロスフェード接続することで、前記第1波形ブロックと前記第3波形データと前記第2波形ブロックとでなる1つの連続する波形データを新たに生成する手段と、
を具備する波形編集装置。 Means for acquiring first waveform data to be edited;
Means for acquiring second waveform data to be pasted;
Means for instructing a desired edit target range in the first waveform data in accordance with a user operation;
Means for comparing the length of the designated editing target range in the first waveform data with the length of the second waveform data;
Based on the comparison, if the length of the second waveform data is equal to the length of the editing target range, from the first waveform entire section of data, the rear end after together includes a portion which precedes the editing target range A first waveform block having a fade-out area in a section of the first waveform block, a second waveform block including a portion after the edit target range and having a fade-in area in the section before the front end thereof , and the first waveform block The second waveform data is inserted between the first waveform block, the second waveform data, and the second waveform data, and the fade-out region and the fade-in region are respectively crossfade-connected. Means for newly generating one continuous waveform data consisting of two waveform blocks;
Based on the comparison, when the length of the second waveform data is smaller than the length of the editing target range, the designated editing target range is changed to a range having a length equal to the length of the second waveform data. , it is taken out of the first waveform block having a fade-out area at its rear subsequent sections together including a portion preceding the edited ranges the change, the front end previously with including a portion later than edited range mentioned above change The second waveform block having a fade-in area in the interval is taken out, the second waveform data is inserted between the first waveform block and the second waveform block, and the fade-out area and the fade-in area cross each other. By making a fade connection, one continuous waveform data consisting of the first waveform block, the second waveform data, and the second waveform block is obtained. And means for generating a new,
Based on the comparison, when the length of the second waveform data is larger than the length of the editing target range, a portion corresponding to the length of the instructed editing target range is determined from the second waveform data as the third waveform data. as taken out, the taken out first waveform block having a fade-out area at its rear subsequent sections together including a portion preceding the edited range indicated finger includes a portion later than the indicated edit range removed second waveform block having a fade-in area at its front end a previous interval with the said fade-out area and the fade-in area by inserting the third waveform data between a first waveform block and the second waveform block And the crossfade connection, the first waveform block, the third waveform data, and the second waveform block Means for generating a new one continuous waveform data,
A waveform editing apparatus comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004083365A JP3972912B2 (en) | 2004-03-22 | 2004-03-22 | Waveform editing program and waveform editing apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004083365A JP3972912B2 (en) | 2004-03-22 | 2004-03-22 | Waveform editing program and waveform editing apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2005274598A JP2005274598A (en) | 2005-10-06 |
| JP3972912B2 true JP3972912B2 (en) | 2007-09-05 |
Family
ID=35174392
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2004083365A Expired - Fee Related JP3972912B2 (en) | 2004-03-22 | 2004-03-22 | Waveform editing program and waveform editing apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3972912B2 (en) |
-
2004
- 2004-03-22 JP JP2004083365A patent/JP3972912B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2005274598A (en) | 2005-10-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3632523B2 (en) | Performance data editing apparatus, method and recording medium | |
| JP3632522B2 (en) | Performance data editing apparatus, method and recording medium | |
| US8193437B2 (en) | Electronic music apparatus and tone control method | |
| CN114089806A (en) | Waveform sequence creation device, method, electronic device and storage medium | |
| JP2001306069A (en) | Playing information editing device | |
| JP5433988B2 (en) | Electronic music equipment | |
| JP4274152B2 (en) | Music synthesizer | |
| CN114089808A (en) | Waveform sequence generating device, method, electronic device and storage medium | |
| JP3972912B2 (en) | Waveform editing program and waveform editing apparatus | |
| JP3933156B2 (en) | PERFORMANCE INFORMATION EDITING DEVICE, PERFORMANCE INFORMATION EDITING METHOD, AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING A PERFORMANCE INFORMATION EDITING PROGRAM | |
| JP3656507B2 (en) | Performance information editing device | |
| CN114089807B (en) | Waveform sequence editing device, method, electronic device and storage medium | |
| JP5056005B2 (en) | Electronic musical instrument parameter setting device and program | |
| JP4099651B2 (en) | Facial expression parameter editing device and program for realizing facial expression parameter editing method | |
| JP4380720B2 (en) | Song editing apparatus and program | |
| JP3972899B2 (en) | Music score display device | |
| JP2001265333A (en) | Music data editing device | |
| JP3381581B2 (en) | Performance data editing device and recording medium storing performance data editing program | |
| JP3840915B2 (en) | Performance information editing apparatus and program | |
| JP3154376B2 (en) | Waveform editing device | |
| JP5050523B2 (en) | Electronic musical instrument parameter setting device and program | |
| JP2976942B2 (en) | Karaoke apparatus, lyrics color changing data creating method, and karaoke data storage medium | |
| JP3582416B2 (en) | Score data editing device and computer readable recording medium recording score data editing program | |
| JP4162766B2 (en) | Performance information generating apparatus and automatic performance apparatus | |
| JP2008158433A (en) | Parameter setting device for electronic musical instrument, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060810 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060822 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20061023 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070123 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070306 |
|
| 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: 20070522 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20070604 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100622 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100622 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110622 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120622 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120622 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130622 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140622 Year of fee payment: 7 |
|
| LAPS | Cancellation because of no payment of annual fees |