JP4012636B2 - Waveform compression / decompression device - Google Patents

Waveform compression / decompression device Download PDF

Info

Publication number
JP4012636B2
JP4012636B2 JP23907698A JP23907698A JP4012636B2 JP 4012636 B2 JP4012636 B2 JP 4012636B2 JP 23907698 A JP23907698 A JP 23907698A JP 23907698 A JP23907698 A JP 23907698A JP 4012636 B2 JP4012636 B2 JP 4012636B2
Authority
JP
Japan
Prior art keywords
waveform
rate
compression
companding
exst
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
JP23907698A
Other languages
Japanese (ja)
Other versions
JP2000066679A (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.)
Roland Corp
Original Assignee
Roland 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 Roland Corp filed Critical Roland Corp
Priority to JP23907698A priority Critical patent/JP4012636B2/en
Publication of JP2000066679A publication Critical patent/JP2000066679A/en
Application granted granted Critical
Publication of JP4012636B2 publication Critical patent/JP4012636B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、波形を時間軸方向に圧縮もしくは伸長する波形圧縮伸長装置に関する。
【0002】
【従来の技術】
従来より、波形を時間軸方向に圧縮もしくは伸長する圧伸率を設定し、設定された圧伸率に基づいて、基本波形(以下、オリジナル波形と称する)を時間軸方向に圧縮もしくは伸長する波形圧縮伸長装置が知られている。
【0003】
【発明が解決しようとする課題】
しかし、設定された圧伸率に基づいてオリジナル波形を圧縮もしくは伸長すると、設定された圧伸率が100%(等倍)から極端に離れている場合、即ち圧縮もしくは伸長の度合いが極端に大きい場合、時間軸方向に圧縮もしくは伸長される波形の品質が低下するという問題がある。
【0004】
本発明は、上記事情に鑑み、時間軸方向に圧縮もしくは伸長される波形の品質が高められた波形圧縮伸長装置を提供することを目的とする。
【0005】
【課題を解決するための手段】
上記目的を達成する本発明の波形圧縮伸長装置は、
(1)演奏内容が同じで演奏速度が異なる複数の波形を格納しておく波形格納手段
(2)上記波形格納手段に格納された各波形に、適用される時間軸方向の圧伸率の範囲を対応付けておく対応付け手段
(3)設定された圧伸率を取得する圧伸率取得手段
(4)上記波形格納手段に格納された複数の波形の中から、上記圧伸率取得手段で取得された圧伸率が上記対応付け手段により対応付けられた範囲にある波形を選択し、選択した波形を、その取得された圧伸率に対応した演奏速度の波形が得られるように時間軸方向に圧縮もしくは伸長する圧縮伸長手段
を備えたことを特徴とする。
【0006】
ここで、上記波形格納手段はさらに、波形の演奏速度をあらわす速度情報を複数の波形それぞれに対応して格納し、上記圧縮伸長手段は、選択した波形を、当該波形に対応する上記速度情報と上記圧伸率取得手段で取得された圧伸率との比に基づいて時間軸方向に圧縮もしくは伸長することが好ましい。
【0007】
本発明の波形圧縮伸長装置は、演奏速度が異なる複数の波形を格納しておき、それら複数の波形の中から、取得された圧伸率に近い圧伸率に対応した演奏速度の波形を選択し、その波形に基づいて圧縮もしくは伸長するものであるため、従来の、1つのオリジナル波形を時間軸方向に圧縮もしくは伸長する技術と比較し、波形を時間軸方向に圧縮もしくは伸長するための度合いが小さくて済む。従って、時間軸方向に圧縮もしくは伸長される波形の品質を高めることができる。
【0008】
【発明の実施の形態】
以下、本発明の実施形態について説明する。
【0009】
図1は、本発明のー実施形態の波形圧縮伸長装置の回路構成を示したブロック図である。
【0010】
図1に示す波形圧縮伸長装置100には、ROM11と、RAM12と、CPU13と、表示器14と、操作子群15と、D/Aコンバータ16とが備えられている。これらROM11,RAM12,CPU13,表示器14,操作子群15,D/Aコンバータ16は、バス17で互いに接続されている。
【0011】
ROM11は、本発明にいう波形格納手段の一例であり、このROM11には、演奏内容が同じで演奏速度が互いに異なる複数の波形が格納されている。これら複数の波形の詳細については、後述する。また、このROM11には、図1に示す波形圧縮伸長装置100全体の制御を行なうためのプログラムや、楽音をあらわす波形を時間軸方向に圧縮もしくは伸長するためのプログラム等が格納されている。
【0012】
RAM12には、上述のプログラム等を実行する際に必要なデータ等が一時的に格納される。
【0013】
CPU13は、ROM11に格納されたプログラム等に基づいて、圧縮もしくは伸長するための加工処理やその他の必要な処理を行なう。
【0014】
表示器14は、波形を時間軸方向に圧縮もしくは伸長する圧伸率を表示する。
【0015】
操作子群15については、詳細は後述するが、複数のスイッチを有し、これら複数のスイッチを操作することにより、圧伸率の取得や波形の再生が行なわれる。
【0016】
D/Aコンバータ16は、波形をあらわす波形データを一時的に貯えるバッファメモリを内蔵しており、取得された圧伸率に基づいて加工処理された波形データを上記バッファメモリに貯える一方、このバッファメモリから順次波形データを取り出しD/A変換してアナログ信号を出力する。出力されたアナログ信号は、図示しない音源に入力され空中に放音される。
【0017】
図2は、図1に示す表示器および操作子群が配備されたパネルを示す図である。
【0018】
図2に示すパネル20には、表示器14および操作子群15が配備されている。この図2に示す表示器14には、圧伸率EXSTの一例として400%が表示されている。操作子群15は、圧伸率減少スイッチ151と、圧伸率増加スイッチ152と、再生開始スイッチ153とから構成されている。
【0019】
圧伸率減少スイッチ151,圧伸率増加スイッチ152は、本発明にいう圧伸率取得手段の一例である。圧伸率減少スイッチ151は、圧伸率EXSTを減少するためのスイッチであり、圧伸率増加スイッチ152は、圧伸率EXSTを増加するためのスイッチである。ユーザは、これら圧伸率減少スイッチ151,圧伸率増加スイッチ152を操作して所望の圧伸率EXSTを設定する。これにより、波形圧縮伸長装置100に圧伸率EXSTが取得される。
【0020】
再生開始スイッチ153は、波形を再生するためのスイッチである。
【0021】
表1は、ROM11に格納されている複数の波形を選択するためのテーブルである。
【0022】
【表1】

Figure 0004012636
【0023】
このテーブルの右側の列には、5種類の波形の先頭アドレスが示されている。これらの先頭アドレスで指定される5種類の波形は、ROM11に格納されている。5種類の波形はいずれも演奏内容が同じで、このテーブルの中央の列に示す演奏速度比率PES400%,200%,100%,50%,25%に基づいて生成された波形である。演奏速度比率PES100%に基づいて生成された波形とは、通常の演奏速度で演奏されて生成された、いわゆる等倍のオリジナル波形である。また、演奏速度比率PES400%,200%に基づいて生成された波形とは、それぞれ、通常の演奏速度の1/4倍,1/2倍という遅い演奏速度で演奏されて生成された波形であり、等倍のオリジナル波形が4倍,2倍に伸長されてなる波形に相当するオリジナル波形である。これと同様に、演奏速度比率PES50%,25%に基づいて生成された波形とは、それぞれ、通常の演奏速度の2倍,4倍という速い演奏速度で演奏されて生成された波形であり、等倍のオリジナル波形が1/2,1/4に圧縮されてなる波形に相当するオリジナル波形である。
【0024】
また、テーブルの左側の列には、これら5種類の波形に対応して5通りの圧伸率の範囲(ES_min以上ES_max未満)が示されている。本実施形態の波形圧縮伸長装置100では、これら5通りの圧伸率の範囲における最小の圧伸率EXST18.75%以上から最大の圧伸率EXST601%未満までの範囲にわたり、圧伸率EXSTを設定することができる。
【0025】
以下、このテーブルを参照して、本実施形態の波形圧縮伸長装置100の動作について説明する。
【0026】
波形圧縮伸長装置100では、取得された圧伸率EXSTが、このテーブルに示す圧伸率EXST300%以上から圧伸率EXST601%未満までの範囲内にある場合は、演奏速度比率PES400%の波形を選択し、その選択された波形を(圧伸率EXST/400)の圧伸率で圧縮もしくは伸長することにより結果として等倍のオリジナル波形より伸長された波形を得る。また、圧伸率EXSTが、圧伸率EXST150%以上圧伸率EXST300%未満の範囲内にある場合は、演奏速度比率PES200%の波形を選択し、その選択された波形を(圧伸率EXST/200)の圧伸率で圧縮もしくは伸長することにより結果として等倍のオリジナル波形より伸長された波形を得る。圧伸率EXSTが、圧伸率EXST75%以上圧伸率EXST150%未満の範囲内にある場合は、演奏速度比率PES100%の波形を選択し、その選択された波形に基づいて圧縮もしくは伸長を行なう。さらに、圧伸率EXSTが、圧伸率EXST37.5%以上圧伸率EXST75%未満の範囲内にある場合は、演奏速度比率PES50%の波形を選択し、その選択された波形を(圧伸率EXST/50)の圧伸率で圧縮もしくは伸長することにより結果として等倍のオリジナル波形より圧縮された波形を得る。圧伸率EXST18.75%以上圧伸率EXST37.5%未満の範囲内にある場合は、演奏速度比率PES25%の波形を選択し、その選択された波形を(圧伸率EXST/25)の圧伸率で圧縮もしくは伸長することにより結果として等倍のオリジナル波形より圧縮された波形を得る。
【0027】
詳細には、例えば、取得した圧伸率EXSTが250%の場合、この圧伸率EXST250%は、圧伸率EXST150%以上圧伸率EXST300%未満の範囲内にあるため、演奏速度比率PES200%の波形を選択し、その波形を伸長率125%(250/200)で伸長する。また、例えば、取得した圧伸率EXSTが160%の場合、この圧伸率EXST160%は、先の例と同様、圧伸率EXST150%以上圧伸率EXST300%未満の範囲内にあるため、演奏速度比率PES200%の波形を選択し、その波形を圧縮率80%(160/200)で伸長する。さらに、例えば、取得した圧伸率EXSTが40%の場合、この圧伸率EXST40%は、圧伸率EXST37.5%以上圧伸率EXST75%未満の範囲内にあるため、演奏速度比率PES50%の波形を選択し、その波形を圧縮率80%(40/50)で圧縮する。従って、波形を圧縮もしくは伸長するにあたり、従来の、1つの演奏内容についてオリジナル波形を1つのみ用意し、そのオリジナル波形を圧縮もしくは伸長する技術と比較し、伸長や圧縮の度合いは小さくて済み、時間軸方向に圧縮もしくは伸長される波形の品質を高めることができる。
【0028】
このように本実施形態の波形圧縮伸長装置100は、同一の演奏内容について演奏速度比率PES400%,200%,100%,50%,25%の5種類の波形がROM11に格納されており、最小の圧伸率EXST18.75%を取得した場合は、演奏速度比率PES25%の波形を選択して圧縮率75%(18.75/25)で圧縮し、最大の圧伸率EXST600%を取得した場合は、演奏速度比率PES400%の波形を選択して伸長率150%(600/400)で伸長するというように、取得した圧伸率EXSTに最も近い演奏速度比率PESの波形を選択して圧縮もしくは伸長を行なうものであるため、圧伸率EXST18.75%以上から圧伸率EXST601%未満までの広い範囲にわたり、時間軸方向に圧縮もしくは伸長される波形の品質を高めることができる。
【0029】
図3は、図2に示す圧伸率減少スイッチもしくは圧伸率増加スイッチが押された場合に実行されるルーチンのフローチャートである。
【0030】
圧伸率減少スイッチ151もしくは圧伸率増加スイッチ152が押されると、このルーチンが起動する。
【0031】
先ず、ステップS11において、圧伸率減少スイッチ151が押された場合は圧伸率EXSTを減少し、圧伸率増加スイッチ152が押された場合は圧伸率EXSTを増加する。次に、ステップS12において、表示器14に圧伸率EXSTを表示してこのルーチンを終了する。ユーザは、圧伸率減少スイッチ151や圧伸率増加スイッチ152を押して、表示器14に表示された圧伸率EXSTを見ながら所望の圧伸率EXSTを設定する。このようにして、波形圧縮伸長装置100に圧伸率EXSTが取得される。
【0032】
図4は、図2に示す再生開始スイッチが押された場合に実行されるルーチンのフローチャートである。
【0033】
ユーザにより、図2に示す再生開始スイッチ153が押されると、このルーチンが起動され、ステップS21において、取得した圧伸率EXSTに基づいて圧縮伸長処理ルーチンが実行される。この圧縮伸長処理ルーチンについては、図5に示すフローチャートで説明する。
【0034】
図5は、圧縮伸長処理ルーチンのフローチャートである。
【0035】
先ず、ステップS211において、前述したテーブルの先頭にポインタを設定する。次にステップS212において、取得した圧伸率EXSTが、そのポインタで指し示されるES_min≦EXST<ES_maxの範囲内、即ち、取得した圧伸率EXSTが、300%以上601%未満の範囲内であるか否かが判定される。圧伸率EXSTが、300%以上601%未満の範囲内であると判定された場合はステップS213に進む。ステップS213では、ROM11内の、300%以上601%未満の範囲に対応する演奏速度比率PES400%の波形を選択することにより、使用する波形を決定してステップS214に進む。ステップS214では、決定した波形(演奏速度比率PES400%に相当する演奏速度で生成された波形)に基づいて伸長を行なって波形を再生し、楽音を放音してこのルーチンを終了する。
【0036】
一方、ステップS212において、取得した圧伸率EXSTが、300%以上601%未満の範囲外であると判定された場合はステップS215に進む。ステップS215では、ポインタをテーブルの次の行に送って、ステップS212に戻る。以下同様にして、ステップS212において、取得した圧伸率EXSTが、そのポインタで指し示される圧伸率EXSTの範囲(ES_min以上ES_max未満)内に含まれるか否かを判定し、含まれると判定された場合はステップS213において使用する波形を決定し、含まれないと判定された場合はステップS215を実行してステップS212に再び戻ることを繰り返して、最終的にステップS213において使用する波形を決定する。
【0037】
【発明の効果】
以上説明したように、本発明によれば、時間軸方向に圧縮もしくは伸長される波形の品質を高めることができる。
【図面の簡単な説明】
【図1】本発明のー実施形態の波形圧縮伸長装置の回路構成を示したブロック図である。
【図2】図1に示す表示器および操作子群が配備されたパネルを示す図である。
【図3】図2に示す圧伸率減少スイッチもしくは圧伸率増加スイッチが押された場合に実行されるルーチンのフローチャートである。
【図4】図2に示す再生開始スイッチが押された場合に実行されるルーチンのフローチャートである。
【図5】圧縮伸長処理ルーチンのフローチャートである。
【符号の説明】
11 ROM
12 RAM
13 CPU
14 表示器
15 操作子群
16 D/Aコンバータ
17 バス
20 パネル
100 波形圧縮伸長装置
151 圧伸率減少スイッチ
152 圧伸率増加スイッチ
153 再生開始スイッチ[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a waveform compression / decompression apparatus that compresses or expands a waveform in the time axis direction.
[0002]
[Prior art]
Conventionally, a compression rate that compresses or expands a waveform in the time axis direction is set, and a basic waveform (hereinafter referred to as an original waveform) is compressed or expanded in the time axis direction based on the set expansion rate. A compression / decompression apparatus is known.
[0003]
[Problems to be solved by the invention]
However, when the original waveform is compressed or expanded based on the set companding rate, if the set companding rate is far from 100% (same magnification), that is, the degree of compression or expansion is extremely large. In this case, there is a problem that the quality of the waveform compressed or expanded in the time axis direction is deteriorated.
[0004]
In view of the above circumstances, an object of the present invention is to provide a waveform compression / decompression apparatus in which the quality of a waveform compressed or expanded in the time axis direction is improved.
[0005]
[Means for Solving the Problems]
The waveform compression / decompression apparatus of the present invention that achieves the above object is
(1) Waveform storage means for storing a plurality of waveforms having the same performance contents but different performance speeds (2) Range of companding rate in the time axis direction applied to each waveform stored in the waveform storage means Corresponding means for associating (3) Companding ratio acquiring means for acquiring the set companding ratio (4) Among the plurality of waveforms stored in the waveform storing means, the companding ratio acquiring means Select a waveform in which the acquired companding rate is in the range associated by the correlating means, and select the waveform so that the waveform of the performance speed corresponding to the acquired companding rate is obtained on the time axis A compression / expansion means for compressing or expanding in the direction is provided.
[0006]
Here, the waveform storage means further stores speed information representing the performance speed of the waveform corresponding to each of a plurality of waveforms, and the compression / expansion means stores the selected waveform as the speed information corresponding to the waveform. It is preferable to compress or expand in the time axis direction based on the ratio of the drawing ratio acquired by the drawing ratio acquisition means.
[0007]
The waveform compression / expansion device of the present invention stores a plurality of waveforms having different performance speeds, and selects a waveform having a performance speed corresponding to the compression ratio close to the acquired compression ratio from the plurality of waveforms. However, since the compression or expansion is performed based on the waveform, the degree of compression or expansion of the waveform in the time axis direction compared to the conventional technique of compressing or expanding one original waveform in the time axis direction. Is small. Therefore, the quality of the waveform compressed or expanded in the time axis direction can be improved.
[0008]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described.
[0009]
FIG. 1 is a block diagram showing a circuit configuration of a waveform compression / decompression apparatus according to an embodiment of the present invention.
[0010]
A waveform compression / decompression apparatus 100 shown in FIG. 1 includes a ROM 11, a RAM 12, a CPU 13, a display 14, an operator group 15, and a D / A converter 16. The ROM 11, RAM 12, CPU 13, display 14, operator group 15, and D / A converter 16 are connected to each other via a bus 17.
[0011]
The ROM 11 is an example of the waveform storage means referred to in the present invention, and the ROM 11 stores a plurality of waveforms having the same performance contents but different performance speeds. Details of the plurality of waveforms will be described later. The ROM 11 stores a program for controlling the entire waveform compression / decompression apparatus 100 shown in FIG. 1, a program for compressing or expanding a waveform representing a musical sound in the time axis direction, and the like.
[0012]
The RAM 12 temporarily stores data and the like necessary for executing the above-described program and the like.
[0013]
The CPU 13 performs processing for compressing or expanding and other necessary processing based on a program stored in the ROM 11.
[0014]
The display unit 14 displays a companding rate for compressing or expanding the waveform in the time axis direction.
[0015]
Although the details of the operator group 15 will be described later, it has a plurality of switches, and by operating these switches, the companding rate is acquired and the waveform is reproduced.
[0016]
The D / A converter 16 has a built-in buffer memory that temporarily stores waveform data representing a waveform. The D / A converter 16 stores the waveform data processed on the basis of the acquired companding rate in the buffer memory. The waveform data is sequentially taken out from the memory, D / A converted, and an analog signal is output. The output analog signal is input to a sound source (not shown) and emitted into the air.
[0017]
FIG. 2 is a diagram showing a panel provided with the display and the operator group shown in FIG.
[0018]
In the panel 20 shown in FIG. 2, a display 14 and an operator group 15 are provided. On the display 14 shown in FIG. 2, 400% is displayed as an example of the draw ratio EXST. The operator group 15 includes a companding rate decrease switch 151, a companding rate increase switch 152, and a regeneration start switch 153.
[0019]
The drawing rate decrease switch 151 and the drawing rate increase switch 152 are examples of the drawing rate acquisition unit according to the present invention. The companding rate decrease switch 151 is a switch for decreasing the companding rate EXST, and the companding rate increase switch 152 is a switch for increasing the companding rate EXST. The user operates the companding rate decrease switch 151 and the companding rate increase switch 152 to set a desired companding rate EXST. As a result, the compression ratio EXST is acquired by the waveform compression / expansion apparatus 100.
[0020]
The reproduction start switch 153 is a switch for reproducing a waveform.
[0021]
Table 1 is a table for selecting a plurality of waveforms stored in the ROM 11.
[0022]
[Table 1]
Figure 0004012636
[0023]
In the right column of this table, the top addresses of five types of waveforms are shown. Five types of waveforms specified by these head addresses are stored in the ROM 11. The five types of waveforms have the same performance content, and are generated based on the performance speed ratios PES 400%, 200%, 100%, 50%, and 25% shown in the center column of this table. The waveform generated based on the performance speed ratio PES 100% is a so-called equal-magnification original waveform generated by performing at a normal performance speed. The waveforms generated based on the performance speed ratios of PES 400% and 200% are waveforms generated by performing at a slow performance speed of 1/4 times and 1/2 times the normal performance speed, respectively. This is an original waveform corresponding to a waveform obtained by expanding the same-size original waveform by 4 times or 2 times. Similarly, the waveforms generated based on the performance speed ratios of PES 50% and 25% are waveforms generated by performing at high performance speeds of 2 and 4 times the normal performance speed, respectively. This is an original waveform corresponding to a waveform obtained by compressing the same-size original waveform into 1/2 and 1/4.
[0024]
In the left column of the table, five ranges of the drawing ratio (from ES_min to less than ES_max) corresponding to these five types of waveforms are shown. In the waveform compression / expansion apparatus 100 according to the present embodiment, the compression rate EXST is set over a range from the minimum compression rate EXST of 18.75% or more to the maximum compression rate EXTST of 601% in these five ranges of the compression rate. Can be set.
[0025]
Hereinafter, the operation of the waveform compression / decompression apparatus 100 of this embodiment will be described with reference to this table.
[0026]
In the waveform compressing / expanding apparatus 100, when the acquired drawing rate EXST is in the range from the drawing rate EXST 300% or more to the drawing rate EXST 601% shown in this table, a waveform having a performance speed ratio PES 400% is generated. By selecting and compressing or expanding the selected waveform at a companding rate of (compressing rate EXST / 400), a waveform expanded from the original waveform of the same magnification is obtained. In addition, when the drawing rate EXST is within the range of the drawing rate EXST 150% or more and the drawing rate EXST 300%, a waveform having a performance speed ratio PES of 200% is selected, and the selected waveform is expressed as (the drawing rate EXST / 200) is compressed or expanded at a companding rate, resulting in a waveform that is expanded from the original waveform at the same magnification. When the drawing rate EXST is within the range of the drawing rate EXST 75% or more and the drawing rate EXST 150%, a waveform having a performance speed ratio PES of 100% is selected, and compression or expansion is performed based on the selected waveform. . Further, when the drawing rate EXST is in the range of the drawing rate EXST 37.5% or more and less than the drawing rate EXST 75%, a waveform having a performance speed ratio PES of 50% is selected, and the selected waveform is (compressed). As a result, a compressed waveform is obtained from the original waveform at the same magnification. When the drawing ratio EXST is in the range of 18.75% or more and less than EXST 37.5%, a waveform having a performance speed ratio PES of 25% is selected, and the selected waveform is (the drawing ratio EXT / 25). By compressing or expanding at the draw ratio, a waveform compressed from the original waveform at the same magnification is obtained.
[0027]
Specifically, for example, when the acquired drawing rate EXST is 250%, the drawing rate EXST250% is in the range of the drawing rate EXST150% or more and less than EXST300%, so the performance speed ratio PES200% Waveform is selected and the waveform is expanded at an expansion rate of 125% (250/200). Also, for example, when the acquired drawing rate EXST is 160%, the drawing rate EXST 160% is in the range of the drawing rate EXST 150% or more and the drawing rate EXST 300%, as in the previous example. A waveform with a speed ratio PES of 200% is selected, and the waveform is expanded at a compression rate of 80% (160/200). Furthermore, for example, when the acquired drawing rate EXST is 40%, the drawing rate EXST 40% is within the range of the drawing rate EXST 37.5% or more and less than the EXST 75%, so the performance speed ratio PES 50% Waveform is selected and the waveform is compressed at a compression rate of 80% (40/50). Therefore, when compressing or expanding a waveform, only one original waveform is prepared for one performance content, and the degree of expansion or compression is small compared to the technology for compressing or expanding the original waveform. The quality of the waveform compressed or expanded in the time axis direction can be improved.
[0028]
As described above, the waveform compression / decompression apparatus 100 according to the present embodiment stores five types of waveforms having the performance speed ratios of PES 400%, 200%, 100%, 50%, and 25% in the ROM 11 for the same performance content. When a compression rate of EXST of 18.75% was obtained, a waveform with a performance speed ratio of PES of 25% was selected and compressed at a compression rate of 75% (18.75 / 25), and the maximum compression rate of EXST of 600% was obtained. In this case, the waveform with the performance speed ratio PES 400% is selected and expanded at the expansion ratio 150% (600/400), and the waveform with the performance speed ratio PES closest to the acquired expansion ratio EXT is selected and compressed. Alternatively, since the expansion is performed, the compression or compression is performed in the time axis direction over a wide range from the drawing rate EXST 18.75% or more to the drawing rate EXST 601% or less. It is possible to improve the quality of the lengths are waveform.
[0029]
FIG. 3 is a flowchart of a routine executed when the companding rate decrease switch or the companding rate increase switch shown in FIG. 2 is pressed.
[0030]
When the companding rate decrease switch 151 or the companding rate increase switch 152 is pressed, this routine is started.
[0031]
First, in step S11, when the companding rate decrease switch 151 is pressed, the companding rate EXST is decreased, and when the companding rate increase switch 152 is pressed, the companding rate EXST is increased. Next, in step S12, the companding rate EXST is displayed on the display 14, and this routine is terminated. The user presses the companding rate decrease switch 151 or the companding rate increase switch 152 to set a desired companding rate EXST while viewing the companding rate EXST displayed on the display 14. In this way, the drawing rate EXST is acquired by the waveform compression / decompression apparatus 100.
[0032]
FIG. 4 is a flowchart of a routine that is executed when the reproduction start switch shown in FIG. 2 is pressed.
[0033]
When the reproduction start switch 153 shown in FIG. 2 is pressed by the user, this routine is started, and in step S21, the compression / expansion processing routine is executed based on the acquired compression / extension rate EXST. This compression / decompression processing routine will be described with reference to the flowchart shown in FIG.
[0034]
FIG. 5 is a flowchart of the compression / decompression processing routine.
[0035]
First, in step S211, a pointer is set at the head of the table described above. Next, in step S212, the acquired companding rate EXST is within the range of ES_min ≦ EXST <ES_max pointed to by the pointer, that is, the acquired companding rate EXST is within the range of 300% or more and less than 601%. It is determined whether or not. If it is determined that the draw ratio EXST is in the range of 300% or more and less than 601%, the process proceeds to step S213. In step S213, a waveform having a performance speed ratio PES of 400% corresponding to a range of 300% or more and less than 601% in the ROM 11 is selected to determine a waveform to be used, and the process proceeds to step S214. In step S214, the expansion is performed based on the determined waveform (the waveform generated at the performance speed corresponding to the performance speed ratio PES 400%), the waveform is reproduced, the musical sound is emitted, and this routine is terminated.
[0036]
On the other hand, if it is determined in step S212 that the acquired draw ratio EXST is outside the range of 300% or more and less than 601%, the process proceeds to step S215. In step S215, the pointer is sent to the next row of the table, and the process returns to step S212. Similarly, in step S212, it is determined whether or not the acquired companding rate EXST is included within the range of the companding rate EXST (ES_min or more and less than ES_max) indicated by the pointer. If it is determined, the waveform to be used is determined in step S213. If it is determined that the waveform is not included, step S215 is executed and the process returns to step S212 again. Finally, the waveform to be used is determined in step S213. To do.
[0037]
【The invention's effect】
As described above, according to the present invention, the quality of the waveform compressed or expanded in the time axis direction can be improved.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a circuit configuration of a waveform compression / decompression apparatus according to an embodiment of the present invention.
FIG. 2 is a diagram showing a panel provided with the display unit and operation group shown in FIG. 1;
FIG. 3 is a flowchart of a routine that is executed when the companding rate decrease switch or the companding rate increase switch shown in FIG. 2 is pressed.
FIG. 4 is a flowchart of a routine that is executed when a reproduction start switch shown in FIG. 2 is pressed.
FIG. 5 is a flowchart of a compression / decompression processing routine.
[Explanation of symbols]
11 ROM
12 RAM
13 CPU
14 Display 15 Operator Group 16 D / A Converter 17 Bus 20 Panel 100 Waveform Compression / Expansion Device 151 Companding Ratio Decreasing Switch 152 Companding Ratio Increasing Switch 153 Playback Start Switch

Claims (2)

演奏内容が同じで演奏速度が異なる複数の波形を格納しておく波形格納手段と、
前記波形格納手段に格納された各波形に、適用される時間軸方向の圧伸率の範囲を対応付けておく対応付け手段と、
設定された圧伸率を取得する圧伸率取得手段と、
前記波形格納手段に格納された複数の波形の中から、前記圧伸率取得手段で取得された圧伸率が前記対応付け手段により対応付けられた範囲にある波形を選択し、選択した波形を、該取得された圧伸率に対応した演奏速度の波形が得られるように時間軸方向に圧縮もしくは伸長する圧縮伸長手段とを備えたことを特徴とする波形圧縮伸長装置。
Waveform storage means for storing a plurality of waveforms having the same performance content but different performance speeds;
Corresponding means for associating each waveform stored in the waveform storing means with a range of the companding rate in the time axis direction to be applied;
A drawing rate acquisition means for acquiring the set drawing rate;
From the plurality of waveforms stored in the waveform storage means, select a waveform in which the companding rate acquired by the companding rate acquisition means is in a range associated by the associating means, and select the selected waveform And a waveform compression / expansion device comprising compression / expansion means for compressing or expanding in the time axis direction so that a waveform of a performance speed corresponding to the acquired companding rate is obtained.
前記波形格納手段はさらに、波形の演奏速度をあらわす速度情報を複数の波形それぞれに対応して格納し、
前記圧縮伸長手段は、選択した波形を、当該波形に対応する前記速度情報と前記圧伸率取得手段で取得された圧伸率との比に基づいて時間軸方向に圧縮もしくは伸長することを特徴とする請求項1記載の波形圧縮伸長装置。
The waveform storage means further stores speed information representing the performance speed of the waveform corresponding to each of the plurality of waveforms,
The compression / decompression unit compresses or expands a selected waveform in the time axis direction based on a ratio between the speed information corresponding to the waveform and the compression rate acquired by the compression rate acquisition unit. The waveform compression / expansion apparatus according to claim 1.
JP23907698A 1998-08-25 1998-08-25 Waveform compression / decompression device Expired - Fee Related JP4012636B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23907698A JP4012636B2 (en) 1998-08-25 1998-08-25 Waveform compression / decompression device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23907698A JP4012636B2 (en) 1998-08-25 1998-08-25 Waveform compression / decompression device

Publications (2)

Publication Number Publication Date
JP2000066679A JP2000066679A (en) 2000-03-03
JP4012636B2 true JP4012636B2 (en) 2007-11-21

Family

ID=17039494

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23907698A Expired - Fee Related JP4012636B2 (en) 1998-08-25 1998-08-25 Waveform compression / decompression device

Country Status (1)

Country Link
JP (1) JP4012636B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5135931B2 (en) * 2007-07-17 2013-02-06 ヤマハ株式会社 Music processing apparatus and program
JP4968109B2 (en) * 2008-02-29 2012-07-04 ブラザー工業株式会社 Audio data conversion / reproduction system, audio data conversion device, audio data reproduction device

Also Published As

Publication number Publication date
JP2000066679A (en) 2000-03-03

Similar Documents

Publication Publication Date Title
JP2589939B2 (en) Personal computer system and operation method thereof
JPH0698288A (en) Still picture storage device
JP4012636B2 (en) Waveform compression / decompression device
JPH11202900A (en) Voice data compressing method and voice data compression system applied with same
JP2002344852A (en) Information signal processing unit and information signal processing method
JP2000501948A (en) An ultrasonic diagnostic apparatus for compressing and storing data in a CINE memory
JP3037861B2 (en) Waveform forming device and electronic musical instrument using the output waveform
US5657248A (en) Image display apparatus
JPH08107360A (en) Data storage device and data reader
JP2880961B2 (en) Data buffering device and control method thereof
JPH0564001A (en) Picture processor
JP4205782B2 (en) Waveform processing device
JPH11284839A (en) Image reproduction method
JP4037973B2 (en) Waveform playback device
JP2882986B2 (en) Image conversion system
JP3521461B2 (en) Processing device for multiple periodic media data
JPH11355726A (en) Moving image display device
JPH11352970A (en) Waveform compressing and expanding device
JP4161414B2 (en) Video / audio data compression device
JPH06342291A (en) Electronic musical instrument
JP3148803B2 (en) Sound source device
JPS6142045A (en) Image filing device
JPH07193812A (en) Picture compressor and picture compression method
JPH0816168A (en) Compression waveform data demodulation device
JP4503275B2 (en) Waveform playback device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050728

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070502

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070515

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070709

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070910

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

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees