CN103220407B - Method and terminal for ring tone clipping - Google Patents
Method and terminal for ring tone clipping Download PDFInfo
- Publication number
- CN103220407B CN103220407B CN201310071730.6A CN201310071730A CN103220407B CN 103220407 B CN103220407 B CN 103220407B CN 201310071730 A CN201310071730 A CN 201310071730A CN 103220407 B CN103220407 B CN 103220407B
- Authority
- CN
- China
- Prior art keywords
- time
- fragment
- terminal
- effective time
- tinkle
- 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
- 238000000034 method Methods 0.000 title claims abstract description 20
- 238000001228 spectrum Methods 0.000 claims abstract description 15
- 239000012634 fragment Substances 0.000 claims description 74
- 241000723353 Chrysanthemum Species 0.000 description 6
- 235000007516 Chrysanthemum Nutrition 0.000 description 6
- 238000010183 spectrum analysis Methods 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 241000282376 Panthera tigris Species 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Electrophonic Musical Instruments (AREA)
- Auxiliary Devices For Music (AREA)
Abstract
The invention discloses a method for ring tone clipping. The method includes the following steps: analyzing an audio spectrum of a selected music file and marking out all the time slices containing human voice; sequentially judging whether each time slice is an effective time slice or not; according to a judgment result, counting out all the effective time slices and recording the starting time and the terminal time of every effective time slice; and selecting any one of the effective time slices and clipping the music file to obtain ring tones according to the starting time and the terminal time of the effective time slice. Compared with the prior art, the method for ring tone clipping achieves intelligent ring tone clipping, prevents a user from listening the whole music for testing and recording the starting points and the terminal points to obtain the time slices, saves time, is easy to operate and promotes user experience. Meanwhile, the invention discloses a terminal for the ring tone clipping.
Description
Technical field
The present invention relates to ring making technical field, relate more specifically to a kind of the tinkle of bells intercept method and terminal.
Background technology
Mobile phone is as basic communication tool, except meeting the basic communication need of people, amusement has changed into another additional function of cell phone manufacturer and consumer's pursuit, wherein the entertainment orientation color of ringing sound of cell phone is particularly evident, the beeping sound of dullness while being born from mobile phone, the chord ring of holding in both hands to manufacturer's heat, music tone ringer up till now again, the tinkle of bells become in cell-phone function one must obligato bright spot, and pursue a wish personalized, that distinguished ringing sound of cell phone also becomes many cellphone subscribers.In order to meet user's this personalized the tinkle of bells demand, user makes the tinkle of bells by oneself becomes a kind of development trend.
At present, ring making function on mobile phone normally allows user choose a certain section from a music file and is set to the tinkle of bells, the method arranging is that user chooses starting point and the terminal of the tinkle of bells by audition music file, then according to starting point and terminal, intercepts snatch of music as the tinkle of bells.Yet there is following drawback in this method: first, need one whole section of musical competence of user's audition to select starting point and the terminal of certain section of music of hope from music file, lose time; Secondly, need user artificial write down starting point and terminal, user experiences bad; Finally, when background music is long in music file, need the longer time of cost just can select certain section of snatch of music that has voice.Therefore, the manufacturing process of the tinkle of bells loaded down with trivial details, lose time and user experiences bad.
Therefore, be necessary to provide a kind of the tinkle of bells intercept method and terminal to overcome above-mentioned defect.
Summary of the invention
The object of this invention is to provide a kind of the tinkle of bells intercept method, thereby realize intelligent intercepting the tinkle of bells, avoid user's audition whole section of music, start of record and terminal to obtain time slice, and then save time, simplify the operation and improve user and experience.
Another object of the present invention is to provide a kind of the tinkle of bells intercepting terminal, thereby realizes intelligent intercepting the tinkle of bells, avoid user's audition whole section of music, start of record and terminal to obtain time slice, and then saves time, simplifies the operation and improve user and experience.
For achieving the above object, the invention provides a kind of the tinkle of bells intercept method, comprise the following steps:
Analyze the audible spectrum of selected music file to mark all time slices that comprise voice;
Judge successively described in each whether time slice is fragment effective time;
According to judged result, count all described effective time of fragment, and record starting time and the terminal time of fragment effective time described in each;
Select in described effective time of fragment any one, according to selected described effective time fragment starting time and terminal time described music file is intercepted and saves as the tinkle of bells.
Compared with prior art, first the tinkle of bells intercept method of the present invention marks to the audible spectrum analysis of music file all time slices that comprise voice, judge successively afterwards described in each whether time slice is fragment effective time, then according to judged result, count all effective time of fragment record starting time and the terminal time of each of fragment effective time, finally select any one in described effective time of fragment, according to selected effective time, starting time and the terminal time of fragment intercept and save as the tinkle of bells to described music file, thereby realized intelligent intercepting the tinkle of bells, avoided whole section of music of user's audition, start of record and terminal obtain time slice, saved the time, simplified user's operation, improved user's experience.
Preferably, described " audible spectrum of analyzing selected music file using mark all time slices that comprise voice " is specially: analyze the audible spectrum of selected music file, by the moment t that has voice to occur to time period of t+L constantly as a time slice.
Preferably, whether described " judge each described in time slice be fragment effective time " is specially: judge whether time slice described in each meets that voice duration in described time slice is greater than M second and aperture time is less than N second, if, described time slice is fragment effective time, and wherein M, N are natural number and M>N.
Preferably, the value that the value of described M is 15, N is 3.
Preferably, described " selecting any one in described effective time of fragment " also comprises before: finely tune the starting time of described effective time of fragment and terminal time to obtain new fragment effective time.
Correspondingly, the present invention also provides a kind of the tinkle of bells intercepting terminal, comprising:
Mark module, for the audible spectrum of analyzing selected music file to mark all time slices that comprise voice;
Judge module, for judging successively described in each whether time slice is fragment effective time;
Statistical module, for count all described effective time of fragment according to the judged result of described judge module, and records starting time and the terminal time of described effective time of fragment;
Interception module, for select described effective time of fragment any one and according to selected described effective time fragment starting time and terminal time described music file is intercepted and obtains the tinkle of bells.
Preferably, described effective time, fragment was to be greater than M second the voice duration and aperture time is less than the N described time slice of second, and wherein M, N are natural number and M>N.
Preferably, the value that in described judge module, the value of M is 15, N is 3.
Preferably, described the tinkle of bells intercepting terminal also comprises fine setting module, for finely tuning the starting time of described effective time of fragment and terminal time, to obtain new fragment effective time.
By following description also by reference to the accompanying drawings, it is more clear that the present invention will become, and these accompanying drawings are used for explaining embodiments of the invention.
Accompanying drawing explanation
Fig. 1 is the workflow diagram of the tinkle of bells intercept method one embodiment of the present invention.
Fig. 2 is the structured flowchart of the tinkle of bells intercepting terminal of the present invention one embodiment.
Embodiment
With reference now to accompanying drawing, describe embodiments of the invention, in accompanying drawing, similarly element numbers represents similar element.
Please refer to Fig. 1, described the workflow of the tinkle of bells intercept method one embodiment of the present invention.As shown in Figure 1, comprise the following steps:
Step S101, enters the tinkle of bells intercepting function and selects music file; As: mobile terminal comprises a plurality of music files: " three tigers ", " chrysanthemum platform " etc., as the tinkle of bells, in the tinkle of bells intercepting function, select " chrysanthemum platform " for a certain section that if wish, intercepts " chrysanthemum platform ";
Step S102, analyzes the audible spectrum of selected music file to mark all time slices that comprise voice, in the present embodiment the detailed process of " audible spectrum of analyzing selected music file using mark all time slices that comprise voice " as: analyze the audible spectrum of selected music file, by the moment t that has first voice to occur to time period of t+L constantly as a time slice, the step that afterwards the described music file after moment t+L is repeated to " moment t that has first voice to occur is started to time period to moment t+L as a time slice " is until mark the time slices that comprises voice all in described music file, wherein L is the length by the predefined time slice of user, as: getting L value is 35 seconds, " chrysanthemum platform " analyzed and obtained 3 time slice that comprises voice: 00:15-00:50,01:12-01:47 and 02:03-02:38, wherein 00:15 occurs in " chrysanthemum platform " that the moment of voice, 01:12 are after 00:50, to occur first the moment of voice first, 02:03 is the moment that voice appears afterwards in 01:47 first, certainly, the detailed process of " analyzing the audible spectrum of selected music file to mark all time slices that comprise voice " can also be: the audible spectrum of analyzing selected music file, time period using the moment t that has voice to occur to moment t+L is as a time slice, as to get L value be 35 seconds, " chrysanthemum platform " analyzed and obtained the moment 00:15 that voice occurs, 00:45, 01:12, 01:40 and 02:03, now obtain 5 time slice 00:15-00:50 that comprise voice, 00:45-01:20, 01:12-01:47, 01:40-02:15 and 02:03-02:38,
Step S103, judge successively described in each whether time slice is fragment effective time, criterion concrete in the present embodiment is: judge whether described time slice meets that voice duration in time slice is greater than M second and aperture time is less than N second, if, be fragment effective time, otherwise be fragment ineffective time, M wherein, N is natural number and M>N, M=15 in the present embodiment, N=3, detailed process is: first get time slice 00:15-00:50 and analyze, judge whether voice duration in this time slice is greater than 15 seconds and adjacent voice between aperture time be less than 3 seconds, if, it is fragment effective time, otherwise be fragment ineffective time, get successively afterwards time slice 01:12-01:47, 02:03-02:38 judges, wherein aperture time refers to the time that there is no voice, it is the time of the adjacent intersegmental nobody's sound of voice duration sheet,
Step S104, counts all in described time slice effective time of fragment record starting time and the terminal time of described effective time of fragment according to judged result; As: after judgement, time slice 00:15-00:50 and 02:03-02:38 are fragment effective time by analysis, by this two effective time fragment starting time and terminal time is recorded and to offer user known;
Step S105, finely tunes the starting time of described effective time of fragment and terminal time to obtain new fragment effective time; If wherein user is too lofty for fear of the tinkle of bells, wish that the tinkle of bells obtain has the background music in several seconds rather than directly from having moment of voice, can finely tune fragment effective time obtaining, as obtained to new effective time fragment 02:00-02:41 after fragment 02:03-02:38 fine setting effective time;
Step S106, select in described effective time of fragment any one and according to selected effective time fragment starting time and terminal time intercept music file to obtain the tinkle of bells; As: select fragment 02:03-02:38 effective time, according to starting time 02:03 and the terminal time 02:38 intercepting music file of this of fragment effective time, obtain the sound of 02:03-02:38 time period in music file as the tinkle of bells, thereby realized intelligent intercepting the tinkle of bells, avoided user's audition whole section of music, start of record and terminal to obtain time slice, save the time, simplified user's operation, improved user's experience.
It should be noted that in the present invention that it is prior art that thereby music file is carried out to the time slice that audible spectrum analysis obtains voice, is below existing background technology:
The standard that whether has voice: when conventionally recording disc, we take following mode: first voice is recorded in the middle of a monaural track, this track is being inserted in stereosonic accompanying song, so just forming a complete song.In mixed contracting recording, the track of our common voice is on average mixed in accompanying song, that is to say, the acoustic waveform of voice is identical or similar in two sound channels of song.
Concrete way is first left and right acoustic channels to be carried out to mixed once operation, first determines parameter below before mixing
The shared percentage a1 of former L channel in new L channel; The shared percentage a2 of former R channel in new L channel; The shared percentage b1 of former L channel in new R channel; The shared percentage b2 of former R channel in new R channel;
A1, a2, a3, the numerical value of this four number of a4 is between-100 to 100.New L channel sampled value newLeft=a1*Left+a2*Right, new R channel sampled value newRight=b1*Left+b2*Right.
In order to realize subtracting each other of left and right acoustic channels, four numerical value that sound channel is mixed are respectively: 100 ,-100 ,-100,100, generated like this stereo waveform that left and right acoustic channels waveform is contrary.If new left and right acoustic channels and original left and right acoustic channels waveform are basically identical, in its corresponding frequency spectrum table at one time paragraph same frequency range count error in 5%, can think and have voice.
Please refer to Fig. 2, described the structured flowchart of the tinkle of bells intercepting terminal of the present invention one embodiment.As shown in Figure 2, terminal 100 comprises:
Mark module 11, for the audible spectrum of analyzing selected music file to mark all time slices that comprise voice; Concrete, the audible spectrum of the selected music file of mark module 11 analysis, the time period using the moment t that has voice to occur to moment t+L are as a time slice;
Whether judge module 12 is fragment effective time for time slice described in each of 11 marks of judge mark module successively; Concrete, judge module 12 judges whether time slice described in each meets that voice duration in described time slice is greater than M second and aperture time is less than N second, if so, described time slice is fragment effective time, and wherein M, N are natural number and M>N; The value that in the present embodiment, the value of M is 15, N is 3;
Statistical module 13, for count all described effective time of fragment according to the judged result of described judge module 12, and records starting time and the terminal time of described effective time of fragment;
Fine setting module 14, for finely tune statistical module 13 effective time fragment starting time and terminal time to obtain new fragment effective time;
Interception module 15, for select statistical module 13 statistics effective time fragment or effective time of obtaining after 14 fine settings of fine setting module in fragment any one and according to selected effective time fragment starting time and terminal time described music file is intercepted and obtains the tinkle of bells.
According to above description, can find out, terminal 100 is after entering the tinkle of bells intercepting function, first by 11 pairs of selected music files of mark module, carry out spectrum analysis to mark all time slices that comprise voice, whether each time slice going out by judge module 12 successively judge mark is afterwards fragment effective time, then statistical module 13 counts all effective time of fragment record starting time and the terminal time of each of fragment according to the judged result of judge module 12 effective time, the starting time that user can be by fine setting module 14 fine setting fragments effective time afterwards and terminal time are to obtain new fragment effective time, finally by interception module 15 directly select in fragments effective time any one and according to selected effective time fragment starting time and terminal time described music file is intercepted and obtains the tinkle of bells, thereby realized intelligent intercepting the tinkle of bells, avoided whole section of music of user's audition, start of record and terminal obtain time slice, save time, simple to operate, improved user's experience.
Invention has been described for above combination most preferred embodiment, but the present invention is not limited to the embodiment of above announcement, and should contain the various modifications of carrying out according to essence of the present invention, equivalent combinations.
Claims (6)
1. a tinkle of bells intercept method, is characterized in that, comprises the following steps:
Analyze the audible spectrum of selected music file, thereby as time slice, mark all time slices that comprise voice using the moment t that has voice to occur to time period of t+L constantly, described L is the length of default time slice;
Judge successively described in each whether time slice is fragment effective time, described effective time, fragment was to be greater than M second the voice duration and aperture time is less than the N time slice of second, and described M, N are natural number and M>N;
According to judged result, count all described effective time of fragment, and record starting time and the terminal time of fragment effective time described in each;
Select any one in described effective time of fragment, and according to selected described effective time fragment starting time and terminal time described music file is intercepted and obtains the tinkle of bells.
2. the tinkle of bells intercept method as claimed in claim 1, is characterized in that, the value that the value of described M is 15, N is 3.
3. the tinkle of bells intercept method as described in claim 1 to 2 any one, it is characterized in that, also comprise before any one in described selection described effective time of fragment: finely tune the starting time of described effective time of fragment and terminal time to obtain new fragment effective time.
4. a tinkle of bells intercepting terminal, is characterized in that, comprising:
Mark module, for analyzing the audible spectrum of selected music file, thereby marks as time slice all time slices that comprise voice using the moment t that has voice to occur to time period of t+L constantly, and described L is the length of default time slice;
Judge module, for judging successively described in each whether time slice is fragment effective time, described effective time, fragment was to be greater than M second the voice duration and aperture time is less than the N time slice of second, described M, N are natural number and M>N;
Statistical module, for count all described effective time of fragment according to the judged result of described judge module, and records starting time and the terminal time of described effective time of fragment;
Interception module, for select described effective time of fragment any one and according to selected described effective time fragment starting time and terminal time described music file is intercepted and obtains the tinkle of bells.
5. the tinkle of bells intercepting terminal as claimed in claim 4, is characterized in that, the value that in described judge module, the value of M is 15, N is 3.
6. the tinkle of bells as described in claim 4 to 5 any one intercepting terminal, is characterized in that, also comprises: fine setting module, and for finely tuning the starting time of described effective time of fragment and terminal time to obtain new fragment effective time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310071730.6A CN103220407B (en) | 2013-03-06 | 2013-03-06 | Method and terminal for ring tone clipping |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310071730.6A CN103220407B (en) | 2013-03-06 | 2013-03-06 | Method and terminal for ring tone clipping |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103220407A CN103220407A (en) | 2013-07-24 |
CN103220407B true CN103220407B (en) | 2014-12-10 |
Family
ID=48817851
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310071730.6A Expired - Fee Related CN103220407B (en) | 2013-03-06 | 2013-03-06 | Method and terminal for ring tone clipping |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103220407B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105119803A (en) * | 2015-07-10 | 2015-12-02 | 小米科技有限责任公司 | Processing method and device of voice message |
CN105139862B (en) * | 2015-07-23 | 2018-12-28 | 小米科技有限责任公司 | The tinkle of bells processing method and processing device |
CN108538309B (en) * | 2018-03-01 | 2021-09-21 | 杭州小影创新科技股份有限公司 | Singing voice detection method |
CN116743925B (en) * | 2023-08-15 | 2024-01-26 | 天津朝发网络技术有限公司 | Production system and method of mobile phone bell |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101094469A (en) * | 2007-07-17 | 2007-12-26 | 华为技术有限公司 | Method and device for creating prompt information of mobile terminal |
CN101299344A (en) * | 2008-05-23 | 2008-11-05 | 嘉兴闻泰通讯科技有限公司 | Method for automatically sectioning MP3 sound recording document in mobile phone |
CN102123201A (en) * | 2011-01-20 | 2011-07-13 | 深圳市五巨科技有限公司 | Ringtone shearing method and device of mobile terminal |
CN102568527A (en) * | 2011-12-20 | 2012-07-11 | 广东步步高电子工业有限公司 | Method and system for easily cutting audio files and applied mobile handheld device |
-
2013
- 2013-03-06 CN CN201310071730.6A patent/CN103220407B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101094469A (en) * | 2007-07-17 | 2007-12-26 | 华为技术有限公司 | Method and device for creating prompt information of mobile terminal |
CN101299344A (en) * | 2008-05-23 | 2008-11-05 | 嘉兴闻泰通讯科技有限公司 | Method for automatically sectioning MP3 sound recording document in mobile phone |
CN102123201A (en) * | 2011-01-20 | 2011-07-13 | 深圳市五巨科技有限公司 | Ringtone shearing method and device of mobile terminal |
CN102568527A (en) * | 2011-12-20 | 2012-07-11 | 广东步步高电子工业有限公司 | Method and system for easily cutting audio files and applied mobile handheld device |
Also Published As
Publication number | Publication date |
---|---|
CN103220407A (en) | 2013-07-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103220407B (en) | Method and terminal for ring tone clipping | |
US20090156265A1 (en) | System and method for ringtone shuffle | |
CN104020979B (en) | A kind of mobile terminal and method of adaptive desktop selection audio | |
WO2006041717A3 (en) | Method and system for playing an audible alert | |
CN110221944B (en) | Method and system for self-testing by using audio equipment to be tested | |
CN104954853B (en) | A kind of broadcast information store method, system, playback terminal and control terminal | |
CN108268233A (en) | Sound source control method, device and vehicle | |
CN106886387A (en) | A kind of audio data processing method and its equipment | |
WO2006090211A3 (en) | Defined ringing tone segments in an audio source | |
CN107371115A (en) | A kind of detection method, storage medium and the terminal of complete machine loudspeaker performance | |
CN104916295A (en) | Method and terminal for play control | |
CN105227783A (en) | Alarm clock ringing method and device | |
US20070155332A1 (en) | Method and mobile communication device for characterizing an audio accessory for use with the mobile communication device | |
WO2010110031A1 (en) | Electronic device, storage medium in which information processing program is stored, and information processing method | |
JP2006050563A (en) | Bell sound reproducing method of mobile terminal equipment | |
CN105611366B (en) | Car networking network radio station plays sort method and device, car networking network radio station and automobile | |
CN105282659A (en) | Sound box control method, sound box control device and sound box with sound box control device | |
CN105261384A (en) | Recording apparatus | |
CN102426838A (en) | Voice signal processing method and user equipment | |
CN103929691A (en) | Information processing method and electronic equipment | |
CN106406808A (en) | Volume processing method, device and terminal | |
CN108184193A (en) | Control method for playing back, bluetooth equipment and the computer storage media of bluetooth playback terminal | |
CN107528956B (en) | Voice quality testing method and device | |
CN109218873A (en) | Wireless headset and the method for playing audio | |
CN100576952C (en) | Clipping state display packing and clipping state display unit |
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 | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP01 | Change in the name or title of a patent holder | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20141210 |
|
CF01 | Termination of patent right due to non-payment of annual fee |