Background technology
Modern consumer electronic product is except having advanced function, and the use of development hommization is main trend especially, and the product with life-stylize function or amusement function is more vulnerable to consumer's welcome.Along with the progress of communication network technology and the reduction of manufacturing cost, mobile phone (or claiming mobile phone) has become one of present modal means of communication, in theory, utilize the characteristic of radio communication that mobile phone possesses, the caller can receive and send the conversation message in any place.
Because mobile phone has the little advantage of carrying easily of volume; when going out, the user can carry mobile phone usually; but also because the generality of mobile phone; the selected ringing sound of cell phone of user has very high repeatability; when the ringing sound of cell phone that others takes place in regular meeting sounds; the user can think that the mobile phone of oneself has incoming call, and interrupts talking or ransacing mobile phone, increases much puzzlements.Though mobile phone pattern that each tame cell phone manufacturer provided and model difference, the tinkle of bells song that mobile phone itself sets is selected limited, and therefore repeatability is high.
There is the part mobile phone communication to serve the dealer at present the service of downloading the tinkle of bells on the line is provided, allow the user that more selection is arranged, to increase the uniqueness of user's the tinkle of bells, in order to the difference of difference with other people the tinkle of bells, yet, because the tone color of ringing sound of cell phone is set, though the user can select different melodies, but tone color is identical, if other people also download same first the tinkle of bells song by chance, also is easy to generate and obscures.And the tinkle of bells of most of mobile phone to play all be to come sounding by buzzer, frequency values is fixed, and can not revise, though therefore can utilize different notes to be combined to form different melodies, the tinkle of bells of broadcast is quite dull, the time feels flat and insipid once for a long time.
Summary of the invention
In view of this, the invention provides a kind of method of editing the tinkle of bells, can utilize the tinkle of bells song of downloading on existing ringing sound of cell phone song, the line or the note of working out input voluntarily, freely dispose the tone color of the tinkle of bells song or note, increase the polytropy of the tinkle of bells.
According to above-mentioned purpose, the invention provides a kind of method of ringing timbre customizing, comprise the following steps: to generate a music track note; Select the first tone color code name; Generate first tamber data of music track and obtain the first tone color frequency; If the second tone color code name of selection is arranged, then generates second tamber data of music track and obtain the second tone color frequency; The synthetic first tone color frequency and the second tone color frequency are to form a frequency synthesis; And broadcast frequency synthesis.Wherein, if do not select the second tone color code name, then play the first tone color frequency.
According to above-mentioned purpose, the present invention also provides a kind of method of mobile phone ringing timbre customizing, comprises the following steps: to generate a tinkle of bells song note; Select the first tone color code name; Generate first tamber data of the first tone color code name corresponding with the tinkle of bells song note; Inquire about a tone color table of comparisons to obtain the first tone color frequency of first tamber data; If the second tone color code name of selection is arranged, then generate second tamber data of the second tone color code name corresponding with the tinkle of bells song note; Inquire about a tone color table of comparisons to obtain the second tone color frequency of second tamber data; The synthetic first tone color frequency and this second tone color frequency are to form a synthetic tone color frequency; And play and synthesize the tone color frequency.If wherein do not select this second tone color code name, then play this first tamber data.
If wherein before playing synthetic tamber data, other music track notes are arranged, then repeat the following step: first tamber data that generates the first tone color code name corresponding with the tinkle of bells song note; Inquire about a tone color table of comparisons to obtain the frequency of first tamber data; If the second tone color code name of selection is arranged, then generate second tamber data of the second tone color code name corresponding with the tinkle of bells song note; Synthetic second tamber data and first tamber data are to form a synthetic tamber data; And play and synthesize tamber data.If wherein do not select the second tone color code name, then play first tamber data.
For above-mentioned and other purposes of the present invention, feature and advantage can be become apparent, a preferred embodiment cited below particularly, and conjunction with figs. are described in detail below:
Embodiment
Please refer to 1 figure, Fig. 1 is the flow chart of the method for ringing timbre customizing of the present invention.
Step 101, at first, generate a music track, the method that generates music track for example is to choose in the ringing sound of cell phone that originally promptly has in mobile phone, perhaps serve in the service that the dealer provides and download from mobile phone communication, more or the user import note voluntarily and form the tinkle of bells melody.
Step 102 is selected the first tone color code name, and the tone color code name for example is piano, violin or bass or the like; Also can select more than one tone color code name, just can select piano, violin, and the tone color of bass etc. simultaneously.
Step 103 then, generates first tamber data corresponding with the first tone color code name; It for example is the tamber data that generates piano.
Step 104 if the second tone color code name of selection is arranged, then carry out step 105 except the first tone color code name.
Step 105 generates second tamber data corresponding with the second tone color code name; Select violin again if for example except piano, have, just generate the tamber data of violin.
If the 3rd tone color code name is arranged, then continue to generate three tamber data corresponding with the 3rd tone color code name.
Step 106 is synthesized first tamber data and second tamber data, forming a generated data, and carry out step 107; If any multiple above tamber data, then all synthetic together.
Step 107 when mobile phone has incoming call, is play the tinkle of bells of the generated data corresponding with the tinkle of bells melody.
If in the step 104, except the first tone color code name, do not have to select the second tone color code name in addition, then when mobile phone has incoming call, play-over the tinkle of bells of first tamber data corresponding with the tinkle of bells melody.
Please refer to Fig. 2, figure is the flow chart of the method for mobile phone ringing timbre customizing of the present invention.
Step 201, at first, generate a music track, the method that generates music track for example is to choose in the ringing sound of cell phone that originally promptly has in mobile phone, perhaps serve in the service that the dealer provides and download from mobile phone communication, more or the user import note voluntarily and form the tinkle of bells melody.
Step 202 is selected the first tone color code name, and the tone color code name for example is the musical instrument code name, piano, violin or bass or the like; Also can select more than one tone color code name, just can select piano, violin, and the tone color of bass simultaneously.
Step 203 then, is inquired about a tone color table of comparisons to generate first tamber data corresponding with the first tone color code name; Wherein, the tone color table of comparisons for example is the tone color sign indicating number table of comparisons of MIDI 1.0 editions.Supposed to select the tone color code of piano, then by the tamber data that obtains piano in 1.0 editions tone color sign indicating numbers of MIDI table of comparisons.
Step 204 if other tone color code names of selection are arranged, then carry out step 205 except the first tone color code name.
Step 205 is inquired about a tone color table of comparisons to generate the tamber data corresponding with other tone color code names; Wherein, the tone color table of comparisons for example is the tone color sign indicating number table of comparisons of MIDI 1.0 editions.Suppose and selected the tone color code of violin and bass, then by the tamber data that obtains violin and bass in 1.0 editions tone color sign indicating numbers of MIDI table of comparisons.
Step 206 is synthesized whole tamber datas, synthesizes tamber data to form one, and carry out step 207.
Step 207 when mobile phone has incoming call, is play the tinkle of bells of the synthetic tamber data corresponding with the tinkle of bells melody; For example will before resulting piano, violin, and the tamber data of bass synthesized a synthetic tamber data, when mobile phone has incoming call, play the tinkle of bells of the synthetic tamber data of these three tamber datas.
If in the step 204, except the first tone color code name, there are not to select in addition other tone color code names, then when mobile phone has incoming call, play-over the tinkle of bells of the first tone color frequency corresponding with the tinkle of bells melody.
The method of ringing timbre customizing provided by the present invention is under the interface of editor's the tinkle of bells, provides a kind of selection mode to allow the user select one or more tone color from the tone color code name of appointment.Wherein, selection mode for example is a kind of choice box or pulldownmenus; The tone color code name for example is piano or violin etc., and each tone color code name has the tone color sign indicating number of a correspondence, and its value for example is between the 0-127, can store by the bit group of a 8bit, and the specification of tone color sign indicating number can be with reference to MIDI 1.0 versions.When mobile phone has incoming call and when playing the tinkle of bells, the music note taking-up that then will select in advance or import, and from the tone color sign indicating number table of comparisons of correspondence, obtain the frequency values of selected tone color code name, and play.If when the tone color code name of selecting is more than one, then behind the tone color frequency values of obtaining each tone color code name correspondence, each tone color frequency is synthesized, obtaining a frequency synthesis value, and play the tinkle of bells of this frequency synthesis.Thus, can hear the self-editing the tinkle of bells of multiple tone color, have unique and various selectivity, can be effectively and other people ringing sound of cell phone distinguish, reduce the meaningless puzzlement of ransacing mobile phone; Simultaneously,, provide the user performance intention space on the tinkle of bells, add the effect that to play different instrument tambers, allow ringing sound of cell phone seem and have more interest because the tinkle of bells can allow the user from edlin.
Though the present invention discloses as above with preferred embodiment; right its is not in order to limiting the present invention, anyly is familiar with present technique field person, without departing from the spirit and scope of the present invention; when can doing to change and retouching, so protection scope of the present invention is as the criterion when looking the accompanying Claim book.