JPS6198398A - Frequency conversion circuit - Google Patents

Frequency conversion circuit

Info

Publication number
JPS6198398A
JPS6198398A JP59220817A JP22081784A JPS6198398A JP S6198398 A JPS6198398 A JP S6198398A JP 59220817 A JP59220817 A JP 59220817A JP 22081784 A JP22081784 A JP 22081784A JP S6198398 A JPS6198398 A JP S6198398A
Authority
JP
Japan
Prior art keywords
frequency
clock
circuit
variable frequency
frequency conversion
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.)
Pending
Application number
JP59220817A
Other languages
Japanese (ja)
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP59220817A priority Critical patent/JPS6198398A/en
Publication of JPS6198398A publication Critical patent/JPS6198398A/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 (イ)産業上の利用分野 本発明は音響信号の周波数変換回路に関するものである
DETAILED DESCRIPTION OF THE INVENTION (a) Field of Industrial Application The present invention relates to a frequency conversion circuit for acoustic signals.

←) 従来の技術 音響信号の周波数を実時間で高<L*シ低くし71する
技術として、特開昭58−162996号(G 10L
 )に記されているような技術がある。
←) Conventional technology Japanese Patent Application Laid-open No. 162996/1983 (G10L
) There is a technique described in .

即ち音響信号波形を時間軸上で圧縮・伸長し、その周波
数を変換する方法がある。その構成の概略を第2図と共
に説明する。(1)は音響信号久方端子(In)、(2
1は入力音響信号をディジタル値に変換するAD変換回
路、(3)はAD変換回路(2)でディジタル値に変換
され大音声サンプルを記憶するRAM等のディジタル記
憶手段、(4)は記憶手段から読み出された音声サンプ
ルのディジタル値をアナログ信号に変換するDA変換回
路であシ、(5)は音響信号出力端子(Out)である
。(7)はディジタル記憶手段(3)への書き込み番地
を設定する書込み番地設定回路、(8)は読み出し番地
を設定する読出し番地設定回路であり、切換回路(6)
によって書込み、読出し番地の出力切換えを行う。(9
)はマスク−クロック発生回路、α0社AD変換及び記
憶手段への醤き込みを行う一定周波数の第1クロック(
&)を発生する分周回路であシ、αDは記憶手段からの
読み出し及びDA変換を行う周波数可変の第2クロック
(b)を発生する可変分周回路である。(2)は可変分
周回路叩の分周数を設定する分周数設定手段であり、外
部からの周波数変換比の指定に従い、1      そ
れに対応−レ分周数が設定され、その設定によっ1′ て第2クロック(b)周波数の値が決定される。
That is, there is a method of compressing and expanding an acoustic signal waveform on the time axis and converting its frequency. The outline of its configuration will be explained with reference to FIG. (1) is the acoustic signal Kugata terminal (In), (2
1 is an AD conversion circuit that converts an input acoustic signal into a digital value, (3) is a digital storage means such as a RAM that stores a large audio sample converted into a digital value by the AD conversion circuit (2), and (4) is a storage means. This is a DA conversion circuit that converts the digital value of the audio sample read from the audio sample into an analog signal, and (5) is an audio signal output terminal (Out). (7) is a write address setting circuit that sets a write address to the digital storage means (3), (8) is a read address setting circuit that sets a read address, and a switching circuit (6)
The output of write and read addresses is switched by . (9
) is the mask-clock generation circuit, the first clock (
&), and αD is a variable frequency dividing circuit that generates a variable frequency second clock (b) for reading from the storage means and performing DA conversion. (2) is a frequency division number setting means for setting the frequency division number of the variable frequency divider circuit. According to the designation of the frequency conversion ratio from the outside, the corresponding frequency division number is set, and the corresponding frequency division number is set according to the setting. 1', the value of the second clock (b) frequency is determined.

ここで、第1クロック(a)の周波数を(fl) 、第
2クロック(b)の周波数を(f2)とすると、出力信
号の周波数は入力信号周波数のh/f1倍され大ものと
なる。従って、第2クロック周波数(f2)を変化させ
ることによシ、出力信号の周波数を変えることかできる
Here, if the frequency of the first clock (a) is (fl) and the frequency of the second clock (b) is (f2), then the frequency of the output signal becomes h/f1 times the input signal frequency. Therefore, by changing the second clock frequency (f2), the frequency of the output signal can be changed.

この第2クロックは、前述のようにマスタークロックを
可変分局して得ておフ、その分周数はマスタークロック
の1パルス単位で設定が行われている。従って、第2ク
ロック周波数の値は不連続な値しかとることができず、
その精度はマスタークロック周波数に依存している。
This second clock is obtained by variable division of the master clock as described above, and its frequency division number is set in units of one pulse of the master clock. Therefore, the value of the second clock frequency can only take discontinuous values,
Its accuracy depends on the master clock frequency.

さて、この技術を音響機器等番と応用し、入力信号をあ
る音程だけ変化させたいというような場合には、マスタ
ークロック周波数が低いと、その音程変化に対応し大周
波数変換比と完全に一致した第2クロック周波数を得る
ことができず、所望の音程から少しずれたものしか得ら
れないという欠点が生じてくる。マスタークロック周波
数を高<1すれば、分周数を大きくとることができ、第
2クロックの変化の間隔を細かくすることができるので
1周波数変換比の精度を上げられるのだが、回路素子の
周波数対応の限界やIC化を図る場合のクロック周波数
の制限等によシマスタークロック周波数を必要以上に高
くすることは望ましくない。
Now, if you apply this technology to audio equipment and want to change the input signal by a certain pitch, if the master clock frequency is low, it will correspond to the pitch change and perfectly match the large frequency conversion ratio. This results in the disadvantage that the second clock frequency cannot be obtained, and only a pitch slightly deviated from the desired pitch can be obtained. If the master clock frequency is set to high < 1, the frequency division number can be increased and the interval between changes in the second clock can be made finer, increasing the accuracy of the 1-frequency conversion ratio.However, the frequency of the circuit elements It is undesirable to make the master clock frequency higher than necessary due to the limitations of compatibility and clock frequency limitations when implementing an IC.

(ハ) 発明が解決しようとする問題点本発明は必要以
上にマスタークロック周波数を上げることなく、音響信
号の周波数変換精゛度を改善できるような周波数変換回
路を提供するものである。
(c) Problems to be Solved by the Invention The present invention provides a frequency conversion circuit that can improve the accuracy of frequency conversion of audio signals without increasing the master clock frequency more than necessary.

に)問題点を解決するための手段 入力音響信号の周波数変換比を指定する周波数変換比指
定手段を設け、この指定によってマスタークロックを第
1可変分周回路により分周して第1クロックを得、同じ
くこの指定によってマスタークロックを第2可変分周回
路によシ分周して第2クロックを得、第1クロックに従
ってアナログ入力信号をムD変換してディジタル値に直
し、その値をディジタル記憶手段に記憶し、且つ第2ク
ロック薯こ従ってディジタル記憶手段から読み出してこ
れをDA変換し、第1クロックと第2クロックの周波数
比率によシ入力音響信号の周波数変換を実時間で行う周
波数変換回路であって、第1クロックと第2クロックの
周波数の最適な組み合わせを設定することによシ精度良
く周波数変換が行える構成とする。
(b) Means for solving the problem A frequency conversion ratio designation means for designating the frequency conversion ratio of the input acoustic signal is provided, and according to this designation, the master clock is frequency-divided by the first variable frequency divider circuit to obtain the first clock. Similarly, according to this designation, the master clock is frequency-divided by the second variable frequency divider circuit to obtain the second clock, the analog input signal is converted into a digital value according to the first clock, and the value is digitally stored. A frequency converter for converting the frequency of an input acoustic signal in real time according to the frequency ratio of the first clock and the second clock by storing the second clock in the digital storage means and converting the second clock from the digital storage means. The circuit is configured to perform frequency conversion with high accuracy by setting an optimal combination of frequencies of the first clock and the second clock.

(ホ)作用及び実施例 本発明の実施例を第1図と共に説明する。(1)は音響
信号入力端子、(2)は入力音響信号をディジタル値に
変換するAD変換回路、(3)はAD変換回路でディジ
タル値に変換された音声サンプルを記憶するRAM等の
ディジタル記憶手段、(4)は記憶手段から読み出され
大音声サンプルのディジタル値をアナログ信号に変換す
るDA変換回路であり、(5)は音響信号出力端子(O
ut)である。(7)はディジタル記憶手段(3)への
書き込み番地を設定する書込み番地設定回路、(8)は
読み出し番地を設定する読出し番地設定回路であり、切
換回路(6)によって書込み、読出し番地の出力切換え
を行う。(9)はマスタークロック発生回路、叫はAD
変換回路(2)及び記憶回路(3)への書き込みを行う
第1クロック(a)を発生する第1可変分周回路であり
、卸は記憶回路(3)からの読み出し、及びDA変換回
路(4)でDA変換を行う第2クロック山を発生する第
2可変分周回路である。■はこれらの可変分周回路の分
周数を設定する分周数設定手段であシ、外部から−の周
波数変換比の指定に従い、それに対応した第1可変分周
回路及び第2可変分周回路の分周数をそれぞれ設定する
ものである。
(e) Effects and Examples Examples of the present invention will be described with reference to FIG. (1) is an audio signal input terminal, (2) is an AD conversion circuit that converts the input audio signal into a digital value, and (3) is a digital storage such as a RAM that stores audio samples converted to digital values by the AD conversion circuit. The means (4) is a DA conversion circuit that converts the digital value of the large audio sample read from the storage means into an analog signal, and (5) is an audio signal output terminal (O
ut). (7) is a write address setting circuit that sets a write address to the digital storage means (3), and (8) is a read address setting circuit that sets a read address.The switching circuit (6) outputs the write and read addresses. Perform switching. (9) is the master clock generation circuit, and the shout is the AD
This is a first variable frequency divider circuit that generates the first clock (a) for writing into the conversion circuit (2) and the memory circuit (3). 4) is a second variable frequency divider circuit that generates a second clock peak for performing DA conversion. (2) is a frequency division number setting means for setting the frequency division number of these variable frequency divider circuits, and according to the external designation of the frequency conversion ratio, the corresponding first variable frequency divider circuit and second variable frequency divider are set. This is to set the frequency division number of each circuit.

次に、これらの分周数の設定法を述べる。マスタークロ
ック周波数を(fo)とし、第1可変分周回路の分周数
をnl、第2可変分周回路の分周数をnlとすると、第
1クロック周波数f1(KR2)及び第2クロック周波
数f2(K ′f1z )はそれぞれf1=九/n1.
 fz=fo/nz  (”is ff2:整数)で表
わされる。ここで、入力音響信号と出力音響信号との周
波数変換比をmとすると、mは第1クロックと第2クロ
ックの周波数比によって決定さ]     れ、 :1 m = h/ ft = n1/ nzとなる。従って
希望する周波数変換比に最も近くなるような(*1) 
(nl)の値を分周数設定手段(2)によって設定する
ことにより、所望の周比数変換を行うことができる。従
来の方法では、第1クロック周波数(fl)を一定、つ
まシn1を一定とし、nlだけを変化させて周波数変換
比を変えていたのであるが、本発明の構成によってnl
、nlをそれぞれ変化させることにより、周波数変換比
を非常に精度良く設定することが可能となる。
Next, a method of setting these frequency division numbers will be described. If the master clock frequency is (fo), the frequency division number of the first variable frequency divider circuit is nl, and the frequency division number of the second variable frequency divider circuit is nl, then the first clock frequency f1 (KR2) and the second clock frequency are f2(K'f1z) is f1=9/n1.
It is expressed as fz=fo/nz ("is ff2: integer). Here, if the frequency conversion ratio between the input acoustic signal and the output acoustic signal is m, m is determined by the frequency ratio of the first clock and the second clock. Then, :1 m = h/ft = n1/nz. Therefore, the frequency conversion ratio that is closest to the desired frequency conversion ratio (*1)
By setting the value of (nl) by the frequency division number setting means (2), a desired frequency ratio conversion can be performed. In the conventional method, the first clock frequency (fl) was kept constant, the speed n1 was kept constant, and only nl was changed to change the frequency conversion ratio, but with the configuration of the present invention, nl
, nl, it becomes possible to set the frequency conversion ratio with high accuracy.

実際の構成例として第1表および第2表に具体的な数値
を挙げて説明を行う。入力音響信号の周波数を変換し、
±に音、±1音・・・といった音程の変化(a、単位:
音)を得ようとした場合の例として、第1表に従来の方
法である第2クロック(fl)だけ変化させた場合の周
波数変換比<m)を示し、第2表に本発明の方法である
第1クロック(fl)及び第2クロック(fl)の双方
を変化させ大場合の周波数変換比(F7J)を示しであ
る。ここで(′)4音響1号0音5変イヒ・へ越音50
ゝ(I: (a) f       。
An explanation will be given by listing specific numerical values in Tables 1 and 2 as an example of an actual configuration. Converts the frequency of the input acoustic signal,
Changes in pitch such as ± tones, ±1 tones, etc. (a, unit:
As an example, Table 1 shows the frequency conversion ratio < m) when changing only the second clock (fl) using the conventional method, and Table 2 shows the frequency conversion ratio < m) when changing the second clock (fl) using the conventional method. This figure shows the frequency conversion ratio (F7J) when both the first clock (fl) and the second clock (fl) are changed. Here (') 4 sound No. 1 0 sound 5 change Ihi hegoe sound 50
ゝ(I: (a) f.

得るための周波数変換比であシ、mCJ−2Tの関係ニ
アル。1fc、マスタークロック(fO)としては10
Mnzを用いている。第1表に見られるように第1クロ
ックを一定として第2クロックだけ変化させた場合には
周波数変換比は1%程度の精度内でしか設定することが
できないが、第2表に示したように第1クロックおよび
第2クロックの双方を変える場合には約0.01%の精
度で正確に周波数変換比を設定することができる。
This is the frequency conversion ratio to obtain, and the relationship of mCJ-2T. 1fc, 10 as master clock (fO)
Mnz is used. As shown in Table 1, if the first clock is kept constant and only the second clock is varied, the frequency conversion ratio can only be set within an accuracy of about 1%. When changing both the first clock and the second clock, it is possible to accurately set the frequency conversion ratio with an accuracy of about 0.01%.

(へ)発明の効果 本発明の周波数変換回路を用いると、同じマスタークロ
ック周波数を用いた場合の従来のものと比べ、非常に高
い精度をもって周波数変換比を設定することが可能であ
り、例えばマスタークロック周波数を1QMHzとし、
第1および第2クロック周波数を100に−H2程度で
行った場合には約100倍の精度を得ることができる。
(F) Effects of the Invention By using the frequency conversion circuit of the present invention, it is possible to set the frequency conversion ratio with much higher precision than with conventional circuits using the same master clock frequency. The clock frequency is 1QMHz,
If the first and second clock frequencies are set to about 100 -H2, approximately 100 times more precision can be obtained.

従って、貴会信号の音程変イヒを行うような場合でもマ
スタークロック周波数を必要以上に上げることなく、所
望の音程に非常に近い周波数変換比を得ることが可能で
ある。このように本発明は入力音響信号の周波数変換比
を精度良〈設定することができる実時間の周波数変換回
路を提供するものである。
Therefore, even when changing the pitch of your signal, it is possible to obtain a frequency conversion ratio very close to the desired pitch without increasing the master clock frequency more than necessary. As described above, the present invention provides a real-time frequency conversion circuit that can accurately set the frequency conversion ratio of an input acoustic signal.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の周波数変換回路の要部ブロック回路図
。第2図は従来の周波数変換回路の要部ブロック回路図
である。 (1)・・・・・・音響信号入力端子、(2)・・・・
・・AD変換回路、(3)・・・・・・ディジタル記憶
手段、(4)・・・・・・DA変換回路、(5)・・・
・・・音響信号出力端子、(6)・・・・・・切換回路
、(7)・・・・・・書込み番地設定回路、(8)・・
・・・・読出し番地設定回路、(9)・・・・・・マス
タークロック発生回路、α0;・・・・・・第1可変分
周回路、(11)・・・・・・第2可変分周回路、■・
・・・・・分周数設定手段、(a)・・・・・・第1ク
ロック、(b)・・・・・・ ゛第2クロック。
FIG. 1 is a block circuit diagram of a main part of a frequency conversion circuit according to the present invention. FIG. 2 is a block circuit diagram of a main part of a conventional frequency conversion circuit. (1)...Acoustic signal input terminal, (2)...
...AD conversion circuit, (3)...Digital storage means, (4)...DA conversion circuit, (5)...
...Acoustic signal output terminal, (6)...Switching circuit, (7)...Write address setting circuit, (8)...
... Read address setting circuit, (9) ... Master clock generation circuit, α0; ... First variable frequency dividing circuit, (11) ... Second variable Frequency dividing circuit, ■・
...Dividing number setting means, (a)...First clock, (b)...Second clock.

Claims (1)

【特許請求の範囲】[Claims] (1)(a)アナログ入力信号をディジタル信号に変換
するAD変換手段と、 (b)該AD変換手段出力を記憶するディジタル記憶手
段と、 (c)該ディジタル記憶手段の出力をアナログ値に変換
してアナログ信号に変換するDA変換手段と、 (d)マスタークロックを分周して第1クロックを発生
する第1可変分周回路と、 (e)前記マスタークロックを分周して第2クロックを
発生する第2可変分周回路と、 (f)前記第1可変分周回路と前記第2可変分周回路と
の分周数を設定する分周数設定手段と、(g)前記第1
クロックに応答して前記ディジタル記憶手段の記憶番地
を指定する書込み番地設定手段と、 (h)前記第2クロックに応答して前記ディジタル記憶
手段の読出し番地を指定する読出し番地設定手段とで構
成され、 前記第1可変分周回路と前記第2可変分周回路は共に前
記分周数設定手段で制御され、前記第1クロックと前記
第2クロックとの周波数比によってアナログ入力信号の
周波数を変換することを特徴とする周波数変換回路。
(1) (a) AD conversion means for converting an analog input signal into a digital signal; (b) digital storage means for storing the output of the AD conversion means; (c) converting the output of the digital storage means into an analog value. (d) a first variable frequency divider circuit that divides the master clock to generate a first clock; (e) divides the master clock to generate a second clock; (f) a frequency division number setting means for setting a frequency division number between the first variable frequency divider circuit and the second variable frequency divider circuit; (g) the first variable frequency divider circuit;
(h) a read address setting means for specifying a read address of the digital storage means in response to the second clock; and (h) a read address setting means for specifying a read address of the digital storage means in response to the second clock. , Both the first variable frequency dividing circuit and the second variable frequency dividing circuit are controlled by the frequency dividing number setting means, and convert the frequency of the analog input signal according to the frequency ratio of the first clock and the second clock. A frequency conversion circuit characterized by:
JP59220817A 1984-10-19 1984-10-19 Frequency conversion circuit Pending JPS6198398A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59220817A JPS6198398A (en) 1984-10-19 1984-10-19 Frequency conversion circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59220817A JPS6198398A (en) 1984-10-19 1984-10-19 Frequency conversion circuit

Publications (1)

Publication Number Publication Date
JPS6198398A true JPS6198398A (en) 1986-05-16

Family

ID=16757019

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59220817A Pending JPS6198398A (en) 1984-10-19 1984-10-19 Frequency conversion circuit

Country Status (1)

Country Link
JP (1) JPS6198398A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09142558A (en) * 1995-11-17 1997-06-03 M D Factory-:Kk Disk case

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09142558A (en) * 1995-11-17 1997-06-03 M D Factory-:Kk Disk case

Similar Documents

Publication Publication Date Title
US4598713A (en) Electrostimulation therapy device and method
US3654558A (en) Frequency divider circuit for producing a substantially sawtooth wave
US4377960A (en) Electronic musical instrument of waveform memory reading type
US4602545A (en) Digital signal generator for musical notes
JP3175179B2 (en) Digital pitch shifter
JPS6198398A (en) Frequency conversion circuit
USRE33738E (en) Electronic musical instrument of waveform memory reading type
GB1458966A (en) Waveform processing
US4658691A (en) Electronic musical instrument
US4805508A (en) Sound synthesizing circuit
USRE34481E (en) Electronic musical instrument
JPS5945497A (en) Electronic tone generator
US4646611A (en) Electronic musical instrument
JP2558356B2 (en) Digital to analog converter
JPS63245058A (en) Signal tone generator
JPS634236Y2 (en)
JPS6266292A (en) Digital effect apparatus
JPS6263994A (en) Effect apparatus
JPS6127594A (en) Musical scale converter
JPS612199A (en) Scale shift circuit device
JPS58108597A (en) Synthetic voice generator
JP2560276B2 (en) Digital effect device
JPS6250899A (en) Musical tone effect unit
JPH0142000B2 (en)
JPS5860798A (en) Voice synthesization system