KR960008772Y1 - Musical scale frequency generating device of electronic musical instrument - Google Patents

Musical scale frequency generating device of electronic musical instrument Download PDF

Info

Publication number
KR960008772Y1
KR960008772Y1 KR2019900003801U KR900003801U KR960008772Y1 KR 960008772 Y1 KR960008772 Y1 KR 960008772Y1 KR 2019900003801 U KR2019900003801 U KR 2019900003801U KR 900003801 U KR900003801 U KR 900003801U KR 960008772 Y1 KR960008772 Y1 KR 960008772Y1
Authority
KR
South Korea
Prior art keywords
data
counter
output
signal
scale
Prior art date
Application number
KR2019900003801U
Other languages
Korean (ko)
Other versions
KR910017279U (en
Inventor
조병학
Original Assignee
엘지전자 주식회사
이헌조
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 엘지전자 주식회사, 이헌조 filed Critical 엘지전자 주식회사
Priority to KR2019900003801U priority Critical patent/KR960008772Y1/en
Publication of KR910017279U publication Critical patent/KR910017279U/en
Application granted granted Critical
Publication of KR960008772Y1 publication Critical patent/KR960008772Y1/en

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H1/00Details of electrophonic musical instruments
    • G10H1/02Means for controlling the tone frequencies, e.g. attack or decay; Means for producing special musical effects, e.g. vibratos or glissandos
    • G10H1/04Means for controlling the tone frequencies, e.g. attack or decay; Means for producing special musical effects, e.g. vibratos or glissandos by additional modulation
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2210/00Aspects or methods of musical processing having intrinsic musical character, i.e. involving musical theory or musical parameters or relying on musical knowledge, as applied in electrophonic musical tools or instruments
    • G10H2210/395Special musical scales, i.e. other than the 12-interval equally tempered scale; Special input devices therefor
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2250/00Aspects of algorithms or signal processing methods without intrinsic musical character, yet specifically adapted for or used in electrophonic musical processing
    • G10H2250/541Details of musical waveform synthesis, i.e. audio waveshape processing from individual wavetable samples, independently of their origin or of the sound they represent

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Electrophonic Musical Instruments (AREA)

Abstract

내용 없음.No content.

Description

전자악기의 음계 주파수 발생장치Scale generator of electronic musical instruments

제1도는 본 고안의 회로도.1 is a circuit diagram of the present invention.

제2도는 본 고안에 다른 발애 음계 주파수 및 오차를 나타낸 도표.Figure 2 is a diagram showing the frequency and error of the endemic scale according to the present invention.

제3도는 종래의 음계 주파수 발생장치의 회로도.3 is a circuit diagram of a conventional scale frequency generator.

제4도는 (가)(나)는 제3도에서 C5#음계의 경우의 입출력 관계도.4 is (a) and (b) is the input / output relationship in case of C 5 # scale in FIG.

제5도는 제3도에 의해 발생된 출력에 의해 독출되어 합성된 파형도.5 is a waveform diagram read out and synthesized by the output generated by FIG.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

1 : 입력데이타 레지스터 2 : 음계 분주비 데이타 ROM1: Input data register 2: Scale division ratio data ROM

3 : 가산기 4 : N계수기3: adder 4: N counter

5 : NS계수기 6 : 래치부5: NS counter 6: Latch

7 : 논리게이트 8 : 간격계수기7: Logic Gate 8: Spacing Counter

9 : 멀티플렉서 10 : 앤드게이트부9: multiplexer 10: end gate portion

11 : 논리게이트부 12 : 반전기11: logic gate portion 12: inverter

본 고안은 전자악기의 음계 주파수 발생장치에 관한 것으로, 특히 악기음을 샘플링한 데이타 ROM을 순차적으로 독출하여 악기음을 발생시키는 펄스부호변조(PCM) 방식의 음원발생장치에서 센토우(Cento) 오차가 작고, 파형의 왜곡분포를 고르게 하여 직류 오프셋(DC-offset)에 의한 악영향을 배제시킬 수 있도록 하는 음계주파수를 발생시킬 수 있도록 한 전자악의 음계 주파수 발생장치에 관한 것이다.The present invention relates to a musical instrument frequency generator of electronic musical instruments, and particularly, a Sento error in a pulse code modulation (PCM) sound source generator that sequentially reads data ROMs that sample musical instrument sounds to generate musical instrument sounds. The present invention relates to an electronic musical scale frequency generator capable of generating a scale frequency that is small in size and evenly distorts a waveform so that adverse effects caused by a DC-offset can be eliminated.

종래의 음계 주파수 발생장치는 제3도에 나타낸 바와 같이, 도시생략된 제어부로 부터 소정의 주파수 및 편이정보를 입력받아 저장하는 입력데이타 레지스터(31)와, 상기 입력데이타 레지스터(31)로 부터의 출력을 번지데이타로 하여 분주데이타(PN. PA)를 발생시키는 음계 분주비 데이타 ROM(32)와, 상기 음계 분주비 데이타 ROM(32)에서 출력되는 분주데이타(PN)와 D플립플롭(37)에서 출력되는 데이타를 논리합하여 소정의 분주데이타(N)를 출력시키는 가산기(33)와, 상기 분주데이타(N)를 프리세트(Preset)값으로 하여 N으로 나누는 계수기(34)와, 상기 N계수기(34)의 출력신호를 NS값이 될때까지 계수하는 NS계수기(35)와, A값이 될때까지 계수하는 A계수기(36)와, 상기 A계수기(35)의 출력신호와 NS계수기(35)의 출력신호를 앤드게이트(38)를 논리적한 결과값에 의해 프리세트 또는 리세트 되는 D플립플롭(37)과, 제어부에서 출력되는 FDL(Final Data Load) 및 리세트신호 상태에 따라 상기 D플립플롭(37)에 리세트 신호를 발생시켜 주는 논리게이트부(39)로 구성된 것으로, 그의 동작관계를 제4도의 (가)(나)의 제5도를 참조하면 다음과 같다.As shown in FIG. 3, a conventional scale frequency generator includes an input data register 31 for receiving and storing predetermined frequency and shift information from a control unit, not shown, and from the input data register 31. As shown in FIG. Scale division ratio data ROM 32 which generates division data (PN.PA) with the output as a bungee data, and division data PN and D flip-flop 37 outputted from the division ratio ratio data ROM 32; An adder 33 for ORing the data outputted from the output and outputting predetermined divided data N, a counter 34 for dividing the divided data N into a preset value by N, and the N counter. 34 outputs The output of the NS counter 35, which counts the signal until it reaches an NS value, the A counter 36 that counts until it reaches an A value, and the A counter 35 Signal and output of NS counter 35 The D flip-flop 37 which presets or resets the signal to and from the AND gate 38 by a logical result value, and the D flip-flop according to the final data load (FDL) and the reset signal state output from the controller. 37, which comprises a logic gate portion 39 for generating a reset signal. Referring to FIG. 4 (a) and (b) of FIG.

먼저, 음계 주파수중 1108.7HZ의 C5#음계를 발생시킬 경우를 예를들면, 악기음의 최고 옥타브의 1주기 샘플링수(NS)가 32라고 하면 음계 주파수 발생장치의 출력인 RP(Reading Pules)의 주파수(frp)는 32×108.7(HZ) = 35478.4(HZ)가 된다.First, in the case of generating a C5 # scale of 1108.7HZ of the scale frequencies, for example, if the number of sampling periods (NS) of the highest octave of the musical instrument is 32, the output of the scale frequency generator is RP (Reading Pules). The frequency f rp is 32 × 108.7 (HZ) = 35478.4 (HZ).

이때 시스템 클럭주파수(fCLR) RK 8MHZ이고, 발생 음계 주파수를 fo라 하면 그의 분주 데이타(PN)는가 된다.At this time, if the system clock frequency (f CLR ) RK 8MHZ and the generated scale frequency is fo, its division data (PN) is Becomes

따라서 전확한 음계 주파수(fo)를 얻고자하면 정수가 아니고, 소숫점 이하를 포함하는 실수로 분주해야 한다.Therefore, in order to obtain an accurate scale frequency (fo), it is not an integer but must be divided by a real number including a decimal point.

그러나 N계수기(34)는 정수비로 밖에 분주할 수가 없으므로 등가적으로 소숫점 이하까지의 분해도를 갖도록 분주시키기 위하여 NS계수기(35)(여기서는 NS = 32이므로 32계수기가 됨)와 1A32의 제한값을 갖는 A계수기(36)를 구비하고, C5#음을 발생시킬 경우 제4도의 (가)(나)에서와 같이 분주데이타(N) 값을 225로 16회, 226으로 16회 분주하여 악기음의 1주기샘플수인 32점을 독출한다면, 등가적으로 225로 분주한 것과 갖게 되어 매우 정확한 음계 주파수(fo)를 얻어낼 수가 있는 것이다.However, since the N counter 34 can only be dispensed with an integer ratio, the NS counter 35 (in this case, NS = 32 is 32 counter) and 1 so as to equally divide to have a resolution up to the decimal point. A counter 36 with a limit value of A32 is provided, and when C5 # sound is generated, the dispensing data (N) is divided into 16 times at 225 and 16 times at 226 as shown in (A) of FIG. Thus, if 32 points, which are the number of samples of one period of the musical instrument, are read out, they are equivalent to those divided by 225, so that a very accurate scale frequency (fo) can be obtained.

즉, 입력데이타 레지스터(31)로부터 음계 분주비 데이타 ROM(32)의 번지를 선택하는 번지 데이타가 출력되면, 음계 분주기 데이타 ROM(32)으로 부터는 분주데이타(PN)가 225로 출력되는데, 이때 가산기(33)의 입력단자(B)에는 D플립플롭(37)으로부터 '1'이 입력되므로 분주데이타(N)는 226이 된다.That is, when address data for selecting the address of the scale division ratio data ROM 32 is output from the input data register 31, the division data PN is output as 225 from the scale division frequency data ROM 32. Since '1' is input from the D flip-flop 37 to the input terminal B of the adder 33, the frequency division data N is 226.

또한 이 분주데이타(N) 226은 N계수기(34)에 프리세트값으로 입력됨에 따라 N계수기(34)는 클럭주파수(CK)를 226으로 분주하여 소정의 판독펄스(RP)를 발생시키게 된다.In addition, as the divided data N 226 is input to the N counter 34 as a preset value, the N counter 34 divides the clock frequency CK into 226 to generate a predetermined read pulse RP.

한편, 음계 분주비 데이타 ROM(2)으로부터 A계수기(36)에는 소정의 분주데이타(PA) 16이 출력되므로 A계수기(36)는 16진 계수기로 동작하고, NS계수기(35)는 NS = 32인 계수기로 동작을 하게 된다.On the other hand, since predetermined division data PA 16 is output from the scale division ratio data ROM 2 to the A counter 36, the A counter 36 operates as a hexadecimal counter, and the NS counter 35 is NS = 32. It works as a counter.

또한 음계 주파수 발생기가 동작하여 분주하기 시작하면 처음에는 D플립플롭(37)의 출력이 '하이'가 되므로, N계수기(4)가 226분주하게 되고, N계수기(34)의 출력에서 판독펄스(RP)가 발생될때마다 A계수기(36) 및 NS계수기(35)가 하강(DOWN) 계수를 수행하게 되므로 16을 계수하고나면 A계수기(34)는 클럭신호를 225분주하게 된다.In addition, when the scale generator starts to dispense, the output of the D flip-flop 37 is first. Since this becomes 'high', the N counter 4 divides 226, and the output of the N counter 34 Since the A counter 36 and the NS counter 35 perform the DOWN count each time a read pulse RP is generated, the A counter 34 divides the clock signal 225 after 16 counts.

또한 N계수기(34)가 225분주할때마다 그의 출력단자에서 판독펄스(RP)가 발생되는데, 이 판독펄스(RP)가 16회 발생되면 NS계수기(35)의 출력이 발생되므로 D플립플롭(37)이 리세트되어 N계수기(34)는 226을 계수하는 과정을 되풀이하게 된다.Also, when the N counter 34 dispenses 225, its output terminal A read pulse RP is generated at the output of the NS counter 35 when the read pulse RP is generated 16 times. This causes the D flip-flop 37 to be reset so that the N counter 34 repeats the process of counting 226.

따라서 등가적으로 악기의 1주기 샘플수인 32회만큼 N계수기(34)의 판독펄스(RP) 출력이 발생된 후에는 등가적으로 클럭주파수를 225.5 분주한 결과가 되는 것이다.Therefore, equivalently, after the read pulse (RP) output of the N counter 34 is generated by 32 times the number of samples of one period of the musical instrument, the clock frequency is divided by 225.5 equivalently.

즉, 이와 같이 2모듈계수를 하지 않으면 발생주파수(fo)는 분주데이타(PN)가 정수이므로 클럭주파수(fCLR)를 NS(여기서는 32)의 공배수로만 분주가 가능하나, 2모듈 계수장치를 이용하므로서 클럭주파수(fCLR)를 임의의 정수값으로도 분주할 수가 있다.That is, if the two-module counting is not performed in this way, since the frequency of generation (fo) is an integer division data (PN), it is possible to divide the clock frequency (f CLR ) by the common multiple of NS (here 32). Therefore, the clock frequency f CLR can be divided by any integer value.

다시말해서 C5#음계를 발생시킬 때 처음 16회는 클럭신호를 226분주하고, 나머지 16회는 225분주하여 등가적으로 225.5 분주한 결과를 얻어내게 되나 판독펄스(RP)에 의해 악기음파형 ROM을 순차적으로 독출하여 파형을 발생시키면 제5도에서와 같이 정극성(+) 반주기 고아 부극성(-) 반주기의 시간(tP, tN)이 서로 다르게되어 파형의 왜곡현상이 발생될 뿐만 아니라 정극성 반주기의 면적이 부극성 반주기의 면적보다 크게 되므로 평균치가 정(+)의 오프셋을 가지게 되어 음향 시스템을 거쳐서 악음을 발생시키게 되면 원하지 않는 클럭(Click)음이 발생되어 미려한 악음을 발생시킬 수 없는 분제점이 있었다.In other words, when the C5 # scale is generated, the first 16 times divide 226 clock signals and the remaining 16 times 225 divide to achieve an equivalent 225.5 division, but the instrument sound wave ROM is read by the reading pulse (RP). If the waveform is generated by reading sequentially, as shown in FIG. 5, the time (t P , t N ) of the positive (+) half-cycle orphan-negative (-) half-cycle is different from each other. Since the area of the polar half period is larger than the area of the negative half period, the average value has a positive offset, and when a sound is generated through the acoustic system, unwanted clock clicks are generated and the beautiful sound cannot be generated. There was a powder point.

본 고안은 이와 같은 종래의 문제점을 해소시키기 위하여 안출한 것으로 통상의 음계 주파수 발생장치에 멀티플렉서와 간격계수기 및 다수개의 논리소자를 부가시켜 시스템의 클럭주파수를 높이지 않고도 극히 작은 센토우 오차의음계 주파수를 발생시킬 수가 있고 또한, 대형 하드웨어장치를 부가히지 않고도 종래의 문제점인 악기음 파형의 왜곡 및 직류 오프셋을 없앨 수 있으며, 특히 전체회로가 디지탈 회로로 구성되어 집적화가 가능하게 되어 공정단순화 및 제품의 생산원가를 낮출 수 있는 전자악기의 음계 주파수 발생장치를 제공하는 것을 목적으로 하며, 이하 첨부된 도면을 참조하여 본 고안을 상세히 설명하면 다음과 같다.The present invention was devised to solve such a conventional problem, and by adding a multiplexer, a spacing counter and a plurality of logic elements to a conventional scale generator, the scale frequency of an extremely small sento error without increasing the clock frequency of the system In addition, it is possible to eliminate the distortion and direct current offset of the instrument sound waveform, which is a conventional problem, without adding a large hardware device, and in particular, the entire circuit is composed of digital circuits to enable integration. An object of the present invention is to provide an electronic musical instrument frequency generator capable of lowering the production cost. Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

제1도에 나타낸 바와 같이 본 고안의 구성은 제어수단으로 부터 주파수 및 편이정보를 입력받아 저장하는 입력데이타 레지스터(1)와, 상기 입력데이타 레지스터(1)로 부터의 출력을 번지 데이타로 하여 음계 분주 데이타(PN) 및 간격데이타(INTD)를 발생시키는 음계분주비데이타 ROM(2)과, 분주데이타(PN)과 앤드게이트부(10)의 출력을 논리합하여 분주 데이타(N)를 발생시키는 가산기(3)와, 상기 가산기(3)으로 부터 발생된 분주 데이타(N)를 받아서 클럭을 N분주하는 N계수기(4)와, 상기 N계수기(4)의 출력이 발생할 때마다 클럭을 NS까지 계수하여 NS가 될 때마다 출력펄스를 발생시키는 NS계수기(5)와, 상기 N계수기(4)의 출력이 발생될 때마다 음계분주비데이타 ROM(2)의 출력인 데이타(INTD)를 받아서 이를 프리세트값으로 하여 N계수기(4)의 출력을 계수하는 간격계수기(8)와, 음계분주비데이타 ROM(2)으로 부터의 출력인 부호데이타의 제어에 따라 소정의 데이타(FFH 또는 01H)를 선택하는 멀티플렉서(9)와, 상기 멀티플렉서(9)의 출력을 가산기(3)의 한쪽입력단으로 공급하거나 차단하는 앤드게이트부(10)와, 앤드게이트부(10)의 동작을 결정하는 신호를 발생하는 래치부(6)와, 상기 간격계수기(8), N계수기(4), NS계수기(5) 및 제어수단으로 부터 입력되는 신호에 다라 상기 래치부(6)를 제어하는 논리게이트부(11)와, 상기 논리게이트부(11)로 제어수단으로 부터의 출력정보인 FDL 신호 및 리세트신호를 제공하는 논리게이트(7)로 구성되며, 상기 간격계수기(8)는 N계수기(4)의 출력을 반전기(12)에 의해 반전시킨 신호를 계수하도록 구성됨을 특징으로 한다.As shown in FIG. 1, the structure of the present invention is composed of an input data register 1 for receiving and storing frequency and shift information from a control means, and an output from the input data register 1 as address data. An adder for generating the divided data N by logically combining the outputs of the divided frequency data ROM ROM 2 for generating the divided data PN and the interval data INTD and the outputs of the divided data PN and the end gate portion 10. (3), an N counter 4 for dividing the clock N by receiving the divided data N generated from the adder 3, and counting the clock to NS whenever the output of the N counter 4 occurs. And the NS counter 5 generating an output pulse every time it is NS, and the data INTD which is the output of the scale division ratio data ROM 2 whenever the output of the N counter 4 is generated. Spacing counter that counts output of N counter 4 as set value (8), a multiplexer 9 for selecting predetermined data (FFH or 01H) under the control of code data which is output from the scale division ratio data ROM 2, and an output of the multiplexer 9; An AND gate portion 10 for supplying or interrupting one input terminal of (3), a latch portion 6 for generating a signal for determining the operation of the AND gate portion 10, the interval counter 8, and an N counter (4), the logic gate portion 11 for controlling the latch portion 6 according to the signals input from the NS counter 5 and the control means, and the output from the control means to the logic gate portion 11; And a logic gate 7 for providing the FDL signal and the reset signal as information, wherein the interval counter 8 is configured to count the signal inverted by the inverter 12 of the output of the N counter 4. It features.

상기 논리게이트부(11)는 상기 N계수기(4)와 간격계수기(8)의 출력신호를 입력으로 하여 상기 래치부(6)의 동작을 위한 프레세트신호(PS)를 발생하는 제1오아게이트(111)와, 상기 간격계수기(8)의 반전신호와 N계수기(4)의 출력신호를 양 입력으로 하는 제2오아게이트(112)와, 상기 제2오아게이트(112)의 출력과 NS계수기(5)의 출력신호, 논리게이트(7)의 출력신호를 앤드하여 상기 래치부(6)의 리세트신호(RS)를 발생하는 앤드게이트(113)로 이루어져 있다.The logic gate part 11 inputs the output signals of the N counter 4 and the interval counter 8 to generate a first signal for generating a preset signal PS for the operation of the latch part 6. (111), the second or gate 112 that takes the inverted signal of the interval counter 8 and the output signal of the N counter 4 as inputs, the output of the second or gate 112 and the NS counter And an AND gate 113 for generating the reset signal RS of the latch unit 6 by ANDing the output signal of (5) and the output signal of the logic gate 7.

이와 같이 구성된 본 고안의 작용효과를 제2도를 참조하여 설명하면 다음과 같다.If described with reference to Figure 2 the effect of the present invention configured as described above.

먼저, C5#음계 주파수를 발생시키는 경우를 예를들면 분주데이타(N)를 C5#음의 경우 N = 225 및 226인지 2가지 값으로 하여 분주하되 안기음의 1주기 샘플수(NS)가 32라 할때 종래처럼 처음부터 16회 순수히 226으로 분주하고, 이후 16회를 225로 분주하지 않고 226 및 225분주를 악기음 파형 1주기내의 32회내에 적절한 등간격으로 배분하여 파형의 왜곡을 분산시키고, 직류 오프셋도 상쇄될 수 있도록하여야 한다.For example, in the case of generating the C5 # scale frequency, for example, the frequency division frequency (N) is divided into two values of C5 # in the case of N = 225 and 226. When distributing the distortion of the waveform by distributing 16 times purely 226 from the beginning as in the prior art, and then distributing 226 and 225 at 32 equal intervals within one cycle of the instrument sound waveform without dispensing 16 times to 225 afterwards. In addition, direct current offset should be offset.

따라서 C5#의 경우는 226분주가 16회, 225분주가 16외이므로 간격데이타(INTD)는 NS/16=2가 되고, 이 간격데이타(INTD)는 간격계수기(8)의 프리세트값이 되므로 간격계수기(8)는 2진 계수기로 동작을 하게 되어 악기음 1주기의 샘플수 32회동안 그의 출력단에서는 소정의 펄스가 16회 발생된다.Therefore, in the case of C5 # , the 226 division is 16 times and the 225 division is 16, so the interval data (INTD) becomes NS / 16 = 2, and this interval data (INTD) becomes the preset value of the interval counter (8). The interval counter 8 operates as a binary counter, and its output stage is used for 32 samples of one cycle of the musical instrument. The predetermined pulse is generated 16 times.

이에 따라 간격계수기(8)의 출력은 발생되지 않고, N계수기(4)의 출력만 발생될때에는 225 분주를 수행하고, N계수기(4) 및 간격계수기(8)에서 소정의 펄스가 동시에 출력될때에는 226분주를 수행하게 된다.Accordingly, the output of the interval counter 8 is not generated. When only the output of the N counter 4 is generated, 225 divisions are performed, and predetermined pulses are simultaneously output from the N counter 4 and the interval counter 8. In this case, 226 divisions are performed.

즉, 225 및 226분주가 교대로 수행되므로 파형의 왜곡이 분산되어 1주기 전체의 악기음파형이 정확한 음계주파수를 가지면서도 파형왜곡이 적고, 평균치가 ø이 되므로 직류 오프셋도 발생되지 않게 된다.That is, since the 225 and 226 divisions are alternately performed, the distortion of the waveform is dispersed so that the instrument sound waveform of the entire cycle has the correct scale frequency, the waveform distortion is small, and the average value is ø so that no DC offset is generated.

또한 각 음계에 따른 표준주파수 및 이를 발생시키기 위한 분주데이타(PN), 부호데이타 및 간격데이타(INTD)는 제2도에 나타낸 도표와 같게 되므로 이때 발생되는 주파수(f'o)가 상당히 작은 센토우 오차임을 알 수 있다.In addition, the standard frequency according to each scale, the division data (PN), the sign data, and the interval data (INTD) for generating the same are shown in the diagram shown in Fig. 2, so the generated frequency f'o is very small. It can be seen that the error.

예를들어 제2도에서 C음계의 경우 분주데이타(PN)는 239이고, 부호데이타는 '1'이므로 부호데이타에 의해 제어되는 멀티플렉서(9)는 입력단자(A)를 선택하게 되는데, A입력은 '01H'의 2의 보수인 'FFH'이므로 이 'FFH'값이 앤드게이트부(10)를 거쳐 가산기(3)의 입력단자(B)에 인가됨에 따라 가산기(3)가 감산기의 동작을 하게 되어 분주데이타의 값(PN-1) 즉 238을 출력하게 되고, 그의 횟수는 간격데이타(INTD)가 '10'이므로 분주데이타(PN)로 분주하는 횟수가 10회될 때마다 238분지를 1회 실시하게 되어 악기음 1주기내의 샘플수(NS)인 32회 동안에는 238분주를 등간격으로 3회 실시하게 된다.For example, in FIG. 2, in the case of the C scale, the division data PN is 239 and the sign data is '1', so the multiplexer 9 controlled by the sign data selects the input terminal A. Since 'FFH' is a two's complement of '01H', this 'FFH' value is applied to the input terminal B of the adder 3 through the AND gate portion 10 so that the adder 3 operates the subtractor. As the interval data (INTD) is '10', the frequency of the dispense data (PN-1), that is, 238, is outputted. During the 32 times, which is the number of samples (NS) in one cycle of the musical instrument, 238 divisions are performed three times at equal intervals.

따라서 종래에서와 같이 악기음 1주기의 처음 시작점부터 29회를 연속하여 239분주하고, 마지막 3회를 연속적으로 238분주를 수행하는 형태가 아니고, 239 및 238 분주가 1주기내에 고르게 분포되게 된다.Therefore, as in the prior art, 239 divisions of 29 times are performed continuously from the first starting point of one period of the musical instrument sound, and 239 and 238 divisions are evenly distributed within one cycle of the last three times.

또한 제1도에서 멀티플렉서(9)가 구비되는 것은 음계에 따라 분주데이타(PN)보다 1많은 값(PN+1)으로 분주해야할 경우가 있고, 또한 1작은 값(PN-1)으로 분주해야할 경우가 있으므로 이를 적절히 선택하기 위한 것이다.In addition, in the case where the multiplexer 9 is provided in FIG. 1, it may be necessary to dispense one more value (PN + 1) than the frequency division data (PN) depending on the scale, and also to dispense one small value (PN-1). Is there to select it properly.

또한 도시생략된 제어수단으로부터의 입력데이타 레지스터(1)에 소정주파수 및 편이데이타가 입력되면 제2도의 각 데이타가 저장되어 있는 음계 분주비 데이타 ROM(2)으로부터 선택된 데이타가 출력되어 가산기(3), 간격계수기(8) 및 멀티플렉서(9)로 입력되는데, 이때 만약 A#음계가 선택되었다고 가정하면 간격계수기(8)는 10진 계수기로 동작하고, 멀티플렉서(9)는 부호데이타가 '0'이므로 '01H'를 선택하게 된다.In addition, when predetermined frequency and shift data are inputted to the input data register 1 from the control means not shown, selected data is output from the scale-division ratio data ROM 2 in which each data of FIG. , The interval counter 8 and the multiplexer 9 are inputted. If the A # scale is selected, the interval counter 8 operates as a decimal counter, and the multiplexer 9 has a code data of '0'. Select '01H'.

한편, D플립플롭으로 구성되는 래치부(6)는 간격계수기(8)에서 출력이 발생될 때마다 그의 출력(Q)을 '하이'로 하게 되므로 앤드게이트부(10)의 출력은 멀티플렉서(9)의 출력인 '01H'가 되며, N계수기(4)는 PN+1분주를 수행하게 된다.On the other hand, the latch portion 6 composed of the D flip-flop causes the output Q to be 'high' each time an output is generated in the interval counter 8, so that the output of the AND gate portion 10 is the multiplexer 9 Output is '01H', and the N counter 4 performs PN + 1 division.

또한 간격계수기(8)의 출력이 발생되지 않을 경우에는 래치부(6)의 출력(Q)이 항상 '로우'이므로 앤드게이트부(10)의 출력은 '로우'가 되며 가산기(3)의 출력데이타인 분주데이타(N)는 분주데이타(PN) 값과 같게 된다.In addition, when the output of the interval counter 8 is not generated, the output Q of the latch unit 6 is always 'low', so that the output of the end gate 10 is 'low', and the output of the adder 3 is output. The divided data N, which is the data, is equal to the divided data PN.

그리고 NS계수기(5)는 악기음의 1주기내의 샘플링수(NS)인 32를 계수하기 위한 것으로, N계수기(4)의 츨력펄스가 발생될 때마다 하강계수를 수행하여 그 결과값이 '0'이 되면 소정의 출력신호를 발생시키므로 래치부(6)가 리세트되어 그의 출력(Q)을 '0'로 만들게 됨에 따라 N계수기(4)는 항상 분주데이타(PN) 값으로 분주하기 위한 것이다.The NS counter 5 is for counting 32, which is the sampling number NS within one period of the musical instrument, and performs a falling coefficient every time an output pulse of the N counter 4 is generated. 'N' generates a predetermined output signal, so that the latch unit 6 resets its output Q to '0', so that the N counter 4 always divides the frequency with the divided data PN. .

이상에서 설명한 바와 같이 본 고안에 의하면 시스템의 클럭주파수를 높이지 않고도 극히 작은 센토우 오차의 음계 주파수를 발생시킬 수가 있고, 또한 대형 하드웨어 장치의 부가없이도 종래의 문제점인 악기음 파형 왜곡 및 직류 오프셋을 없앨 수가 있으며, 전체회로가 디지탈 소자로 구성되어 있어 집적화가 가능하게 되어 공정의 단순화 및 제품의 생산원가를 낮출 수 있을 뿐만 아니라 이러한 악기음을 출력시킬수가 있는 것이다.As described above, according to the present invention, it is possible to generate scale frequencies with extremely small send error without increasing the clock frequency of the system. The whole circuit is made up of digital elements, which makes it possible to integrate, which not only simplifies the process and lowers the production cost of the product, but also outputs these musical sounds.

Claims (1)

시스템 클럭을 분주하여 음계주파수를 발생시키는 장치에 있어서, 주파수 및 편이정보를 받아 저장하는 입력데이타 레지스터(1)와, 상기 입력데이타 레지스터(1)로 부터의 출력을 번지데이타로 하여 음계 분주데이타(PN) 및 간격데이타(INTD)를 발생시키는 음계 분주비 데이타 ROM(2)과, 분주데이타(PN)과 앤드게이트부(10)의 출력을 더해 분주데이타(N)를 발생시키는 가산기(3)와, 상기 분주데이타(N)를 입력받아서 클럭을 N분주하는 N계수기(4)와, 상기 N계수기(4)의 출력이 발생할 때마다 클럭을 악기음의 최고 옥타브의 1주기 샘플 포인트수인 NS까지 계수하여 NS가 될때마다 출력펄스를 발생시키는 NS계수기(5)와, 상기 NS계수기(5)의 출력이 발생될 때마다 음계분주비 데이타 ROM(2)의 출력인 데이타(INTD)를 받아서 이를 프리세트값으로 하여 N계수기(4)의 출력을 계수하는 간격계수기(8)와, 음계분주비데이타 ROM(2)에서 출력되는 부호데이타를 제어진호로 입력받아 소정의 데이타(FFH 또는 01H)를 선택하는 멀티플렉서(9)와, 멀티플렉서(9)의 출력을 상기 가산기(3)의 한쪽 입력단(B)으로 공급하거나 차단하는 앤드게이트부(10)와, 상기 앤드게이트부(10)의 동작을 결정하는 신호를 발생하는 래치부(6)와, 상기 N, NS 및 간격계수기(4, 5, 8)와 제어수단으로 부터의 입력되는 신호에 따라 상기 래치부(6)를 제어하는 신호를 발생하는 논리게이트부(11)와, 상기 논리게이트부(11)로 FDL 신호 및 리세트신호를 제공하는 논리게이트(7)로 구성됨을 특징으로 하며, 상기 간격계수기(8)는 상기 N계수기(4)의 출력을 반전기(12)에 의해 반전시킨 신호를 계수하도록 구성되어 2개의 분주데이타(N)에 의해 등간격으로 번갈아 분주를 수행하도록 함을 특징으로 하는 전자악기의 음계주파수 발생장치.In an apparatus for generating a system frequency by dividing a system clock, an input data register (1) for receiving and storing frequency and shift information, and an output from the input data register (1) as a bungee data, PN) and interval data INTD; a scaler division ratio data ROM 2, an adder 3 for generating division data N by adding outputs of the division data PN and the end gate portion 10; When the output of the N counter 4 is generated and the N counter 4 divides the clock by receiving the divided data N, the clock is clocked to NS, which is the number of sample points of one cycle of the highest octave of the instrument sound. The NS counter 5 generates an output pulse every time it is counted to NS, and receives the data INTD, which is the output of the scale division ratio data ROM 2 whenever the output of the NS counter 5 is generated, and frees it. The output of the N counter 4 is counted as a set value. A multiplexer 9 for receiving predetermined data (FFH or 01H) by receiving a coded signal output from the scale counting ratio data ROM 2, a coded division ratio data ROM 2, and an output of the multiplexer 9; And an gate portion 10 for supplying or blocking the input to one input terminal B of the adder 3, a latch portion 6 for generating a signal for determining the operation of the AND gate portion 10, and the N; And a logic gate portion 11 and a logic gate portion 11 for generating a signal for controlling the latch portion 6 in accordance with a signal input from the NS and the interval counters 4, 5, and 8 and the control means. And a logic gate 7 for providing an FDL signal and a reset signal, wherein the interval counter 8 converts the output of the N counter 4 by the inverter 12. It is configured to count so that two dispensing data (N) are used to perform dispensing alternately at equal intervals. Scale the frequency-generating unit of the electronic musical instrument as ranging.
KR2019900003801U 1990-03-31 1990-03-31 Musical scale frequency generating device of electronic musical instrument KR960008772Y1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR2019900003801U KR960008772Y1 (en) 1990-03-31 1990-03-31 Musical scale frequency generating device of electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR2019900003801U KR960008772Y1 (en) 1990-03-31 1990-03-31 Musical scale frequency generating device of electronic musical instrument

Publications (2)

Publication Number Publication Date
KR910017279U KR910017279U (en) 1991-10-28
KR960008772Y1 true KR960008772Y1 (en) 1996-10-09

Family

ID=19297200

Family Applications (1)

Application Number Title Priority Date Filing Date
KR2019900003801U KR960008772Y1 (en) 1990-03-31 1990-03-31 Musical scale frequency generating device of electronic musical instrument

Country Status (1)

Country Link
KR (1) KR960008772Y1 (en)

Also Published As

Publication number Publication date
KR910017279U (en) 1991-10-28

Similar Documents

Publication Publication Date Title
EP0120702A2 (en) Programmable timing system
KR0151261B1 (en) Pulse width modulation circuit
US5592659A (en) Timing signal generator
US4377960A (en) Electronic musical instrument of waveform memory reading type
EP1077529B1 (en) Phase modulation having individual placed edges
EP0097977B1 (en) Frequency synthesizer
US6191722B1 (en) Pulse width modulation digital to analog converter
JPH0576203B2 (en)
KR960008772Y1 (en) Musical scale frequency generating device of electronic musical instrument
US3629715A (en) Digital phase synthesizer
US5854755A (en) Clock frequency multiplication device
JPH1198007A (en) Frequency divider
GB2132043A (en) Timer circuit
US4388590A (en) Digital audio level metering
NL8104415A (en) TUNING SHIFT WITH A FREQUENCY SYNTHESIS SHIFT.
EP1263128A2 (en) Sinusoid synthesis
US20070195877A1 (en) Arbitrary pulse generation
KR970009785B1 (en) Unintentional dividing cluck generator
KR940009963B1 (en) Musical scale frequence generator of electronic musical instrument
KR940009961B1 (en) Pitch compensating apparatus of electronic musical instrument
KR100186315B1 (en) Programmable counter
JP2999668B2 (en) Method and apparatus for generating calibration signal for jitter meter
KR100486236B1 (en) Apparatus for generating frequency-divided signal by except radix 2
SU1350808A1 (en) Frequency converter
KR0127532Y1 (en) 64/8khz composit clock generation circuit using memory

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
REGI Registration of establishment
LAPS Lapse due to unpaid annual fee