CN1064157C - Track-optimized tone generator for cycle recording - Google Patents
Track-optimized tone generator for cycle recording Download PDFInfo
- Publication number
- CN1064157C CN1064157C CN97104399A CN97104399A CN1064157C CN 1064157 C CN1064157 C CN 1064157C CN 97104399 A CN97104399 A CN 97104399A CN 97104399 A CN97104399 A CN 97104399A CN 1064157 C CN1064157 C CN 1064157C
- Authority
- CN
- China
- Prior art keywords
- tone
- address
- generator
- track
- address counter
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 239000010453 quartz Substances 0.000 claims description 7
- VYPSYNLAJGMNEJ-UHFFFAOYSA-N silicon dioxide Inorganic materials O=[Si]=O VYPSYNLAJGMNEJ-UHFFFAOYSA-N 0.000 claims description 7
- 239000000919 ceramic Substances 0.000 claims description 4
- 238000005457 optimization Methods 0.000 claims description 4
- 230000000737 periodic effect Effects 0.000 abstract 1
- 238000005070 sampling Methods 0.000 description 12
- 238000000034 method Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
Images
Landscapes
- Electrophonic Musical Instruments (AREA)
- Optical Head (AREA)
Abstract
Description
本发明是一种分轨最佳化周期记录的音调产生器,尤指一种将音调分轨记录并采用最佳化周期数,而达到频率精确度的音调产生器。The invention relates to a tone generator for track-separated and optimized cycle recording, especially a tone generator for track-separated recording and optimal cycle number to achieve frequency accuracy.
按,电子合成音乐或电讯的双音段频率产生器中,是需要有音调产生器(Tone Generator)产生各种音调频率而提供工作者进一步的作各种音调合成与应用。传统的音调产生器(如图1所示)是利用一固定信号源10产生参考时序(fs),此信号(fs)经由一可程序化计数器11(ProgrammableCounter)除频后得到所需音调频率的N倍,即可程序化计数器11输出一N*F的频率,此频率再经一固定除以N计数器12后,经地址查表得到相对应的音调数位波形,再将此波形经数字化模拟转换器13(DAC)转换后,即可得到所要的音调。Press, in the dual-segment frequency generator of electronically synthesized music or telecommunication, it is necessary to have a tone generator (Tone Generator) to generate various tone frequencies to provide workers with further synthesis and application of various tones. A traditional tone generator (as shown in Figure 1) uses a fixed signal source 10 to generate a reference timing (fs), and this signal (fs) is divided by a programmable counter 11 (ProgrammableCounter) to obtain the desired tone frequency N times, you can program the counter 11 to output a frequency of N*F. After this frequency is divided by a fixed number of N counters 12, the corresponding tone digital waveform is obtained through the address look-up table, and then the waveform is converted into digital and analog. After conversion by device 13 (DAC), the desired tone can be obtained.
由于音调频率是以12平均分布,即f*2N/12,因此各音阶间的频率差仅为7%,因此如果要得到更精确的音高,例如误差小于0.5%,则可程序化计数器11的计数级数必须要高达八级(即除数从128~256),此时信号源10频率应大于256*N*f如果音调波形表是以64个地址完成,即N为64,欲产生2000Hz的音调,其系统信号源10所产生的频率即需大于256*64*2KHz=32MHz,而一般均是以石英振荡器所产生,而高频的石英振荡器价格十分昂贵,且其耗电量亦与频率成正比,加上可程序化计数器11至少需要八级以上,故导致硬件成本极高。因此如何达到底频系统时序的音频产生器,一直是各研究人员的目标。Since the tone frequency is evenly distributed by 12, that is, f*2 N/12 , the frequency difference between each scale is only 7%, so if you want to get a more accurate pitch, for example, the error is less than 0.5%, you can program The number of counting stages of the counter 11 must be up to eight (i.e. the divisor is from 128 to 256). At this time, the frequency of the signal source 10 should be greater than 256*N*f. If the tone waveform table is completed with 64 addresses, that is, N is 64, To generate a tone of 2000Hz, the frequency generated by the system signal source 10 needs to be greater than 256*64*2KHz=32MHz, which is generally produced by a quartz oscillator, and the high-frequency quartz oscillator is very expensive, and its The power consumption is also proportional to the frequency, and the programmable counter 11 requires at least eight levels, so the hardware cost is very high. Therefore, how to achieve the audio generator of the bottom frequency system timing has always been the goal of various researchers.
本发明的主要目的即是利用一极低的系统频率,借由简单、规则的硬件结构,完成一低耗电、低成本、高精确度的全新音调产生器。The main purpose of the present invention is to use an extremely low system frequency to complete a new tone generator with low power consumption, low cost and high precision by means of a simple and regular hardware structure.
依据前述,本发明是将音调分轨记录并采用最佳化周期数,而达到频率精确度的音调产生器,由于采用分轨记录方式,将使取样频率降低,且记录长度是以最佳化周期数为准,因此能拥有精确的频率需求,同时以较多的存储空间使系统时基大幅降低,进而能减少耗电流及硬件成本。According to the foregoing, the present invention is a tone generator that records the tone in separate tracks and uses an optimized number of cycles to achieve frequency accuracy. Due to the use of the track-based recording method, the sampling frequency will be reduced, and the recording length is optimized. The number of cycles is the standard, so it can have accurate frequency requirements, and at the same time, the system time base can be greatly reduced with more storage space, thereby reducing current consumption and hardware costs.
本发明分轨最佳化周期记录的音调产生器,包括有:一信号产生器、地址计数器、存储器及数字化模拟转换器,其特征在于,信号源是产生系统时基,此系统时基并送到地址计数器内;地址计数器,是依所要的音调选择相对应的地址至指定的存储器地址,周而复始地读出相对资料;存储器,是储存各音调系统时基取样,并记录各个不同音调的最佳化周期数,由上述地址计数器指向地址内的资料,读出后送至数字化模拟转换器,以将音调还原成原音的模拟信号;其中该系统时基是以32768Hz的时钟石英或陶瓷振荡器所产生;其中地址计数器及存储器可用来产生两组以上音调,以作为双音复频产生器及多音伴奏音调产生器;其中该存储器所储存的取样与最佳化周期数的资料,利用分时读取方式,即将列地址及行地址错开读取,并分别闩入存储器内部的暂存器,而由数字化模拟转换器转换并相加后成一复频音调。The tone generator for track-divided optimization period recording of the present invention includes: a signal generator, an address counter, a memory and a digital-to-analog converter. It is characterized in that the signal source generates a system time base, and the system time base is sent simultaneously to the address counter; the address counter is to select the corresponding address to the designated memory address according to the desired tone, and read out the relative data repeatedly; the memory is to store the time base sampling of each tone system and record each different tone. The data in the address is pointed to by the above-mentioned address counter, and then sent to the digital-to-analog converter to restore the tone to the original analog signal; the system time base is based on a 32768Hz clock quartz or a ceramic oscillator. Generate; the address counter and memory can be used to generate more than two groups of tones as a dual-tone multiple frequency generator and a multi-tone accompaniment tone generator; the data stored in the memory for sampling and optimizing the number of cycles can be used by time-sharing In the reading mode, the column address and the row address are staggered and read, and respectively latched into the temporary register inside the memory, and converted by a digital-to-analog converter and added to form a multiple-frequency tone.
为使能进一步了解本发明的目的、特征及功效,兹籍由下述具体实施例,并配合附图,对本发明做一详细说明,说明如后:In order to enable further understanding of the purpose, features and effects of the present invention, the present invention is described in detail by means of the following specific embodiments, and in conjunction with the accompanying drawings, as follows:
图1是为传统音调产生器的电路方块图;Fig. 1 is a circuit block diagram of a conventional tone generator;
图2是为本发明的电路方块图;Fig. 2 is a circuit block diagram of the present invention;
图3是为本发明的另一实施例图;Fig. 3 is another embodiment diagram of the present invention;
依据取样原理,取样频率只需要大于信号最高频率的两倍,即可忠实记录及还原原音。因此本发明利用此一原理,对于各个音调单独取样并记录之,其系统参考时序只须最高频率的两倍以上,即可将系统时序降频,而能不使用高频石英振荡器降低耗电量与硬件成本。According to the sampling principle, the sampling frequency only needs to be greater than twice the highest frequency of the signal to faithfully record and restore the original sound. Therefore, the present invention uses this principle to separately sample and record each tone, and its system reference timing only needs to be more than twice the highest frequency, so that the system timing can be down-frequency, and the power consumption can be reduced without using a high-frequency quartz oscillator. quantity and hardware cost.
如图2所示,是为本发明的电路方块图;信号源20是利用石英振荡器或陶瓷振荡器产生系统时基(fs),此系统时基(fs)并送到地址计数器21内;地址计数器21是依所要的音调选择相对应的地址至指定的存储器22地址,以读出相对资料;存储器22可采用只读存储器(ROM),是储存各音调以fs取样并记录的资料,其长度是由所需频率的容许范围来决定记录的最佳周期数,由上述地址计数器21指向地址内的资料,读出后送至数字化模拟转换器23,以将音调还原成原音的模拟信号。As shown in Figure 2, be the circuit block diagram of the present invention;
存储器22内所储存的资料是规划如表一所示:The data stored in the
表一
表一是利用32768时钟用石英振荡器作为系统时基(fs)来产生音调A6、A6#、……、G7、G7#等的相关资料对照表,表中第一行是音名,即在音乐上的高音记号,第二行是为主要的频率值,第三行是总频率为32768的倍数关系,第四行是本发明以32768Hz对应相对音名所记录的周期数,第五行是相对点数,第六行是频率相对应误差百分比。以A6为例,其频率为1760Hz,以32768Hz取样(即32768/1760)为18.618个样品(sample),由于实际记录为整数,因此取样可以为19,此时频率误差为:
表二
如表二所示,是为本发明存储器地址与内容示意表,存储器22内所储存的资料,是依表二所示获得的取样与最佳周期记录加以储存,表二所示,是以将资料依序排列,如音名A6所取样的点数为56点,故从地址0~55是记录A6的各点资料,当欲产生A6音调时,地址计数器21由选择输入控制其送出地址0的资料,然后依序加到55时,自动由回复到0,如此周而复始即能将表示音调A6的各个取样信号输出,而由数字化模拟转换器23转化成原音(TONE)输出,相同的,若欲输出B6音调,则地址计数器21起始位置即指向地址144,并依序拿取资料直到地址277的最后一笔资料D82(B6)后,重回地址144,如此周而复始即可获得音调B6,其余音调则以此类推。As shown in Table 2, it is a schematic table of memory address and content of the present invention, and the data stored in the
如图3所示,是为本发明的另一实施例图;此实施例是应用于电讯的双音复频率产生器(DTMF GENERATOR),其中包括有:一信号源30,是利用石英振荡器或陶瓷振荡产生系统时基(fs),此系统时基(fs)并分别送到第一地址计数器31及第二地址计数器32内;第一地址计数器31,是由行地址选择控制,而第二地址计数器32则由列地址选择控制;存储器33,是储存最佳化周期数的音调内容,并利用分时读取方式,即将列地址及行地址错开读取,并分别闩入(Latch)存储器33内部的暂存器中;数字化模拟转换器34,是将所读取的行、列地址资料分别转换成模拟信号,并将此二信号相加后送出复频音调。本实施例中所采用的取样及最佳化周期数作法,与前述相同,于此不在赘述。As shown in Figure 3, it is another embodiment figure of the present invention; This embodiment is applied to the dual-tone complex frequency generator (DTMF GENERATOR) of telecommunication, wherein includes: a
综上所述,本发明所提供的分轨最佳化周期记录的音调产生器,所采用的分轨记录方式,将使取样频率降低,且记录长度是以最佳化周期数为准,能拥有精确的频率需求,同时以较多的存储空间使系统时基大幅降低,进而能减少耗电流及硬件成本。不仅具有实用功效外,并且为前所未见的新设计,并且具有功效性与进步性的增进。To sum up, the tone generator for track-separated and optimized cycle recording provided by the present invention adopts a track-separated recording method that will reduce the sampling frequency, and the recording length is based on the number of optimized cycles, which can It has precise frequency requirements, and at the same time, the system time base is greatly reduced with more storage space, thereby reducing current consumption and hardware costs. Not only has practical function, but also has a new design that has never been seen before, and has the improvement of function and progress.
以上所述内容与所举实施例的图示,仅是本发明的较佳实施例,大凡知悉此技术的人士,依照本发明的精神作成的各种变化与修饰,仍应包含在本案的专利范围内。The above-mentioned contents and illustrations of the cited embodiments are only preferred embodiments of the present invention, and the various changes and modifications made by those who know this technology according to the spirit of the present invention should still be included in the patent of this case. within range.
Claims (3)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN97104399A CN1064157C (en) | 1997-05-27 | 1997-05-27 | Track-optimized tone generator for cycle recording |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN97104399A CN1064157C (en) | 1997-05-27 | 1997-05-27 | Track-optimized tone generator for cycle recording |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1200530A CN1200530A (en) | 1998-12-02 |
| CN1064157C true CN1064157C (en) | 2001-04-04 |
Family
ID=5167334
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN97104399A Expired - Fee Related CN1064157C (en) | 1997-05-27 | 1997-05-27 | Track-optimized tone generator for cycle recording |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1064157C (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107481711B (en) * | 2017-07-07 | 2021-05-25 | 武晓愚 | Method for generating reference tone and scale generator |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1073289A (en) * | 1991-12-13 | 1993-06-16 | 雅马哈株式会社 | Waveform generator |
| WO1996022592A1 (en) * | 1995-01-18 | 1996-07-25 | Ivl Technologies Ltd. | Method and apparatus for changing the timbre and/or pitch of audio signals |
-
1997
- 1997-05-27 CN CN97104399A patent/CN1064157C/en not_active Expired - Fee Related
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1073289A (en) * | 1991-12-13 | 1993-06-16 | 雅马哈株式会社 | Waveform generator |
| WO1996022592A1 (en) * | 1995-01-18 | 1996-07-25 | Ivl Technologies Ltd. | Method and apparatus for changing the timbre and/or pitch of audio signals |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1200530A (en) | 1998-12-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4348929A (en) | Wave form generator for sound formation in an electronic musical instrument | |
| JPS6055840B2 (en) | Tone generator for multitone synthesizer | |
| US4602545A (en) | Digital signal generator for musical notes | |
| CN1064157C (en) | Track-optimized tone generator for cycle recording | |
| JPH0417440B2 (en) | ||
| US4528884A (en) | Wave reading apparatus | |
| JPH0423277B2 (en) | ||
| USRE31648E (en) | System for generating tone source waveshapes | |
| JPH035593B2 (en) | ||
| JPS6093495A (en) | Electronic musical instrument | |
| CN1953049B (en) | Waveform generation for fm synthesis | |
| JP2000099009A (en) | Audio signal encoding method | |
| US4338844A (en) | Tone source circuit for electronic musical instruments | |
| US4709611A (en) | Electronic musical instrument for generating a natural musical tone | |
| JPS6141193A (en) | Electronic musical instrument | |
| JPS6060693A (en) | Electronic musical instrument | |
| JPS5855437Y2 (en) | electronic musical instruments | |
| JPS634236Y2 (en) | ||
| JPS60126698A (en) | electronic musical instruments | |
| JPS60495A (en) | Waveform readout device | |
| JPS6226786Y2 (en) | ||
| JPH0793047A (en) | Waveform generating circuit | |
| JPS62125395A (en) | electronic musical instruments | |
| JPH0782336B2 (en) | Electronic musical instrument | |
| JPS5915989A (en) | Waveform reader |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C06 | Publication | ||
| PB01 | Publication | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| C17 | Cessation of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20010404 Termination date: 20140527 |