CN105976849B - A kind of method and apparatus of playing audio-fequency data - Google Patents

A kind of method and apparatus of playing audio-fequency data Download PDF

Info

Publication number
CN105976849B
CN105976849B CN201610292168.3A CN201610292168A CN105976849B CN 105976849 B CN105976849 B CN 105976849B CN 201610292168 A CN201610292168 A CN 201610292168A CN 105976849 B CN105976849 B CN 105976849B
Authority
CN
China
Prior art keywords
data section
lyrics
playing
audio data
audio
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.)
Active
Application number
CN201610292168.3A
Other languages
Chinese (zh)
Other versions
CN105976849A (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.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology 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 Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201610292168.3A priority Critical patent/CN105976849B/en
Publication of CN105976849A publication Critical patent/CN105976849A/en
Application granted granted Critical
Publication of CN105976849B publication Critical patent/CN105976849B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel

Abstract

The invention discloses a kind of method and apparatus of playing audio-fequency data, belong to field of computer technology.The described method includes: obtaining audio data and lyrics data that target plays song;The corresponding relationship of audio data section according to the pre-stored data and lyrics data section determines corresponding first audio data section of the first lyrics data section to be played in the lyrics data;Number and repetition interval are repeated playing according to pre-set, first audio data section is repeated playing.Using the present invention, the efficiency for playing accompaniment can be improved.

Description

A kind of method and apparatus of playing audio-fequency data
Technical field
The present invention relates to field of computer technology, in particular to a kind of method and apparatus of playing audio-fequency data.
Background technique
With the development of terminal technology, the function of terminal is stronger and stronger, and the application program that can be installed in terminal is also got over Come more.Wherein, it is one of the application program that people are commonly used that K, which sings application program,.
People can open the application program, download the song for wanting to sing after terminal installation K song application program Accompaniment, then, terminal can play the accompaniment of the song, and user can and then sing in accompaniment, pass through terminal to realize Carry out the function of K song.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
Terminal is all from the beginning to be played to tail, if user wants to practice a certain sentence in song when playing accompaniment It practises, needs from the beginning to play accompaniment, when being played to this, be sung followed by accompaniment, will lead to play accompaniment in this way Efficiency is lower.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of method of playing audio-fequency data and dresses It sets.The technical solution is as follows:
In a first aspect, providing a kind of method of playing audio-fequency data, which comprises
Obtain audio data and lyrics data that target plays song;
The corresponding relationship of audio data section according to the pre-stored data and lyrics data section determines in the lyrics data wait broadcast Corresponding first audio data section of the first lyrics data section put;
Number and repetition interval are repeated playing according to pre-set, first audio data section is repeated It plays.
Optionally, the corresponding relationship of the audio data section according to the pre-stored data and lyrics data section, determines the song Corresponding first audio data section of first lyrics data section to be played in word data, comprising:
Determine the first lyrics data section that user chooses, pair of audio data section according to the pre-stored data and lyrics data section It should be related to, determine corresponding first audio data section of the first lyrics data section that user chooses.
In this way, user can according to need, a certain sentence lyrics are repeated playing, play accompaniment so as to improve Flexibility.
Optionally, described to repeat playing number and repetition interval according to pre-set, to the first audio number It is repeated playing according to section, comprising:
Receive user's input repeats playing number and repetition interval, secondary according to repeating playing for user input Several and repetition interval, repeats playing first audio data section.
In this way, user can according to need, the number of repetition and repetition interval of a certain sentence lyrics are set, thus The flexibility for playing accompaniment can be improved.
Optionally, the method also includes:
Receive the skip instruction of corresponding first audio data section;
Stop playing first audio data section, and according to preset lyrics playing sequence, determines first lyrics The second lyrics data section after data segment;
The corresponding relationship of audio data section according to the pre-stored data and lyrics data section determines the second lyrics data section Corresponding second audio data section;
Number and repetition interval are repeated playing according to pre-set, the second audio data section is repeated It plays.
In this way, can directly skip the sentence if user is not desired to continue to repeat to sing certain lyrics, be broadcast so as to improve Put the flexibility of accompaniment.
Optionally, the method also includes:
Obtain the voice data that user inputs in the playing process of first audio data section;
The corresponding original singer's audio data section of the first lyrics data section according to the pre-stored data and audio similarity algorithm, The similarity value for determining the voice data and original singer's audio data, shows the similarity value determined.
In this way, each sentence that can be sung user is given a mark, so that user can sing the sentence with timely learning oneself The accuracy of the lyrics, so as to improve user experience.
Optionally, it is the audio accompaniment data that the target plays song that the target, which plays the audio data of song,.
Second aspect, provides a kind of device of playing audio-fequency data, and described device includes:
First obtains module, and the audio data and lyrics data of song are played for obtaining target;
First determining module is determined for the corresponding relationship of audio data section according to the pre-stored data and lyrics data section Corresponding first audio data section of first lyrics data section to be played in the lyrics data;
First playing module, for repeating playing number and repetition interval according to pre-set, to described first Audio data section is repeated playing.
Optionally, first determining module, is used for:
Determine the first lyrics data section that user chooses, pair of audio data section according to the pre-stored data and lyrics data section It should be related to, determine corresponding first audio data section of the first lyrics data section that user chooses.
Optionally, first playing module, is used for:
Receive user's input repeats playing number and repetition interval, secondary according to repeating playing for user input Several and repetition interval, repeats playing first audio data section.
Optionally, described device further include:
Receiving module, for receiving the skip instruction of corresponding first audio data section;
Second determining module, for stopping playing first audio data section, and according to preset lyrics playing sequence, Determine the second lyrics data section after the first lyrics data section;
Third determining module is determined for the corresponding relationship of audio data section according to the pre-stored data and lyrics data section The corresponding second audio data section of the second lyrics data section;
Second playing module, for repeating playing number and repetition interval according to pre-set, to described second Audio data section is repeated playing.
Optionally, described device further include:
Second obtains module, the voice number of user's input in the playing process for obtaining first audio data section According to;
Display module is used for the corresponding original singer's audio data section of the first lyrics data section according to the pre-stored data and sound Frequency similarity algorithm determines the similarity value of the voice data and original singer's audio data, shows the similarity determined Value.
Optionally, it is the audio accompaniment data that the target plays song that the target, which plays the audio data of song,.
Technical solution provided in an embodiment of the present invention has the benefit that
In the embodiment of the present invention, audio data and lyrics data that target plays song, sound according to the pre-stored data are obtained The corresponding relationship of frequency data segment and lyrics data section determines the first lyrics data section corresponding first to be played in lyrics data Audio data section repeats playing number and repetition interval according to pre-set, repeats to the first audio data section It plays, in this way, the corresponding audio data of this section of lyrics can be repeated playing for a certain section of lyrics, without playing from the beginning, So as to improve the efficiency for playing accompaniment.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of method flow diagram of playing audio-fequency data provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of interface display provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of interface display provided in an embodiment of the present invention;
Fig. 4 is a kind of apparatus structure schematic diagram of playing audio-fequency data provided in an embodiment of the present invention;
Fig. 5 is a kind of apparatus structure schematic diagram of playing audio-fequency data provided in an embodiment of the present invention;
Fig. 6 is a kind of apparatus structure schematic diagram of playing audio-fequency data provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
The embodiment of the invention provides a kind of method of playing audio-fequency data, the executing subject of this method is terminal.Wherein, The terminal can be the mobile terminals such as mobile phone or tablet computer, be also possible to PC (Personal Computer, personal computer) Terminal.Terminal may include processor, memory, input equipment and output equipment, wherein, and memory can be used for storing audio The corresponding relationship of data segment and lyrics data section;Processor can be used for obtaining the audio data and lyrics number that target plays song According to, and according to the corresponding relationship stored in memory, determine corresponding first audio data section of the first lyrics data section, Jin Erke To repeat playing number and repetition interval according to pre-set, controls the output equipment and the first audio data section is carried out It repeats playing, which can be loudspeaker etc., which can be microphone, and the voice for detecting user is believed Number.In addition, the terminal can also include the components such as power supply, sensor.
As shown in Figure 1, the concrete processing procedure of this method can be such that
Step 101, audio data and lyrics data that target plays song are obtained.
In an implementation, user can install the application program with K song function in terminal, and user can open in terminal should Application program, terminal can then show the list of songs of K song, and user can select to want the song of performance in list of songs (i.e. target broadcasting song), then available target plays the audio data and lyrics data of song to terminal.If in terminal It is stored with audio data and lyrics data that target plays song, then the pre-stored target in available local plays song to terminal Bent audio data and lyrics data;If not stored target plays the audio data and lyrics data of song, terminal in terminal Then the request of data that the corresponding target plays song can be sent, server is then to the corresponding background server of the application program The target can be played into the audio data of song and lyrics data is sent to terminal.Wherein, target plays the audio number of song According to may include that target plays the audio accompaniment data of song and original singer's audio data of target broadcasting song, alternatively, target is broadcast Bent audio data of singing can also only include the audio accompaniment data that target plays song.
Step 102, the corresponding relationship of audio data section according to the pre-stored data and lyrics data section, determines in lyrics data Corresponding first audio data section of first lyrics data section to be played.
In an implementation, the code for being segmented to lyrics data can be previously stored in the application program of terminal, In this way, for any song stored in terminal, the application program can the lyrics data of the song carry out segment processing, example Such as, sentence identification can be carried out to lyrics data, and then lyrics data can be divided by sentence, by the lyrics of a lyrics Data are divided into a lyrics data section.It, can be true respectively in the audio data of the song after terminal divides lyrics data section The corresponding audio data section of fixed each lyrics data section, and can deposit audio data section is corresponding with the progress of lyrics data section Storage, establishes the corresponding relationship of audio data section Yu lyrics data section.It, can during terminal plays out target broadcasting song To be played in the corresponding lyrics data of song in target, determine first lyrics to be played according to preset lyrics playing sequence Data segment, and then corresponding first audio data section of the first lyrics data section can be searched in the above correspondence relationship, with after an action of the bowels It is continuous that the audio data section is repeated playing.
Optionally, it can be chosen by user and need duplicate audio data section, corresponding treatment process can be preparatory: determined The first lyrics data section that user chooses, the corresponding relationship of audio data section according to the pre-stored data and lyrics data section determine Corresponding first audio data section of the first lyrics data section that user chooses.
In an implementation, in the playing process of the audio data of target song, user, which can choose, needs duplicate audio Data segment (i.e. the first lyrics data section), terminal then can be corresponding with lyrics data section with audio data section according to the pre-stored data Relationship determines corresponding first audio data section of the first lyrics data section that user chooses, to carry out subsequent processing.User's choosing It takes the mode of the first lyrics data section can be diversified, present embodiments provides two kinds of feasible processing modes.
Mode one, as shown in Fig. 2, target play song audio data broadcast interface in, repetition can be set Play options, user is during performance, if feeling that this that currently sing is not accurate enough, can click repetition and broadcast Option is put, terminal, which then can receive, repeats playing instruction, meanwhile, it can determine lyrics data belonging to the currently playing lyrics Section (i.e. the first lyrics data section), and then can be in the corresponding relationship of pre-stored audio data section and lyrics data section, really Fixed corresponding first audio data section of first lyrics data section.Alternatively, terminal receive repeat playing instruction when, can be direct Audio data section belonging to currently playing audio data (i.e. the first audio data section) is determined, for example, terminal can deposit in advance The corresponding playing duration range of each audio data section is stored up, and then can be worked as according to the playing duration of current audio data to determine Audio data section belonging to the audio data of preceding broadcasting, alternatively, terminal can also determine that the present embodiment is not by other means It limits.
Mode two, terminal can play the lyrics display interface of song with displaying target, and user can show boundary in the lyrics In face, the lyrics data section repeated playing is wanted in selection.For example, user can carry out long-pressing behaviour in lyrics display interface Make, alternatively, clicking the lyrics chooses option, terminal can then show the selection region for selecting lyrics data section, and user can be with By pulling the range of choice of the selection region, to select the first lyrics data section for needing to repeat playing, can then click on Repeat playing option, what terminal then can receive the first lyrics data section of corresponding user's selection repeats playing instruction, in turn The first lyrics data that user chooses can be determined with the corresponding relationship of audio data section according to the pre-stored data and lyrics data section Corresponding first audio data section of section.
Step 103, number and repetition interval are repeated playing according to pre-set, the first audio data section is carried out It repeats playing.
In an implementation, can store in terminal it is pre-set repeat playing number and repetition interval, repeat playing Number and repetition interval can be by the pre-set default value of technical staff, can also be configured by user.Terminal It, can be according to presetting after determining corresponding first audio data section of the first lyrics data section to be played in lyrics data Repeat playing number and repetition interval, the first audio data section is repeated playing.After reaching number of repetition, eventually End can be according to pre-set lyrics playing sequence, and the second lyrics data section after the first lyrics data section of broadcasting is corresponding Audio data.
Optionally, the case where number and repetition interval being repeated playing for user setting, correspondingly, step 103 Treatment process can be such that receive user input repeat playing number and repetition interval, according to user input repetition Broadcasting time and repetition interval repeat playing the first audio data section.
In an implementation, in the broadcast interface of audio data that song is played in target, repetition setting options can be set, User can click repetition setting options, and terminal then can receive the corresponding selection instruction for repeating setting options, then can be with Showing the input frame for repeating playing number and repetition interval, user can input the number for wishing to repeat playing, with And the time interval repeated playing, as shown in figure 3, user can input, to repeat playing number be 5 times, and repetition interval is 3s.User setting can repeat playing number and repetition interval before playing target and playing song, can also be in target In the playing process for playing song, setting repeats playing number and repetition interval.Song is played in target for user In playing process, be set, terminal can receive corresponding user's selection the case where repeating playing number and repetition interval The first lyrics data section repeat playing instruction after, show the input for repeating playing number and repetition interval Frame, so that user is configured.In addition, terminal is broadcast in display for repeating since user is inconvenient to sing in input When putting the input frame of number and repetition interval, it can suspend and play the audio data that target plays song, when terminal detects After the confirmation instruction inputted to user, it is further continued for playing the audio data that target plays song, so as to improve user experience.
After user's input repeats playing number and repetition interval, what terminal can be inputted according to user repeats playing secondary Several and repetition interval, repeats playing the first audio data section.After reaching number of repetition, terminal can be according to pre- The lyrics playing sequence being first arranged plays the corresponding audio data of the second lyrics data section after the first lyrics data section.
Optionally, after user sings, terminal can give a mark to each sentence, and corresponding treatment process, which can be such that, to be obtained Take the voice data that user inputs in the playing process of the first audio data section;First lyrics data section according to the pre-stored data is right The original singer's audio data section and audio similarity algorithm answered, determine the similarity value of voice data and original singer's audio data, display The similarity value determined.
In an implementation, can store in terminal target play song original singer's audio data and original singer's audio data section, The corresponding relationship of audio accompaniment data segment and lyrics data section, after terminal determines the first lyrics data section to be played, Ke Yigen According to original singer's audio data section, the corresponding relationship of audio accompaniment data segment and lyrics data section, determine that the first lyrics data section is corresponding Original singer's audio data section.
During terminal repeatedly plays the first audio data section, for playing the first audio data every time, terminal can In the playing process of the first audio data section of this time, to detect the voice signal of user's input, and the language that can be will test Sound signal is converted into voice data, then can calculate the first lyrics data section with audio similarity algorithm according to the pre-stored data The similarity value of corresponding original singer's audio data section and the voice data is (i.e. obtained by this first lyrics data section of performance of user Score), terminal can show the similarity value so that user can know this sing level.
Optionally, if user does not need to repeat playing the first lyrics data section, the section can be skipped, next lyrics are played Data segment, corresponding treatment process can be such that the skip instruction for receiving corresponding first audio data section;Stop playing the first sound Frequency data segment, and according to preset lyrics playing sequence, determine the second lyrics data section after the first lyrics data section;According to The corresponding relationship of pre-stored audio data section and lyrics data section determines the corresponding second audio number of the second lyrics data section According to section;Number and repetition interval are repeated playing according to pre-set, second audio data section is repeated playing.
In an implementation, choosing is skipped as shown in Fig. 2, can be set in the broadcast interface of the audio data of target broadcasting song ?.Terminal is when playing the first audio data section, if user is not intended to terminal to repeat playing the first audio data section, alternatively, Reach the first audio data section repeat playing number before, if the user desired that playing the corresponding sound of next lyrics data section Frequency data segment, user can be in the broadcast interfaces for the audio data that target plays song, and option is skipped in click, and terminal then can be with Then the skip instruction for receiving corresponding first audio data section can stop playing the first audio data section, and can basis Preset lyrics playing sequence, determines the second lyrics data section after the first lyrics data section, and then can be according to depositing in advance The audio data section of storage and the corresponding relationship of lyrics data section, determine the corresponding second audio data section of the second lyrics data section, Number and repetition interval are repeated playing according to pre-set, second audio data section is repeated playing, specifically Treatment process is similar with the above-mentioned treatment process repeated playing, and details are not described herein again.
In the embodiment of the present invention, audio data and lyrics data that target plays song, sound according to the pre-stored data are obtained The corresponding relationship of frequency data segment and lyrics data section determines the first lyrics data section corresponding first to be played in lyrics data Audio data section repeats playing number and repetition interval according to pre-set, repeats to the first audio data section It plays, in this way, the corresponding audio data of this section of lyrics can be repeated playing for a certain section of lyrics, without playing from the beginning, So as to improve the efficiency for playing accompaniment.
Based on the same technical idea, the embodiment of the invention also provides a kind of devices of playing audio-fequency data, such as Fig. 4 institute Show, which includes:
First obtains module 410, and the audio data and lyrics data of song are played for obtaining target;
First determining module 420, for the corresponding relationship of audio data section according to the pre-stored data and lyrics data section, really Corresponding first audio data section of first lyrics data section to be played in the fixed lyrics data;
First playing module 430, for repeating playing number and repetition interval according to pre-set, to described One audio data section is repeated playing.
Optionally, first determining module 420, is used for:
Determine the first lyrics data section that user chooses, pair of audio data section according to the pre-stored data and lyrics data section It should be related to, determine corresponding first audio data section of the first lyrics data section that user chooses.
Optionally, first playing module 430, is used for:
Receive user's input repeats playing number and repetition interval, secondary according to repeating playing for user input Several and repetition interval, repeats playing first audio data section.
Optionally, as shown in figure 5, described device further include:
Receiving module 440, for receiving the skip instruction of corresponding first audio data section;
Second determining module 450 plays first audio data section for stopping, and suitable according to the broadcasting of the preset lyrics Sequence determines the second lyrics data section after the first lyrics data section;
Third determining module 460, for the corresponding relationship of audio data section according to the pre-stored data and lyrics data section, really Determine the corresponding second audio data section of the second lyrics data section;
Second playing module 470, for repeating playing number and repetition interval according to pre-set, to described Two audio data sections are repeated playing.
Optionally, as shown in fig. 6, described device further include:
Second obtains module 480, the voice of user's input in the playing process for obtaining first audio data section Data;
Display module 490 is used for the corresponding original singer's audio data section of the first lyrics data section according to the pre-stored data With audio similarity algorithm, determines the similarity value of the voice data and original singer's audio data, show the phase determined Like angle value.
Optionally, it is the audio accompaniment data that the target plays song that the target, which plays the audio data of song,.
In the embodiment of the present invention, audio data and lyrics data that target plays song, sound according to the pre-stored data are obtained The corresponding relationship of frequency data segment and lyrics data section determines the first lyrics data section corresponding first to be played in lyrics data Audio data section repeats playing number and repetition interval according to pre-set, repeats to the first audio data section It plays, in this way, the corresponding audio data of this section of lyrics can be repeated playing for a certain section of lyrics, without playing from the beginning, So as to improve the efficiency for playing accompaniment.
It should be understood that the device of playing audio-fequency data provided by the above embodiment is in playing audio-fequency data, only with The division progress of above-mentioned each functional module can according to need and for example, in practical application by above-mentioned function distribution by not Same functional module is completed, i.e., the internal structure of equipment is divided into different functional modules, to complete whole described above Or partial function.In addition, the device of playing audio-fequency data provided by the above embodiment and the method for playing audio-fequency data are implemented Example belongs to same design, and specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Referring to FIG. 7, the terminal can be used for it illustrates the structural schematic diagram of terminal involved in the embodiment of the present invention The method of the playing audio-fequency data provided in above-described embodiment is provided.Specifically:
Terminal 900 may include RF (Radio Frequency, radio frequency) circuit 110, include one or more meter The memory 120 of calculation machine readable storage medium storing program for executing, input unit 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi (wireless fidelity, Wireless Fidelity) module 170, the processing for including one or more than one processing core The components such as device 180 and power supply 190.It will be understood by those skilled in the art that terminal structure shown in Fig. 7 is not constituted pair The restriction of terminal may include perhaps combining certain components or different component cloth than illustrating more or fewer components It sets.Wherein:
RF circuit 110 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, one or the processing of more than one processor 180 are transferred to;In addition, the data for being related to uplink are sent to Base station.In general, RF circuit 110 includes but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, uses Family identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplex Device etc..In addition, RF circuit 110 can also be communicated with network and other equipment by wireless communication.The wireless communication can make With any communication standard or agreement, and including but not limited to GSM (Global System of Mobile communication, entirely Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), Email, SMS (Short Messaging Service, short message service) etc..
Memory 120 can be used for storing software program and module, and processor 180 is stored in memory 120 by operation Software program and module, thereby executing various function application and data processing.Memory 120 can mainly include storage journey Sequence area and storage data area, wherein storing program area can the (ratio of application program needed for storage program area, at least one function Such as sound-playing function, image player function) etc.;Storage data area, which can be stored, uses created number according to terminal 900 According to (such as audio data, phone directory etc.) etc..In addition, memory 120 may include high-speed random access memory, can also wrap Include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts. Correspondingly, memory 120 can also include Memory Controller, to provide processor 180 and input unit 130 to memory 120 access.
Input unit 130 can be used for receiving the number or character information of input, and generate and user setting and function Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 130 may include touching Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are used Family on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive table Operation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to preset formula.It is optional , touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and can receive processor 180 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch sensitive surface 131.In addition to touch sensitive surface 131, input unit 130 can also include other input equipments 132.Specifically, Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), One of trace ball, mouse, operating stick etc. are a variety of.
Display unit 140 can be used for showing information input by user or the information and terminal 900 that are supplied to user Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof. Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal Show device), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel 141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 detects touching on it or nearby After touching operation, processor 180 is sent to determine the type of touch event, is followed by subsequent processing device 180 according to the type of touch event Corresponding visual output is provided on display panel 141.Although touch sensitive surface 131 and display panel 141 are conducts in Fig. 7 Two independent components realize input and input function, but in some embodiments it is possible to by touch sensitive surface 131 and display Panel 141 is integrated and realizes and outputs and inputs function.
Terminal 900 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 141, and proximity sensor can close display when terminal 900 is moved in one's ear Panel 141 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions (generally Three axis) acceleration size, can detect that size and the direction of gravity when static, can be used to identify mobile phone posture application (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Extremely In other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensors that terminal 900 can also configure, herein It repeats no more.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and terminal 900.Audio Electric signal after the audio data received conversion can be transferred to loudspeaker 161, be converted to sound by loudspeaker 161 by circuit 160 Sound signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, after being received by voicefrequency circuit 160 Audio data is converted to, then by after the processing of audio data output processor 180, such as another end is sent to through RF circuit 110 End, or audio data is exported to memory 120 to be further processed.Voicefrequency circuit 160 is also possible that earphone jack, To provide the communication of peripheral hardware earphone Yu terminal 900.
WiFi belongs to short range wireless transmission technology, and terminal 900 can help user's transceiver electronics by WiFi module 170 Mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 7 is shown WiFi module 170, but it is understood that, and it is not belonging to must be configured into for terminal 900, it can according to need completely Do not change in the range of the essence of invention and omits.
Processor 180 is the control centre of terminal 900, utilizes each portion of various interfaces and connection whole mobile phone Point, by running or execute the software program and/or module that are stored in memory 120, and calls and be stored in memory 120 Interior data execute the various functions and processing data of terminal 900, to carry out integral monitoring to mobile phone.Optionally, processor 180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modem processor, Wherein, the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles nothing Line communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal 900 further includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity Management system and processor 180 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.Power supply 190 can also include one or more direct current or AC power source, recharging system, power supply event Hinder the random components such as detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, terminal 900 can also include camera, bluetooth module etc., and details are not described herein.Specifically in this reality It applies in example, the display unit of terminal 900 is touch-screen display, and terminal 900 further includes having memory and one or one Above program, one of them perhaps more than one program be stored in memory and be configured to by one or one with Upper processor execution states one or more than one program includes the instruction for performing the following operation:
Obtain audio data and lyrics data that target plays song;
The corresponding relationship of audio data section according to the pre-stored data and lyrics data section determines in the lyrics data wait broadcast Corresponding first audio data section of the first lyrics data section put;
Number and repetition interval are repeated playing according to pre-set, first audio data section is repeated It plays.
Optionally, the corresponding relationship of the audio data section according to the pre-stored data and lyrics data section, determines the song Corresponding first audio data section of first lyrics data section to be played in word data, comprising:
Determine the first lyrics data section that user chooses, pair of audio data section according to the pre-stored data and lyrics data section It should be related to, determine corresponding first audio data section of the first lyrics data section that user chooses.
Optionally, described to repeat playing number and repetition interval according to pre-set, to the first audio number It is repeated playing according to section, comprising:
Receive user's input repeats playing number and repetition interval, secondary according to repeating playing for user input Several and repetition interval, repeats playing first audio data section.
Optionally, the method also includes:
Receive the skip instruction of corresponding first audio data section;
Stop playing first audio data section, and according to preset lyrics playing sequence, determines first lyrics The second lyrics data section after data segment;
The corresponding relationship of audio data section according to the pre-stored data and lyrics data section determines the second lyrics data section Corresponding second audio data section;
Number and repetition interval are repeated playing according to pre-set, the second audio data section is repeated It plays.
Optionally, the method also includes:
Obtain the voice data that user inputs in the playing process of first audio data section;
The corresponding original singer's audio data section of the first lyrics data section according to the pre-stored data and audio similarity algorithm, The similarity value for determining the voice data and original singer's audio data, shows the similarity value determined.
Optionally, it is the audio accompaniment data that the target plays song that the target, which plays the audio data of song,.
In the embodiment of the present invention, audio data and lyrics data that target plays song, sound according to the pre-stored data are obtained The corresponding relationship of frequency data segment and lyrics data section determines the first lyrics data section corresponding first to be played in lyrics data Audio data section repeats playing number and repetition interval according to pre-set, repeats to the first audio data section It plays, in this way, the corresponding audio data of this section of lyrics can be repeated playing for a certain section of lyrics, without playing from the beginning, So as to improve the efficiency for playing accompaniment.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of method of playing audio-fequency data, which is characterized in that the described method includes:
Obtain audio data and lyrics data that target plays song;
Code according to the pre-stored data for being segmented to lyrics data carries out segment processing to the lyrics data, really Fixed first lyrics data section to be played, the corresponding relationship of audio data section according to the pre-stored data and lyrics data section determine Corresponding first audio data section of first lyrics data section to be played in the lyrics data;
Display repeats playing the input frame of number and repetition interval for determining, receive user's input repeats playing number And repetition interval, number and repetition interval are repeated playing according to user input, to the first audio number It is repeated playing according to section.
2. the method according to claim 1, wherein the audio data section according to the pre-stored data and lyrics number According to the corresponding relationship of section, corresponding first audio data section of the first lyrics data section to be played in the lyrics data is determined, Include:
Determine the first lyrics data section that user chooses, audio data section according to the pre-stored data is corresponding with lyrics data section to close System determines corresponding first audio data section of the first lyrics data section that user chooses.
3. the method according to claim 1, wherein the method also includes:
Receive the skip instruction of corresponding first audio data section;
Stop playing first audio data section, and according to preset lyrics playing sequence, determines first lyrics data The second lyrics data section after section;
The corresponding relationship of audio data section according to the pre-stored data and lyrics data section determines that the second lyrics data section is corresponding Second audio data section;
Number and repetition interval are repeated playing according to pre-set, the second audio data section is carried out repeating to broadcast It puts.
4. the method according to claim 1, wherein the method also includes:
Obtain the voice data that user inputs in the playing process of first audio data section;
The corresponding original singer's audio data section of the first lyrics data section according to the pre-stored data and audio similarity algorithm, determine The similarity value of the voice data and original singer's audio data, shows the similarity value determined.
5. the method according to claim 1, wherein the audio data that the target plays song is the target Play the audio accompaniment data of song.
6. a kind of device of playing audio-fequency data, which is characterized in that described device includes:
First obtains module, and the audio data and lyrics data of song are played for obtaining target;
First determining module, for the code according to the pre-stored data for being segmented to lyrics data, to the lyrics number According to segment processing is carried out, the first lyrics data section to be played, audio data section according to the pre-stored data and lyrics data are determined The corresponding relationship of section, determines corresponding first audio data section of the first lyrics data section to be played in the lyrics data;
First playing module is used to determine the input frame for repeating playing number and repetition interval for showing, receives user Input repeats playing number and repetition interval, according to repeating playing between number and repetition time for user input Every being repeated playing to first audio data section.
7. device according to claim 6, which is characterized in that first determining module is used for:
Determine the first lyrics data section that user chooses, audio data section according to the pre-stored data is corresponding with lyrics data section to close System determines corresponding first audio data section of the first lyrics data section that user chooses.
8. device according to claim 6, which is characterized in that described device further include:
Receiving module, for receiving the skip instruction of corresponding first audio data section;
Second determining module plays first audio data section for stopping, and according to preset lyrics playing sequence, determines The second lyrics data section after the first lyrics data section;
Third determining module, for the corresponding relationship of audio data section according to the pre-stored data and lyrics data section, determine described in The corresponding second audio data section of second lyrics data section;
Second playing module, for repeating playing number and repetition interval according to pre-set, to second audio Data segment is repeated playing.
9. device according to claim 7, which is characterized in that described device further include:
Second obtains module, the voice data of user's input in the playing process for obtaining first audio data section;
Display module is used for the corresponding original singer's audio data section of the first lyrics data section according to the pre-stored data and audio phase Like degree algorithm, determines the similarity value of the voice data and original singer's audio data, show the similarity value determined.
10. device according to claim 6, which is characterized in that the audio data that the target plays song is the mesh Mark plays the audio accompaniment data of song.
CN201610292168.3A 2016-05-05 2016-05-05 A kind of method and apparatus of playing audio-fequency data Active CN105976849B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610292168.3A CN105976849B (en) 2016-05-05 2016-05-05 A kind of method and apparatus of playing audio-fequency data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610292168.3A CN105976849B (en) 2016-05-05 2016-05-05 A kind of method and apparatus of playing audio-fequency data

Publications (2)

Publication Number Publication Date
CN105976849A CN105976849A (en) 2016-09-28
CN105976849B true CN105976849B (en) 2019-05-03

Family

ID=56994009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610292168.3A Active CN105976849B (en) 2016-05-05 2016-05-05 A kind of method and apparatus of playing audio-fequency data

Country Status (1)

Country Link
CN (1) CN105976849B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106993097B (en) * 2017-03-31 2020-05-12 维沃移动通信有限公司 Music playing method and mobile terminal
CN107704232B (en) * 2017-09-26 2021-01-08 维沃移动通信有限公司 Audio control method and electronic equipment
CN113838488B (en) * 2020-06-24 2023-03-14 北京字节跳动网络技术有限公司 Audio playing packet generation method and device and audio playing method and device
CN114442991A (en) * 2022-01-24 2022-05-06 北京达佳互联信息技术有限公司 Audio data playing method, device, equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101211642A (en) * 2006-12-30 2008-07-02 上海乐金广电电子有限公司 Audio frequency playing device sound frequency file playing method and its device
CN102110435A (en) * 2009-12-23 2011-06-29 康佳集团股份有限公司 Method and system for karaoke scoring
CN103559034A (en) * 2013-09-02 2014-02-05 百度在线网络技术(北京)有限公司 Method and device for controlling screen locking in mobile equipment
CN103871426A (en) * 2012-12-13 2014-06-18 上海八方视界网络科技有限公司 Method and system for comparing similarity between user audio frequency and original audio frequency
CN103905925A (en) * 2014-03-07 2014-07-02 深圳创维数字技术股份有限公司 Method and terminal for repeatedly playing program
CN104882147A (en) * 2015-06-05 2015-09-02 福建星网视易信息***有限公司 Method, device and system for displaying singing score

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101211642A (en) * 2006-12-30 2008-07-02 上海乐金广电电子有限公司 Audio frequency playing device sound frequency file playing method and its device
CN102110435A (en) * 2009-12-23 2011-06-29 康佳集团股份有限公司 Method and system for karaoke scoring
CN103871426A (en) * 2012-12-13 2014-06-18 上海八方视界网络科技有限公司 Method and system for comparing similarity between user audio frequency and original audio frequency
CN103559034A (en) * 2013-09-02 2014-02-05 百度在线网络技术(北京)有限公司 Method and device for controlling screen locking in mobile equipment
CN103905925A (en) * 2014-03-07 2014-07-02 深圳创维数字技术股份有限公司 Method and terminal for repeatedly playing program
CN104882147A (en) * 2015-06-05 2015-09-02 福建星网视易信息***有限公司 Method, device and system for displaying singing score

Also Published As

Publication number Publication date
CN105976849A (en) 2016-09-28

Similar Documents

Publication Publication Date Title
CN106101736B (en) A kind of methods of exhibiting and system of virtual present
CN106210755B (en) A kind of methods, devices and systems playing live video
CN106454404B (en) A kind of methods, devices and systems playing live video
CN105788612B (en) A kind of method and apparatus detecting sound quality
CN106251890B (en) A kind of methods, devices and systems of recording song audio
CN105549740B (en) A kind of method and apparatus of playing audio-fequency data
CN106782460B (en) The method and apparatus for generating music score
CN105979312B (en) Information sharing method and device
CN106231433B (en) A kind of methods, devices and systems playing network video
CN106328176B (en) A kind of method and apparatus generating song audio
CN105447124B (en) Virtual objects sharing method and device
CN106488296B (en) A kind of method and apparatus showing video barrage
CN106126160B (en) A kind of effect adjusting method and user terminal
CN105976849B (en) A kind of method and apparatus of playing audio-fequency data
CN105530239B (en) Multi-medium data acquisition methods and device
CN103294442B (en) A kind of method of playing alert tones, device and terminal device
CN106371749A (en) Method and device for terminal control
CN105550316B (en) The method for pushing and device of audio list
CN106558299A (en) The mode switching method and device of audio rendition
CN106303605B (en) A kind of methods, devices and systems to send a notification message
CN106210919A (en) A kind of main broadcaster of broadcasting sings the methods, devices and systems of video
CN107741812B (en) A kind of method and terminal handling media file
CN106126675A (en) A kind of method of recommendation of audio, Apparatus and system
CN105047185B (en) A kind of methods, devices and systems obtaining audio accompaniment
CN106057213B (en) A kind of method and apparatus of display voice pitch data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 510660 Guangzhou City, Guangzhou, Guangdong, Whampoa Avenue, No. 315, self - made 1-17

Applicant after: Guangzhou KuGou Networks Co., Ltd.

Address before: 510000 B1, building, No. 16, rhyme Road, Guangzhou, Guangdong, China 13F

Applicant before: Guangzhou KuGou Networks Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant