JPH0366000A - audio playback device - Google Patents
audio playback deviceInfo
- Publication number
- JPH0366000A JPH0366000A JP1203327A JP20332789A JPH0366000A JP H0366000 A JPH0366000 A JP H0366000A JP 1203327 A JP1203327 A JP 1203327A JP 20332789 A JP20332789 A JP 20332789A JP H0366000 A JPH0366000 A JP H0366000A
- Authority
- JP
- Japan
- Prior art keywords
- data
- speed conversion
- speed
- output
- weighted
- 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
Links
Landscapes
- Signal Processing Not Specific To The Method Of Recording And Reproducing (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
産業上の利用分野
本発明41 音声や各種音響信号などを記録・再生す
る音声記録再生装置と、音声記録再生装置に搭載して会
話などの発声速度を変更するための音声再生速度変換方
法に関すん
従来の技術
返歌 半導体技術の進歩により、音声や音響信号等をデ
ィジタル信号に変換し これを半導体メモリに記録・再
生する機器が実用化されていもこれらの機器型 既に記
録した音声をもとの音程のままで、記録時とは異なる速
度で再生できる音声再生速度変換方法および音声記録再
生装置に関心が集まっていも
以下に従来の音声記録再生装置について説明をすも
第7図は従来の音声記録再生装置の構成を示すものであ
り、 11はAD変換装置 12はDA変換装置 13
はメモリ、 14はデータ書込装置15はデータ読出装
置 16はミューティング装置 17は速度制御装置で
あも
以上のように構成された音声記録再生装置について、以
下その動作を説明すも
入力信号はAD変換装置11でディジタル信号に変換さ
れ データ書込装置14によってメモリ13へ書込まれ
も 速度制御装置17は速度変換比に応じてデータ読出
装置15を制御し このデータ読出装置15によってメ
モリ13からデータを読出す。このデータの読出方法に
よって、再生速度を様々に変化させることができる。再
生速度を早くする場合に(友 ブロック単位で読出すデ
ータを間引く。再生速度を遅くする場合に(上 ブロッ
ク単位で読出すデータを繰返す。そして各ブロック間の
不連続部分はミューティング装置16でミューティング
をかけも 例として速度変換比0゜5と2.0の場合を
第8図に模式的に示す。ここで速度変換比は次式で定義
されるものとする。[Detailed description of the invention] Industrial field of application Invention 41 An audio recording and reproducing device for recording and reproducing voices and various acoustic signals, and an audio recording and reproducing device that is installed in the audio recording and reproducing device to change the speech rate during conversation, etc. A return to conventional technology regarding audio playback speed conversion methods With advances in semiconductor technology, equipment that converts audio and audio signals into digital signals and records and plays them in semiconductor memory has been put into practical use. Although there has been a lot of interest in audio playback speed conversion methods and audio recording/playback devices that allow recorded audio to be played back at a speed different from the speed at which it was recorded while maintaining its original pitch, the following will explain conventional audio recording/playback devices. FIG. 7 shows the configuration of a conventional audio recording and reproducing device, in which 11 is an AD converter, 12 is a DA converter, and 13
14 is a memory; 14 is a data writing device; 15 is a data reading device; 16 is a muting device; and 17 is a speed control device. The data is converted into a digital signal by the AD conversion device 11 and written to the memory 13 by the data writing device 14. The speed control device 17 controls the data reading device 15 according to the speed conversion ratio, and the data is read from the memory 13 by the data reading device 15. Read data. Depending on this data reading method, the playback speed can be varied in various ways. When increasing the playback speed, the data read out in block units is thinned out. When the playback speed is slowed down, the data read out in block units is repeated. Discontinuous parts between each block are removed using the muting device 16. As an example, cases where the speed conversion ratio is 0.5 and 2.0 are schematically shown in FIG. 8. Here, the speed conversion ratio is defined by the following equation.
発明が解決しようとする課題
上記従来の構成において、速度を変化させるためにデー
タを間引いたり反復させている。しかし速度を早める場
合には使用しないデータがあり、子音などの了解度が劣
化すも
また信号波形の不連続点が生し この部分をミューティ
ングしているたべ 自然性に乏しい音声が再生されるこ
とになん
また ピッチ周期を用いる方法(よ ピッチ抽出が難し
い音楽などには適用できな(1
本発明は上記従来の音声録再装置の構成を数取信号波形
の不連続性を打消し データの欠落を生じない自然性に
富んだ音声記録再生装置と音声再生速度変換方法を提供
することを目的とすも課題を解決するための手段
本発明の音声記録再生装置z上 メモリから転送され
たデータを一時的に記憶するバッファメモリと、バッフ
ァメモリ上のデータを読出し 所定の時間長離れた2つ
のデータに重み付け加算してバッファメモリへ書込みを
行なう重み付け加算演算手段と、設定された再生速度に
応じて転送 重み付け加算演算等を制御する速度制御手
段とを備えたことを特徴とする。Problems to be Solved by the Invention In the above conventional configuration, data is thinned out or repeated in order to change the speed. However, when increasing the speed, there is some data that is not used, and the intelligibility of consonants etc. deteriorates, but discontinuities in the signal waveform also occur, and if these parts are muted, the sound is played back with a lack of naturalness. In particular, the method using the pitch period cannot be applied to music for which pitch extraction is difficult. An object of the present invention is to provide an audio recording and reproducing device that is rich in naturalness and does not cause omissions, and a method for converting audio playback speed. a buffer memory for temporarily storing the data, a weighted addition calculating means for reading out the data on the buffer memory, adding weighted sums to two pieces of data separated by a predetermined length of time, and writing the result to the buffer memory; The present invention is characterized by comprising speed control means for controlling weighted addition calculations and the like.
作 用
この構成によってバッファメモリに一時的に記録したデ
ータに対して重み付け加算演算手段で不連続性を打消す
ための重み付け加算の演算が施され このバッファメモ
リからデータの多重読出しを行なうことにより、データ
の欠落がない自然性に富んだ再生音が得られも
実施例
以下本発明の一実施例について、図面を参照しながら説
明すも
第1図は本発明の一実施例における音声記録再生装置の
構成を示すものであも 第1図において、11はAD変
換装置fk 12はDA変換装置 13はメモ1人 1
4はデータ書込装置であり、従来例と同様であ& 2
1はデータ転送装置 22はバッファメモリ、 23は
重み付け加算演算装置 24はデータ読出装置 25は
速度制御装置である。Effect: With this configuration, the weighted addition calculation means performs a weighted addition calculation on the data temporarily recorded in the buffer memory to cancel discontinuity, and by multiple reading data from this buffer memory, Embodiment An embodiment of the present invention will be described below with reference to the drawings. Fig. 1 shows an audio recording and reproducing apparatus according to an embodiment of the present invention. In Figure 1, 11 is an AD converter fk, 12 is a DA converter, and 13 is a memo for one person.
4 is a data writing device, which is similar to the conventional example & 2
1 is a data transfer device; 22 is a buffer memory; 23 is a weighted addition calculation device; 24 is a data reading device; and 25 is a speed control device.
以上のように構成された本実施例の音声記録再生装置に
ついて以下その動作を説明すも入力された音響信号がメ
モリ13に記録されるまでは従来例と同様であも デー
タ転送装置21は速度制御装置25の制御により一定の
周期で決められた数のデータをブロック単位でバッファ
メモリ22に転送すも この転送されたデータは速度制
御装置25の制御によって重み付け加算演算装置23で
加重平均されて、再びバッファメモリ22に書込まれも
データ読出装置24は速度制御装置25の制御によっ
て所定のアドレスのデータを一定周期で読出t、、DA
変換装置12へ出力すも
速度制御装置の制御は速度変換比に応じて処理を変更す
も 第2図(a)〜(e)に速度変換比バ 各々ソー入
1/l 1/2.2.3の場合の速度変換アルゴリ
ズムの模式図を示す。第2図に於て音声データの時間的
な変化の様子がわかa処理アルゴリズムζよ 速度変換
比αが(イ〉α≦0.5の場合、 (ロ)0.5<αく
1の場合、 (ハ)1<αく2の場合、(ニ)2≦αの
場合の4通りに分けられも 第3は 第4は 第5諷
第6図にそれぞれ(()、(+1)、(八)、(ニ)の
場合のデータ制御手続きのフローチャートを示す。The operation of the audio recording and reproducing device of this embodiment configured as described above will be explained below. Although the operation is the same as that of the conventional example until the input audio signal is recorded in the memory 13, the data transfer device 21 has a high speed. A predetermined number of data is transferred to the buffer memory 22 in block units at a constant cycle under the control of the control device 25. This transferred data is weighted and averaged by the weighted addition calculation device 23 under the control of the speed control device 25. , even if the data is written to the buffer memory 22 again, the data reading device 24 reads data at a predetermined address at a constant cycle under the control of the speed control device 25.
The control of the speed control device changes the process according to the speed conversion ratio. A schematic diagram of the speed conversion algorithm in the case of .3 is shown. In Figure 2, we can see how the audio data changes over time.A Processing algorithm , (c) 1<α<α2, (d) 2≦α, and the third is the fourth is the fifth.
FIG. 6 shows a flowchart of the data control procedure in the cases of ((), (+1), (8), and (d), respectively).
ここで、データ転送装置21がメモリ13から読出す音
声信号データ(速度変換未処理)のアドレスをIA、
データ読出装置24がバッファメモリ22から読出す
速度変換処理後のデータのアドレスをIA 重み付け加
算するセグメント長をTx、アドレスAnに存在するメ
モリ13のデータの値をM(An)、アドレスAkに存
在するバッファメモリ22のデータの値をB M (A
k)、重み付けを行なう関数をw(n)、再生すべき音
声ファイルの終端を示すメモリ13のアドレスをIEO
Fとすも
以下に第3図のフローチャート(α≦0.5の場合)の
説明を行なう。(a)まず、 1サイクルの処理につき
出力される速度変換出力のデータ数T0を計算すも
(b)次にIA、 IBを初期設定すも ただり、、
(C)以下の処理でデータがオーバーライドされない
ことを考慮してIBの初期値は設定されるものとする。Here, the address of the audio signal data (unprocessed speed conversion) to be read from the memory 13 by the data transfer device 21 is set to IA,
The address of the data read out from the buffer memory 22 by the data reading device 24 after speed conversion processing is IA, the segment length to be weighted and added is Tx, the value of the data in the memory 13 existing at address An is M(An), and the value existing at address Ak is B M (A
k), the weighting function is w(n), and the address of the memory 13 indicating the end of the audio file to be played is IEO.
The flowchart of FIG. 3 (in the case of α≦0.5) will be explained below. (a) First, calculate the number of speed conversion output data T0 that is output per cycle of processing. (b) Next, initialize IA and IB.
(C) The initial value of IB shall be set considering that data will not be overwritten in the following processing.
(C)次にメモリ13上のIAで示されるアドレスから
27a個のデータをバッファメモリ22上に転送すも
(d)次に バッファメモリ22上のT・離れたデータ
にに−0から(Tx−1)までのT・個分、次式のよう
に窓関数w(k)で重み付けした後加算して、アドレス
1113以降に記録すん
8M(IB+k)1w(k)・BM(k)+(1−w(
k))・BM(T−+k) 。(C) Next, 27a pieces of data are transferred from the address indicated by IA on the memory 13 to the buffer memory 22. (d) Next, from -0 to (Tx -1), weighted with window function w(k) as shown below, and then added and recorded from address 1113 onward.8M(IB+k)1w(k)・BM(k)+( 1-w(
k))・BM(T-+k).
(0≦に≦Tx−1) (式3.l)
ここでw(k)はkに対して単調減少する窓関数で例え
ば三角窓では以下の式で表わされも
(e)次にアドレス値IA、 IBにそれぞれ2Tx
、 Txを加えも
(f)次にアドレス値IAにさらに2Txを加えた値が
メモリ13のアドレスIEOFと比較して大きいか等し
い場合には 処理を終わる分岐を行(\ それ以外の時
には(g)以下の処理を引続き行なう。(0≦≦Tx-1) (Formula 3.l) Here, w(k) is a window function that monotonically decreases with respect to k. For example, in a triangular window, it can be expressed as the following equation. 2Tx each for value IA and IB
, Tx is added (f) Next, if the value obtained by adding 2Tx to the address value IA is greater than or equal to the address IEOF of the memory 13, a branch is made to terminate the processing (\ Otherwise, (g ) Continue the following processing.
(g)次に(d)の処理と同様に次式で表わされる演算
をに−TxからTx−1まで行なう。(g) Next, similarly to the process in (d), the calculation expressed by the following equation is performed from -Tx to Tx-1.
BM(k−T−)1w(k)−BM(k)+(1−w(
k))・BM(T−+k) 。BM(k-T-)1w(k)-BM(k)+(1-w(
k))・BM(T-+k).
(Tx≦に≦Tx−1) (式3.3)(h)次にに−
0から2Tx −Tx −1までメモリ13のデータを
バッファメモリ22の所定のアドレスに転送して1サイ
クルの処理を終了り、 (d)以下の処理を繰り返す
。(Tx≦≦Tx−1) (Equation 3.3) (h) Then −
The data in the memory 13 from 0 to 2Tx -Tx -1 is transferred to a predetermined address in the buffer memory 22 to complete one cycle of processing, and (d) the following processing is repeated.
以上の1サイクルの処理で、入力データTs +Toに
対してToの出力データが得られも また 処理済みの
データ(よ バッファメモリ22の(b)で初期化した
IBアドレス以降に連続して格納されていも以下に第4
図のフローチャート(0,5<αく1の場合)の説明を
行なう。(a)まず、 1サイクルの処理においてその
まま出力されるデータ数Txを計算すも
(b)次にIA、 IBを初期設定すも ただり、、
(C)以下の処理でデータがオーバーライドされない
ことを考慮してIBの初期値は設定されるものとする。With the above one-cycle processing, the output data To is obtained for the input data Ts + To, and the processed data (Yo) is stored consecutively starting from the IB address initialized in (b) of the buffer memory 22. Below is the fourth
The flowchart shown in the figure (in the case of 0,5<α×1) will be explained. (a) First, calculate the number of data Tx that will be output as is in one cycle of processing, (b) Next, initialize IA and IB.
(C) The initial value of IB shall be set considering that data will not be overwritten in the following processing.
(C)次にメモリ13上のIAで示されるアドレスから
27.個のデータをバッファメモリ22上に転送すも
(d)次に バッフ7メモリ22上のTx離れたデータ
にに−0から(Tx−1’)までのTx個分、次式のよ
うに窓関数w(k)で重み付けした後加算して、アドレ
スIB以降に記録すん
BM(IB十k)1w(k)・BM(k)+(1−w(
k))・BM(Tx+k) 。(C) Next, 27. from the address indicated by IA on the memory 13. After transferring the data to the buffer memory 22, (d) Next, the data on the buffer 7 memory 22 that is Tx apart is divided by Tx from -0 to (Tx-1') using a window as shown in the following equation. After weighting with the function w(k), add it and record it after address IB.
k))・BM(Tx+k).
(O≦に≦Tx−1) (式4.1)
ここでw(k)は第3図の場合と同様であも(e)次に
に=oからT8−1まで以下に示すようにメモリ13か
らバッファメモリ22ヘデータを転送すも
By(IB+Tx+k) 4−M(IA+27@+k)
、 (0≦に≦Tx−1)(式4.2)
(f)次にアドレス値Iん IBにそれぞれ27s +
TX、 Ts+TIを加えも
(g)以上で1サイクルの処理は終了しためt アドレ
ス値IAにさらに27s +Txを加えた値がメモリ1
3のアドレスIEOFと比較して大きいか等しい場合に
U 処理を終わる分岐を行t\ それ以外の時には(
c)以下の処理を引続き行なう。(O≦to≦Tx-1) (Equation 4.1) Here, w(k) is the same as in Figure 3, but (e) then from =o to T8-1 as shown below. Transfer data from memory 13 to buffer memory 22 By (IB+Tx+k) 4-M (IA+27@+k)
, (0≦≦Tx-1) (Formula 4.2) (f) Next, add 27s to the address value I and IB, respectively.
Even if TX, Ts + TI are added, one cycle of processing is completed after (g) or more, so the value obtained by adding 27s + Tx to the address value IA is the memory 1.
If it is greater than or equal to the address IEOF of 3, take a branch that ends the process to line t\ Otherwise, (
c) Continue the following processing.
以上のlサイクルの処理で、入力データ27a 十Tx
に対してTs +TXの出力データが得られも また
処理済みのデータ(よ バッファメモリ22の(b)で
初期化したIBアドレス以降に連続して格納されていも
以下に第5図のフローチャート(1くαく2の場合)の
説明を行なう。(a)まず、 lサイクルの処理におい
てそのまま出力されるデータ数Txを計算すも
(b)次にIA、 IBを初期設定すも ただり、、
(c)以下の処理でデータがオーバーライドされない
ことを考慮してIBの初期値は設定されるものとすも(
C)次にメモリ13上のIAで示されるアドレスから2
T・個のデータをバッファメモリ22上に転送すも
(d)次にに−0からTx−1まで以下に示すようにバ
ッファメモリ22内でデータを転送すも
8M(IB+k)18M(k) 、 (0≦に≦T
11)(式5.1)
(e)次に バッファメモリ22上のT−離れたデータ
にに−0から(Tx−1)までのT1個分、次式のよう
に窓関数w(k)で重み付けした後加算して、アドレス
IB+T@以降に記録すん
13M(IB+T−+k)←(1−w(k))4M(k
)+w(k)・BM(Tx+k) 。With the above l-cycle processing, input data 27a 10Tx
Even if the output data of Ts +TX is obtained for
Processed data (even if the processed data is stored consecutively after the IB address initialized in (b) of the buffer memory 22) is explained below. a) First, calculate the number of data Tx that will be output as is in one cycle of processing. (b) Next, initialize IA and IB.
(c) The initial value of IB shall be set considering that the data will not be overwritten in the following processing.
C) Next, 2 from the address indicated by IA on the memory 13
Transfer T data onto the buffer memory 22 (d) Next, transfer data from -0 to Tx-1 within the buffer memory 22 as shown below: 8M(IB+k) 18M(k) , (0≦to≦T
11) (Formula 5.1) (e) Next, for the T-separated data on the buffer memory 22, apply a window function w(k) from -0 to (Tx-1) by T1 as shown in the following equation. After weighting with
)+w(k)・BM(Tx+k).
(0≦に≦Tx−1) (式5.2)
ここでw(k)は第3図の場合と同様であも(f)次に
に−0からTx−1まで以下に示すようにバッフ7メモ
リ22内でデータを転送する。(0≦≦Tx-1) (Equation 5.2) Here, w(k) is the same as in Figure 3, but (f) then from -0 to Tx-1 as shown below. Data is transferred within the buffer 7 memory 22.
BM(IB+27・十k)18M(Tx十k) 、
(0≦に≦Tx−1)(式5.3〉
(g)次にに−T・からTx−1まで以下に示すように
メモリ13からバッファメモリ22ヘデータを転送すも
BM(IB+27@+k)1M(IA+T・十k)
、 (To≦に≦Tx−1)(式5.4)
(h)次にアドレス値Iん IBにそれぞれTs+Tx
、2T。BM (IB+27・10k) 18M (Tx 10k),
(0≦to≦Tx-1) (Formula 5.3> (g) Next, data is transferred from the memory 13 to the buffer memory 22 from -T to Tx-1 as shown below. )1M (IA+T・10k)
, (To≦≦Tx−1) (Formula 5.4) (h) Next, add Ts+Tx to address value I and IB respectively.
, 2T.
+Twを加えも
(g)以上で1サイクルの処理は終了したバ アドレス
値IAにさらにTs +Txを加えた値がメモリ13の
アドレスIEOFと比較して大きいか等しい場合に(よ
処理を終わる分岐を行t、X、それ以外の時には(e)
以下の処理を引続き行なう。+Tw is added and one cycle of processing is completed with (g) or more. Line t, X, otherwise (e)
Continue the following processing.
以上のlサイクルの処理型 人力データTa +Txに
対して27s +TXの出力データが得られも また
処理済みのデータ(よ バッファメモリ22の(b)で
初期化したIBアドレス以降に連続して格納されていも
以下に第6図のフローチャート(α≧2の場合)の説明
を行なう。(a)まず、 1サイクルの処理において消
費される入力データ数Txを計算すも(b)次にIA、
IBを初期設定する。ただり、 (C)以下の処理
でデータがオーバーライドされないことを考慮してIB
の初期値は設定されるものとする。For the above l-cycle processing type human data Ta +Tx, output data of 27s +TX can be obtained.
The flowchart of FIG. 6 (in the case of α≧2) will be explained below. (a) First, calculate the number of input data Tx consumed in one cycle of processing (b) Next, IA,
Initialize IB. However, (C) Considering that the data will not be overridden in the following processing, IB
The initial value of is assumed to be set.
(C)次にメモリ13上のIAで示されるアドレスから
2Tx個のデータをバッファメモリ22上に転送すム
(d)次にに−0からTx−1まで以下に示すようにバ
ッファメモリ22内でデータを転送すも
BM(IB十k)18M(k) 、 (0≦に≦T
11)(弐6.1)
(e)次に バッファメモリ22上のT―離れたデータ
にに−0から(Tx−1)までのT・個分、次式のよう
に窓関数w(k)で重み付けした後加算して、アドレス
IB+T−以降に記録すん
BM(IB+Tx+k)←(1−w(k))・BM(k
)+w(k)−BM(Tx+k) 。(C) Next, transfer 2Tx data from the address indicated by IA on the memory 13 onto the buffer memory 22. (d) Next, transfer data from -0 to Tx-1 in the buffer memory 22 as shown below. BM (IB 10k) 18M (k) , (0≦to≦T
11) (26.1) (e) Next, for the T-separated data on the buffer memory 22, apply the window function w(k ) and then add it to record after address IB+T- BM(IB+Tx+k)←(1-w(k))・BM(k
)+w(k)-BM(Tx+k).
(0≦に≦Tx−1) (弐6.2)
ここでw(k)は第3図の場合と同様であも(f)次に
アドレス値IA、 IBにそれぞれ2Tx、Ts+T
。(0≦≦Tx-1) (26.2) Here, w(k) is the same as in Figure 3, but (f) next, address values IA and IB are 2Tx and Ts+T, respectively.
.
を加えも
(g)次にアドレス値IAがメモリ13のアドレスIE
OFと比較して大きいか等しい場合に(よ 処理を終わ
る分岐を行り\ それ以外の時には(h)以下の処理を
引続き行なう。(g) Next, address value IA becomes address IE of memory 13.
If it is greater than or equal to OF, take a branch to end the process (\) Otherwise, (h) continue the following process.
(h)次に(e)と同様にに−T・から(Tx−1>に
対して次式の演算を行いアドレスO以降に記録すんBM
(k−T・)←(1−w(k))・BM(k>+w(k
)・BM(TI十k) 。(h) Next, in the same way as in (e), calculate the following formula from -T to (Tx-1>) and record after address O BM
(k-T・)←(1-w(k))・BM(k>+w(k
)・BM (TI 10k).
(Tx≦に≦Tx−1) (弐6.3)(i)次にに−
0からTx−1まで以下に示すようにバッフ7メモリ2
2内でデータを転送すも
BM(Tx−Tx+k)18M(T・+k)、(0≦に
≦Tx−1)(弐6.4)
(j)次にに=oからTx−1まで以下に示すようにメ
モリ13からバッファメモリ22ヘデータを転送してl
サイクルの処理を終了L (d)以下の処理を繰り返
す。(Tx≦≦Tx-1) (26.3) (i) Next -
Buffer 7 memory 2 as shown below from 0 to Tx-1
Transfer data within 2, but BM (Tx-Tx+k) 18M (T・+k), (0≦≦Tx-1) (26.4) (j) Next, from =o to Tx-1 and below Transfer the data from the memory 13 to the buffer memory 22 as shown in
End cycle processing L (d) Repeat the following processing.
BM(2Tx−T・+k)1M(IA十k) 、
(0≦に≦T11)(弐6.5)
以上のlサイクルの処理型 入カデータTxに対してT
s +T@の出力データが得られも また 処理済みの
データ(上 バッファメモリ22の(b)で初期化した
IBアドレス以降に連続して格納されていも
醜 重み関数w(n)は第2図では三角窓を用いている
力t これに限るものではな残 また セグメント長T
xは28m5ec程度に設定するのが好ましく\再生す
る音声はバッファメモリ22のアドレスIB以降に書込
まれており、このデータをDA変換装置12で再生する
ことにより、速度を変化させた音声を得ることができも
以上のように本実施例によれば バッファメモリ22と
重み付け演算装置23を設けたことにより、再生音を多
重に加算しデータ欠落がなく不連続性の影響を除いた速
度変換した再生音を得ることができも
な叙 本実施例の説明では重み付け関数に三角窓状の関
数を用いている力丈 ハミング窓やハミング窓状の重み
関数を用いる方が再生音の品質は向上すも
また セグメント長Txは人力信号ソースに応じて変化
させてもよ賎 一般に 音楽ソースには音声信号より長
めのセグメント長の方が良好な再生音が得られも
発明の効果
本発明の音声記録再生装置によれば バッファメモリと
重み付け加算演算手段を設けたことにより、データを多
重に読出して加算でき、子音などの特長部分のデータ欠
落がなく、しかL 不連続点のない自然な速度変換再生
音を得ることができも
また 本発明の音声再生速度変換方法によればピッチ抽
出を用いていないので、音楽などのピッチ周期の求めに
くいものでも比較的良好な再生音が得られる。これによ
り、音声の早聞きや、音声の書取などに有効な音声記録
再生装置を得ることができるものであもBM (2Tx-T・+k) 1M (IA 10k),
(0≦to≦T11) (26.5) Processing type of the above l cycle T for input data Tx
Even if the output data of s + T@ is obtained, and even if the processed data (above) is stored consecutively after the IB address initialized in (b) of the buffer memory 22, the weight function w(n) is shown in Figure 2. Then, the force t using the triangular window is not limited to this, and the segment length T
It is preferable to set x to about 28m5ec.\The audio to be played is written after address IB in the buffer memory 22, and by playing this data with the DA converter 12, audio with varying speed is obtained. As described above, according to this embodiment, by providing the buffer memory 22 and the weighting calculation device 23, the reproduced sound is added multiple times, and the speed conversion is performed without missing data and eliminating the influence of discontinuity. In the explanation of this embodiment, a triangular window-like function is used as the weighting function.The quality of the reproduced sound will be improved if a Hamming window or a Hamming window-like weighting function is used. Also, the segment length Tx may be changed depending on the human input signal source.In general, for music sources, a longer segment length than the audio signal will produce better reproduced sound. According to the device, by providing a buffer memory and weighted addition calculation means, it is possible to read out and add data multiple times, and there is no data loss in special parts such as consonants, and natural speed conversion playback sound with no discontinuities. Also, according to the audio playback speed conversion method of the present invention, since pitch extraction is not used, relatively good reproduced sound can be obtained even for music in which the pitch period is difficult to obtain. This makes it possible to obtain an audio recording and reproducing device that is effective for rapid listening to audio, dictation of audio, etc.
第1図は本発明の一実施例における音声記録再生装置の
構成は 第2図(a)〜(e)は同実施例における速度
変換アルゴリズムの模式は 第3図は速度変換比α力曳
α≦0.5の場合のデータ制御手続きの流れは 第4
図は速度変換比α力(0゜5〈αく1の場合のデータ制
御手続きの流れは 第5図は速度変換比α爪1<αく2
の場合のデータ制御手続きの流れは 第6図は速度変換
比α力丈2≦αの場合のデータ制御手続きの流れは 第
7図は従来例の音声記録再生装置の構成は 第8図は従
来の速度変換アルゴリズムの模式図である。
11・・・AD変換装置 12・・・DA変換装置 1
3・・・メモリ、 14・・・データ書込装置 21・
・・データ転送装a 22・・・バッファメモリ、 2
3・・・重み付け加算演算装置 24・・・データ読出
装置 25速度制御装払Fig. 1 shows the configuration of an audio recording/reproducing device according to an embodiment of the present invention. Fig. 2 (a) to (e) shows a schematic diagram of the speed conversion algorithm in the same embodiment. Fig. 3 shows the speed conversion ratio α. The flow of the data control procedure when ≦0.5 is as follows.
The figure shows the flow of the data control procedure in the case of speed conversion ratio α force (0°5 < α × 1).
Figure 6 shows the flow of the data control procedure when the speed conversion ratio α is 2≦α. Figure 7 shows the configuration of a conventional audio recording and reproducing device. Figure 8 shows the conventional configuration. FIG. 2 is a schematic diagram of a speed conversion algorithm. 11...AD conversion device 12...DA conversion device 1
3...Memory, 14...Data writing device 21.
...Data transfer device a 22...Buffer memory, 2
3... Weighted addition calculation device 24... Data reading device 25 Speed control device
Claims (5)
と、AD変換した音響信号データをメモリに記録するた
めのデータ書込手段と、データを一時的に記憶するため
のバッファメモリと、前記メモリから前記バッファメモ
リへデータの転送を行なうデータ転送手段と、前記バッ
ファメモリ上のデータを読出し、所定の時間長離れた2
つのデータに重み付け加算してバッファメモリへ書込み
を行なう重み付け加算演算手段と、前記バッファメモリ
からデータを読出すデータ読出手段と、前記データ読出
手段の出力をアナログ信号に変換するDA変換手段と、
前記データ転送手段と前記重み付け加算演算手段と前記
データ読出手段の読出しを設定された再生速度に応じて
制御する速度制御手段とを備えた音声記録再生装置。(1) An AD conversion means, a memory for recording data, a data writing means for recording the AD-converted acoustic signal data in the memory, a buffer memory for temporarily storing the data, and the above-mentioned a data transfer means for transferring data from the memory to the buffer memory; and a data transfer means for reading the data on the buffer memory, and two
weighted addition calculation means for adding weighted data to a buffer memory and writing the result to a buffer memory; data reading means for reading data from the buffer memory; and DA conversion means for converting the output of the data reading means into an analog signal;
An audio recording and reproducing apparatus comprising: the data transfer means; the weighted addition calculation means; and a speed control means for controlling reading by the data read means according to a set reproduction speed.
場合の音声再生速度変換方法であって、速度変換後の再
生時間長 速度変換比:α=通常速度での再生時間長 速度変換処理される入力信号はあらかじめ時間領域で標
本化された時系列のデータを用い、速度変換に用いるあ
らかじめ決定された固定のデータ数をT■とし、一回の
処理につき出力される速度変換出力のデータ数を次式で
与えられるT_0として、▲数式、化学式、表等があり
ます▼ 以下の(a)〜(e)の手続きで再生速度変換処理を行
なう、 (a)入力信号データから2T■個のデータを読出し、 (b)最初のY■個のデータには単調減少する関数で重
み付けし、次のT■個のデータには単調増加する関数で
重み付けし、この2つの重み付けされたデータを加算し
てT■個のデータを求め、 (c)前記重み付け加算されたY■個のデータのうち、
最初のY_0個のデータを速度変換出力として出力し、 (d)再度同一の処理するに充分な未処理の入力信号デ
ータが存在しない場合は処理を終了し、それ以外は以下
の処理を行い、 (e)前記重み付け加算されたT_■個のデータのうち
速度変換出力として出力されなかった残りの(T_■−
T_0)個のデータの後に 未処理の入力信号データを
(T_■+T_0)個追加して読込み、(b)以降の処
理を行なう、 ことを特徴とする音声再生速度変換方法。(2) An audio playback speed conversion method when the speed conversion ratio α defined by the following formula is 0<α≦05, the playback time length after speed conversionSpeed conversion ratio:α=playback time at normal speed The input signal to be subjected to long speed conversion processing uses time series data sampled in the time domain in advance, the predetermined fixed number of data used for speed conversion is T, and the output speed per one process is Assuming that the number of converted output data is T_0 given by the following formula, ▲ There are mathematical formulas, chemical formulas, tables, etc. ▼ Perform playback speed conversion processing using the following procedures (a) to (e). (a) From input signal data Read 2T■ data, (b) weight the first Y■ data with a monotonically decreasing function, weight the next T■ data with a monotonically increasing function, and calculate these two weighted data. (c) Of the weighted and added Y data,
Output the first Y_0 data as speed conversion output, (d) If there is not enough unprocessed input signal data to perform the same process again, terminate the process, otherwise perform the following process, (e) Of the T_■ data weighted and added, the remaining (T_■-
An audio playback speed conversion method characterized in that (T_■+T_0) pieces of unprocessed input signal data are added and read after T_0) pieces of data, and processing from (b) onwards is performed.
の場合の音声再生速度変換方法であって、速度変換比:
α=速度変化後の再生時間長/通常速度での再生時間長
速度変換処理される入力信号はあらかじめ時間領域で標
本化された時系列のデータを用い、速度変換に用いるあ
らかじめ決定された固定のデータ数をT_■とし、T_
xを次式で与えられる値とし、一回の処理につき出力さ
れる速度変換出力のデータ数を(T_■+T_x)とし
て、 T_x=2α−1/1−α・T_■ 以下の(a)〜(e)の手続きで再生速度変換処理を行
なう、 (a)入力信号データから2T_■個のデータを読出し
、 (b)最初のT_■個のデータには単調減少する関数で
重み付けし、次のT_■個のデータには単調増加する関
数で重み付けし、この2つの重み付けされたデータを加
算してT_■個のデータを求め、 (c)前記重み付け加算されたT_■個のデータを速度
変換出力として出力し、 (d)未処理の入力信号データをT_x個追加して読込
みそのまま速度変換出力として出力し、 (e)再度同一の処理するに充分な未処理の入力信号デ
ータが存在しない場合は処理を終了し、それ以外は(a
)以降の処理を行なう、 ことを特徴とする音声再生速度変換方法。(3) Speed conversion ratio α defined by the following formula is 0.5<α<1
An audio playback speed conversion method in which the speed conversion ratio is:
α = Playback time length after speed change / Playback time at normal speed The input signal to be processed for speed conversion uses time series data sampled in the time domain in advance, and a predetermined fixed value used for speed conversion is used. Let the number of data be T_■, and T_
Let x be the value given by the following formula, and let the number of speed conversion output data output per one process be (T_■ + T_x), T_x = 2α-1/1-α・T_■ The following (a) ~ Perform playback speed conversion processing according to procedure (e). (a) Read 2T_■ data from the input signal data, (b) Weight the first T_■ data with a monotonically decreasing function, and then T_■ pieces of data are weighted with a monotonically increasing function, these two weighted data are added to obtain T_■ pieces of data, and (c) the weighted and added T_■ pieces of data are subjected to speed conversion. (d) Add T_x pieces of unprocessed input signal data and read it and output it as speed conversion output; (e) When there is not enough unprocessed input signal data to perform the same process again. ends the process, otherwise (a
) An audio playback speed conversion method characterized by performing the following processing.
合の音声再生速度変換方法であって、速度変換比:α=
速度変換後の再生時間長/通常速度での再生時間長速度
変換処理される入力信号はあらかじめ時間領域で標本化
された時系列のデータを用い、速度変換に用いるあらか
じめ決定された固定のデータ数をT_■とし、T_xを
次式で与えられる値とし、一回の処理につき出力される
速度変換出力のデータ数を(2T_■+T_x)として
、 T_x=2−α/α−1・T_■ 以下の(a)〜(f)の手続きで再生速度変換処理を行
なう、 (a)入力信号データから2T_■個のデータを読み出
し、 (b)まず最初のT_■個のデータをそのまま速度変換
出力として出力し、 (c)次に最初のT_■個のデータには単調減少する関
数で重み付けし、次のT_■個のデータには単調増加す
る関数で重み付けし、この2つの重み付けされたデータ
を加算してT_■個のデータを求めて速度変換出力とし
て出力し、 (d)そして後方のT_■個のデータをそのまま速度変
換出力として出力し、 (e)未処理の入力信号データを(T_x−T_■)個
追加して読込み、速度変換出力として出力し、 (f)再度同一の処理するに充分な未処理の入力信号デ
ータが存在しない場合は処理を終了し、それ以外は(a
)以降の処理を行なう、 ことを特徴とする音声再生速度変換方法。(4) An audio playback speed conversion method when the speed conversion ratio α defined by the following equation is 1<α<2, where the speed conversion ratio: α=
Playback time length after speed conversion/Playback time at normal speed The input signal to be speed converted uses time series data sampled in the time domain in advance, and a predetermined fixed number of data is used for speed conversion. is T_■, T_x is the value given by the following formula, and the number of speed conversion output data output per one process is (2T_■ + T_x), T_x = 2-α/α-1・T_■ or less Perform playback speed conversion processing according to procedures (a) to (f) of (a) Read 2T_■ data from the input signal data, (b) First, directly use the first T_■ data as speed conversion output. (c) Next, the first T_■ data are weighted with a monotonically decreasing function, the next T_■ data are weighted with a monotonically increasing function, and these two weighted data are Add the data to obtain T_■ data and output it as a speed conversion output, (d) Then output the subsequent T_■ data as it is as a speed conversion output, (e) convert the unprocessed input signal data to (T_x -T_■) are added and output as speed conversion output, (f) If there is not enough unprocessed input signal data to perform the same process again, the process is terminated, otherwise (a
) An audio playback speed conversion method characterized by performing the following processing.
音声再生速度変換方法であって、速度変換比:α=:速
度変換後の再生時間長/通常速度での再生時間長速度変
換処理される入力信号はあらかじめ時間領域で標本化さ
れた時系列のデータを用い、速度変換に用いるあらかじ
め決定された固定のデータ数をT_■とし、一回の処理
につき出力される速度変換出力のデータ数を(T_■+
T_0)としてT_0を次式で与え、T_■=T_■/
α−1 以下の(a)〜(f)の手続きで再生速度変換処理を行
なう、 (a)入力信号データから2T_■個のデータを読出し
、 (b)まず最初のT_■個のデータをそのまま速度変換
出力として出力し、 (c)次に最初のT_■個のデータには単調減少する関
数で重み付けし、次のT_■個のデータには単調増加す
る重み関数で重み付けし、この2つの重み付けされたデ
ータを加算してT_■個のデータを求め、 (d)前記重み付け加算されたT_■個のデータのうち
、最初のT_■個のデータを速度変換出力として出力し
、 (d)再度同一の処理するに充分な未処理の入力信号デ
ータが存在しない場合は処理を終了し、それ以外は以下
の処理を行ない、 (e)前記重み付け加算されたT_■個のデータのうち
出力されなかった残りの(T_■−T_■)個のデータ
の後に、(a)で読出した後半のT_■個のデータを配
置(f)未処理の入力信号データをT_■個追加して読
込み、(b)以降の処理を行なう、 ことを特徴とする速度変換方法。(5) An audio playback speed conversion method when the speed conversion ratio α defined by the following formula is 2≦α, wherein the speed conversion ratio: α=: Playback time length after speed conversion/Playback time at normal speed The input signal to be subjected to long speed conversion processing uses time series data sampled in the time domain in advance, the predetermined fixed number of data used for speed conversion is T_■, and the speed output per one process is The number of data of conversion output is (T_■+
T_0) is given by the following formula, T_■=T_■/
α-1 Perform playback speed conversion processing using the following procedures (a) to (f): (a) Read 2T_■ data from the input signal data; (b) First, use the first T_■ data as is. (c) Next, the first T_■ pieces of data are weighted with a monotonically decreasing function, the next T_■ pieces of data are weighted with a monotonically increasing weighting function, and these two Adding the weighted data to obtain T_■ data; (d) Outputting the first T_■ data among the weighted and added T_■ data as a speed conversion output; (d) If there is not enough unprocessed input signal data to perform the same process again, the process is terminated; otherwise, the following process is performed; After the remaining (T_■-T_■) pieces of data that were not present, the latter half of the T_■ pieces of data read in (a) are placed. (f) T_■ pieces of unprocessed input signal data are added and read, (b) A speed conversion method characterized by performing the following processing.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1203327A JP2910068B2 (en) | 1989-08-04 | 1989-08-04 | Audio playback device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1203327A JP2910068B2 (en) | 1989-08-04 | 1989-08-04 | Audio playback device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0366000A true JPH0366000A (en) | 1991-03-20 |
| JP2910068B2 JP2910068B2 (en) | 1999-06-23 |
Family
ID=16472177
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1203327A Expired - Lifetime JP2910068B2 (en) | 1989-08-04 | 1989-08-04 | Audio playback device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2910068B2 (en) |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6170900U (en) * | 1984-10-16 | 1986-05-14 |
-
1989
- 1989-08-04 JP JP1203327A patent/JP2910068B2/en not_active Expired - Lifetime
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6170900U (en) * | 1984-10-16 | 1986-05-14 |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2910068B2 (en) | 1999-06-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0738120B2 (en) | Audio recording / playback device | |
| US6085157A (en) | Reproducing velocity converting apparatus with different speech velocity between voiced sound and unvoiced sound | |
| US20010051870A1 (en) | Pitch changer for audio sound reproduced by frequency axis processing, method thereof and digital signal processor provided with the same | |
| JPS5982608A (en) | System for controlling reproducing speed of sound | |
| JP2910068B2 (en) | Audio playback device | |
| JPS63317979A (en) | Sound signal correcting device | |
| JPH0573089A (en) | Speech reproducing method | |
| JPS6134704A (en) | Sound recording and reproducing device | |
| JPS60216393A (en) | Information processor | |
| JPS63138809A (en) | Signal processing circuit | |
| JPH035597B2 (en) | ||
| JPS61121539A (en) | Sound signal reproducing circuit | |
| JPS6042959B2 (en) | Analog signal synthesizer | |
| TW470926B (en) | Method for varying tone and decreasing its noise | |
| JPS62125577A (en) | Voice storing and reproducing device | |
| JPS6391873A (en) | Voice sound recording and reproducing device | |
| JP2004240352A (en) | Speech comparison learning device | |
| JPS60214399A (en) | Information processor | |
| JPS6060077B2 (en) | Analog signal synthesizer | |
| JPS59195307A (en) | Recording system of sound information | |
| JPH03219462A (en) | Sound speed converter | |
| JPS58143405A (en) | Remote control circuit for time-axis compressing and expanding device | |
| JPH04345997A (en) | Voice processor | |
| JPS59224911A (en) | Noise eliminating device | |
| JPS62262290A (en) | Tape recorder |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080409 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090409 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100409 Year of fee payment: 11 |
|
| EXPY | Cancellation because of completion of term | ||
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100409 Year of fee payment: 11 |