CN103903610A - Method for making synthesis audio data - Google Patents

Method for making synthesis audio data Download PDF

Info

Publication number
CN103903610A
CN103903610A CN201210581147.5A CN201210581147A CN103903610A CN 103903610 A CN103903610 A CN 103903610A CN 201210581147 A CN201210581147 A CN 201210581147A CN 103903610 A CN103903610 A CN 103903610A
Authority
CN
China
Prior art keywords
sound
data
composite tone
unifrequency
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210581147.5A
Other languages
Chinese (zh)
Other versions
CN103903610B (en
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.)
Beijing Aeonmed Co Ltd
Original Assignee
Beijing Aeonmed 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 Beijing Aeonmed Co Ltd filed Critical Beijing Aeonmed Co Ltd
Priority to CN201210581147.5A priority Critical patent/CN103903610B/en
Publication of CN103903610A publication Critical patent/CN103903610A/en
Application granted granted Critical
Publication of CN103903610B publication Critical patent/CN103903610B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Reverberation, Karaoke And Other Acoustics (AREA)
  • Auxiliary Devices For Music (AREA)

Abstract

The invention discloses a method for making synthesis audio data. Synthesis audio is formed by combining multiple single-frequency sounds with different frequencies. The method comprises: according to the change status of the single-frequency sounds, drawing corresponding rows of image data, each single-frequency sound being corresponding to one row of an image, each column in the image being corresponding to the synthesis audio data of a time unit in a period; and then performing lattice modulus taking on the image data so as to convert the image data into the synthesis audio data. The method for making the synthesis audio data is simple, and the fault tolerance performance is high.

Description

A kind of method of making Composite tone data
Technical field
The present invention relates to voice data and make field, relate in particular to a kind of method of utilizing drawing software to make Composite tone data.
Background technology
In electronic equipment, usually need to come playing alert tones or alarm sound with hummer or loudspeaker.In order to make tone color and tone have more variation, this area is often used multifrequency Composite tone data as prompt tone or alarm sound.Multifrequency Composite tone is to be formed by certain principle combinations by multiple unifrequent sound.For example, one three frequency Composite tone can for example, for example, for example, be combined by fundamental frequency sound (1000Hz), two frequency multiplication sound (2000Hz) and frequency tripling sound (3000Hz), some time period in one-period, can in performance period, the tone tone color of Composite tone change does not appear in two frequency multiplication sound parameters.Here, unifrequency sound refers to the sound sending with periodic waveform input hummer or the loudspeaker of fixed frequency.
Fig. 1 is the schematic diagram of conventional Composite tone playing circuit.Composite tone data are stored in single-chip microcomputer 11 with the form of many bit-binary Number Sequence, and whether the relevant position of the unifrequency sound that each bit of binary number represents respective frequencies in the cycle occurs.With three frequency Composite tone data instances, Composite tone data are with (110,110,111,111,111,101,101 ...) such form storage, the voice data in each binary number representative corresponding moment within the cycle, for example first data 110 are illustrated in first chronomere that the cycle starts, and audio frequency is made up of the unifrequency sound of first frequency and the unifrequency sound of second frequency, at this moment, the unifrequency sound of the 3rd frequency does not occur.When single-chip microcomputer 11 is exported prompt tone or alarm sound at needs, read most Composite tone data, export frequency synthesis from parallel data port 12, also each road that is parallel data port 12 is 1 according to Composite tone data corresponding to this chronomere or is the sound waveform (for example, the sine wave of 1000Hz) of the independent frequency of 0 output correspondence or does not export any signal (also not comprising the sound of this frequency in this time point Composite tone).Power amplifier 13 outputs to hummer 14 or loudspeaker 14 playing alert tones or alarm sound after Composite tone data are amplified.
When the synthetic audio data file of current making multi-frequency, is all generally the mode of calculating that adopts, still, because very long being easy to of Data-Link of data file occurs mistake in the time calculating, causes make efficiency low, be difficult to adjust flexibly.
Summary of the invention
The object of the invention is to propose a kind of method of utilizing easily drawing software to make Composite tone data, can simplify thus the step that Composite tone is made, avoid makeing mistakes, improve make efficiency simultaneously.
The invention discloses a kind of method of making Composite tone data, described Composite tone is combined by the unifrequency sound of multiple different frequencies, it is characterized in that described method comprises:
S1, determine the changing condition of each unifrequency sound in Composite tone one-period;
S2, according to the corresponding row of the changing condition drawing image data of described unifrequency sound, wherein, each unifrequency sound is corresponding to a line of image, in image, each row is corresponding to the Composite tone data of a chronomere in the cycle;
S3, drawn view data is carried out to dot matrix delivery, thereby view data is converted into Composite tone data.
Preferably, the unifrequency sound of described multiple different frequencies comprises that fundamental frequency sound and frequency are the sound of fundamental frequency integral multiple.
Preferably, in described one-period, the changing condition of each unifrequency sound is that unifrequency sound occurs or absent variable situation in time within the cycle.
Preferably, described step S2 comprises:
S21, determine columns and the line number of view data according to the number of frequencies of cycle and Composite tone data;
S22, basis unifrequency sound within the cycle occur or absent variable situation in time, and the respective pixel unit of corresponding row is plotted as to different colors.
Preferably, after described step S22, also comprise step S23, the row of the image of painting is moved to adjust described Composite tone.
Preferably, described Composite tone data are many bit-binary Number Sequence, and each bit of binary number represents whether the unifrequency sound of respective frequencies occurs.
Preferably, described Composite tone data are for exporting prompt tone or alarm sound to hummer or loudspeaker.
Preferably, drawn view data being carried out to dot matrix delivery comprises and utilizes dot matrix delivery software to carry out dot matrix delivery to preserving according to view data the bitmap file obtaining.
The present invention utilizes dot matrix delivery technology that view data and voice data are connected, and makes to utilize drawing software to make Composite tone data, and easy being difficult for of method makes mistakes, and greatly improved Composite tone data creating efficiency.
Brief description of the drawings
Fig. 1 is the schematic diagram of existing Composite tone playing circuit;
Fig. 2 is the process flow diagram of the method for the making Composite tone data of first embodiment of the invention;
Fig. 3 is the process flow diagram of the method for the making Composite tone data of second embodiment of the invention;
Fig. 4 is according to the schematic diagram of the view data of the each unifrequency sound variation of Composite tone situation drafting;
Fig. 5 utilizes dot matrix delivery software to read the acquisition of view data shown in Fig. 4 to have divided the schematic diagram of the view data of elementary area;
Fig. 6 is according to the schematic diagram of eight bit-binary Number Sequences of image data acquisition.
Embodiment
Further illustrate technical scheme of the present invention below in conjunction with accompanying drawing and by embodiment.
Fig. 2 is the process flow diagram of the method for the making Composite tone data of first embodiment of the invention.As shown in Figure 2, described method comprises:
210, determine the changing condition of each unifrequency sound in Composite tone one-period.
220, according to the corresponding row of the changing condition drawing image data of described unifrequency sound, wherein, each unifrequency sound is corresponding to a line of image, and in image, each row is corresponding to the Composite tone data of a chronomere in the cycle.
230, drawn view data is carried out to dot matrix delivery, thereby view data is converted into Composite tone data.
Wherein, described Composite tone is combined by the unifrequency sound of multiple different frequencies.The unifrequency sound of described multiple different frequencies can comprise that fundamental frequency sound and frequency are the sound of fundamental frequency integral multiple.
As previously mentioned, Composite tone data are actually many bit-binary Number Sequence, the bit of each binary number is levied the frequency number of the unifrequency sound that depends on that Composite tone comprises, in each indication cycle of binary number, in corresponding chronomere, whether corresponding unifrequency sound is included in Composite tone.Thus, by drawing image data, the time of utilizing row to come in identification cycle changes, show each binary number with list, with without color, each is 1 or is 0 with there being color (or black or white) to represent binary number, image and many bit binary number can be set up to contact, and and then view data and voice data are connected, the view data that characterizes binary number sequence can be converted into binary number sequence by dot matrix delivery technology, setting it as Composite tone data is stored in single-chip microcomputer or other memory storage, utilization circuit as shown in Figure 1 both can have been realized the broadcasting of Composite tone data.
The present embodiment utilizes dot matrix delivery technology that view data and voice data are connected, and makes to utilize drawing software to make Composite tone data, and easy being difficult for of method makes mistakes, and greatly improved Composite tone data creating efficiency.
Fig. 3 is the process flow diagram of the method for the making Composite tone data of second embodiment of the invention.As shown in Figure 3, described method comprises:
Step 310, determine the changing condition of each unifrequency sound in Composite tone one-period.
Wherein, in described one-period, the changing condition of each unifrequency sound is that unifrequency sound occurs or absent variable situation in time within the cycle, for example, wish that the Composite tone obtaining comprises the sound composition of 1000Hz, 2000Hz and tri-frequencies of 3000Hz, wherein, the sound of 2000Hz is interval appearance within the whole cycle, and the sound of 1000Hz and 3000Hz occurs within the whole cycle always.The situation of change that obtains alternative sounds component in Composite tone can correspondence go to draw corresponding view data.
Step 320, determine columns and the line number of view data according to the number of frequencies of cycle and Composite tone data.
Because every a line of image is corresponding to the data sequence of unifrequency sound corresponding in one-period, and each of image is listed as corresponding to Composite tone data in this chronomere, therefore, the columns of view data is determined by the time span (also can be described as the cycle) of Composite tone data.The number of frequencies that the line number of view data is comprised by Composite tone data determines.The least unit of image can be that pixel cell can be also self-defining elementary area, and it represents whether a certain unifrequency sound this chronomere within the cycle occurs.In the time that the least unit of image is elementary area, need follow-up dot matrix delivery to carry out delivery taking elementary area as least unit.
Step 330, basis unifrequency sound within the cycle occur or absent variable situation in time, and the respective pixel unit of corresponding row is plotted as to different colors.
In the present embodiment, without color, each is 1 or is 0 with there being color (or black or white) to represent binary number in utilization.
Fig. 4 is according to the schematic diagram of the view data of Composite tone drafting.As shown in Figure 4, described image comprises 120 row and 8 row, and it represents a Composite tone that comprises 120 chronomeres, has 8 unifrequency sound ingredients.Wherein, the pixel cell of black represents that corresponding single-frequency sound occurs in this chronomere, and the pixel cell of white represents that corresponding single-frequency sound does not occur in this chronomere.View data can utilize drawing software to draw.
In a preferred implementation of the present embodiment, alternatively, after step 330, comprise step 330 ' (in figure with empty wire frame representation), that is, the row of the image of painting can be moved to adjust described Composite tone as required.For example, the black part of the second row in Fig. 4 can be moved forward to change tone color and the tone of Composite tone.
Step 340, carries out dot matrix delivery to drawn view data, thereby view data is converted into Composite tone data.
Particularly, view data can be saved as to bitmap file, utilize dot matrix delivery software to read bitmap file and obtain Composite tone data.Fig. 5 utilizes dot matrix delivery software to read the acquisition of view data shown in Fig. 4 to have divided the schematic diagram of the view data of elementary area.Fig. 6 is the eight bit-binary Number Sequences according to image data acquisition.This binary number sequence is the multifrequency audio frequency generated data that will make.
Certainly, it will be understood by those skilled in the art that the Composite tone data that also can adopt dot matrix modulus algorithm directly view data to be processed to obtain many bit binary number form.
Obtain after Composite tone data, data file can be stored in to single-chip microcomputer or independently in storage unit, utilize circuit as shown in Figure 1 to read and export Composite tone.
The present invention utilizes dot matrix delivery technology that view data and voice data are connected, and makes to utilize drawing software to make Composite tone data, and easy being difficult for of method makes mistakes, and greatly improved Composite tone data creating efficiency.
One of ordinary skill in the art will appreciate that all or part of step in the method that realizes above-described embodiment is can carry out the hardware that instruction is relevant by program to complete, described program can be stored in a computer read/write memory medium (as: ROM/RAM, magnetic disc, CD etc.).
Note, above are only preferred embodiment of the present invention and institute's application technology principle.Skilled person in the art will appreciate that and the invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious variations, readjust and substitute and can not depart from protection scope of the present invention.Therefore, although the present invention is described in further detail by above embodiment, the present invention is not limited only to above embodiment, in the situation that not departing from the present invention's design, can also comprise more other equivalent embodiment, and scope of the present invention is determined by appended claim scope.

Claims (8)

1. make a method for Composite tone data, described Composite tone is combined by the unifrequency sound of multiple different frequencies, it is characterized in that described method comprises:
S1, determine the changing condition of each unifrequency sound in Composite tone one-period;
S2, according to the corresponding row of the changing condition drawing image data of described unifrequency sound, wherein, each unifrequency sound is corresponding to a line of image, in image, each row is corresponding to the Composite tone data of a chronomere in the cycle;
S3, drawn view data is carried out to dot matrix delivery, thereby view data is converted into Composite tone data.
2. method according to claim 1, is characterized in that, the unifrequency sound of described multiple different frequencies comprises that fundamental frequency sound and frequency are the sound of fundamental frequency integral multiple.
3. method according to claim 1, is characterized in that, in described one-period, the changing condition of each unifrequency sound is that unifrequency sound occurs or absent variable situation in time within the cycle.
4. method according to claim 2, is characterized in that, described step S2 comprises:
S21, determine columns and the line number of view data according to the number of frequencies of cycle and Composite tone data;
S22, basis unifrequency sound within the cycle occur or absent variable situation in time, and the respective pixel unit of corresponding row is plotted as to different colors.
5. method according to claim 4, is characterized in that, also comprises and step S23 the row of the image of painting is moved to adjust described Composite tone after described step S22.
6. method according to claim 1, is characterized in that, described Composite tone data are many bit-binary Number Sequence, and each bit of binary number represents whether the unifrequency sound of respective frequencies occurs.
7. method according to claim 6, is characterized in that, described Composite tone data are for exporting prompt tone or alarm sound to hummer or loudspeaker.
8. method according to claim 1, is characterized in that, drawn view data is carried out to dot matrix delivery and comprise and utilize dot matrix delivery software to carry out dot matrix delivery to preserving according to view data the bitmap file obtaining.
CN201210581147.5A 2012-12-27 2012-12-27 Method for making synthesis audio data Active CN103903610B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210581147.5A CN103903610B (en) 2012-12-27 2012-12-27 Method for making synthesis audio data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210581147.5A CN103903610B (en) 2012-12-27 2012-12-27 Method for making synthesis audio data

Publications (2)

Publication Number Publication Date
CN103903610A true CN103903610A (en) 2014-07-02
CN103903610B CN103903610B (en) 2017-02-08

Family

ID=50994892

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210581147.5A Active CN103903610B (en) 2012-12-27 2012-12-27 Method for making synthesis audio data

Country Status (1)

Country Link
CN (1) CN103903610B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106847294A (en) * 2017-01-17 2017-06-13 百度在线网络技术(北京)有限公司 Audio-frequency processing method and device based on artificial intelligence

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1119793C (en) * 1998-08-17 2003-08-27 英业达股份有限公司 Method for composing characteristic waveform of audio signals
CN1142509C (en) * 1999-09-03 2004-03-17 北京航空航天大学 Method of converting image information into music
CN1206603C (en) * 2001-08-30 2005-06-15 无敌科技股份有限公司 Music VF producing method and playback system
CN102497580B (en) * 2011-11-30 2013-12-04 太仓市临江农场专业合作社 Video information synthesizing method based on audio feature information

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106847294A (en) * 2017-01-17 2017-06-13 百度在线网络技术(北京)有限公司 Audio-frequency processing method and device based on artificial intelligence
CN106847294B (en) * 2017-01-17 2018-11-30 百度在线网络技术(北京)有限公司 Audio-frequency processing method and device based on artificial intelligence

Also Published As

Publication number Publication date
CN103903610B (en) 2017-02-08

Similar Documents

Publication Publication Date Title
CN106024035B (en) A kind of method and terminal of audio processing
CN108235148B (en) Similar barrage merging method in live broadcast, storage medium, electronic device and system
CN109255429B (en) Parameter decompression method for sparse neural network model
CN106874501A (en) A kind of method that SpreadJS forms automatically generate simultaneously binding data storehouse table
CN101931479B (en) Method and device for playing audio signal
CN113656432A (en) Data comparison method and device
CN103903610A (en) Method for making synthesis audio data
CN101593541A (en) A kind of method and media player of and audio file synchronously playing images
CN103369118A (en) Incoming call management system and incoming call management method thereof
CN102760437A (en) Audio decoding device of control conversion of real-time audio track
CN113132856B (en) Audio signal processing method, electronic equipment and storage medium
CN107566344A (en) A kind of CAN signal analytic method and system
CN102681827B (en) The method and apparatus that in Android system, the tab overall situation realizes
CN102263905A (en) Special effect processing method of image and apparatus thereof
EP3144934B1 (en) Audio play method and device
CN104835500B (en) The method and its device that a kind of audio-frequency information obtains
CN110286770A (en) Sounding module, the control method based on the sounding module and display equipment
US9748884B2 (en) Multi-motor frequency control system and control method thereof
CN201657037U (en) Mobile terminal and sound cavity for same
CN105278959B (en) Control display method and device and terminal equipment
CN111176644B (en) Automatic layout method and device for operation interface and response method and device thereof
CN105472505A (en) Multi-band amplitude limiting control system for audio output
CN106028520A (en) Lamp control device and method
CN111580427A (en) FPGA-based waveform generation method, device, equipment and storage medium
CN104936114A (en) Microphone with unique identification code

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant