CN101882438B - Music data processing method and electronic device using same - Google Patents
Music data processing method and electronic device using same Download PDFInfo
- Publication number
- CN101882438B CN101882438B CN200910136539.9A CN200910136539A CN101882438B CN 101882438 B CN101882438 B CN 101882438B CN 200910136539 A CN200910136539 A CN 200910136539A CN 101882438 B CN101882438 B CN 101882438B
- Authority
- CN
- China
- Prior art keywords
- music
- music data
- data
- ring tone
- play
- 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
Images
Landscapes
- Telephone Function (AREA)
Abstract
The invention discloses a music data processing method and an electronic device using the same, which can effectively solve the problem that ring music is suddenly stopped when the incoming call of a mobile phone is not responded, so that poor feeling caused by the stopped ring music is eliminated. The music data processing method applied to the electronic device comprises the following steps of: acquiring music play time data; capturing a part of music data from input music data according to the music play time data; and performing play termination preprocessing on the part of music data to generate output music data, wherein the essence of the output music data is different from that of the part of music data by the play termination preprocessing.
Description
Technical field
The present invention relates to music data and process, espespecially a kind of music data processing method and the electronic installation of using it.
Background technology
With present, the incoming ring tone that more and more many cell phone system dealers provide various music or song to be used as mobile phone, and the music that allows the user choose voluntarily to like or the service of song are provided.In addition, also can store music archive (such as being the song of MP3 format) in the mobile phone in order to be used as the tinkle of bells of mobile phone.
Although incoming ring tone and music tone ringer are very melodious,, if during the unmanned response of incoming call, incoming ring tone or music tone ringer will stop to play after a period of time, yet incoming ring tone or music tone ringer are not the end point that stops at normal song usually, therefore, if do not carried out any special processing, the concert of interrupting suddenly makes hearer's impression not good.
So this case proposes a kind of music data processing method and the electronic installation of using it, it can improve the shortcoming of prior art.
Summary of the invention
Technical problem to be solved by this invention provides a kind of music data processing method and the electronic installation of using it, in the time of can effectively solving the unmanned response of cell phone incoming call, the problem that the tinkle of bells music stops suddenly reaches and eliminates because the not good impression that this tinkle of bells music termination brings the people.
In order to solve above technical problem, the invention provides following technical scheme:
The invention provides a kind of music data processing method, be applied to comprise in the electronic installation: obtain a music time data; According to this music time data, capture a part of music data from an input music data; And this part music data is carried out one play the end pre-process, to produce outputting music data, wherein, this broadcast finishes pre-process so that this outputting music data essence is different from this part music data.
The present invention more provides a kind of electronic installation, comprising: a music analysis module, in order in an input music data, to capture a part of music data according to time data; And a music generation module, play and finish pre-process in order to this part music data is carried out one, to produce outputting music data, this outputting music data essence is different from this part music data that is captured from this input music data.
At last, the invention provides a kind of method for playing music, be applied to an electronic installation, comprising: play an input music data; In response to a triggering signal, certainly should capture a part of music data in the input music data; This part music data is carried out one play the end pre-process, to produce outputting music data, so that this outputting music data essence is different from this part music data; And play this outputting music data.
The music data processing method of the present invention's employing and the electronic installation of using it, in the time of can effectively solving the unmanned response of cell phone incoming call the tinkle of bells, the unexpected problem that stops of the tinkle of bells music reaches and eliminates because the not good impression that the suddenly termination of this tinkle of bells music brings the people.
For the present invention's foregoing can be become apparent, embodiment cited below particularly, and cooperate appended graphicly, be described in detail below:
Description of drawings
Fig. 1 is the functional block diagram of the electronic installation 100 of first embodiment of the invention.
Fig. 2 is the calcspar of the disclosed electronic installation 200 of second embodiment of the invention.
Fig. 3 is the flow chart of the music data processing method of other embodiment of the present invention.
Fig. 4 is the flow chart of the music data processing method of other embodiment of the present invention.
[primary clustering symbol description]
100,200: electronic installation
110,210: the music analysis module
120,220: the music generation module
140: the reproduction time analysis module
230: scratch-pad memory
310~340,410~440: step
Embodiment
Several embodiment of the present invention propose music data processing method and the electronic installation of using it, and it plays the end pre-process to input music data (such as the incoming ring tone on the mobile phone etc.).When the broadcast of music data closed to an end, the tinkle of bells that the caller hears or music were still very melodious and can not feel precipitate interruption.
The first embodiment
Now please refer to Fig. 1, it is the functional block diagram according to the electronic installation 100 of first embodiment of the invention.As shown in Figure 1, electronic installation 100 comprises at least: music analysis module 110, music generation module 120 and reproduction time analysis module 140.
Reproduction time analysis module 140 outputting music reproduction time data M PT are to music analysis module 110.Music analysis module 110 can according to music time data MPT, capture part music data IN ' from input music data IN.
120 pairs of parts of music generation module music data IN ' plays the end pre-process, to produce outputting music data OUT.After playing the end pre-process, outputting music data OUT can essence be different from part music data IN '.
In the present embodiment, 120 pairs of music generation modules part music data IN ' play the end pre-process such as but be not subject at least one of volume attenuation processing and note reprocessing, or its combination.
The volume attenuation processing is that the volume with music decays gradually, even can decay to noiseless.In addition, in the volume attenuation process, its attenuation curve can be linearity curve or nonlinear curve.
So-called note reprocessing is to refer to, continuation repeat playing part music data IN ' is at the note in some time points or certain a bit of period, until finish.
For more understanding the operation of first embodiment of the invention, beneath take electronic installation 100 as mobile phone, reaching the input music data is that incoming ring tone is that example explains, but knows that the present invention is not limited to this.Electronic installation 100 can to the user at present used incoming ring tone play the end pre-process, the incoming ring tone that makes new advances with generation, and replace original incoming ring tone.When the unmanned response of incoming call or incoming call were refused to listen, the end of new incoming ring tone can not make the caller feel precipitate interruption.
Input music data IN is such as being at present used incoming ring tone of user, its form such as but be not subject to MP3 format.Music analysis module 110 can be analyzed input music data IN, with the music attribute (comprising at least note, volume etc.) of learning its each time point.Down below, suppose the user at present used incoming ring tone length be 15 seconds, by analysis after, music analysis module 110 can be learnt the 10th second corresponding note and volume of incoming ring tone.In this example, partly music data IN ' indication is some parts (normally terminal part) of this incoming ring tone.
Music time data MPT represents the whole reproduction time of this incoming ring tone.In first embodiment of the invention, the acquisition mode of music time data MPT has many kinds, only gives an example several at this, as a means of explanation.
One of mode of learning music time data MPT is by the reproduction time analysis module 140 in the electronic installation 100, produces this time data according to the time restriction of electronic installation 100 music playings.That is to say that reproduction time analysis module 140 is analyzed the reproduction time of incoming ring tone, to obtain music time data MPT.Such as, when the reproduction time that will analyze incoming ring tone, reproduction time analysis module 140 can inform that the user phones his mobile phone, then, reproduction time analysis module 140 can be detected total reproduction time length of the incoming ring tone in takes on the telephone.Its detecting mode is such as being, the tinkle of bells of detecting incoming ring tone to the noiseless time interval, is treated as the reproduction time of incoming ring tone with this by sound.
The another kind of mode of learning music time data MPT then is the reproduction time that is set up on their own incoming ring tone by the user, to treat as music time data MPT.That is to say that the user can be with total reproduction time length setting of the incoming ring tone learnt in advance to music analysis module 110.
After learning music time data MPT, music analysis module 110 can determine according to music time data MPT the part music data IN ' of institute's wish acquisition, for example when beginning to play, music begins timing by a timer, when music approaches end (end point is determined by music time data MPT), such as being front 3 seconds of end point, the music analysis module 110 a little front 3 seconds music data that closes to an end outputs to music generation module 120.
Next, how the electronic installation 100 (such as mobile phone) that first embodiment of the invention is described is produced new incoming ring tone, new incoming ring tone is different in essence in original incoming ring tone.
Situation 1: volume decay
When carrying out volume when decay, music analysis module 110 can send music generation module 120 to part music data IN ' (it is such as being the 12nd second to the 15th second of incoming ring tone).Accordingly, music generation module 120 can be with the volume decay (attenuation degree is not specially limited, and as a rule, can decay to the volume decay noiseless as long as can allow the mankind feel) of part music data IN ', to produce new incoming ring tone.Such as, new incoming ring tone still has 15 seconds reproduction times, wherein, front 12 seconds note is substantially the same with volume in front 12 seconds note and the volume of old incoming ring tone, but 3 seconds the volume in end of new incoming ring tone can be less than 3 seconds the volume in end (and 3 seconds the note in end of new incoming ring tone can be same as 3 seconds the note in end of old incoming ring tone) of old incoming ring tone.Thus, because 3 seconds the volume in end of the incoming ring tone that the caller hears diminishes (even becoming noiseless) gradually, the caller can guess and at present unmanned response, and the caller can not feel the incoming ring tone end-stop.
Situation 2: note repeats and does not lengthen reproduction time
When carrying out note when repeating, music analysis module 110 can send music generation module 120 to part music data IN ' (it is such as being the 12nd second of incoming ring tone).Accordingly, music generation module 120 can repeat (time span of repetition is not specially limited, as long as can allow the mankind feel that note repeats) with the note of part music data IN ', to produce new incoming ring tone.Such as, the 12nd second note of incoming ring tone is " Do ", then the 12nd second of the new incoming ring tone~note that played out in the 15th second can all be " Do ".Thus, the ending of the incoming ring tone that the caller hears all is same note, and the caller can guess at present unmanned response, and the caller can not feel the incoming ring tone end-stop.In detail, new incoming ring tone still has 15 seconds reproduction times, and wherein, the front 12 seconds play content of new incoming ring tone is substantially the same in the front 12 seconds play content of old incoming ring tone, but the end of new incoming ring tone 3 seconds all was its note of the 12nd second of repetition.Thus, 3 seconds the note in end of the incoming ring tone that the caller hears repeats always, and the caller can guess and at present unmanned response, and the caller can not feel the incoming ring tone end-stop.
Situation 3: note repeats and lengthens reproduction time
Another kind of situation then is that the reproduction time of new incoming ring tone is longer than the reproduction time of old incoming ring tone.When the broadcast of this a kind of situation of carrying out finished pre-process, music analysis module 110 can send part music data IN ' (it is last second of incoming ring tone normally, that is the 15th second) to music generation module 120.Accordingly, music generation module 120 can repeat the note of part music data IN ' that (time of repetition is not specially limited, as long as can allow the mankind feel that note repeats), to produce new incoming ring tone, and the reproduction time of new incoming ring tone is longer than the reproduction time of old incoming ring tone.Such as, old incoming ring tone was play 15 seconds originally and its note of the 15th second is " Do ", then pass through the processing of music generation module 120 after, the reproduction time of the new incoming ring tone that produces lengthens (growing to 18 seconds such as adding).Front 15 seconds of new incoming ring tone are substantially the same in old incoming ring tone, but the 16th second of the new incoming ring tone~note that played out in the 18th second all is " Do " (repeating its note of the 15th second).Thus, the ending of the incoming ring tone that the caller hears all is same note, and the caller can guess at present unmanned response, and the caller can not feel the incoming ring tone end-stop.
Certainly, the broadcast that music generation module 120 carries out finishes pre-process and is not limited to foregoing, and what is more, playing the end pre-process can be the combination of volume attenuation processing and note reprocessing.That is, being compared to old incoming ring tone, the 12nd second~the 15th second note of new incoming ring tone all is that " Do " and its volume decay gradually.
If music analysis module 110 is implemented on electronic installation 100 inside with music generation module 120 in application program (that is software) mode, then music analysis module 110 can not need reside in electronic installation 100 inside with music generation module 120, as long as when the user wants former incoming ring tone is play when finishing pre-process, just music analysis module 110 and music generation module 120 are called out out and used and get final product.
The second embodiment
Now please refer to Fig. 2, it is the calcspar of the disclosed electronic installation 200 of second embodiment of the invention.As shown in Figure 2, electronic installation 200 comprises at least: music analysis module 210, music generation module 220 and scratch-pad memory 230.Wherein, music analysis module 210 is same or similar in the music analysis module 110 and music generation module 120 of the first embodiment, so its detailed content is omitted at this with the function of music generation module 220.
Scratch-pad memory 230 is in order to temporary input music data IN and export to music analysis module 210.Music analysis module 210 triggering signal TG, the input music data IN that transmits from scratch-pad memory 230 captures part music data IN '.
The following describes the operation of the electronic installation 200 of second embodiment of the invention.For more understanding the operation of second embodiment of the invention, beneath take electronic installation 200 as mobile phone, reaching the input music data is that incoming ring tone is that example explains, but knows that the present invention is not limited to this.
In second embodiment of the invention, electronic installation 200 is when playing input music data IN (being incoming ring tone in this example), system will input partly or entirely being stored in the scratch-pad memory 230 of music data IN, when triggering signal TG produces, this triggering signal TG can trigger music analysis module 210, makes music analysis module 210 read input music data IN and capture part music data IN ' from scratch-pad memory 230.Then, music generation module 220 can be play the end pre-process to part music data IN ', to produce and to play new incoming ring tone.As for how producing new incoming ring tone can with reference to the way of the first embodiment, not repeat in this.
In a second embodiment, triggering signal TG is about to stop to play incoming ring tone in order to expression, and the mode that produces triggering signal TG has a variety of, only give an example several so that it to be described at this, when knowing that the present invention is not limited to this, as long as when the music playing archives, electronic installation 200 can get final product by automatic or passive generation triggering signal TG.
One of mode that produces triggering signal TG comes from user's triggering.That is to say that when having incoming call and user not to think maybe can't answer, the user can press the rejection key on the mobile phone; In response to user's operation, triggering signal TG can deliver to music analysis module 210.
The another way that produces triggering signal TG then is, electronic installation in second embodiment of the invention more comprises timer (not being shown in Fig. 2), this timer is built in reproduction time analysis module (not being shown in Fig. 2) in may being, or standalone module.How long timer has been play in order to the present incoming ring tone of timing.When incoming call was arranged, if the reproduction time length of incoming ring tone surpasses a certain given time (as above 12 seconds), then timer can send triggering signal TG directly or indirectly to music analysis module 210, to trigger music analysis module 210.
Note that in a second embodiment before triggering signal TG not yet produced, electronic installation 200 can be play existing incoming ring tone.Until after producing triggering signal TG and playing the carrying out of finishing pre-process, electronic installation 200 is just play the outputting music data OUT that is produced by music generation module 220 instead.
Fig. 3 is the flow chart of the music data processing method of other embodiment of the present invention, and it can be applicable in the electronic installation according to the above embodiment of the present invention.This music data processing method comprises: learn music time data (step 310); According to the music time data, capture part music data (step 320) from the input music data; The part music data is play the end pre-process, to produce outputting music data (step 330), wherein, play and finish pre-process so that outputting music data essence is different from the part music data; And broadcast outputting music (step 340).
The detailed way of step 310~340 can be released by the description of the above embodiment of the present invention, does not repeat in this.
Fig. 4 is the flow chart of the music data processing method of other embodiment of the present invention, and it can be applicable in the electronic installation according to the above embodiment of the present invention.This music data processing method comprises: play input music data (step 410); In response to triggering signal, certainly input acquisition part music data (step 420) in the music data; The part music data is play the end pre-process, to produce outputting music data (step 430), so that outputting music data essence is different from the part music data; And broadcast outputting music archives (step 440).
The detailed way of step 410~440 can be released by the description of the above embodiment of the present invention, does not repeat in this.
The electronic installation that the above embodiment of the present invention discloses is not limited to mobile phone, as long as the electronic installation of can the playback digital music data listening to the caller or listening to the user all within the scope of the present invention.Such as the cell-phone PDA with call function or can the playback digital music data with as the digital electronic product (such as digital alarm clock, digital frame) of alarm clock etc.Wherein, when the embodiment of the invention is applied to digital alarm clock or digital frame, triggering signal come from the user button operation (such as, with quarter-bell by the operation of falling).
In sum, although the present invention discloses as above with several embodiment, so it is not to limit the present invention.The persond having ordinary knowledge in the technical field of the present invention, without departing from the spirit and scope of the invention, when being used for a variety of modifications and variations.Therefore, protection scope of the present invention should be as the criterion with claim.
Claims (9)
1. a music data processing method is applied to it is characterized in that in the mobile phone, comprising:
Obtain a music time data, it plays a total reproduction time length of incoming ring tone for this action phone;
According to this music time data, judge the end of this action phone broadcast incoming ring tone process, and capture a part of music data from an input music data according to this; Make this part music data that captures play the end of incoming ring tone process corresponding to this action phone; And
This part music data is carried out one play the end pre-process, to produce outputting music data, so that this outputting music data essence is different from this part music data;
Wherein play and finish pre-process for this part music data is carried out a volume attenuation processing or a note reprocessing.
2. music data processing method as claimed in claim 1 is characterized in that, learns that this step of this music time data comprises:
Play this input music archive; And
Measure the time span that this action phone can be play, to learn this music time data.
3. music data processing method as claimed in claim 1 is characterized in that, learns that this step of this music time data comprises:
Set this music time data by a user.
4. mobile phone is characterized in that it comprises:
One music analysis module is in order to capture a part of music data according to time data in an input music data; And
One music generation module is play the end pre-process in order to this part music data is carried out one, and to produce outputting music data, this outputting music data essence is different from this part music data that is captured from this input music data;
Wherein these reproduction time data are the total reproduction time length that this action phone is play incoming ring tone, and this part music data that captures is play the end of incoming ring tone process corresponding to this action phone, and this pre-process is for to carry out a volume attenuation processing or a note reprocessing to this part music data.
5. mobile phone as claimed in claim 4 is characterized in that, also comprises:
One reproduction time analysis module is in order to produce this time data.
6. mobile phone as claimed in claim 5 is characterized in that, this reproduction time analysis module system produces this time data according to the time restriction of this action phone music playing.
7. mobile phone as claimed in claim 4 is characterized in that, this time data system is preseted by a user.
8. mobile phone as claimed in claim 4 is characterized in that, this time data is user's triggering signal.
9. mobile phone as claimed in claim 8 is characterized in that, also comprises:
One scratch-pad memory is in order to temporary this input music data;
Wherein, this music analysis module system captures this part music data according to this user's triggering signal in this scratch-pad memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910136539.9A CN101882438B (en) | 2009-05-06 | 2009-05-06 | Music data processing method and electronic device using same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910136539.9A CN101882438B (en) | 2009-05-06 | 2009-05-06 | Music data processing method and electronic device using same |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101882438A CN101882438A (en) | 2010-11-10 |
CN101882438B true CN101882438B (en) | 2013-01-23 |
Family
ID=43054435
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910136539.9A Expired - Fee Related CN101882438B (en) | 2009-05-06 | 2009-05-06 | Music data processing method and electronic device using same |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101882438B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102316202A (en) * | 2011-09-29 | 2012-01-11 | 深圳市五巨科技有限公司 | Phone ring optimization method and apparatus thereof |
CN104867508B (en) * | 2014-02-26 | 2018-12-11 | 腾讯科技(深圳)有限公司 | A kind of method and apparatus that audio files continuously plays |
CN106161714B (en) * | 2015-04-03 | 2020-07-31 | 南京中兴软件有限责任公司 | Ringtone playing method and device, and terminal |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1997052A (en) * | 2006-08-25 | 2007-07-11 | 于洪涛 | System and method for self-making of the ring service |
CN101345790A (en) * | 2007-07-09 | 2009-01-14 | 上海基信通讯技术有限公司 | Method for editing audio files in mobile phone |
-
2009
- 2009-05-06 CN CN200910136539.9A patent/CN101882438B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1997052A (en) * | 2006-08-25 | 2007-07-11 | 于洪涛 | System and method for self-making of the ring service |
CN101345790A (en) * | 2007-07-09 | 2009-01-14 | 上海基信通讯技术有限公司 | Method for editing audio files in mobile phone |
Also Published As
Publication number | Publication date |
---|---|
CN101882438A (en) | 2010-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108337362A (en) | Voice interactive method, device, equipment and storage medium | |
US6233556B1 (en) | Voice processing and verification system | |
US8762143B2 (en) | Method and apparatus for identifying acoustic background environments based on time and speed to enhance automatic speech recognition | |
CN104168353A (en) | Bluetooth earphone and voice interaction control method thereof | |
CN109036412A (en) | voice awakening method and system | |
CN103391347A (en) | Automatic recording method and device | |
JPH0226240B2 (en) | ||
CN109243426A (en) | A kind of automatization judgement voice false wake-up system and its judgment method | |
CN110503968A (en) | A kind of audio-frequency processing method, device, equipment and readable storage medium storing program for executing | |
CN113436609B (en) | Voice conversion model, training method thereof, voice conversion method and system | |
CN101882438B (en) | Music data processing method and electronic device using same | |
CN103309657A (en) | Method, device and equipment for exchanging mobile equipment ring voice frequency | |
CN104092809A (en) | Communication sound recording method and recorded communication sound playing method and device | |
CN101354886A (en) | Apparatus for recognizing speech | |
CN109151148A (en) | Recording method, device, terminal and the computer readable storage medium of dialog context | |
CN107886963A (en) | Voice processing method and device and electronic equipment | |
CN103209264A (en) | Emergency calling method and system for mobile device | |
JP4770194B2 (en) | Information embedding apparatus and method for acoustic signal | |
TW201026014A (en) | Method for volume adaptation, mobile electronic device and computer program product using the method thereof | |
CN109271480B (en) | Voice question searching method and electronic equipment | |
CN1063591A (en) | Has the telephone set of confirming the conversation object functionality | |
CN105072243A (en) | Incoming call prompting method and apparatus | |
CN105120198A (en) | Video calling system and realization method thereof capable of eliminating calling echoes | |
Zhu | [Retracted] Multimedia Recognition of Piano Music Based on the Hidden Markov Model | |
TWI486871B (en) | Audio data processing method and an electronic apparatus using the same |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130123 Termination date: 20190506 |