JP2000066679A - Wave form compressing and expanding device - Google Patents

Wave form compressing and expanding device

Info

Publication number
JP2000066679A
JP2000066679A JP10239076A JP23907698A JP2000066679A JP 2000066679 A JP2000066679 A JP 2000066679A JP 10239076 A JP10239076 A JP 10239076A JP 23907698 A JP23907698 A JP 23907698A JP 2000066679 A JP2000066679 A JP 2000066679A
Authority
JP
Japan
Prior art keywords
waveform
compression
expansion
ratio
rate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP10239076A
Other languages
Japanese (ja)
Other versions
JP4012636B2 (en
Inventor
Takaharu Fukui
敬治 福井
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

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To enhance the quality of a wave form compressed or expanded in a time-axial direction. SOLUTION: In this device 100, plural wave forms different in music performing speeds are stored in a ROM 11, and one wave form is selected out of the plural wave forms stored in the ROW 11, based on compressibility or expansibility gained by an operation element group 15. The selected wave form is compressed or expanded in a time-axial direction to provide a wave form having a music performing speed corresponding to the compressibility or the expansibility.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、波形を時間軸方向
に圧縮もしくは伸長する波形圧縮伸長装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a waveform compression / expansion apparatus for compressing or expanding a waveform in a time axis direction.

【0002】[0002]

【従来の技術】従来より、波形を時間軸方向に圧縮もし
くは伸長する圧伸率を設定し、設定された圧伸率に基づ
いて、基本波形(以下、オリジナル波形と称する)を時
間軸方向に圧縮もしくは伸長する波形圧縮伸長装置が知
られている。
2. Description of the Related Art Conventionally, a compression / expansion rate for compressing or expanding a waveform in a time axis direction is set, and a basic waveform (hereinafter, referred to as an original waveform) is set in a time axis direction based on the set compression / expansion rate. 2. Description of the Related Art Waveform compression / expansion devices that compress or expand are known.

【0003】[0003]

【発明が解決しようとする課題】しかし、設定された圧
伸率に基づいてオリジナル波形を圧縮もしくは伸長する
と、設定された圧伸率が100%(等倍)から極端に離
れている場合、即ち圧縮もしくは伸長の度合いが極端に
大きい場合、時間軸方向に圧縮もしくは伸長される波形
の品質が低下するという問題がある。
However, when the original waveform is compressed or expanded based on the set companding rate, if the set companding rate is extremely far from 100% (1: 1), ie, When the degree of compression or expansion is extremely large, there is a problem that the quality of the waveform compressed or expanded in the time axis direction is reduced.

【0004】本発明は、上記事情に鑑み、時間軸方向に
圧縮もしくは伸長される波形の品質が高められた波形圧
縮伸長装置を提供することを目的とする。
[0004] In view of the above circumstances, it is an object of the present invention to provide a waveform compression / expansion apparatus in which the quality of a waveform compressed or expanded in the time axis direction is improved.

【0005】[0005]

【課題を解決するための手段】上記目的を達成する本発
明の波形圧縮伸長装置は、 (1)演奏速度が異なる複数の波形を格納しておく波形
格納手段 (2)波形を時間軸方向に圧縮もしくは伸長する圧伸率
を取得する圧伸率取得手段 (3)上記圧伸率取得手段で取得された圧伸率に基づい
て上記波形格納手段に格納された複数の波形の中から1
つの波形を選択し、選択した波形を、その取得された圧
伸率に対応した演奏速度の波形が得られるように時間軸
方向に圧縮もしくは伸長する圧縮伸長手段 を備えたことを特徴とする。
According to the present invention, there is provided a waveform compressing / decompressing apparatus comprising: (1) waveform storing means for storing a plurality of waveforms having different playing speeds; A companding rate acquisition means for acquiring a companding rate to be compressed or expanded (3) One of a plurality of waveforms stored in the waveform storage means based on the companding rate acquired by the companding rate acquiring means.
And a compression / expansion means for selecting one of the waveforms and compressing / expanding the selected waveform in the time axis direction so as to obtain a waveform having a performance speed corresponding to the acquired compression / expansion rate.

【0006】ここで、上記波形格納手段はさらに、波形
の演奏速度をあらわす速度情報を複数の波形それぞれに
対応して格納し、上記圧縮伸長手段は、選択した波形
を、当該波形に対応する上記速度情報と上記圧伸率取得
手段で取得された圧伸率との比に基づいて時間軸方向に
圧縮もしくは伸長することが好ましい。
Here, the waveform storage means further stores speed information indicating the performance speed of the waveform in correspondence with each of the plurality of waveforms, and the compression / expansion means stores the selected waveform in the waveform corresponding to the waveform. It is preferable to compress or expand in the time axis direction based on the ratio between the speed information and the companding rate acquired by the companding rate acquiring means.

【0007】本発明の波形圧縮伸長装置は、演奏速度が
異なる複数の波形を格納しておき、それら複数の波形の
中から、取得された圧伸率に近い圧伸率に対応した演奏
速度の波形を選択し、その波形に基づいて圧縮もしくは
伸長するものであるため、従来の、1つのオリジナル波
形を時間軸方向に圧縮もしくは伸長する技術と比較し、
波形を時間軸方向に圧縮もしくは伸長するための度合い
が小さくて済む。従って、時間軸方向に圧縮もしくは伸
長される波形の品質を高めることができる。
The waveform compression / expansion apparatus of the present invention stores a plurality of waveforms having different playing speeds, and selects a playing speed corresponding to a companding rate close to the acquired companding rate from the plurality of waveforms. Because it selects a waveform and compresses or expands based on that waveform, it compares with the conventional technique of compressing or expanding one original waveform in the time axis direction.
The degree for compressing or expanding the 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】[0008]

【発明の実施の形態】以下、本発明の実施形態について
説明する。
Embodiments of the present invention will be described below.

【0009】図1は、本発明のー実施形態の波形圧縮伸
長装置の回路構成を示したブロック図である。
FIG. 1 is a block diagram showing a circuit configuration of a waveform compression / expansion apparatus according to a first embodiment of the present invention.

【0010】図1に示す波形圧縮伸長装置100には、
ROM11と、RAM12と、CPU13と、表示器1
4と、操作子群15と、D/Aコンバータ16とが備え
られている。これらROM11,RAM12,CPU1
3,表示器14,操作子群15,D/Aコンバータ16
は、バス17で互いに接続されている。
The waveform compression / expansion apparatus 100 shown in FIG.
ROM 11, RAM 12, CPU 13, display 1
4, an operator group 15, and a D / A converter 16. These ROM 11, RAM 12, CPU 1
3, display 14, operator group 15, D / A converter 16
Are connected to each other by a bus 17.

【0011】ROM11は、本発明にいう波形格納手段
の一例であり、このROM11には、演奏内容が同じで
演奏速度が互いに異なる複数の波形が格納されている。
これら複数の波形の詳細については、後述する。また、
このROM11には、図1に示す波形圧縮伸長装置10
0全体の制御を行なうためのプログラムや、楽音をあら
わす波形を時間軸方向に圧縮もしくは伸長するためのプ
ログラム等が格納されている。
The ROM 11 is an example of the waveform storage means according to the present invention. The ROM 11 stores a plurality of waveforms having the same performance content but different performance speeds.
Details of the plurality of waveforms will be described later. Also,
The ROM 11 stores a waveform compression / decompression device 10 shown in FIG.
A program for controlling the entirety of the program, a program for compressing or expanding a waveform representing a musical tone in the time axis direction, and the like are stored.

【0012】RAM12には、上述のプログラム等を実
行する際に必要なデータ等が一時的に格納される。
The RAM 12 temporarily stores data and the like necessary for executing the above-mentioned programs and the like.

【0013】CPU13は、ROM11に格納されたプ
ログラム等に基づいて、圧縮もしくは伸長するための加
工処理やその他の必要な処理を行なう。
The CPU 13 performs processing for compression or decompression and other necessary processing based on a program or the like stored in the ROM 11.

【0014】表示器14は、波形を時間軸方向に圧縮も
しくは伸長する圧伸率を表示する。
The display 14 displays a companding rate for compressing or expanding the waveform in the time axis direction.

【0015】操作子群15については、詳細は後述する
が、複数のスイッチを有し、これら複数のスイッチを操
作することにより、圧伸率の取得や波形の再生が行なわ
れる。
As will be described later in detail, the operator group 15 has a plurality of switches, and by operating these switches, the companding ratio is obtained and the waveform is reproduced.

【0016】D/Aコンバータ16は、波形をあらわす
波形データを一時的に貯えるバッファメモリを内蔵して
おり、取得された圧伸率に基づいて加工処理された波形
データを上記バッファメモリに貯える一方、このバッフ
ァメモリから順次波形データを取り出しD/A変換して
アナログ信号を出力する。出力されたアナログ信号は、
図示しない音源に入力され空中に放音される。
The D / A converter 16 has a built-in buffer memory for temporarily storing waveform data representing a waveform, and stores the waveform data processed on the basis of the obtained companding ratio in the buffer memory. Then, waveform data is sequentially taken out from the buffer memory, D / A converted, and an analog signal is output. The output analog signal is
The sound is input to a sound source (not shown) and emitted into the air.

【0017】図2は、図1に示す表示器および操作子群
が配備されたパネルを示す図である。
FIG. 2 is a view showing a panel on which the display and the operation group shown in FIG. 1 are arranged.

【0018】図2に示すパネル20には、表示器14お
よび操作子群15が配備されている。この図2に示す表
示器14には、圧伸率EXSTの一例として400%が
表示されている。操作子群15は、圧伸率減少スイッチ
151と、圧伸率増加スイッチ152と、再生開始スイ
ッチ153とから構成されている。
The panel 20 shown in FIG. 2 is provided with a display 14 and a group of controls 15. The display 14 shown in FIG. 2 displays 400% as an example of the companding ratio EXST. The operator group 15 includes a companding rate decreasing switch 151, a compensating rate increasing switch 152, and a reproduction start switch 153.

【0019】圧伸率減少スイッチ151,圧伸率増加ス
イッチ152は、本発明にいう圧伸率取得手段の一例で
ある。圧伸率減少スイッチ151は、圧伸率EXSTを
減少するためのスイッチであり、圧伸率増加スイッチ1
52は、圧伸率EXSTを増加するためのスイッチであ
る。ユーザは、これら圧伸率減少スイッチ151,圧伸
率増加スイッチ152を操作して所望の圧伸率EXST
を設定する。これにより、波形圧縮伸長装置100に圧
伸率EXSTが取得される。
The companding rate decreasing switch 151 and the compensating rate increasing switch 152 are examples of the companding rate acquisition means according to the present invention. The companding rate decrease switch 151 is a switch for decreasing the companding rate EXST, and is a companding rate increasing switch 1.
Reference numeral 52 is a switch for increasing the companding rate EXST. The user operates the companding rate reduction switch 151 and the companding rate increasing switch 152 to obtain a desired companding rate EXST.
Set. Thereby, the compression / expansion rate EXST is acquired by the waveform compression / expansion apparatus 100.

【0020】再生開始スイッチ153は、波形を再生す
るためのスイッチである。
The reproduction start switch 153 is a switch for reproducing a waveform.

【0021】表1は、ROM11に格納されている複数
の波形を選択するためのテーブルである。
Table 1 is a table for selecting a plurality of waveforms stored in the ROM 11.

【0022】[0022]

【表1】 [Table 1]

【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に圧縮されてなる波形に相当するオリジナル波形で
ある。
The right column of this table shows the start addresses of five types of waveforms. The five types of waveforms designated by these head addresses are stored in the ROM 11. All five waveforms have the same performance content, and the performance speed ratio PES400 shown in the center row of this table is shown.
It is a waveform generated based on%, 200%, 100%, 50%, and 25%. The waveform generated based on the performance speed ratio PES 100% is a so-called equal-size original waveform generated by performing at a normal performance speed.
Also, the waveforms generated based on the performance speed ratios PES 400% and 200% are each 1% of the normal performance speed.
This is a waveform generated by performing at a low performance speed of 4 times and 倍 times, and is an original waveform corresponding to a waveform obtained by expanding a 1 × original waveform by 4 times and 2 times. Similarly, the performance speed ratio PES 50%, 25%
The waveforms generated on the basis of the above are waveforms generated by performing at a performance speed that is twice or four times the normal performance speed, respectively.
This is an original waveform corresponding to a waveform compressed to / 4.

【0024】また、テーブルの左側の列には、これら5
種類の波形に対応して5通りの圧伸率の範囲(ES_m
in以上ES_max未満)が示されている。本実施形
態の波形圧縮伸長装置100では、これら5通りの圧伸
率の範囲における最小の圧伸率EXST18.75%以
上から最大の圧伸率EXST601%未満までの範囲に
わたり、圧伸率EXSTを設定することができる。
In the left column of the table, these 5
Five types of companding ratio ranges (ES_m
in or more and less than ES_max). In the waveform compression / expansion apparatus 100 of the present embodiment, the expansion / compression ratio EXST in the range of the minimum compression / extension ratio 18.75% or more to the maximum expansion / compression ratio EXST of less than 601% in these five ranges of the expansion / compression ratio is set. Can be set.

【0025】以下、このテーブルを参照して、本実施形
態の波形圧縮伸長装置100の動作について説明する。
The operation of the waveform compression / expansion apparatus 100 of this embodiment will be described below with reference to this table.

【0026】波形圧縮伸長装置100では、取得された
圧伸率EXSTが、このテーブルに示す圧伸率EXST
300%以上から圧伸率EXST601%未満までの範
囲内にある場合は、演奏速度比率PES400%の波形
を選択し、その選択された波形を(圧伸率EXST/4
00)の圧伸率で圧縮もしくは伸長することにより結果
として等倍のオリジナル波形より伸長された波形を得
る。また、圧伸率EXSTが、圧伸率EXST150%
以上圧伸率EXST300%未満の範囲内にある場合
は、演奏速度比率PES200%の波形を選択し、その
選択された波形を(圧伸率EXST/200)の圧伸率
で圧縮もしくは伸長することにより結果として等倍のオ
リジナル波形より伸長された波形を得る。圧伸率EXS
Tが、圧伸率EXST75%以上圧伸率EXST150
%未満の範囲内にある場合は、演奏速度比率PES10
0%の波形を選択し、その選択された波形に基づいて圧
縮もしくは伸長を行なう。さらに、圧伸率EXSTが、
圧伸率EXST37.5%以上圧伸率EXST75%未
満の範囲内にある場合は、演奏速度比率PES50%の
波形を選択し、その選択された波形を(圧伸率EXST
/50)の圧伸率で圧縮もしくは伸長することにより結
果として等倍のオリジナル波形より圧縮された波形を得
る。圧伸率EXST18.75%以上圧伸率EXST3
7.5%未満の範囲内にある場合は、演奏速度比率PE
S25%の波形を選択し、その選択された波形を(圧伸
率EXST/25)の圧伸率で圧縮もしくは伸長するこ
とにより結果として等倍のオリジナル波形より圧縮され
た波形を得る。
In the waveform compression / expansion apparatus 100, the acquired companding rate EXST is used as the companding rate EXST shown in this table.
If it is in the range of 300% or more to less than the companding ratio EXST 601%, a waveform with a performance speed ratio of PES 400% is selected, and the selected waveform is displayed as (compressing and extending ratio EXST / 4).
By compressing or expanding at the companding ratio of (00), a waveform expanded from the original waveform of the same size is obtained as a result. In addition, the drawing / extension ratio EXST is 150%.
If the drawing / expansion ratio EXST is within the range of less than 300%, a waveform with a performance speed ratio of PES 200% is selected, and the selected waveform is compressed or expanded at a drawing / expansion ratio of (compression / extension ratio EXST / 200). As a result, a waveform expanded from the original waveform of the same size is obtained. EXS
T is at least 75% draw ratio EXST 150% draw ratio EXST 150
%, The performance speed ratio PES10
A waveform of 0% is selected, and compression or expansion is performed based on the selected waveform. Furthermore, the companding ratio EXST is
If the drawing / expanding ratio EXST is within the range of 37.5% or more and the drawing / extending ratio EXST less than 75%, a waveform with a performance speed ratio of PES 50% is selected, and the selected waveform is displayed as (compression / extension ratio EXST
By compressing or expanding at a companding rate of (/ 50), a waveform compressed from an original waveform of the same size is obtained as a result. Draw ratio EXST 18.75% or more Draw ratio EXST3
If it is less than 7.5%, the performance speed ratio PE
The waveform of S25% is selected, and the selected waveform is compressed or expanded at a compression / expansion ratio of (compression / expansion ratio EXST / 25), thereby obtaining a compressed waveform from the original waveform of the same size.

【0027】詳細には、例えば、取得した圧伸率EXS
Tが250%の場合、この圧伸率EXST250%は、
圧伸率EXST150%以上圧伸率EXST300%未
満の範囲内にあるため、演奏速度比率PES200%の
波形を選択し、その波形を伸長率125%(250/2
00)で伸長する。また、例えば、取得した圧伸率EX
STが160%の場合、この圧伸率EXST160%
は、先の例と同様、圧伸率EXST150%以上圧伸率
EXST300%未満の範囲内にあるため、演奏速度比
率PES200%の波形を選択し、その波形を圧縮率8
0%(160/200)で伸長する。さらに、例えば、
取得した圧伸率EXSTが40%の場合、この圧伸率E
XST40%は、圧伸率EXST37.5%以上圧伸率
EXST75%未満の範囲内にあるため、演奏速度比率
PES50%の波形を選択し、その波形を圧縮率80%
(40/50)で圧縮する。従って、波形を圧縮もしく
は伸長するにあたり、従来の、1つの演奏内容について
オリジナル波形を1つのみ用意し、そのオリジナル波形
を圧縮もしくは伸長する技術と比較し、伸長や圧縮の度
合いは小さくて済み、時間軸方向に圧縮もしくは伸長さ
れる波形の品質を高めることができる。
More specifically, for example, the obtained drawing / expanding rate EXS
When T is 250%, the elongation ratio EXST 250% is
Since the drawing / expanding ratio EXST is in the range of 150% or more and the drawing / extending ratio EXST less than 300%, a waveform with a performance speed ratio of PES 200% is selected, and the waveform is drawn to an expansion ratio of 125% (250/2).
00). Also, for example, the acquired companding rate EX
When ST is 160%, this drawing and stretching ratio EXST 160%
Is in the range of 150% or more of the expansion / compression ratio EXST and less than 300% of the expansion / compression ratio, as in the previous example.
Stretch at 0% (160/200). Further, for example,
When the obtained drawing and stretching ratio EXST is 40%, the drawing and drawing ratio E
Since the XST 40% is in the range of the compression / extension ratio EXST 37.5% or more and the compression / extension ratio EXST 75% or less, the waveform of the performance speed ratio PES 50% is selected, and the compression ratio is 80%.
Compress by (40/50). Therefore, when compressing or decompressing a waveform, the degree of decompression or compression can be reduced compared to the conventional technique of preparing only one original waveform for one performance content and compressing or decompressing the original waveform. The quality of the waveform compressed or expanded in the time axis direction can be improved.

【0028】このように本実施形態の波形圧縮伸長装置
100は、同一の演奏内容について演奏速度比率PES
400%,200%,100%,50%,25%の5種
類の波形がROM11に格納されており、最小の圧伸率
EXST18.75%を取得した場合は、演奏速度比率
PES25%の波形を選択して圧縮率75%(18.7
5/25)で圧縮し、最大の圧伸率EXST600%を
取得した場合は、演奏速度比率PES400%の波形を
選択して伸長率150%(600/400)で伸長する
というように、取得した圧伸率EXSTに最も近い演奏
速度比率PESの波形を選択して圧縮もしくは伸長を行
なうものであるため、圧伸率EXST18.75%以上
から圧伸率EXST601%未満までの広い範囲にわた
り、時間軸方向に圧縮もしくは伸長される波形の品質を
高めることができる。
As described above, the waveform compression / expansion apparatus 100 of the present embodiment provides the performance speed ratio PES for the same performance content.
Five kinds of waveforms of 400%, 200%, 100%, 50%, and 25% are stored in the ROM 11, and when the minimum companding rate EXST of 18.75% is acquired, the waveform of the performance speed ratio PES25% is obtained. Select and compress 75% (18.7)
5/25), and when a maximum companding rate EXST of 600% was obtained, a waveform with a performance speed ratio of PES 400% was selected and expanded at a rate of 150% (600/400). Since the compression or expansion is performed by selecting the waveform of the performance speed ratio PES that is closest to the expansion / compression ratio EXST, the time axis extends over a wide range from the expansion / compression ratio of 18.75% or more to the expansion / compression ratio of less than 601%. The quality of the waveform compressed or expanded in the direction can be improved.

【0029】図3は、図2に示す圧伸率減少スイッチも
しくは圧伸率増加スイッチが押された場合に実行される
ルーチンのフローチャートである。
FIG. 3 is a flowchart of a routine executed when the companding rate decreasing switch or compensating rate increasing switch shown in FIG. 2 is pressed.

【0030】圧伸率減少スイッチ151もしくは圧伸率
増加スイッチ152が押されると、このルーチンが起動
する。
When the companding rate decrease switch 151 or the companding rate increasing switch 152 is pressed, this routine starts.

【0031】先ず、ステップS11において、圧伸率減
少スイッチ151が押された場合は圧伸率EXSTを減
少し、圧伸率増加スイッチ152が押された場合は圧伸
率EXSTを増加する。次に、ステップS12におい
て、表示器14に圧伸率EXSTを表示してこのルーチ
ンを終了する。ユーザは、圧伸率減少スイッチ151や
圧伸率増加スイッチ152を押して、表示器14に表示
された圧伸率EXSTを見ながら所望の圧伸率EXST
を設定する。このようにして、波形圧縮伸長装置100
に圧伸率EXSTが取得される。
First, in step S11, when the companding rate decrease switch 151 is pressed, the companding rate EXST is decreased, and when the companding rate increasing 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 increasing switch 152, and looks at the companding rate EXST displayed on the display 14 to obtain the desired companding rate EXST
Set. Thus, the waveform compression / expansion device 100
Then, the companding ratio EXST is obtained.

【0032】図4は、図2に示す再生開始スイッチが押
された場合に実行されるルーチンのフローチャートであ
る。
FIG. 4 is a flowchart of a routine executed when the reproduction start switch shown in FIG. 2 is pressed.

【0033】ユーザにより、図2に示す再生開始スイッ
チ153が押されると、このルーチンが起動され、ステ
ップS21において、取得した圧伸率EXSTに基づい
て圧縮伸長処理ルーチンが実行される。この圧縮伸長処
理ルーチンについては、図5に示すフローチャートで説
明する。
When the reproduction start switch 153 shown in FIG. 2 is pressed by the user, this routine is started, and in step S21, a compression / expansion processing routine is executed based on the obtained compression / expansion ratio EXST. This compression / decompression processing routine will be described with reference to the flowchart shown in FIG.

【0034】図5は、圧縮伸長処理ルーチンのフローチ
ャートである。
FIG. 5 is a flowchart of the compression / decompression processing routine.

【0035】先ず、ステップS211において、前述し
たテーブルの先頭にポインタを設定する。次にステップ
S212において、取得した圧伸率EXSTが、そのポ
インタで指し示されるES_min≦EXST<ES_
maxの範囲内、即ち、取得した圧伸率EXSTが、3
00%以上601%未満の範囲内であるか否かが判定さ
れる。圧伸率EXSTが、300%以上601%未満の
範囲内であると判定された場合はステップS213に進
む。ステップS213では、ROM11内の、300%
以上601%未満の範囲に対応する演奏速度比率PES
400%の波形を選択することにより、使用する波形を
決定してステップS214に進む。ステップS214で
は、決定した波形(演奏速度比率PES400%に相当
する演奏速度で生成された波形)に基づいて伸長を行な
って波形を再生し、楽音を放音してこのルーチンを終了
する。
First, in step S211, a pointer is set at the head of the table described above. Next, in step S212, the obtained companding ratio EXST is set to the value indicated by ES_min ≦ EXST <ES_
max, that is, when the obtained drawing and stretching ratio EXST is 3
It is determined whether it is within the range of 00% or more and less than 601%. If it is determined that the drawing / extending ratio EXST is within the range of 300% or more and less than 601%, the process proceeds to step S213. In step S213, the 300%
Performance speed ratio PES corresponding to the range of not less than 601%
By selecting a 400% waveform, the waveform to be used is determined, and the process proceeds to step S214. In step S214, the waveform is reproduced by performing expansion based on the determined waveform (the waveform generated at the performance speed corresponding to the performance speed ratio PES 400%), the musical sound is emitted, and this routine ends.

【0036】一方、ステップS212において、取得し
た圧伸率EXSTが、300%以上601%未満の範囲
外であると判定された場合はステップS215に進む。
ステップS215では、ポインタをテーブルの次の行に
送って、ステップS212に戻る。以下同様にして、ス
テップS212において、取得した圧伸率EXSTが、
そのポインタで指し示される圧伸率EXSTの範囲(E
S_min以上ES_max未満)内に含まれるか否か
を判定し、含まれると判定された場合はステップS21
3において使用する波形を決定し、含まれないと判定さ
れた場合はステップS215を実行してステップS21
2に再び戻ることを繰り返して、最終的にステップS2
13において使用する波形を決定する。
On the other hand, if it is determined in step S212 that the obtained drawing / expansion rate EXST is out of 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 in the table, and the process returns to step S212. Similarly, in step S212, the acquired companding rate EXST is
The range of the companding rate EXST indicated by the pointer (E
(S_min or more and less than ES_max) is determined, and if it is determined to be included, step S21 is performed.
In step 3, the waveform to be used is determined, and if it is determined that the waveform is not included, step S215 is executed to execute step S21.
2 is repeated, and finally step S2
At 13, the waveform to be used is determined.

【0037】[0037]

【発明の効果】以上説明したように、本発明によれば、
時間軸方向に圧縮もしくは伸長される波形の品質を高め
ることができる。
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]

【図1】本発明のー実施形態の波形圧縮伸長装置の回路
構成を示したブロック図である。
FIG. 1 is a block diagram showing a circuit configuration of a waveform compression / decompression device according to an embodiment of the present invention.

【図2】図1に示す表示器および操作子群が配備された
パネルを示す図である。
FIG. 2 is a view showing a panel on which the display and the operation group shown in FIG. 1 are arranged.

【図3】図2に示す圧伸率減少スイッチもしくは圧伸率
増加スイッチが押された場合に実行されるルーチンのフ
ローチャートである。
FIG. 3 is a flowchart of a routine executed when a companding rate decreasing switch or a compensating rate increasing switch shown in FIG. 2 is pressed.

【図4】図2に示す再生開始スイッチが押された場合に
実行されるルーチンのフローチャートである。
FIG. 4 is a flowchart of a routine that is executed when a reproduction start switch shown in FIG. 2 is pressed.

【図5】圧縮伸長処理ルーチンのフローチャートであ
る。
FIG. 5 is a flowchart of a compression / decompression processing routine.

【符号の説明】[Explanation of symbols]

11 ROM 12 RAM 13 CPU 14 表示器 15 操作子群 16 D/Aコンバータ 17 バス 20 パネル 100 波形圧縮伸長装置 151 圧伸率減少スイッチ 152 圧伸率増加スイッチ 153 再生開始スイッチ DESCRIPTION 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 rate decreasing switch 152 Companding rate increasing switch 153 Playback start switch

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 演奏速度が異なる複数の波形を格納して
おく波形格納手段と、 波形を時間軸方向に圧縮もしくは伸長する圧伸率を取得
する圧伸率取得手段と、 前記圧伸率取得手段で取得された圧伸率に基づいて前記
波形格納手段に格納された複数の波形の中から1つの波
形を選択し、選択した波形を、該取得された圧伸率に対
応した演奏速度の波形が得られるように時間軸方向に圧
縮もしくは伸長する圧縮伸長手段とを備えたことを特徴
とする波形圧縮伸長装置。
1. A waveform storing means for storing a plurality of waveforms having different playing speeds; a companding rate acquiring means for acquiring a companding rate for compressing or expanding a waveform in a time axis direction; Means for selecting one waveform from the plurality of waveforms stored in the waveform storage means based on the companding rate acquired by the means, and selecting the selected waveform with a playing speed corresponding to the acquired companding rate. A waveform compression / expansion device comprising compression / expansion means for compressing / expanding in the time axis direction so as to obtain a waveform.
【請求項2】 前記波形格納手段はさらに、波形の演奏
速度をあらわす速度情報を複数の波形それぞれに対応し
て格納し、 前記圧縮伸長手段は、選択した波形を、当該波形に対応
する前記速度情報と前記圧伸率取得手段で取得された圧
伸率との比に基づいて時間軸方向に圧縮もしくは伸長す
ることを特徴とする請求項1記載の波形圧縮伸長装置。
2. The waveform storage means further stores speed information representing a performance speed of a waveform corresponding to each of a plurality of waveforms, and the compression / expansion means stores the selected waveform in the speed corresponding to the waveform. 2. The waveform compression / expansion apparatus according to claim 1, wherein the compression / expansion is performed in the time axis direction based on a ratio between information and the compression / expansion rate acquired by the compression / expansion rate acquisition unit.
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 true JP2000066679A (en) 2000-03-03
JP4012636B2 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009025406A (en) * 2007-07-17 2009-02-05 Yamaha Corp Music piece processing apparatus and program
JP2009205039A (en) * 2008-02-29 2009-09-10 Brother Ind Ltd Audio data conversion/reproduction system, audio data conversion device and audio data reproduction device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009025406A (en) * 2007-07-17 2009-02-05 Yamaha Corp Music piece processing apparatus and program
JP2009205039A (en) * 2008-02-29 2009-09-10 Brother Ind Ltd Audio data conversion/reproduction system, audio data conversion device and audio data reproduction device

Also Published As

Publication number Publication date
JP4012636B2 (en) 2007-11-21

Similar Documents

Publication Publication Date Title
JP4012636B2 (en) Waveform compression / decompression device
KR0180058B1 (en) Ultrasonic diagnostic system storing compressed data to cine memory
JP3037861B2 (en) Waveform forming device and electronic musical instrument using the output waveform
JP2001255876A (en) Method for expanding and compressing musical sound waveform signal in time base direction
US5886277A (en) Electronic musical instrument
EP0729131A2 (en) Electronic sound source having reduced spurious emissions
JP2002287758A (en) Method and device for editing waveform
JP4205782B2 (en) Waveform processing device
JP2002236499A (en) Music signal compressor, music signal compander and music signal preprocessing controller
JPH10133665A (en) Musical sound waveform preproducing device
JPH06342291A (en) Electronic musical instrument
JP2882986B2 (en) Image conversion system
JPH11352970A (en) Waveform compressing and expanding device
JP2000206973A (en) Waveform reproducing device
JP2001117595A (en) Audio signal waveform processor
JP3148803B2 (en) Sound source device
JP3521461B2 (en) Processing device for multiple periodic media data
JP4037973B2 (en) Waveform playback device
JP3508609B2 (en) Waveform data editing method, waveform data editing device, and recording medium
JPH0816168A (en) Compression waveform data demodulation device
JPH0636096U (en) Electronic musical instrument
JPH08339267A (en) External storage device for computer
JP4503275B2 (en) Waveform playback device
JPH05304613A (en) Compressing/expanding method and device for picture data
JPH07287576A (en) Musical sound reproducing method

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