CN109873905A - Audio frequency playing method, audio synthetic method, device and storage medium - Google Patents

Audio frequency playing method, audio synthetic method, device and storage medium Download PDF

Info

Publication number
CN109873905A
CN109873905A CN201910199297.1A CN201910199297A CN109873905A CN 109873905 A CN109873905 A CN 109873905A CN 201910199297 A CN201910199297 A CN 201910199297A CN 109873905 A CN109873905 A CN 109873905A
Authority
CN
China
Prior art keywords
lyrics
audio
determined
target song
unit
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.)
Pending
Application number
CN201910199297.1A
Other languages
Chinese (zh)
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 CN201910199297.1A priority Critical patent/CN109873905A/en
Publication of CN109873905A publication Critical patent/CN109873905A/en
Pending legal-status Critical Current

Links

Abstract

This application discloses a kind of audio frequency playing method, audio synthetic method, device and storage mediums, belong to field of terminal technology.The described method includes: obtaining the first audio of target song and carrying out repairing the second audio obtained after sound processing to the first audio;According to the play instruction of target song, target song is played;In the playing process of target song, when broadcasting to first lyrics, play the first audio being located in the corresponding time interval of first lyrics, when broadcasting to second lyrics, the second audio being located in the corresponding time interval of second lyrics is played, first lyrics and second lyrics are the lyrics of the different time intervals positioned at target song.The application chooses at random convenient for user plays repairing audio before sound or repairing audio after sound for the specific lyrics, not only enriches audio and plays form, but also is able to use family and more intuitively experiences comparison before and after repairing sound, meets the diversified demand of user.

Description

Audio frequency playing method, audio synthetic method, device and storage medium
Technical field
This application involves field of terminal technology, in particular to a kind of audio frequency playing method, audio synthetic method, device and deposit Storage media.
Background technique
With the development of network technology, existing music software can provide performance mode substantially.User can drill The song for selecting oneself to like under mode is sung, and accompanying song is followed to be sung, during performance, terminal can acquire user Performance audio.In addition, music software, which can also provide, repairs sound function, with after the completion of user sings, to singing in audio Existing pitch is inaccurate or the faults such as snaps and is modified.
In the related technology, after the completion of user sings, terminal can jump to recording preview page, the recording preview page Including broadcast button and repair sound option.When the user clicks when broadcast button, terminal starts to play the performance audio of user.Work as user When sound option is repaired in click, terminal can the performance audio to user carry out repairing sound, and jump to and repair sound preview page, it is pre- that this repairs sound The page of looking at includes broadcast button, when repairing the broadcast button in sound preview page when the user clicks, terminal can play repair sound after Sing audio.Later, it when user wants to play the performance audio before repairing sound, also needs to return to recording preview page, and click record Broadcast button in sound preview page plays out.
From the foregoing, it will be observed that in the related technology, the performance audio of Xiu Yinqian and repair the performance audio after sound can only be according to user's Operation individually plays out, and this broadcast mode is too single, is unable to satisfy the diversified demand of user.
Summary of the invention
This application provides a kind of audio frequency playing method, audio synthetic method, device and storage mediums, can solve correlation The problem of broadcast mode existing for technology is single, is unable to satisfy the diversified demand of user.The technical solution is as follows:
In a first aspect, providing a kind of audio frequency playing method, which comprises
The first audio and the second audio of target song are obtained, second audio is to carry out repairing sound to first audio It is obtained after processing;
According to the play instruction of the target song, the target song is played;
In the playing process of the target song, when broadcasting to first lyrics, plays and be located at first lyrics pair The first audio in the time interval answered plays when broadcasting to second lyrics and is located at the corresponding time zone of second lyrics The second interior audio, first lyrics and second lyrics are the song of the different time intervals positioned at the target song Word.
Optionally, first audio is people's sound audio or first audio is people's sound audio and audio accompaniment Composite tone.
Optionally, first audio is people's sound audio;
It is described in the playing process of the target song, when playing to first lyrics, play and be located at first song The first audio in the corresponding time interval of word, when broadcasting to second lyrics, when playing corresponding positioned at second lyrics Between the second audio in section, comprising:
According to the audio accompaniment of target song described in play time played in order;
While according to the audio accompaniment of target song described in play time played in order, when broadcasting to first lyrics When, the first audio being located in the corresponding time interval of first lyrics is played, when broadcasting to second lyrics, broadcasting is located at The second audio in the corresponding time interval of second lyrics.
Optionally, first lyrics include M lyrics unit, and second lyrics include N number of lyrics unit, the song Word unit is a line lyrics, a lyrics, one section of lyrics or T word, and described M, N and T are positive integer;
It is described when playing to first lyrics, play the first sound being located in the corresponding time interval of first lyrics Frequently, comprising:
When broadcasting to the first lyrics unit, the corresponding time interval of first lyrics unit, first song are determined Word unit is any lyrics unit in the M lyrics unit;
From first audio, the first audio being located in the corresponding time interval of first lyrics unit is obtained, Play the first audio being located in the corresponding time interval of first lyrics unit;
It is described when playing to second lyrics, play the second sound being located in the corresponding time interval of second lyrics Frequently, comprising:
When broadcasting to the second lyrics unit, the corresponding time interval of second lyrics unit, second song are determined Word unit is any lyrics unit in N number of lyrics unit;
From second audio, the second audio being located in the corresponding time interval of second lyrics unit is obtained, Play the second audio being located in the corresponding time interval of second lyrics unit.
Optionally, before the broadcasting target song, further includes:
Show the lyrics interface of the target song;
Based on the lyrics interface, the selected lyrics are determined;
The selected lyrics are determined as first lyrics, the not selected lyrics are determined as second lyrics; Alternatively, the selected lyrics are determined as second lyrics, the not selected lyrics are determined as first lyrics.
Optionally, described to be based on the lyrics interface, determine the selected lyrics, comprising:
Based on the lyrics interface, determine that selected lyrics unit, each lyrics unit are a line lyrics, a song Word, one section of lyrics or T word are unit, and the T is positive integer;
The lyrics that user is chosen and the unchecked lyrics are identified as first lyrics and second song Word, comprising:
Selected lyrics unit is determined as first lyrics, not selected lyrics unit is determined as described the Two lyrics;Alternatively, selected lyrics unit is determined as second lyrics, not selected lyrics unit is determined as institute State first lyrics.
Optionally, the method also includes:
In the playing process of the target song, the lyrics interface of the target song is shown;
When the lyrics interface based on the target song, when receiving lyrics selection instruction, the selection instruction choosing is determined The lyrics selected;
The lyrics of selection are determined to belong to the lyrics of first lyrics or second lyrics;
Current playback progress is switched to and is played out since the selected lyrics.
Optionally, if the lyrics in selected state are first lyrics, the lyrics in unselected state are described Second lyrics, the then lyrics that the lyrics of selection are determined to belong to first lyrics or second lyrics, comprising:
If the selected lyrics are being in unselected state before selecting, the state of the selected lyrics is cut It is changed to selected state, and the selected lyrics are determined to belong to the lyrics of first lyrics;
If the selected lyrics are being in selected state before selecting, the state of the selected lyrics is switched For unselected state, and the selected lyrics are determined to belong to the lyrics of second lyrics.
Optionally, if the lyrics in selected state are second lyrics, the lyrics in unselected state are described First lyrics, the then lyrics that the lyrics of selection are determined to belong to first lyrics or second lyrics, comprising:
If the selected lyrics are being in unselected state before selecting, the state of the selected lyrics is cut It is changed to selected state, and the selected lyrics are determined to belong to the lyrics of second lyrics;
If the selected lyrics are being in selected state before selecting, the state of the selected lyrics is switched For unselected state, and the selected lyrics are determined to belong to the lyrics of first lyrics.
Optionally, before the broadcasting target song, further includes:
Whole lyrics of the target song are determined as first lyrics;.
The lyrics that the lyrics of selection are determined to belong to first lyrics or second lyrics, comprising:
The lyrics of selection are subordinated to the lyrics of first lyrics, are switched to the lyrics for belonging to second lyrics.
Optionally, before the broadcasting target song, further includes:
Whole lyrics of the target song are determined as second lyrics;
The lyrics that the lyrics of selection are determined to belong to first lyrics or second lyrics, comprising:
The lyrics of selection are subordinated to the lyrics of second lyrics, are switched to the lyrics for belonging to first lyrics.
Optionally, the method also includes:
In the playing process of the target song, when receiving pause play instruction, referred to according to pause broadcasting It enables, pause plays the target song;
Show the lyrics interface of the target song;
Based on the lyrics interface, the selected lyrics are determined;
The selected lyrics are determined as first lyrics, the not selected lyrics are determined as second lyrics; Alternatively, the selected lyrics are determined as second lyrics, the not selected lyrics are determined as first lyrics.
Second aspect provides a kind of audio synthetic method, which comprises
The lyrics interface of displaying target song, and on the lyrics interface, to passing through in the lyrics of the target song The word for repairing sound is highlighted;
Based on the lyrics interface, determine that first lyrics and second lyrics, first lyrics and second lyrics are Positioned at the lyrics of the different time intervals of the target song;
From the first audio of the target song, first be located in the corresponding time interval of first lyrics is obtained Audio obtains the second sound being located in the corresponding time interval of second lyrics from the second audio of the target song Frequently, second audio is to carry out obtaining after repairing sound processing to first audio;
The audio that will acquire is synthesized according to song play time axis, obtains third audio.
Optionally, described to be based on the lyrics interface, determine first lyrics and second lyrics, comprising:
Based on the lyrics interface, the selected lyrics are determined;
The selected lyrics are determined as first lyrics, the not selected lyrics are determined as second lyrics; Alternatively, the selected lyrics are determined as second lyrics, the not selected lyrics are determined as first lyrics.
The third aspect, provides a kind of audio playing apparatus, and described device includes:
Module is obtained, for obtaining the first audio and the second audio of target song, second audio is to described the One audio obtain after repairing sound processing;
First playing module plays the target song for the play instruction according to the target song;
Second playing module, for when broadcasting to first lyrics, playing position in the playing process of the target song The first audio in the corresponding time interval of first lyrics plays when broadcasting to second lyrics and is located at described second The second audio in the corresponding time interval of the lyrics, first lyrics and second lyrics are positioned at the target song The lyrics of different time intervals.
Optionally, the first audio is people's sound audio or first audio is the synthesis of people's sound audio and audio accompaniment Audio.
Optionally, the first audio is people's sound audio;
Second playing module is specifically used for:
According to the audio accompaniment of target song described in play time played in order;
While according to the audio accompaniment of target song described in play time played in order, when broadcasting to first lyrics When, the first audio being located in the corresponding time interval of first lyrics is played, when broadcasting to second lyrics, broadcasting is located at The second audio in the corresponding time interval of second lyrics.
Optionally, first lyrics include M lyrics unit, and second lyrics include N number of lyrics unit, the lyrics list Member is a line lyrics, a lyrics, one section of lyrics or T word, and described M, N and T are positive integer;
Second playing module includes the first broadcast unit and the second broadcast unit, and first broadcast unit is used for:
When broadcasting to the first lyrics unit, the corresponding time interval of first lyrics unit, first song are determined Word unit is any lyrics unit in the M lyrics unit;
From first audio, the first audio being located in the corresponding time interval of first lyrics unit is obtained, Play the first audio being located in the corresponding time interval of first lyrics unit;
Second broadcast unit is used for:
When broadcasting to the second lyrics unit, the corresponding time interval of second lyrics unit, second song are determined Word unit is any lyrics unit in N number of lyrics unit;
From second audio, the second audio being located in the corresponding time interval of second lyrics unit is obtained, Play the second audio being located in the corresponding time interval of second lyrics unit.
Optionally, described device further include:
Display module, for showing the lyrics interface of the target song;
Selecting module determines the selected lyrics for being based on the lyrics interface;
First determining module, it is for the lyrics being selected to be determined as first lyrics, the not selected lyrics are true It is set to second lyrics;Alternatively, the selected lyrics are determined as second lyrics, the not selected lyrics are determined as First lyrics.
Optionally, the selecting module is specifically used for:
Based on the lyrics interface, determine that selected lyrics unit, each lyrics unit are a line lyrics, a song Word, one section of lyrics or T word are unit, and the T is positive integer;
First determining module is specifically used for:
Selected lyrics unit is determined as first lyrics, not selected lyrics unit is determined as described the Two lyrics;Alternatively, selected lyrics unit is determined as second lyrics, not selected lyrics unit is determined as institute State first lyrics.
Optionally, described device further include:
Display module, in the playing process of the target song, showing the lyrics interface of the target song;
Second determining module, for working as the lyrics interface based on the target song, when receiving lyrics selection instruction, really The lyrics of the fixed selection instruction selection;
Third determining module, for the lyrics of selection to be determined to belong to the song of first lyrics or second lyrics Word;
Switching module is played out since the selected lyrics for switching to current playback progress.
Optionally, if the lyrics in selected state are first lyrics, the lyrics in unselected state are described Second lyrics, then the third determining module is specifically used for:
If the selected lyrics are being in unselected state before selecting, the state of the selected lyrics is cut It is changed to selected state, and the selected lyrics are determined to belong to the lyrics of first lyrics;
If the selected lyrics are being in selected state before selecting, the state of the selected lyrics is switched For unselected state, and the selected lyrics are determined to belong to the lyrics of second lyrics.
Optionally, if the lyrics in selected state are second lyrics, the lyrics in unselected state are described First lyrics, then the third determining module is specifically used for:
If the selected lyrics are being in unselected state before selecting, the state of the selected lyrics is cut It is changed to selected state, and the selected lyrics are determined to belong to the lyrics of second lyrics;
If the selected lyrics are being in selected state before selecting, the state of the selected lyrics is switched For unselected state, and the selected lyrics are determined to belong to the lyrics of first lyrics.
Optionally, described device further include:
4th determining module, for whole lyrics of the target song to be determined as first lyrics;.
The third determining module is used for:
The lyrics of selection are subordinated to the lyrics of first lyrics, are switched to the lyrics for belonging to second lyrics.
Optionally, described device further include:
5th determining module, for whole lyrics of the target song to be determined as second lyrics;
The third determining module is used for:
The lyrics of selection are subordinated to the lyrics of second lyrics, are switched to the lyrics for belonging to first lyrics.
Optionally, described device further include:
Suspend module, in the playing process of the target song, when receiving pause play instruction, according to institute Pause play instruction is stated, pause plays the target song;
Display module, for showing the lyrics interface of the target song;
6th determining module determines the selected lyrics for being based on the lyrics interface;
7th determining module, it is for the lyrics being selected to be determined as first lyrics, the not selected lyrics are true It is set to second lyrics;Alternatively, the selected lyrics are determined as second lyrics, the not selected lyrics are determined as First lyrics.
Fourth aspect, provides a kind of audio synthesizer, and described device includes:
Display module, for the lyrics interface of displaying target song, and on the lyrics interface, to the target song The lyrics in highlighted by the word for repairing sound;
Determining module determines first lyrics and second lyrics, first lyrics and institute for being based on the lyrics interface State the lyrics that second lyrics are the different time intervals positioned at the target song;
Obtain module, for from the first audio of the target song, obtain be located at first lyrics it is corresponding when Between the first audio in section obtain from the second audio of the target song and be located at the second lyrics corresponding time The second audio in section, second audio are to carry out obtaining after repairing sound processing to first audio;
Synthesis module, the audio for will acquire, is synthesized according to song play time axis, obtains third audio.
Optionally, the determining module includes:
First determination unit determines the selected lyrics for being based on the lyrics interface;
Second determination unit, it is for the lyrics being selected to be determined as first lyrics, the not selected lyrics are true It is set to second lyrics;Alternatively, the selected lyrics are determined as second lyrics, the not selected lyrics are determined as First lyrics.
5th aspect, provides a kind of audio playing apparatus, described device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to the step of executing any one method described in above-mentioned first aspect.
6th aspect, provides a kind of audio playing apparatus, described device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to the step of executing any one method described in above-mentioned second aspect.
7th aspect, provides a kind of computer readable storage medium, is stored in the computer readable storage medium Instruction, when run on a computer, so that computer executes any one method described in above-mentioned first aspect.
Eighth aspect provides a kind of computer readable storage medium, is stored in the computer readable storage medium Instruction, when run on a computer, so that computer executes any one method described in above-mentioned second aspect.
9th aspect, provides a kind of computer program product comprising instruction, when run on a computer, so that Computer executes any one method described in above-mentioned first aspect.
Tenth aspect, provides a kind of computer program product comprising instruction, when run on a computer, so that Computer executes any one method described in above-mentioned second aspect.
Technical solution provided by the present application can at least bring it is following the utility model has the advantages that
In the embodiment of the present application, the first audio of available target song, and the first audio repair at sound The second audio obtained after reason, and in the playing process of target song, when broadcasting to first lyrics, plays and be located at the first song The first audio in the corresponding time interval of word plays when broadcasting to second lyrics and is located at the corresponding time zone of second lyrics The second interior audio, wherein first lyrics and second lyrics is positioned at the lyrics of the different time intervals of target song.Namely It is that the application can play it for the part lyrics in target song and repair audio before sound, for another when playing target song A part of lyrics can play it and repair audio after sound, consequently facilitating user choose at random play the specific lyrics repair before sound audio or Audio after sound is repaired, in this way, not only enriching audio plays form, but also is able to use before and after family more intuitively experiences and repair sound Comparison, meets the diversified demand of user.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, 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 flow chart of audio frequency playing method provided by the embodiments of the present application;
Fig. 2 is the flow chart of another audio frequency playing method provided by the embodiments of the present application;
Fig. 3 is a kind of schematic diagram at the lyrics interface of target song provided by the embodiments of the present application;
Fig. 4 is the flow chart of another audio frequency playing method provided by the embodiments of the present application;
Fig. 5 is the flow chart of another audio frequency playing method provided by the embodiments of the present application;
Fig. 6 is a kind of flow chart of audio synthetic method provided by the embodiments of the present application;
Fig. 7 is a kind of structural schematic diagram of audio playing apparatus provided by the embodiments of the present application;
Fig. 8 is a kind of structural schematic diagram of audio synthesizer provided by the embodiments of the present application;
Fig. 9 is a kind of structural block diagram of terminal provided by the embodiments of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party Formula is described in further detail.
Before carrying out detailed explanation to the embodiment of the present application, first the application scenarios in the embodiment of the present application are given To illustrate.
Audio frequency playing method provided by the embodiments of the present application, which can be applied to sing, to terminate and carries out repairing sound to giving song recitals Afterwards, in the scene played out to target song.Exemplary, which can also be known as repairing sound preview scene or repair sound knot Fruit shows scene etc., and the embodiment of the present application does not limit this.
For example, user can sing under the performance mode that the music software that terminal is installed provides, terminate in performance Afterwards, music software can repair sound to giving song recitals, and repair sound preview interface pair by method provided by the embodiments of the present application Target song plays out, thus the comparison known before and after repairing sound for keeping user clear.In addition, the embodiment of the present application provides Audio frequency playing method can be applied in K provided by the singings publics place of entertainment such as KTV (Karaoke) song terminal in, alternatively, can also In K song system to apply the end TV used in the family, alternatively, can be applied in the professional recording equipment in recording studio Deng the embodiment of the present application does not limit this.
Audio synthetic method provided by the embodiments of the present application, which is applied to sing, to be terminated and to after giving song recitals and carrying out repairing sound, right Audio carries out in the scene of synthesis processing after repairing audio before sound and repairing sound.For example, user sing complete and to give song recitals into After row repairs sound, user can choose by the part lyrics repair audio and the part lyrics before sound repair sound after audio synthesize, so Composite tone is saved afterwards, played, uploaded or is shared.
Fig. 1 is a kind of flow chart of audio frequency playing method provided by the embodiments of the present application, and this method is used for terminal or terminal In the multimedia software of installation, which can be mobile phone, tablet computer, computer, television set or professional recording equipment etc., be somebody's turn to do Multimedia software can be music software, video software or live streaming software etc..Referring to Fig. 1, this method comprises:
Step 101: obtaining the first audio and the second audio of target song, the second audio is to carry out repairing sound to the first audio It is obtained after processing.
Step 102: according to the play instruction of target song, playing target song.
Step 103: in the playing process of target song, when broadcasting to first lyrics, playing and be located at first lyrics pair The first audio in the time interval answered plays and is located in the corresponding time interval of second lyrics when broadcasting to second lyrics The second audio, first lyrics and second lyrics are the lyrics of the different time intervals positioned at target song.
In the embodiment of the present application, the first audio and the second audio of available target song, the second audio are to One audio obtain after repairing sound processing;According to the play instruction of target song, target song is played;In the broadcasting of target song In the process, when playing to first lyrics, the first audio being located in the corresponding time interval of first lyrics is played, when playing extremely When second lyrics, the second audio being located in the corresponding time interval of second lyrics is played, wherein first lyrics and second lyrics For positioned at the lyrics of the different time intervals of target song.It that is to say, the application can repair sound preview interface to target song When playing out, chooses at random and play repairing before sound or repairing audio after sound for a certain sentence, not only enrich audio and play form, but also So that user is perceive intuitively that the comparison before and after repairing sound, meets the diversified demand of user.
Optionally, the first audio is people's sound audio or the first audio is the Composite tone of people's sound audio and audio accompaniment.
Optionally, the first audio is people's sound audio;
In the playing process of target song, when broadcasting to first lyrics, plays and be located at the first lyrics corresponding time The first audio in section plays the second sound being located in the corresponding time interval of second lyrics when broadcasting to second lyrics Frequently, comprising:
According to the audio accompaniment of play time played in order target song;
While according to the audio accompaniment of play time played in order target song, when broadcasting to first lyrics, broadcast The first audio being located in the corresponding time interval of first lyrics is put, when broadcasting to second lyrics, plays and is located at second lyrics The second audio in corresponding time interval.
Optionally, first lyrics include M lyrics unit, and second lyrics include N number of lyrics unit, and lyrics unit is a line The lyrics, a lyrics, one section of lyrics or T word, M, N and T are positive integer;
When broadcasting to first lyrics, the first audio being located in the corresponding time interval of first lyrics is played, comprising:
When broadcasting to the first lyrics unit, determine that the corresponding time interval of the first lyrics unit, the first lyrics unit are M Any lyrics unit in a lyrics unit;
From the first audio, the first audio being located in the corresponding time interval of the first lyrics unit is obtained, broadcasting is located at The first audio in the corresponding time interval of first lyrics unit;
When broadcasting to second lyrics, the second audio being located in the corresponding time interval of second lyrics is played, comprising:
When broadcasting to the second lyrics unit, determine that the corresponding time interval of the second lyrics unit, the second lyrics unit are N Any lyrics unit in a lyrics unit;
From the second audio, the second audio being located in the corresponding time interval of the second lyrics unit is obtained, broadcasting is located at The second audio in the corresponding time interval of second lyrics unit.
Optionally, before broadcasting target song, further includes:
The lyrics interface of displaying target song;
Based on lyrics interface, the selected lyrics are determined;
The selected lyrics are determined as first lyrics, the not selected lyrics are determined as second lyrics;Alternatively, will The selected lyrics are determined as second lyrics, and the not selected lyrics are determined as first lyrics.
Optionally, it is based on lyrics interface, determines the selected lyrics, comprising:
Based on lyrics interface, determine that selected lyrics unit, each lyrics unit are a line lyrics, the lyrics, one The section lyrics or T word are unit, and T is positive integer;
By the selected lyrics and the not selected lyrics, it is identified as first lyrics and second lyrics, comprising:
Selected lyrics unit is determined as first lyrics, not selected lyrics unit is determined as the second song Word;Alternatively, selected lyrics unit is determined as second lyrics, not selected lyrics unit is determined as the first song Word.
Optionally, method further include:
In the playing process of target song, the lyrics interface of displaying target song;
When the lyrics interface based on target song, when receiving lyrics selection instruction, the lyrics of selection instruction selection are determined;
The lyrics of selection are determined to belong to the lyrics of first lyrics or second lyrics;
Current playback progress is switched to and is played out since the lyrics of selection.
Optionally, if the lyrics in selected state are first lyrics, the lyrics in unselected state are second lyrics, The lyrics of selection are then determined to belong to the lyrics of first lyrics or second lyrics, comprising:
If the lyrics of selection are being in unselected state before selecting, the state of the lyrics of selection is switched to and is chosen State, and the lyrics of selection are determined to belong to the lyrics of first lyrics;
If the lyrics of selection are being in selected state before selecting, the state of the lyrics of selection is switched to unselected State, and the lyrics of selection are determined to belong to the lyrics of second lyrics.
Optionally, if the lyrics in selected state are second lyrics, the lyrics in unselected state are first lyrics, The lyrics of selection are then determined to belong to the lyrics of first lyrics or second lyrics, comprising:
If the lyrics of selection are being in unselected state before selecting, the state of the lyrics of selection is switched to and is chosen State, and the lyrics of selection are determined to belong to the lyrics of second lyrics;
If the lyrics of the selection are being in selected state before selecting, the state of the lyrics of the selection is switched to not Selected state, and the lyrics of the selection are determined to belong to the lyrics of first lyrics.
Optionally, before broadcasting target song, further includes:
Whole lyrics of target song are determined as first lyrics;
The lyrics of selection are determined to belong to the lyrics of first lyrics or second lyrics, comprising:
The lyrics of selection are subordinated to the lyrics of first lyrics, are switched to the lyrics for belonging to second lyrics.
Optionally, before broadcasting target song, further includes:
Whole lyrics of target song are determined as second lyrics;
The lyrics of selection are determined to belong to the lyrics of first lyrics or second lyrics, comprising:
The lyrics of selection are subordinated to the lyrics of second lyrics, are switched to the lyrics for belonging to first lyrics.
Optionally, method further include:
In the playing process of target song, when receiving pause play instruction, according to pause play instruction, pause is broadcast Put target song;
The lyrics interface of displaying target song;
Based on lyrics interface, the selected lyrics are determined;
The selected lyrics are determined as first lyrics, the not selected lyrics are determined as second lyrics;Alternatively, will The selected lyrics are determined as second lyrics, and the not selected lyrics are determined as first lyrics.
All the above alternatives, can form the alternative embodiment of the application according to any combination, and the application is real It applies example and this is no longer repeated one by one.
Fig. 2 is the flow chart of another audio frequency playing method provided by the embodiments of the present application, this method in terminal or In the multimedia software of terminal installation, which can be mobile phone, tablet computer, computer, television set or professional recording equipment It can be music software, video software or live streaming software etc. Deng, the multimedia software.The embodiment of the present application will be applied in this way For in multimedia software, describe in detail to this method, referring to fig. 2, this method comprises:
Step 201: obtaining the first audio and the second audio of target song, the second audio is to carry out repairing sound to the first audio It is obtained after processing.
Wherein, target song refers to the song that user sings.First audio is the performance audio of user, is specifically as follows The voice audio of user, or the Composite tone for people's sound audio and the audio accompaniment of target song.Second audio is to first Audio, which repair, to be obtained after sound processing, that is, the first audio after repairing sound is specifically as follows the voice audio after repairing sound, Huo Zhewei The Composite tone of the audio accompaniment of voice audio and target song after repairing sound.That is, the first audio is the sound before repairing sound Frequently, the second audio is the audio after repairing sound.
Wherein, it repairs sound processing and refers to original singer's audio based on target song, the pitch and/or beat to the first audio carry out Amendment, with inaccurate to the pitch occurred in the first audio or the faults such as snap and be modified.It, can be with for example, by pitch scale modification Make in the first audio that the pitch of some word is same or similar with the pitch of the word in original singer's audio, is corrected, can be made by beat Time interval locating for some word or duration are identical as time interval locating for the word in original singer's audio or duration in first audio Or it is close.
As an example, multimedia software is installed in terminal, which can provide performance mould for user Formula, so that user sings under performance mode.In addition, the multimedia software can also provide for user repairs sound function, with User is set to carry out repairing sound to giving song recitals for oneself after performance.Certainly, user, which also can use, repairs sound function to user What is uploaded gives song recitals and carries out repairing sound, alternatively, to drilling of obtaining after being sung on terminal or server by other users is stored in Singing Qu Jinhang repairs sound.
Specifically, the operation for obtaining the first audio and the second audio of target song, may include following two realization side Formula:
The first implementation: during user sings, the voice audio that acquisition user sings, by the voice sound of acquisition Frequency is determined as the first audio, then carries out repairing sound processing to the first audio, obtains the second audio.
Specifically, during user sings, terminal can be adopted the voice audio that user sings by microphone Collection.
Second of implementation: during user sings, the voice audio that acquisition user sings, by the voice sound of acquisition Frequency and the audio accompaniment of target song are synthesized, and obtain Composite tone, Composite tone is determined as the first audio, then to the One audio carries out repairing sound processing, obtains the second audio.
For example, terminal can be automatically from the system of music software by target when user selects the song to be sung The audio accompaniment and the lyrics of song are downloaded and save to local, during user follows accompaniment to sing, can pass through The microphone of terminal is acquired the voice audio that user sings.After performance, it can choose collected voice sound Frequency carries out repairing sound processing, obtains repairing the audio after sound.Alternatively, also can choose collected voice audio and in advance download Audio accompaniment is synthesized, and Composite tone is obtained, and is then carried out repairing sound processing to Composite tone, is obtained repairing the audio after sound.
Step 202: the lyrics interface of displaying target song.
User, which sings, to complete, and after repairing sound, terminal can be with the lyrics interface of displaying target song.For example, repairing sound After, terminal can jump to automatically and repair sound preview interface, and it includes broadcast button and target song that this, which repairs sound preview interface, The lyrics.Further, after repairing sound, terminal can also respectively give a mark to the first audio and the second audio, and repair The score of the first audio and the score of the second audio are shown in sound preview interface respectively.
Specifically, the lyrics of target song can be shown by following two display mode:
The first implementation: whole lyrics of target song are shown according to identical display format.For example, will Whole lyrics of target song are shown according to identical color and font.
Second of implementation: the lyrics by repairing sound are determined from the lyrics of target song, in the lyrics of target song On interface, it will be highlighted by the lyrics for repairing sound.It, can will be without the lyrics and process for repairing sound for example, with reference to Fig. 3 The lyrics for repairing sound are shown according to different display formats respectively.Wherein, which may include color, font, back At least one of scape and special efficacy.
It is exemplary, it, can be according to the first display lattice in the lyrics of displaying target song on the display interface of target song Formula shows without the lyrics for repairing sound, according to second display format display by repairing the lyrics of sound, and the first display format and the Two display formats are different display formats.For example, the first display format are as follows: color is white, font is the Song typeface, font size 4 Number, without background, without special efficacy, second display format are as follows: color be green, font be regular script, font size is No. 3, white background, rotation Special efficacy.
By will be highlighted by the lyrics for repairing sound, it is aobvious to enrich the lyrics on the lyrics interface of target song Show form, intuitively learn which lyrics have passed through convenient for user and repair sound, which lyrics is without repairing sound, and then convenient for subsequent to warp It crosses and repairs the lyrics of sound and pointedly practiced.
Step 203: being based on lyrics interface, determine the selected lyrics.
In the embodiment of the present application, user can preset based on lyrics display interface before playing target song One lyrics and second lyrics.First lyrics refer to that the lyrics for needing to play corresponding first audio, second lyrics refer to that needs are broadcast Put the lyrics of corresponding second audio, it may also be said to, first lyrics are to need to play the lyrics for repairing the audio before sound, second lyrics To need to play the lyrics of the audio after repairing sound.
Specifically, terminal can first be based on lyrics interface, determine the selected lyrics, be then based on the selected lyrics and The not selected lyrics, to determine first lyrics and second lyrics.Wherein, the selected lyrics can be defaulted by terminal and be chosen, It can also be chosen by user, the embodiment of the present application does not limit this.
Specifically, it is based on lyrics interface, determines that the selected lyrics may include following two implementation:
The first implementation: when receiving lyrics selection instruction, selection cursor is shown on lyrics interface, determines choosing The lyrics that cursor covers in moving process are selected, the lyrics of cursor covering will be selected, be determined as the selected lyrics.
Wherein it is possible to selection cursor is moved by finger slide on the screen by user, it can also be by user Selection cursor is moved by manipulation mouse.It is exemplary, when the screen that terminal is mobile terminal and terminal is touch screen, user Finger can be slided on the screen to move selection cursor, then the lyrics that user's finger is streaked, as the selected lyrics.When When terminal is computer, user can move selection cursor by clicking left mouse button and mobile mouse, then select cursor to cover The lyrics of lid are the selected lyrics.
The lyrics are selected by selection cursor, user can be allowed to select any lyrics in lyrics interface In, and then first lyrics are set by any lyrics or second lyrics, flexibility are higher.
Second of implementation: being based on lyrics interface, determines selected lyrics unit, and selected lyrics unit is made For the selected lyrics.
Wherein, the lyrics of target song include multiple lyrics units, and each lyrics unit can be with a line lyrics, a song Word, one section of lyrics or T word are unit, and T is positive integer.Exemplary, the lyrics of the target song shown on lyrics interface can , can be using the selected n row lyrics as the selected lyrics to include the multirow lyrics, n is positive integer.
Wherein, selected lyrics unit can be defaulted by terminal and be chosen, and can also be selected by user by selection operation In.The selection operation can be the operation of click lyrics unit, or click the operation etc. of the corresponding selection icon of lyrics unit. It is when receiving the trigger action to any row lyrics, this is any such as example, the lyrics of target song include the multirow lyrics The row lyrics are as the selected lyrics.
As an example, terminal, which can first be defaulted, chooses whole lyrics units, then, receives when based on lyrics interface When lyrics selection instruction, the lyrics unit that lyrics selection instruction is selected is switched to from selected lyrics unit and is not selected Lyrics unit.Alternatively, terminal, which is first defaulted, does not choose any lyrics unit, then, selected when receiving the lyrics based on lyrics interface When selecting instruction, the lyrics unit that lyrics selection instruction is selected is determined as selected lyrics unit.
As an example, the corresponding position of each lyrics unit shows selection icon, and user can be appointed by triggering The selection icon of one lyrics unit, to be chosen to the lyrics unit.It that is to say, when receiving the choosing to any lyrics unit When selecting the trigger action of icon, which is determined as selected lyrics unit.Wherein, the corresponding position can Equal positions before or after thinking each lyrics unit.
For example, with reference to Fig. 3, the lyrics of the target song shown on lyrics interface include the multirow lyrics, before every row lyrics Selection icon is shown, which is used to indicate whether the corresponding row lyrics are selected.User can be by triggering any row Selection icon before lyrics unit, to be chosen to any row lyrics.
Further, the display state for selecting icon includes selected state and unselected state, when selection icon is in choosing It when middle state, indicates that the corresponding row lyrics are selected, when selecting icon to be in unselected state, indicates that the corresponding lyrics are selected. When receiving the trigger action to selection icon, the display state for selecting icon can be switched over, and corresponding row is sung The selected state of word switches over.For example, if the selection icon of certain a line lyrics is in unselected state, when receiving to this The trigger action of icon is selected, selection icon never selected state can be switched into selected state, and the row lyrics are determined For the selected lyrics.
Exemplary, referring to Fig. 3, every row lyrics select icon for round icon, and selected state is to occur in round icon To hook, unselected state is that circular diagram is designated as not occurring to hook.It that is to say, user can be by choosing the corresponding row lyrics, to select The middle corresponding row lyrics.For example, user can in advance carry out the lyrics of target song choosing behaviour before target song broadcasting Make, plays corresponding first audio so which row lyrics is arranged when playing, which row lyrics plays corresponding the when playing Two audios.
Step 204: based on the selected lyrics and the not selected lyrics, determining first lyrics and second lyrics.
Wherein, first lyrics are the lyrics of audio before needing broadcasting to repair sound, and second lyrics are to need to play to repair audio after sound The lyrics.That is to say, can based on the selected lyrics and the not selected lyrics, come be arranged need to play repair sound before audio The lyrics of audio after sound are repaired in the lyrics and needs broadcasting.
Specifically, based on the selected lyrics and the not selected lyrics, determine that first lyrics and second lyrics can wrap Include following several implementations:
The first implementation: being determined as first lyrics for the selected lyrics, and the not selected lyrics are determined as the Two lyrics.
It that is to say, when the lyrics of the user to target song carry out selection operation, the selected lyrics are determined as first The lyrics when being played to these lyrics, play corresponding first audio, the not selected lyrics are determined as second lyrics, i.e., When being played to these lyrics, corresponding second audio is played.
Further, it if the lyrics of target song include multiple lyrics units, and is selected as unit of lyrics unit, Then selected lyrics unit can be determined as first lyrics, not selected lyrics unit is determined as second lyrics.Example Such as, if being selected the 2nd of target song, 6, the 8 row lyrics, it is determined that the 2nd, 6, the 8 row lyrics are first lyrics, remaining not by The lyrics chosen are second lyrics.If being selected the 2nd of target song, 3,6,9,12 lyrics, it is determined that the 2nd, 3,6, 9,12 lyrics are first lyrics, remaining not selected lyrics is second lyrics.If being selected the of target song 3,4,5 sections of lyrics units, it is determined that the 3rd, 4, the 5 section of lyrics are first lyrics, remaining not selected lyrics is the second song Word.If being selected preceding 5 words of the first row lyrics in target song, rear 3 words of the fifth line lyrics, it is determined that the first row song Preceding 5 words of word and rear 3 words of the fifth line lyrics are first lyrics, remaining not selected lyrics is the second song Word.
Second of implementation: being determined as second lyrics for the selected lyrics, and the not selected lyrics are determined as the One lyrics.
It that is to say, when the lyrics of the user to target song carry out selection operation, the selected lyrics are determined as second The lyrics when being played to these lyrics, play corresponding second audio, the not selected lyrics are determined as first lyrics, i.e., When being played to these lyrics, corresponding first audio is played
Further, it if the lyrics of target song include multiple lyrics units, and is selected as unit of lyrics unit, Then selected lyrics unit can be determined as second lyrics, not selected lyrics unit is determined as first lyrics.Example Such as, if being selected the 2nd of target song, 6, the 8 row lyrics, it is determined that the 2nd, 6, the 8 row lyrics are second lyrics, remaining not by The lyrics chosen are first lyrics.If being selected the 2nd of target song, 3,6,9,12 lyrics, it is determined that the 2nd, 3,6, 9,12 lyrics are second lyrics, remaining not selected lyrics is first lyrics.If being selected the of target song 3,4,5 sections of lyrics, it is determined that the 3rd, 4, the 5 section of lyrics are second lyrics, remaining not selected lyrics is first lyrics.If It has been selected preceding 5 words of the first row lyrics in target song, rear 3 words of the fifth line lyrics, it is determined that the first row lyrics Rear 3 words of preceding 5 words and the fifth line lyrics are second lyrics, remaining not selected lyrics is first lyrics.
It should be noted that the embodiment of the present application is only so that it is pre- to be based on lyrics interface by user before target song plays First be arranged for first lyrics and second lyrics, and in other embodiments, can also be arranged automatically by terminal first lyrics and Second lyrics, for example, first lyrics and second lyrics are arranged automatically by the multimedia application in terminal.Illustratively, multimedia Using the uniline lyrics and the duplicate rows lyrics being respectively set to first lyrics and second lyrics, or by every a line lyrics The first half sentence lyrics are set as first lyrics, and the later half sentence lyrics are set as second lyrics etc..
Step 205: according to the play instruction of target song, playing target song.
Wherein, the play instruction of target song can be triggered by user, for example be triggered by user by click play button, Certainly, the play instruction can also automatic trigger, the application be implemented after first lyrics and second lyrics are provided with by terminal Example to the triggering mode of play instruction without limitation.
As an example, after repairing sound to the first audio and completing to obtain the second audio, terminal, which can be shown, repairs sound preview Interface, this repairs the lyrics that sound preview interface includes broadcast button and target song, user can the lyrics based on target song come First lyrics and second lyrics are set, after being provided with, play instruction can be triggered with click play button, terminal receives broadcasts After putting instruction, it can start to play target song.
It should be noted that can be played out at the beginning of target song when starting to play target song, it can also To play since the time out of target song, the embodiment of the present application is not limited this.
Step 206: in the playing process of target song, when broadcasting to first lyrics, playing and be located at first lyrics pair The first audio in the time interval answered plays and is located in the corresponding time interval of second lyrics when broadcasting to second lyrics The second audio, first lyrics and second lyrics are the lyrics of the different time intervals positioned at target song.
It that is to say, when broadcasting to first lyrics, the audio before repairing sound can be played, it, can when broadcasting to second lyrics The audio after sound is repaired to play, so as to be based on the lyrics, the audio before and after sound is comprehensive in a songs playing process by repairing It plays out, convenient for user in a playing process, the audio repaired before and after sound is intuitively compared.
For example, it is assumed that the lyrics interface display of target song there are the 10 row lyrics, when user selects the lyrics, have selected 1st, 2,5,8, the 10 row lyrics, be not selected the 3rd, 4,6,7, the 9 row lyrics, then it is meant that when playing target song, the 1st, 2, 5,8, the 10 row lyrics play corresponding second audio, and the 3rd, 4,6,7, the 9 row lyrics play corresponding first audio.Alternatively, if with When family selects song, the 1st, 2,5 lyrics are had selected, the 3rd, 4,6,7,8,9,10 lyrics is not selected, then means , when playing target song, the 1st, 2,5 lyrics play corresponding second audio, and the 3rd, 4,6,7,8,9,10 lyrics are broadcast Put corresponding first audio.
It should be noted that being to play the second audio, not selected song for the lyrics chosen in above-mentioned example For word unit plays the first audio, and in other embodiments, it also can be set and first played for the lyrics unit chosen Audio, not selected lyrics unit play the second audio.
It should be noted that in the playing process of target song, in order to guarantee voice audio in conjunction with audio accompaniment It plays, the process for playing the first audio and the second audio can also include following two implementation:
The first implementation: when the first audio is people's sound audio, when the second audio is the voice audio after repairing sound, It, can be first according to the audio accompaniment of play time played in order target song, and according to broadcasting in the playing process of target song While putting the audio accompaniment of time sequencing broadcasting target song, when broadcasting to first lyrics, plays and be located at first lyrics pair The first audio in the time interval answered plays and is located in the corresponding time interval of second lyrics when broadcasting to second lyrics The second audio.
Second of implementation: when the Composite tone for the audio accompaniment that the first audio is people's sound audio and target song, the It, can also be first according to the second audio of play time played in order, and according to broadcasting when two audios are the Composite tone after repairing sound During time sequencing plays the second audio, when broadcasting to first lyrics, by the second currently playing Audio conversion to position The first audio in the corresponding time interval of first lyrics.Alternatively, first according to the first audio of play time played in order, and During according to the first audio of play time played in order, when broadcasting to second lyrics, by the first currently playing audio Switch to the second audio being located in the corresponding time interval of second lyrics.
Specifically, when broadcasting to first lyrics, the first audio being located in the corresponding time interval of first lyrics is played Include: to determine the corresponding time interval of first lyrics when broadcasting to first lyrics, is obtained from the first audio and be located at the first song The first audio in the corresponding time interval of word plays the first audio being located in the corresponding time interval of first lyrics.Example , it can determine the corresponding time interval of first lyrics based on original singer's audio of target song, that is to say, first lyrics are existed Locating time interval, is determined as the corresponding time interval of first lyrics in original singer's audio.
Further, if first lyrics include M lyrics unit, second lyrics include N number of lyrics unit, and M N is positive Integer plays the first audio in the corresponding time interval of the first lyrics unit then when playing to the first lyrics unit, when broadcasting When putting to the second lyrics unit, the second audio in the corresponding time interval of the second lyrics unit is played.Wherein, the first lyrics list Member is any lyrics unit in M lyrics unit, and the second lyrics unit is any lyrics unit in N number of lyrics unit.
Specifically, when broadcasting to the first lyrics unit, first in the corresponding time interval of the first lyrics unit is played Audio includes: to determine the corresponding time interval of the first lyrics unit when broadcasting to the first lyrics unit, from the first audio, The first audio being located in the corresponding time interval of the first lyrics unit is obtained, plays and is located at the first lyrics unit corresponding time The first audio in section.When playing to the second lyrics unit, the in the corresponding time interval of the second lyrics unit is played Two audios include: the corresponding time interval of the second lyrics unit to be determined, from the second audio when broadcasting to the second lyrics unit In, the second audio being located in the corresponding time interval of the second lyrics unit is obtained, is played corresponding positioned at the second lyrics unit The second audio in time interval.
Wherein it is possible to which original singer's audio based on target song, determines the corresponding time interval of the first lyrics unit, Yi Ji The corresponding time interval of two lyrics units, that is to say, the first lyrics unit time interval locating in original singer's audio determines The second lyrics unit time interval locating in original singer's audio is determined as the corresponding time interval of the first lyrics unit The corresponding time interval of second lyrics unit.
It is exemplary, it, can be according to first character in the first lyrics unit and last when broadcasting to the first lyrics unit The standard time section of a word determines the corresponding time interval of the first lyrics unit, then finds in the first audio corresponding Audio in time interval plays out.Wherein, standard time section is original singer's audio according to the time to target song in advance It is divided to obtain, for example, original singer's audio of target song is divided into multiple standard time sections, each standard time section When it is 2 seconds a length of.By taking the first lyrics unit is the 1st row lyrics as an example, when broadcasting to the 1st row lyrics, according in the 1st row lyrics The corresponding standard time section of first character and the corresponding standard time section of the last character, determine that the 1st row lyrics are corresponding Time interval, the audio then found in the first audio in corresponding time interval plays out.
Further, in the playing process of target song, user can also reset first lyrics and second lyrics, It that is to say, first lyrics and second lyrics can be adjusted at any time.
For example, in the playing process of target song, it can be with the lyrics interface of displaying target song, when based on target song Lyrics interface, when receiving lyrics selection instruction, determine selection instruction selection the lyrics, the lyrics of selection are determined to belong to The lyrics of first lyrics or second lyrics, and current playback progress is switched to and is played out since the lyrics of selection.
It specifically, upon selection, can be with if the lyrics of selection instruction selection are being belonged to first lyrics before selecting It is switched to belong to second lyrics, if belonging to second lyrics originally, upon selection, the first song can be switched to Word.Moreover, broadcasting is switched over to the lyrics from selection if the lyrics of selection to be determined to belong to the lyrics of first lyrics Start after playing out, can start to play the first audio in the corresponding time interval of the lyrics of selection, if by the song of selection Word is determined to belong to the lyrics of second lyrics, then switches over broadcasting to after playing out since the lyrics of selection, can be with Start to play the second audio in the corresponding time interval of the lyrics of selection.
Specifically, the lyrics of selection are determined to belong to the lyrics of first lyrics or second lyrics operation may include with Lower two kinds of implementations:
The first implementation: if the lyrics in selected state are first lyrics, the lyrics in unselected state are Second lyrics, if then selection the lyrics by before selecting be in unselected state can be by the song of selection after selecting The state of word is switched to selected state, and the lyrics of selection are determined to belong to the lyrics of first lyrics;If the lyrics of selection exist It is in selected state before selection, then after being selected, the state of the lyrics of selection can be switched to unselected state, and The lyrics of selection are determined to belong to second lyrics.
For example, it is assumed that when target song is played to the 5th row lyrics, user clicks the 2nd row lyrics, if the 2nd row lyrics It is in unselected state before being clicked, then after being clicked, the 2nd row lyrics can be switched to selected state, and will work as Preceding playback progress is switched to be played out since the 2nd row lyrics, that is, starts to play in the corresponding time interval of the 2nd row lyrics First audio.If the 2nd row lyrics are in selected state before being clicked, after being clicked, the 2nd row lyrics can be switched For unselected state, and currently playing progress is switched to and is played out since the 2nd row lyrics, that is, starts to play the 2nd row song The second audio in the corresponding time interval of word.
Second of implementation: if the lyrics in selected state are second lyrics, the lyrics in unselected state are First lyrics, if then the lyrics of selection are being in unselected state before selecting, after selecting, by the lyrics of selection State is switched to selected state, and the lyrics of selection are determined to belong to the lyrics of second lyrics;If the lyrics of selection are selected In selected state before selecting, then after being selected, the state of the lyrics of selection is switched to unselected state, and by selection The lyrics are determined to belong to first lyrics.
For example, it is assumed that when target song is played to the 7th row lyrics, user clicks the 9th row lyrics, if the 9th row lyrics It is in unselected state before being clicked, then after clicking, the 9th row lyrics are switched to selected state, and will be currently playing Progress is switched to be played out since the 9th row lyrics, that is, starts to play the second sound in the corresponding time interval of the 9th row lyrics Frequently.If the 9th row lyrics are in selected state before being clicked, after clicking, the 9th row lyrics are switched to unselected shape State, and currently playing progress is switched to and is played out since the 9th row lyrics, that is, play the corresponding time zone of the 9th row lyrics The first interior audio.
Further, in the playing process of target song, user can also suspend broadcasting, and in the pause page again First lyrics and second lyrics are set.For example, in the playing process of target song, when receiving pause play instruction, root According to pause play instruction, pause plays target song, and the lyrics interface of displaying target song is based on lyrics interface, determines selected In the lyrics, the lyrics and the not selected lyrics that will be selected be identified as first lyrics and second lyrics.
Wherein, it is based on lyrics interface, determines the selected lyrics, the selected lyrics and the not selected lyrics divide It is not determined as the implementation of first lyrics and second lyrics, the associated description of step 203-204 can be referred to, the application is implemented Details are not described herein for example.
In the embodiment of the present application, the first audio of available target song and after repair sound processing to the first audio The second obtained audio, before target song broadcasting, user is based on lyrics interface and presets first lyrics and second lyrics, Then it in the playing process of target song, when broadcasting to first lyrics, plays and is located at the corresponding time interval of first lyrics The first interior audio plays the second audio being located in the corresponding time interval of second lyrics when broadcasting to second lyrics, In, first lyrics and second lyrics is positioned at the lyrics of the different time intervals of target song.It that is to say, the application is playing mesh When marking song, it can be played for the part lyrics in target song and repair audio before sound, another part lyrics can be broadcast It puts it and repairs audio after sound, consequently facilitating user, which chooses at random, plays repairing audio before sound or repairing audio after sound for the specific lyrics, in this way, It not only enriches audio and plays form, but also be able to use family and more intuitively experience comparison before and after repairing sound, meet user Diversified demand.
It should be noted that Fig. 2 embodiment is only so that it is preparatory to be based on lyrics interface by user before target song plays It is arranged for first lyrics and second lyrics and is illustrated, and in other embodiments, target can also be sung in advance by terminal The bent lyrics are all set to first lyrics or second lyrics, then in songs playing process, are modified to lyrics attribute. Next, by the lyrics of target song are all set to first lyrics in advance, in songs playing process, to lyrics attribute The lyrics setting up procedure being modified describes in detail.
Fig. 4 is the flow chart of another audio frequency playing method provided by the embodiments of the present application, this method in terminal or In the multimedia software of terminal installation, which can be mobile phone, tablet computer, computer, television set or professional recording equipment It can be music software, video software or live streaming software etc. Deng, the multimedia software.The embodiment of the present application will be applied in this way For in multimedia software, describe in detail to this method, referring to fig. 4, this method comprises:
Step 401: obtaining the first audio and the second audio of target song, the second audio is to carry out repairing sound to the first audio It is obtained after processing.
Wherein, similarly, specific implementation process can refer to for the operation of step 401 and the step 201 in above-mentioned Fig. 2 embodiment The associated description of above-mentioned steps 201, details are not described herein for the embodiment of the present application.
Step 402: whole lyrics of target song are determined as first lyrics.
Wherein, first lyrics indicate to need to play the lyrics of corresponding first audio, that is, need to play audio before repairing sound The lyrics.It that is to say, in the embodiment of the present application, whole lyrics of target song can be set as needing to play repairing sound by terminal automatically The lyrics of preceding audio.For example, after carrying out repairing sound to the first audio and handling to obtain the second audio, multimedia application can automatically by Whole lyrics of target song are set as first lyrics.
As an example, if the lyrics of target song include multiple lyrics units, each lyrics unit be a line lyrics, Whole lyrics units of target song then can be determined as first lyrics by one lyrics, one section of lyrics or T word.Specifically, Selected state can be set by the state of whole lyrics units, whole lyrics units are determined as first lyrics, for example, ginseng See Fig. 3, the selection icon before all row lyrics in lyrics interface can be set as to have chosen state.Alternatively, by whole songs The state of word unit is set as unselected state, and whole lyrics are determined as first lyrics, for example, with reference to Fig. 3, can will sing The selection icon before all row lyrics in word interface is set as not choosing state.
Step 403: according to the play instruction of target song, playing target song.
In the embodiment of the present application, due to setting first lyrics for whole lyrics before playing, therefore, starting mesh When marking song, the first audio of target song can be played, and can play out according to play time sequence.
Specifically, it when starting to play target song, can be played out at the beginning of target song, it can also be from mesh The time out of mark song starts to play, and the embodiment of the present application does not limit this.
Step 404: in the playing process of target song, the lyrics interface of displaying target song.
Wherein, similarly, specific implementation process can refer to for the operation of step 404 and the step 203 in above-mentioned Fig. 2 embodiment The associated description of above-mentioned steps 203, details are not described herein for the embodiment of the present application.
Step 405: when the lyrics interface based on target song, when receiving lyrics selection instruction, determining that selection instruction is selected The lyrics selected.
In the playing process of target song, user arbitrarily can carry out selection broadcasting to the lyrics.For example, working as target song When being played to the 3rd lyrics, user wants to listen back to the 1st lyrics, can execute selection operation to the 1st lyrics, when terminal receives After the lyrics selection instruction triggered to this selection operation, that is, it can determine that the lyrics selection instruction has selected the 1st lyrics.
Wherein, lyrics selection instruction can by user by selection operation trigger, the selection operation can for click the lyrics, It slides the lyrics or triggers the operation etc. of the corresponding selection icon of the lyrics, the embodiment of the present application does not limit this.
Step 406: the lyrics of selection being subordinated to the lyrics of first lyrics, are switched to the lyrics for belonging to second lyrics.
Wherein, second lyrics refer to the lyrics for needing to play corresponding second audio, that is, need to play audio after repairing sound The lyrics.It that is to say, by selection operation, the lyrics of selection are switched to second lyrics from first lyrics, to will need to play The lyrics for repairing audio before sound, be switched to need to play repair sound after audio the lyrics.
It is exemplary, if the lyrics of target song include multiple lyrics units, the lyrics unit of selection can be subordinated to The lyrics of first lyrics are switched to the lyrics for belonging to second lyrics.Further, it is determined that after the lyrics of selection instruction selection, The state of the lyrics of selection can also be switched over, to switch lyrics attribute by selecting the switching of state.For example, if choosing The lyrics selected are being in unselected state before selecting, then after being selected, can be switched to selected state;If selection The lyrics by before selecting be in selected state, then after being selected, unselected state can be switched to.
Step 407: current playback progress being switched to and is played out since the lyrics of selection.
Belong to the lyrics of second lyrics since the lyrics of selection have been switched to, switch by current playback progress To when playing out since the lyrics of selection, can start to play the second sound in the corresponding time interval of the lyrics of selection Frequently.
For example, it is assumed that the state of whole row lyrics of target song is disposed as unselected state before playing, it will Whole row lyrics are set as first lyrics, and in the 5th row lyrics for being played to target song, user has selected the 2nd row lyrics, After then being selected, the 2nd row lyrics can be switched to selected state by terminal, and currently playing progress is switched to from the 2nd row The lyrics start to play out, and start to play the second audio in the corresponding time interval of the 2nd row lyrics.
Step 408: during continuing to play target song, when broadcasting to first lyrics, playing and be located at the first song The first audio in the corresponding time interval of word plays when broadcasting to second lyrics and is located at the corresponding time zone of second lyrics The second interior audio.
Wherein, similarly, specific implementation process can refer to for the operation of step 408 and the step 206 in above-mentioned Fig. 2 embodiment The associated description of above-mentioned steps 206, details are not described herein for the embodiment of the present application.
Further, in the playing process of target song, user can also suspend broadcasting, and in the pause page again First lyrics and second lyrics are set.For example, in the playing process of target song, when receiving pause play instruction, root According to pause play instruction, pause plays target song, and the lyrics interface of displaying target song is based on lyrics interface, determines selected In the lyrics, the lyrics and the not selected lyrics that will be selected be identified as first lyrics and second lyrics.
Wherein, it is based on lyrics interface, determines the selected lyrics, the selected lyrics and the not selected lyrics divide It is not determined as the implementation of first lyrics and second lyrics, the associated description of step 203-204 can be referred to, the application is implemented Details are not described herein for example.
In the embodiment of the present application, the first audio of available target song and after repair sound processing to the first audio The second obtained audio, before target song broadcasting, the lyrics of target song are all set to first lyrics in advance by terminal, Then in the playing process of target song, user carries out selection broadcasting to the lyrics, and when broadcasting to first lyrics, broadcasting is located at The first audio in the corresponding time interval of first lyrics plays corresponding positioned at second lyrics when broadcasting to second lyrics The second audio in time interval, wherein first lyrics and second lyrics is positioned at the songs of the different time intervals of target song Word.It that is to say, the application can play it for the part lyrics in target song and repair sound before sound when playing target song Frequently, it can be played for another part lyrics and repairs audio after sound, consequently facilitating user, which chooses at random, plays repairing for the specific lyrics Audio or audio after sound is repaired before sound, in this way, not only enriching audio plays form, but also is able to use family and more intuitively experiences The comparison before and after sound is repaired, the diversified demand of user is met.
Next, by the lyrics of target song are all set to second lyrics in advance, it is right in songs playing process The lyrics setting up procedure that lyrics attribute is modified describes in detail.
Fig. 5 is the flow chart of another audio frequency playing method provided by the embodiments of the present application, this method in terminal or In the multimedia software of terminal installation, which can be mobile phone, tablet computer, computer, television set or professional recording equipment It can be music software, video software or live streaming software etc. Deng, the multimedia software.The embodiment of the present application will be applied in this way For in multimedia software, describe in detail to this method, referring to Fig. 5, this method comprises:
Step 501: obtaining the first audio and the second audio of target song, the second audio is to carry out repairing sound to the first audio It is obtained after processing.
Wherein, similarly, specific implementation process can refer to for the operation of step 501 and the step 201 in above-mentioned Fig. 2 embodiment The associated description of above-mentioned steps 201, details are not described herein for the embodiment of the present application.
Step 502: whole lyrics of target song are determined as second lyrics.
Wherein, second lyrics indicate to need to play the lyrics of corresponding second audio, that is, need to play audio after repairing sound The lyrics.It that is to say, in the embodiment of the present application, whole lyrics of target song can be set as needing to play repairing sound by terminal automatically The lyrics of audio afterwards.For example, after carrying out repairing sound to the first audio and handling to obtain the second audio, multimedia application can automatically by Whole lyrics of target song are set as second lyrics.
As an example, if the lyrics of target song include multiple lyrics units, each lyrics unit be a line lyrics, Whole lyrics units of target song then can be determined as second lyrics by one lyrics, one section of lyrics or T word.Specifically, Selected state can be set by the state of whole lyrics units, whole lyrics units are determined as second lyrics, for example, ginseng See Fig. 3, the selection icon before all row lyrics in lyrics interface can be set as to have chosen state.Alternatively, by whole songs The state of word unit is set as unselected state, and whole lyrics are determined as second lyrics, for example, with reference to Fig. 3, can will sing The selection icon before all row lyrics in word interface is set as not choosing state.
Step 503: according to the play instruction of target song, playing target song.
In the embodiment of the present application, due to setting second lyrics for whole lyrics before playing, therefore, starting mesh When marking song, the second audio of target song can be played, and can play out according to play time sequence.
Specifically, it when starting to play target song, can be played out at the beginning of target song, it can also be from mesh The time out of mark song starts to play, and the embodiment of the present application does not limit this.
Step 504: in the playing process of target song, the lyrics interface of displaying target song.
Wherein, similarly, specific implementation process can refer to for the operation of step 504 and the step 203 in above-mentioned Fig. 2 embodiment The associated description of above-mentioned steps 203, details are not described herein for the embodiment of the present application.
Step 505: when the lyrics interface based on target song, when receiving lyrics selection instruction, determining that selection instruction is selected The lyrics selected.
In the playing process of target song, user arbitrarily can carry out selection broadcasting to the lyrics.For example, working as target song When being played to the 3rd lyrics, user wants to listen back to the 1st lyrics, can execute selection operation to the 1st lyrics, when terminal receives After the lyrics selection instruction triggered to this selection operation, that is, it can determine that the lyrics selection instruction has selected the 1st lyrics.
Wherein, lyrics selection instruction can by user by selection operation trigger, the selection operation can for click the lyrics, It slides the lyrics or triggers the operation etc. of the corresponding selection icon of the lyrics, the embodiment of the present application does not limit this.
Step 506: the lyrics of selection being subordinated to the lyrics of second lyrics, are switched to the lyrics for belonging to first lyrics.
Wherein, first lyrics refer to the lyrics for needing to play corresponding first audio, that is, need to play audio before repairing sound The lyrics.It that is to say, by selection operation, the lyrics of selection are switched to first lyrics from second lyrics, to will need to play The lyrics for repairing audio after sound, be switched to need to play repair sound before audio the lyrics.
It is exemplary, if the lyrics of target song include multiple lyrics units, the lyrics unit of selection can be subordinated to The lyrics of second lyrics are switched to the lyrics for belonging to first lyrics.Further, it is determined that after the lyrics of selection instruction selection, The state of the lyrics of selection can also be switched over, to switch lyrics attribute by selecting the switching of state.For example, if choosing The lyrics selected are being in unselected state before selecting, then after being selected, can be switched to selected state;If selection The lyrics by before selecting be in selected state, then after being selected, unselected state can be switched to.
Step 507: current playback progress being switched to and is played out since the lyrics of selection.
Belong to the lyrics of first lyrics since the lyrics of selection have been switched to, switch by current playback progress To when playing out since the lyrics of selection, can start to play the first sound in the corresponding time interval of the lyrics of selection Frequently.
For example, it is assumed that the state of whole row lyrics of target song is disposed as unselected state before playing, it will Whole row lyrics are set as second lyrics, and in the 5th row lyrics for being played to target song, user has selected the 2nd row lyrics, After then being selected, the 2nd row lyrics can be switched to selected state by terminal, and currently playing progress is switched to from the 2nd row The lyrics start to play out, and start to play the first audio in the corresponding time interval of the 2nd row lyrics.
Step 508: during continuing to play target song, when broadcasting to first lyrics, playing and be located at the first song The first audio in the corresponding time interval of word plays when broadcasting to second lyrics and is located at the corresponding time zone of second lyrics The second interior audio.
Wherein, similarly, specific implementation process can refer to for the operation of step 508 and the step 408 in above-mentioned Fig. 4 embodiment The associated description of above-mentioned steps 408, details are not described herein for the embodiment of the present application.
In the embodiment of the present application, the first audio of available target song and after repair sound processing to the first audio The second obtained audio, before target song broadcasting, the lyrics of target song are all set to second lyrics in advance by terminal, Then in the playing process of target song, user carries out selection broadcasting to the lyrics, and when broadcasting to first lyrics, broadcasting is located at The first audio in the corresponding time interval of first lyrics plays corresponding positioned at second lyrics when broadcasting to second lyrics The second audio in time interval, wherein first lyrics and second lyrics is positioned at the songs of the different time intervals of target song Word.It that is to say, the application can play it for the part lyrics in target song and repair sound before sound when playing target song Frequently, it can be played for another part lyrics and repairs audio after sound, consequently facilitating user, which chooses at random, plays repairing for the specific lyrics Audio or audio after sound is repaired before sound, in this way, not only enriching audio plays form, but also is able to use family and more intuitively experiences The comparison before and after sound is repaired, the diversified demand of user is met.
It should be noted that above-mentioned Fig. 2, Fig. 4 and Fig. 5 embodiment is only with for same song, to its part lyrics Audio before sound is repaired in broadcasting, and audio after sound is repaired in lyrics broadcasting in part, thus be illustrated for abundant audio broadcasting form, and at it It, can also be by the sound after repairing sound for repairing audio and the part lyrics before sound of its part lyrics for same song in his embodiment Frequency is synthesized, and Composite tone is obtained, and is operated so that subsequent user saves Composite tone, plays, uploads or shares etc.. Next, will describe in detail to audio synthesis process.
Fig. 6 is a kind of flow chart of audio synthetic method provided by the embodiments of the present application, and this method is used for terminal or terminal In the multimedia software of installation, which can be mobile phone, tablet computer, computer, television set or professional recording equipment etc., be somebody's turn to do Multimedia software can be music software, video software or live streaming software etc..Referring to Fig. 6, this method comprises:
Step 601: the lyrics interface of displaying target song, and on lyrics interface, to passing through in the lyrics of target song The lyrics for repairing sound are highlighted.
Before highlighting to the lyrics by repairing sound, terminal can first obtain the first audio of target song, And the first audio is carried out to repair sound processing, the second audio is obtained, then, is based on the second audio, from the lyrics of target song really The fixed lyrics by repairing sound, then when showing the lyrics on lyrics interface, the lyrics by repairing sound are highlighted.
Wherein, the first audio is the performance audio of user, is specifically as follows the voice audio of user, or is people's sound audio With the Composite tone of the audio accompaniment of target song.Correspondingly, the second audio can be the voice audio after repairing sound, or to repair Composite tone after sound.
Exemplary, user, which sings, to complete, and after repairing sound, terminal can be with the lyrics interface of displaying target song.Example Such as, after repairing sound, terminal can jump to automatically and repair sound preview interface, and it includes broadcast button and target that this, which repairs sound preview interface, The lyrics of song can be highlighted by repairing the lyrics of sound in the lyrics.Further, after repairing sound, terminal can be with Give a mark respectively to the first audio and the second audio, and show respectively on repairing sound preview interface the first audio score and The score of second audio.
Specifically, to highlight by the lyrics for repairing sound in the lyrics of target song include: will be without repairing sound The lyrics and the lyrics by repairing sound shown respectively according to different display formats.Wherein, which may include At least one of color, font, background and special efficacy.It is exemplary, the displaying target song on the display interface of target song When word, it can be shown according to the first display format without the lyrics for repairing sound, according to second display format display by repairing sound The lyrics, and the first display format and second display format are different display formats.For example, the first display format are as follows: color is White, font be the Song typeface, font size is No. 4, without background, without special efficacy, second display format are as follows: color be green, font be regular script, Font size is No. 3, white background, rotation effect.
It should be noted that being only repaired to wherein passing through in the lyrics of displaying target song in the embodiment of the present application The lyrics of sound are highlighted, and repair sound so that user can intuitively learn which lyrics have passed through, which lyrics is without repairing Sound, and then be illustrated for pointedly practicing convenient for the subsequent lyrics to by repairing sound, and in other embodiments, In the lyrics of displaying target song, whole lyrics of target song can also be shown according to identical display format, The embodiment of the present application to lyrics display mode without limitation.
Step 602: being based on lyrics interface, determine first lyrics and second lyrics, first lyrics and second lyrics are to be located at The lyrics of the different time intervals of target song.
Wherein, first lyrics refer to the lyrics for needing to obtain corresponding first audio, and second lyrics, which refer to, sighs acquisition pair The lyrics for the second audio answered.Moreover, first lyrics and second lyrics can also be set by terminal default setting by user It sets, the embodiment of the present application does not limit this.
As an example, lyrics interface can be based on, determine the selected lyrics, be then based on the selected lyrics and The not selected lyrics, to determine first lyrics and second lyrics.Wherein, the selected lyrics can be defaulted by terminal and be chosen, It can also be chosen by user, the embodiment of the present application does not limit this.
Specifically, it is based on lyrics interface, determines that the selected lyrics may include following two implementation:
The first implementation: when receiving lyrics selection instruction, selection cursor is shown on lyrics interface, determines choosing The lyrics that cursor covers in moving process are selected, the lyrics of cursor covering will be selected, be determined as the selected lyrics.
Wherein it is possible to selection cursor is moved by finger slide on the screen by user, it can also be by user Selection cursor is moved by manipulation mouse.It is exemplary, when the screen that terminal is mobile terminal and terminal is touch screen, user Finger can be slided on the screen to move selection cursor, then the lyrics that user's finger is streaked, as the selected lyrics.When When terminal is computer, user can move selection cursor by clicking left mouse button and mobile mouse, then select cursor to cover The lyrics of lid are the selected lyrics.
The lyrics are selected by selection cursor, user can be allowed to select any lyrics in lyrics interface In, and then first lyrics are set by any lyrics or second lyrics, flexibility are higher.
Second of implementation: being based on lyrics interface, determines selected lyrics unit, and selected lyrics unit is made For the selected lyrics.
Wherein, the lyrics of target song include multiple lyrics units, and each lyrics unit can be with a line lyrics, a song Word, one section of lyrics or T word are unit, and T is positive integer.Exemplary, the lyrics of the target song shown on lyrics interface can , can be using the selected n row lyrics as the selected lyrics to include the multirow lyrics, n is positive integer.
Wherein, selected lyrics unit can be defaulted by terminal and be chosen, and can also be selected by user by selection operation In.The selection operation can be the operation of click lyrics unit, or click the operation etc. of the corresponding selection icon of lyrics unit. It is when receiving the trigger action to any row lyrics, this is any such as example, the lyrics of target song include the multirow lyrics The row lyrics are as the selected lyrics.
As an example, terminal, which can first be defaulted, chooses whole lyrics units, then, receives when based on lyrics interface When lyrics selection instruction, the lyrics unit that lyrics selection instruction is selected is switched to from selected lyrics unit and is not selected Lyrics unit.Alternatively, terminal, which is first defaulted, does not choose any lyrics unit, then, selected when receiving the lyrics based on lyrics interface When selecting instruction, the lyrics unit that lyrics selection instruction is selected is determined as selected lyrics unit.
As an example, the corresponding position of each lyrics unit shows selection icon, and user can be appointed by triggering The selection icon of one lyrics unit, to be chosen to the lyrics unit.It that is to say, when receiving the choosing to any lyrics unit When selecting the trigger action of icon, which is determined as selected lyrics unit.Wherein, the corresponding position can Equal positions before or after thinking each lyrics unit.
For example, with reference to Fig. 3, the lyrics of the target song shown on lyrics interface include the multirow lyrics, before every row lyrics Selection icon is shown, which is used to indicate whether the corresponding row lyrics are selected.User can be by triggering any row Selection icon before lyrics unit, to be chosen to any row lyrics.
Further, the display state for selecting icon includes selected state and unselected state, when selection icon is in choosing It when middle state, indicates that the corresponding row lyrics are selected, when selecting icon to be in unselected state, indicates that the corresponding lyrics are selected. When receiving the trigger action to selection icon, the display state for selecting icon can be switched over, and corresponding row is sung The selected state of word switches over.For example, if the selection icon of certain a line lyrics is in unselected state, when receiving to this The trigger action of icon is selected, selection icon never selected state can be switched into selected state, and the row lyrics are determined For the selected lyrics.
Exemplary, referring to Fig. 3, every row lyrics select icon for round icon, and selected state is to occur in round icon To hook, unselected state is that circular diagram is designated as not occurring to hook.It that is to say, user can be by choosing the corresponding row lyrics, to select The middle corresponding row lyrics.For example, user can in advance carry out the lyrics of target song choosing behaviour before target song broadcasting Make, plays corresponding first audio so which row lyrics is arranged when playing, which row lyrics plays corresponding the when playing Two audios.
Specifically, based on the selected lyrics and the not selected lyrics, the operation of first lyrics and second lyrics is determined It may include: that the selected lyrics are determined as first lyrics, the not selected lyrics be determined as second lyrics, alternatively, will The selected lyrics are determined as second lyrics, and the not selected lyrics are determined as first lyrics.
Further, it if the lyrics of target song include multiple lyrics units, and is selected as unit of lyrics unit, Then selected lyrics unit can be determined as first lyrics, not selected lyrics unit is determined as second lyrics, or Selected lyrics unit is determined as second lyrics, not selected lyrics unit is determined as first lyrics by person.
Step 603: from the first audio of target song, obtaining first be located in the corresponding time interval of first lyrics Audio obtains the second audio being located in the corresponding time interval of second lyrics from the second audio of target song.
After determining first lyrics and second lyrics, the corresponding time interval of first lyrics can be determined, and from In one audio, when obtaining the first audio being located in the corresponding time interval of first lyrics, and determining that second lyrics are corresponding Between section obtain the first audio in the corresponding time interval of second lyrics and from the second audio.
It is exemplary, the corresponding time interval of first lyrics and second can be determined based on original singer's audio of target song The corresponding time interval of the lyrics, that is to say, by first lyrics time interval locating in original singer's audio, be determined as first lyrics Second lyrics time interval locating in original singer's audio is determined as the second lyrics corresponding time by corresponding time interval Section.
Further, if first lyrics include M lyrics unit, second lyrics include N number of lyrics unit, and M and N are Positive integer then can obtain first in M lyrics unit in the corresponding time interval of each lyrics unit from the first audio Audio, and from the second audio obtains the second sound in the corresponding time interval of each lyrics unit in N number of lyrics unit Frequently.
For example, if the unchecked lyrics are as first lyrics, it is assumed that target song using the lyrics chosen as second lyrics Lyrics interface display have the 10 row lyrics, when user selects the lyrics, have selected the 1st, 2,5,8, the 10 row lyrics, it is unselected 3rd, 4,6,7, the 9 row lyrics then can obtain the corresponding time interval of the 1st, 2,5,8, the 10 row lyrics from the first audio respectively The first interior audio, and from the second audio, the second sound in the corresponding time interval of the 3rd, 4,6,7, the 9 row lyrics is obtained respectively Frequently.
Step 604: the audio that will acquire is synthesized according to song play time axis, obtains third audio.
It that is to say, can will be located at the first audio in the corresponding time interval of first lyrics, and be located at second lyrics The second audio in corresponding time interval, is synthesized according to song play time axis, obtains third audio.In this way, right When third audio plays out, when broadcasting to first lyrics, corresponding first audio of first lyrics will be also played, broadcasting is worked as When second lyrics, corresponding second audio of second lyrics will be also played, that is to say, what the part lyrics played is the sound before repairing sound Frequently, what the part lyrics played is the audio after repairing sound.
Further, if the first audio is people's sound audio, the second audio is the voice audio after repairing sound, then can also be by position In the first audio in the corresponding time interval of first lyrics, the second audio in the corresponding time interval of second lyrics, And the audio accompaniment of target song, it is synthesized according to song play time axis, obtains third audio.
After obtaining third audio, terminal can also save third audio, be played, be sent out depending on the user's operation It send, upload or shares, the embodiment of the present application does not limit this.For example, third audio can be uploaded to oneself by user In social account, or share onto the network platform.
In addition, in above-mentioned Fig. 2, Fig. 4 and Fig. 5 embodiment, it, can also be to the sound of broadcasting after target song plays Frequency is synthesized, to obtain third audio, the embodiment of the present application is not limited this.
In the embodiment of the present application, can by the part lyrics repair audio and the part lyrics before sound repair sound after audio carry out sound Frequency synthesizes, and enriches audio processing mode, meets the diversified demand of user.
Fig. 7 is a kind of structural schematic diagram of audio playing apparatus provided by the embodiments of the present application, the device can by software, Hardware or both is implemented in combination with.Referring to Fig. 7, which includes: to obtain module 701, the first playing module 702 and second to broadcast Amplification module 703.
Obtain module 701, for obtaining the first audio and the second audio of target song, second audio be to this first Audio obtain after repairing sound processing;
First playing module 702 plays the target song for the play instruction according to the target song;
Second playing module 703, for when broadcasting to first lyrics, playing in the playing process of the target song The first audio in the corresponding time interval of first lyrics plays when broadcasting to second lyrics and is located at second song The second audio in the corresponding time interval of word, first lyrics and second lyrics are the different time positioned at the target song The lyrics in section.
In the embodiment of the present application, the first audio of available target song, and the first audio repair at sound The second audio obtained after reason, and in the playing process of target song, when broadcasting to first lyrics, plays and be located at the first song The first audio in the corresponding time interval of word plays when broadcasting to second lyrics and is located at the corresponding time zone of second lyrics The second interior audio, wherein first lyrics and second lyrics is positioned at the lyrics of the different time intervals of target song.Namely It is that the application can play it for the part lyrics in target song and repair audio before sound, for another when playing target song A part of lyrics can play it and repair audio after sound, consequently facilitating user choose at random play the specific lyrics repair before sound audio or Audio after sound is repaired, in this way, not only enriching audio plays form, but also is able to use before and after family more intuitively experiences and repair sound Comparison, meets the diversified demand of user.
Optionally, which is people's sound audio or first audio is the synthesis of people's sound audio and audio accompaniment Audio.
Optionally, the first audio is people's sound audio;
Second playing module 703 is specifically used for:
According to the audio accompaniment of the play time played in order target song;
While according to the audio accompaniment of the play time played in order target song, when playing to first lyrics, Play the first audio being located in the corresponding time interval of first lyrics, when playing to second lyrics, play be located at this The second audio in the corresponding time interval of two lyrics.
Optionally, first lyrics include M lyrics unit, which includes N number of lyrics unit, which is A line lyrics, a lyrics, one section of lyrics or T word, M, N and the T are positive integer;
Second playing module 703 includes the first broadcast unit and the second broadcast unit, which is used for:
When broadcasting to the first lyrics unit, the corresponding time interval of first lyrics unit, first lyrics list are determined Member is any lyrics unit in the M lyrics unit;
From first audio, the first audio being located in the corresponding time interval of first lyrics unit is obtained, is played The first audio in the corresponding time interval of first lyrics unit;
Second broadcast unit is used for:
When broadcasting to the second lyrics unit, the corresponding time interval of second lyrics unit, second lyrics list are determined Member is any lyrics unit in N number of lyrics unit;
From second audio, the second audio being located in the corresponding time interval of second lyrics unit is obtained, is played The second audio in the corresponding time interval of second lyrics unit.
Optionally, the device further include:
Display module, for showing the lyrics interface of the target song;
Selecting module determines the selected lyrics for being based on the lyrics interface;
First determining module determines the not selected lyrics for the lyrics being selected to be determined as first lyrics For second lyrics;Alternatively, the selected lyrics are determined as second lyrics, by the not selected lyrics be determined as this first The lyrics.
Optionally, which is specifically used for:
Based on the lyrics interface, determine selected lyrics unit, each lyrics unit be a line lyrics, a lyrics, One section of lyrics or T word are unit, which is positive integer;
First determining module is specifically used for:
Selected lyrics unit is determined as first lyrics, not selected lyrics unit is determined as described the Two lyrics;Alternatively, selected lyrics unit is determined as second lyrics, not selected lyrics unit is determined as institute State first lyrics.
Optionally, the device further include:
Display module, in the playing process of the target song, showing the lyrics interface of the target song;
Second determining module, for when receiving lyrics selection instruction, determining when the lyrics interface based on the target song The lyrics of selection instruction selection;
Third determining module, for the lyrics of selection to be determined to belong to first lyrics or the lyrics of second lyrics;
Switching module is played out since the lyrics of the selection for switching to current playback progress.
Optionally, if in selected state the lyrics be first lyrics, the lyrics in unselected state be this second The lyrics, then the third determining module is specifically used for:
If the lyrics of the selection are being in unselected state before selecting, the state of the lyrics of the selection is switched to Selected state, and the lyrics of the selection are determined to belong to the lyrics of first lyrics;
If the lyrics of the selection are being in selected state before selecting, the state of the lyrics of the selection is switched to not Selected state, and the lyrics of the selection are determined to belong to second lyrics.
Optionally, if in selected state the lyrics be second lyrics, the lyrics in unselected state be this first The lyrics, then the third determining module is specifically used for:
If the lyrics of the selection are being in unselected state before selecting, the state of the lyrics of the selection is switched to Selected state, and the lyrics of the selection are determined to belong to the lyrics of second lyrics;
If the lyrics of the selection are being in selected state before selecting, the state of the lyrics of the selection is switched to not Selected state, and the lyrics of the selection are determined to belong to first lyrics.
Optionally, the device further include:
4th determining module, for whole lyrics of the target song to be determined as first lyrics;.
The third determining module is used for:
The lyrics of selection are subordinated to the lyrics of first lyrics, are switched to the lyrics for belonging to second lyrics.
Optionally, the device further include:
5th determining module, for whole lyrics of the target song to be determined as second lyrics;
The third determining module is used for:
The lyrics of selection are subordinated to the lyrics of second lyrics, are switched to the lyrics for belonging to first lyrics.
Optionally, the device further include:
Suspend module, in the playing process of the target song, when receiving pause play instruction, temporarily according to this Stop play instruction, pause plays the target song;
Display module, for showing the lyrics interface of the target song;
6th determining module determines the selected lyrics for being based on the lyrics interface;
7th determining module, it is for the lyrics being selected to be determined as first lyrics, the not selected lyrics are true It is set to second lyrics;Alternatively, the selected lyrics are determined as second lyrics, the not selected lyrics are determined as First lyrics.
It should be understood that audio playing apparatus provided by the above embodiment is when carrying out audio broadcasting, only with above-mentioned each The division progress of functional module can according to need and for example, in practical application by above-mentioned function distribution by different function Energy module is completed, i.e., the internal structure of device is divided into different functional modules, to complete whole described above or portion Divide function.In addition, audio playing apparatus provided by the above embodiment and audio frequency playing method embodiment belong to same design, have Body realizes that process is detailed in embodiment of the method, and which is not described herein again.
Fig. 8 is a kind of structural schematic diagram of audio playing apparatus provided by the embodiments of the present application, the device can by software, Hardware or both is implemented in combination with.Referring to Fig. 8, which includes: display module 801, determining module 802, obtains module 803 With synthesis module 804.
Display module 801, for the lyrics interface of displaying target song, and on the lyrics interface, to the target song The lyrics in highlighted by the word for repairing sound;
Determining module 802, for be based on the lyrics interface, determine first lyrics and second lyrics, first lyrics and should Second lyrics are the lyrics of the different time intervals positioned at the target song;
Module 803 is obtained, for obtaining and being located at the first lyrics corresponding time from the first audio of the target song The first audio in section obtains and is located in the corresponding time interval of second lyrics from the second audio of the target song The second audio, which obtained after carrying out repairing sound processing to first audio;
Synthesis module 804, the audio for will acquire, is synthesized according to song play time axis, obtains third audio.
In the embodiment of the present application, can by the part lyrics repair audio and the part lyrics before sound repair sound after audio carry out sound Frequency synthesizes, and enriches audio processing mode, meets the diversified demand of user.
Optionally, which includes:
First determination unit determines the selected lyrics for being based on the lyrics interface;
Second determination unit determines the not selected lyrics for the lyrics being selected to be determined as first lyrics For second lyrics;Alternatively, the selected lyrics are determined as second lyrics, by the not selected lyrics be determined as this first The lyrics.
Fig. 9 is a kind of structural block diagram of terminal 900 provided by the embodiments of the present application.The terminal 900 may is that intelligent hand (Moving Picture Experts Group Audio Layer III, dynamic image are special for machine, tablet computer, MP3 player Family's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image Expert's compression standard audio level 4) player, laptop or desktop computer.Terminal 900 is also possible to referred to as user and sets Other titles such as standby, portable terminal, laptop terminal, terminal console.
In general, terminal 900 includes: processor 901 and memory 902.
Processor 901 may include one or more processing cores, such as 4 core processors, 8 core processors etc..Place Reason device 901 can use DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field- Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed Logic array) at least one of example, in hardware realize.Processor 901 also may include primary processor and coprocessor, master Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.? In some embodiments, processor 901 can be integrated with GPU (Graphics Processing Unit, image processor), GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 901 can also be wrapped AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processor is for handling related machine learning Calculating operation.
Memory 902 may include one or more computer readable storage mediums, which can To be non-transient.Memory 902 may also include high-speed random access memory and nonvolatile memory, such as one Or multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 902 can Storage medium is read for storing at least one instruction, at least one instruction performed by processor 901 for realizing this Shen Please in embodiment of the method provide audio frequency playing method or audio synthetic method.
In some embodiments, terminal 900 is also optional includes: peripheral device interface 903 and at least one peripheral equipment. It can be connected by bus or signal wire between processor 901, memory 902 and peripheral device interface 903.Each peripheral equipment It can be connected by bus, signal wire or circuit board with peripheral device interface 903.Specifically, peripheral equipment includes: radio circuit 904, at least one of touch display screen 905, camera 906, voicefrequency circuit 907, positioning component 908 and power supply 909.
Peripheral device interface 903 can be used for I/O (Input/Output, input/output) is relevant outside at least one Peripheral equipment is connected to processor 901 and memory 902.In some embodiments, processor 901, memory 902 and peripheral equipment Interface 903 is integrated on same chip or circuit board;In some other embodiments, processor 901, memory 902 and outer Any one or two in peripheral equipment interface 903 can realize on individual chip or circuit board, the present embodiment to this not It is limited.
Radio circuit 904 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal.It penetrates Frequency circuit 904 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 904 turns electric signal It is changed to electromagnetic signal to be sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit 904 wraps It includes: antenna system, RF transceiver, one or more amplifiers, tuner, oscillator, digital signal processor, codec chip Group, user identity module card etc..Radio circuit 904 can be carried out by least one wireless communication protocol with other terminals Communication.The wireless communication protocol includes but is not limited to: Metropolitan Area Network (MAN), each third generation mobile communication network (2G, 3G, 4G and 5G), wireless office Domain net and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some embodiments, radio circuit 904 may be used also To include the related circuit of NFC (Near Field Communication, wireless near field communication), the application is not subject to this It limits.
Display screen 905 is for showing UI (User Interface, user interface).The UI may include figure, text, figure Mark, video and its their any combination.When display screen 905 is touch display screen, display screen 905 also there is acquisition to show The ability of the touch signal on the surface or surface of screen 905.The touch signal can be used as control signal and be input to processor 901 are handled.At this point, display screen 905 can be also used for providing virtual push button and/or dummy keyboard, also referred to as soft button and/or Soft keyboard.In some embodiments, display screen 905 can be one, and the front panel of terminal 900 is arranged;In other embodiments In, display screen 905 can be at least two, be separately positioned on the different surfaces of terminal 900 or in foldover design;In still other reality It applies in example, display screen 905 can be flexible display screen, be arranged on the curved surface of terminal 900 or on fold plane.Even, it shows Display screen 905 can also be arranged to non-rectangle irregular figure, namely abnormity screen.Display screen 905 can use LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) Etc. materials preparation.
CCD camera assembly 906 is for acquiring image or video.Optionally, CCD camera assembly 906 include front camera and Rear camera.In general, the front panel of terminal is arranged in front camera, the back side of terminal is arranged in rear camera.One In a little embodiments, rear camera at least two is main camera, depth of field camera, wide-angle camera, focal length camera shooting respectively Any one in head, to realize that main camera and the fusion of depth of field camera realize background blurring function, main camera and wide-angle Camera fusion realizes that pan-shot and VR (Virtual Reality, virtual reality) shooting function or other fusions are clapped Camera shooting function.In some embodiments, CCD camera assembly 906 can also include flash lamp.Flash lamp can be monochromatic warm flash lamp, It is also possible to double-colored temperature flash lamp.Double-colored temperature flash lamp refers to the combination of warm light flash lamp and cold light flash lamp, can be used for not With the light compensation under colour temperature.
Voicefrequency circuit 907 may include microphone and loudspeaker.Microphone is used to acquire the sound wave of user and environment, and will Sound wave, which is converted to electric signal and is input to processor 901, to be handled, or is input to radio circuit 904 to realize voice communication. For stereo acquisition or the purpose of noise reduction, microphone can be separately positioned on the different parts of terminal 900 to be multiple.Mike Wind can also be array microphone or omnidirectional's acquisition type microphone.Loudspeaker is then used to that processor 901 or radio circuit will to be come from 904 electric signal is converted to sound wave.Loudspeaker can be traditional wafer speaker, be also possible to piezoelectric ceramic loudspeaker.When When loudspeaker is piezoelectric ceramic loudspeaker, the audible sound wave of the mankind can be not only converted electrical signals to, it can also be by telecommunications Number the sound wave that the mankind do not hear is converted to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit 907 can also include Earphone jack.
Positioning component 908 is used for the current geographic position of positioning terminal 900, to realize navigation or LBS (Location Based Service, location based service).Positioning component 908 can be the GPS (Global based on the U.S. Positioning System, global positioning system), the dipper system of China, Russia Gray receive this system or European Union The positioning component of Galileo system.
Power supply 909 is used to be powered for the various components in terminal 900.Power supply 909 can be alternating current, direct current, Disposable battery or rechargeable battery.When power supply 909 includes rechargeable battery, which can support wired charging Or wireless charging.The rechargeable battery can be also used for supporting fast charge technology.
In some embodiments, terminal 900 further includes having one or more sensors 910.The one or more sensors 910 include but is not limited to: acceleration transducer 911, gyro sensor 912, pressure sensor 913, fingerprint sensor 914, Optical sensor 915 and proximity sensor 916.
The acceleration that acceleration transducer 911 can detecte in three reference axis of the coordinate system established with terminal 900 is big It is small.For example, acceleration transducer 911 can be used for detecting component of the acceleration of gravity in three reference axis.Processor 901 can With the acceleration of gravity signal acquired according to acceleration transducer 911, touch display screen 905 is controlled with transverse views or longitudinal view Figure carries out the display of user interface.Acceleration transducer 911 can be also used for the acquisition of game or the exercise data of user.
Gyro sensor 912 can detecte body direction and the rotational angle of terminal 900, and gyro sensor 912 can To cooperate with acquisition user to act the 3D of terminal 900 with acceleration transducer 911.Processor 901 is according to gyro sensor 912 Following function may be implemented in the data of acquisition: when action induction (for example changing UI according to the tilt operation of user), shooting Image stabilization, game control and inertial navigation.
The lower layer of side frame and/or touch display screen 905 in terminal 900 can be set in pressure sensor 913.Work as pressure When the side frame of terminal 900 is arranged in sensor 913, user can detecte to the gripping signal of terminal 900, by processor 901 Right-hand man's identification or prompt operation are carried out according to the gripping signal that pressure sensor 913 acquires.When the setting of pressure sensor 913 exists When the lower layer of touch display screen 905, the pressure operation of touch display screen 905 is realized to UI circle according to user by processor 901 Operability control on face is controlled.Operability control includes button control, scroll bar control, icon control, menu At least one of control.
Fingerprint sensor 914 is used to acquire the fingerprint of user, collected according to fingerprint sensor 914 by processor 901 The identity of fingerprint recognition user, alternatively, by fingerprint sensor 914 according to the identity of collected fingerprint recognition user.It is identifying When the identity of user is trusted identity out, the user is authorized to execute relevant sensitive operation, the sensitive operation packet by processor 901 Include solution lock screen, check encryption information, downloading software, payment and change setting etc..Terminal can be set in fingerprint sensor 914 900 front, the back side or side.When being provided with physical button or manufacturer Logo in terminal 900, fingerprint sensor 914 can be with It is integrated with physical button or manufacturer Logo.
Optical sensor 915 is for acquiring ambient light intensity.In one embodiment, processor 901 can be according to optics The ambient light intensity that sensor 915 acquires controls the display brightness of touch display screen 905.Specifically, when ambient light intensity is higher When, the display brightness of touch display screen 905 is turned up;When ambient light intensity is lower, the display for turning down touch display screen 905 is bright Degree.In another embodiment, the ambient light intensity that processor 901 can also be acquired according to optical sensor 915, dynamic adjust The acquisition parameters of CCD camera assembly 906.
Proximity sensor 916, also referred to as range sensor are generally arranged at the front panel of terminal 900.Proximity sensor 916 For acquiring the distance between the front of user Yu terminal 900.In one embodiment, when proximity sensor 916 detects use When family and the distance between the front of terminal 900 gradually become smaller, touch display screen 905 is controlled from bright screen state by processor 901 It is switched to breath screen state;When proximity sensor 916 detects user and the distance between the front of terminal 900 becomes larger, Touch display screen 905 is controlled by processor 901 and is switched to bright screen state from breath screen state.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal 900 of structure shown in Fig. 9, can wrap It includes than illustrating more or fewer components, perhaps combine certain components or is arranged using different components.
In the present embodiment, terminal further includes having perhaps this or more than one journey of more than one program Sequence is stored in memory, and is configured to be executed by one or more than one processor, the one or more Program includes for carrying out above-mentioned audio frequency playing method provided in an embodiment of the present invention or audio synthetic method.
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 (32)

1. a kind of audio frequency playing method, which is characterized in that the described method includes:
The first audio and the second audio of target song are obtained, second audio is to carry out repairing sound processing to first audio After obtain;
According to the play instruction of the target song, the target song is played;
In the playing process of the target song, when broadcasting to first lyrics, play corresponding positioned at first lyrics The first audio in time interval plays and is located in the corresponding time interval of second lyrics when broadcasting to second lyrics The second audio, first lyrics and second lyrics are the lyrics of the different time intervals positioned at the target song.
2. the method as described in claim 1, which is characterized in that first audio is people's sound audio or first sound Frequency is the Composite tone of people's sound audio and audio accompaniment.
3. the method as described in claim 1, which is characterized in that first audio is people's sound audio;
It is described in the playing process of the target song, when playing to first lyrics, play and be located at first lyrics pair The first audio in the time interval answered plays when broadcasting to second lyrics and is located at the corresponding time zone of second lyrics The second interior audio, comprising:
According to the audio accompaniment of target song described in play time played in order;
While according to the audio accompaniment of target song described in play time played in order, when broadcasting to first lyrics, broadcast The first audio being located in the corresponding time interval of first lyrics is put, when broadcasting to second lyrics, is played described in being located at The second audio in the corresponding time interval of second lyrics.
4. the method as described in claim 1, which is characterized in that first lyrics include M lyrics unit, second song Word includes N number of lyrics unit, and the lyrics unit is a line lyrics, a lyrics, one section of lyrics or T word, described M, N and T For positive integer;
It is described to play the first audio being located in the corresponding time interval of first lyrics when broadcasting to first lyrics, it wraps It includes:
When broadcasting to the first lyrics unit, the corresponding time interval of first lyrics unit, first lyrics list are determined Member is any lyrics unit in the M lyrics unit;
From first audio, the first audio being located in the corresponding time interval of first lyrics unit is obtained, is played The first audio in the corresponding time interval of first lyrics unit;
It is described to play the second audio being located in the corresponding time interval of second lyrics when broadcasting to second lyrics, it wraps It includes:
When broadcasting to the second lyrics unit, the corresponding time interval of second lyrics unit, second lyrics list are determined Member is any lyrics unit in N number of lyrics unit;
From second audio, the second audio being located in the corresponding time interval of second lyrics unit is obtained, is played The second audio in the corresponding time interval of second lyrics unit.
5. the method as described in claim 1, which is characterized in that before the broadcasting target song, further includes:
Show the lyrics interface of the target song;
Based on the lyrics interface, the selected lyrics are determined;
The selected lyrics are determined as first lyrics, the not selected lyrics are determined as second lyrics;Alternatively, The selected lyrics are determined as second lyrics, the not selected lyrics are determined as first lyrics.
6. method as claimed in claim 5, which is characterized in that it is described to be based on the lyrics interface, determine the selected lyrics, Include:
Based on the lyrics interface, determine that selected lyrics unit, each lyrics unit are a line lyrics, the lyrics, one The section lyrics or T word are unit, and the T is positive integer;
It is described that the selected lyrics are determined as first lyrics, the not selected lyrics are determined as second lyrics; Alternatively, the selected lyrics are determined as second lyrics, the not selected lyrics are determined as first lyrics, are wrapped It includes:
Selected lyrics unit is determined as first lyrics, not selected lyrics unit is determined as second song Word;Alternatively, selected lyrics unit is determined as second lyrics, not selected lyrics unit is determined as described the One lyrics.
7. the method as described in claim 1, which is characterized in that the method also includes:
In the playing process of the target song, the lyrics interface of the target song is shown;
When the lyrics interface based on the target song, when receiving lyrics selection instruction, the selection instruction selection is determined The lyrics;
The lyrics of selection are determined to belong to the lyrics of first lyrics or second lyrics;
Current playback progress is switched to and is played out since the selected lyrics.
8. the method for claim 7, which is characterized in that if the lyrics in selected state are first lyrics, place In unselected state the lyrics be second lyrics, then it is described that the lyrics of selection are determined to belong to first lyrics or institute State the lyrics of second lyrics, comprising:
If the selected lyrics are being in unselected state before selecting, the state of the selected lyrics is switched to Selected state, and the selected lyrics are determined to belong to the lyrics of first lyrics;
If the selected lyrics are being in selected state before selecting, the state of the selected lyrics is switched to not Selected state, and the selected lyrics are determined to belong to the lyrics of second lyrics.
9. the method for claim 7, which is characterized in that if the lyrics in selected state are second lyrics, place In unselected state the lyrics be first lyrics, then it is described that the lyrics of selection are determined to belong to first lyrics or institute State the lyrics of second lyrics, comprising:
If the selected lyrics are being in unselected state before selecting, the state of the selected lyrics is switched to Selected state, and the selected lyrics are determined to belong to the lyrics of second lyrics;
If the selected lyrics are being in selected state before selecting, the state of the selected lyrics is switched to not Selected state, and the selected lyrics are determined to belong to the lyrics of first lyrics.
10. the method as described in claim 7-9 is any, which is characterized in that before the broadcasting target song, also wrap It includes:
Whole lyrics of the target song are determined as first lyrics;.
The lyrics that the lyrics of selection are determined to belong to first lyrics or second lyrics, comprising:
The lyrics of selection are subordinated to the lyrics of first lyrics, are switched to the lyrics for belonging to second lyrics.
11. the method as described in claim 7-9 is any, which is characterized in that before the broadcasting target song, also wrap It includes:
Whole lyrics of the target song are determined as second lyrics;
The lyrics that the lyrics of selection are determined to belong to first lyrics or second lyrics, comprising:
The lyrics of selection are subordinated to the lyrics of second lyrics, are switched to the lyrics for belonging to first lyrics.
12. the method as described in claim 1, which is characterized in that the method also includes:
In the playing process of the target song, when receiving pause play instruction, according to the pause play instruction, temporarily Break and puts the target song;
Show the lyrics interface of the target song;
Based on the lyrics interface, the selected lyrics are determined;
The selected lyrics are determined as first lyrics, the not selected lyrics are determined as second lyrics;Alternatively, The selected lyrics are determined as second lyrics, the not selected lyrics are determined as first lyrics.
13. a kind of audio synthetic method, which is characterized in that the described method includes:
The lyrics interface of displaying target song, and on the lyrics interface, sound is repaired to passing through in the lyrics of the target song The lyrics highlighted;
Based on the lyrics interface, first lyrics and second lyrics are determined, first lyrics and second lyrics are to be located at The lyrics of the different time intervals of the target song;
From the first audio of the target song, the first sound being located in the corresponding time interval of first lyrics is obtained Frequently, from the second audio of the target song, the second audio being located in the corresponding time interval of second lyrics is obtained, Second audio is to carry out obtaining after repairing sound processing to first audio;
The audio that will acquire is synthesized according to song play time axis, obtains third audio.
14. method as claimed in claim 13, which is characterized in that it is described be based on the lyrics interface, determine first lyrics and Second lyrics, comprising:
Based on the lyrics interface, the selected lyrics are determined;
The selected lyrics are determined as first lyrics, the not selected lyrics are determined as second lyrics;Alternatively, The selected lyrics are determined as second lyrics, the not selected lyrics are determined as first lyrics.
15. a kind of audio playing apparatus, which is characterized in that described device includes:
Module is obtained, for obtaining the first audio and the second audio of target song, second audio is to first sound Frequency obtain after repairing sound processing;
First playing module plays the target song for the play instruction according to the target song;
Second playing module, for when broadcasting to first lyrics, playing and being located at institute in the playing process of the target song The first audio in the corresponding time interval of first lyrics is stated, when broadcasting to second lyrics, plays and is located at second lyrics The second audio in corresponding time interval, first lyrics and second lyrics are the difference positioned at the target song The lyrics of time interval.
16. device as claimed in claim 15, which is characterized in that first audio is people's sound audio or described first Audio is the Composite tone of people's sound audio and audio accompaniment.
17. device as claimed in claim 15, which is characterized in that first audio is people's sound audio;
Second playing module is specifically used for:
According to the audio accompaniment of target song described in play time played in order;
While according to the audio accompaniment of target song described in play time played in order, when broadcasting to first lyrics, broadcast The first audio being located in the corresponding time interval of first lyrics is put, when broadcasting to second lyrics, is played described in being located at The second audio in the corresponding time interval of second lyrics.
18. device as claimed in claim 15, which is characterized in that first lyrics include M lyrics unit, and described second The lyrics include N number of lyrics unit, and the lyrics unit is a line lyrics, a lyrics, one section of lyrics or T word, described M, N and T is positive integer;
Second playing module includes the first broadcast unit and the second broadcast unit, and first broadcast unit is used for:
When broadcasting to the first lyrics unit, the corresponding time interval of first lyrics unit, first lyrics list are determined Member is any lyrics unit in the M lyrics unit;
From first audio, the first audio being located in the corresponding time interval of first lyrics unit is obtained, is played The first audio in the corresponding time interval of first lyrics unit;
Second broadcast unit is used for:
When broadcasting to the second lyrics unit, the corresponding time interval of second lyrics unit, second lyrics list are determined Member is any lyrics unit in N number of lyrics unit;
From second audio, the second audio being located in the corresponding time interval of second lyrics unit is obtained, is played The second audio in the corresponding time interval of second lyrics unit.
19. device as claimed in claim 15, which is characterized in that described device further include:
Display module, for showing the lyrics interface of the target song;
Selecting module determines the selected lyrics for being based on the lyrics interface;
The not selected lyrics are determined as by the first determining module for the lyrics being selected to be determined as first lyrics Second lyrics;Alternatively, the selected lyrics are determined as second lyrics, the not selected lyrics are determined as described First lyrics.
20. device as claimed in claim 19, which is characterized in that the selecting module is specifically used for:
Based on the lyrics interface, determine that selected lyrics unit, each lyrics unit are a line lyrics, the lyrics, one The section lyrics or T word are unit, and the T is positive integer;
First determining module is specifically used for:
Selected lyrics unit is determined as first lyrics, not selected lyrics unit is determined as second song Word;Alternatively, selected lyrics unit is determined as second lyrics, not selected lyrics unit is determined as described the One lyrics.
21. device as claimed in claim 15, which is characterized in that described device further include:
Display module, in the playing process of the target song, showing the lyrics interface of the target song;
Second determining module, for when receiving lyrics selection instruction, determining institute when the lyrics interface based on the target song State the lyrics of selection instruction selection;
Third determining module, for the lyrics of selection to be determined to belong to the lyrics of first lyrics or second lyrics;
Switching module is played out since the selected lyrics for switching to current playback progress.
22. device as claimed in claim 21, which is characterized in that if the lyrics in selected state are first lyrics, The lyrics in unselected state are second lyrics, then the third determining module is specifically used for:
If the selected lyrics are being in unselected state before selecting, the state of the selected lyrics is switched to Selected state, and the selected lyrics are determined to belong to the lyrics of first lyrics;
If the selected lyrics are being in selected state before selecting, the state of the selected lyrics is switched to not Selected state, and the selected lyrics are determined to belong to the lyrics of second lyrics.
23. device as claimed in claim 21, which is characterized in that if the lyrics in selected state are second lyrics, The lyrics in unselected state are first lyrics, then the third determining module is specifically used for:
If the selected lyrics are being in unselected state before selecting, the state of the selected lyrics is switched to Selected state, and the selected lyrics are determined to belong to the lyrics of second lyrics;
If the selected lyrics are being in selected state before selecting, the state of the selected lyrics is switched to not Selected state, and the selected lyrics are determined to belong to the lyrics of first lyrics.
24. the device as described in claim 21-23 is any, which is characterized in that described device further include:
4th determining module, for whole lyrics of the target song to be determined as first lyrics;.
The third determining module is used for:
The lyrics of selection are subordinated to the lyrics of first lyrics, are switched to the lyrics for belonging to second lyrics.
25. the device as described in claim 21-23 is any, which is characterized in that described device further include:
5th determining module, for whole lyrics of the target song to be determined as second lyrics;
The third determining module is used for:
The lyrics of selection are subordinated to the lyrics of second lyrics, are switched to the lyrics for belonging to first lyrics.
26. device as claimed in claim 15, which is characterized in that described device further include:
Suspend module, in the playing process of the target song, when receiving pause play instruction, according to it is described temporarily Stop play instruction, pause plays the target song;
Display module, for showing the lyrics interface of the target song;
6th determining module determines the selected lyrics for being based on the lyrics interface;
The not selected lyrics are determined as by the 7th determining module for the lyrics being selected to be determined as first lyrics Second lyrics;Alternatively, the selected lyrics are determined as second lyrics, the not selected lyrics are determined as described First lyrics.
27. a kind of audio synthesizer, which is characterized in that described device includes:
Display module, for the lyrics interface of displaying target song, and on the lyrics interface, to the song of the target song It is highlighted in word by repairing the word of sound;
Determining module determines first lyrics and second lyrics for being based on the lyrics interface, first lyrics and described the Two lyrics are the lyrics of the different time intervals positioned at the target song;
Module is obtained, for obtaining and being located at the corresponding time zone of first lyrics from the first audio of the target song The first interior audio obtains from the second audio of the target song and is located at the corresponding time interval of second lyrics The second interior audio, second audio are to carry out obtaining after repairing sound processing to first audio;
Synthesis module, the audio for will acquire, is synthesized according to song play time axis, obtains third audio.
28. device as claimed in claim 30, which is characterized in that the determining module includes:
First determination unit determines the selected lyrics for being based on the lyrics interface;
The not selected lyrics are determined as by the second determination unit for the lyrics being selected to be determined as first lyrics Second lyrics;Alternatively, the selected lyrics are determined as second lyrics, the not selected lyrics are determined as described First lyrics.
29. a kind of audio playing apparatus, which is characterized in that described device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to the step of perform claim requires any one method described in 1-12.
30. a kind of audio synthesizer, which is characterized in that described device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to perform claim require 13 or 14 described in method the step of.
31. a kind of computer readable storage medium, which is characterized in that instruction is stored in the computer readable storage medium, When run on a computer, so that computer executes such as the described in any item methods of claim 1-12.
32. a kind of computer readable storage medium, which is characterized in that instruction is stored in the computer readable storage medium, When run on a computer, so that computer executes method according to claim 13 or 14.
CN201910199297.1A 2019-03-15 2019-03-15 Audio frequency playing method, audio synthetic method, device and storage medium Pending CN109873905A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910199297.1A CN109873905A (en) 2019-03-15 2019-03-15 Audio frequency playing method, audio synthetic method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910199297.1A CN109873905A (en) 2019-03-15 2019-03-15 Audio frequency playing method, audio synthetic method, device and storage medium

Publications (1)

Publication Number Publication Date
CN109873905A true CN109873905A (en) 2019-06-11

Family

ID=66920543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910199297.1A Pending CN109873905A (en) 2019-03-15 2019-03-15 Audio frequency playing method, audio synthetic method, device and storage medium

Country Status (1)

Country Link
CN (1) CN109873905A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110706679A (en) * 2019-09-30 2020-01-17 维沃移动通信有限公司 Audio processing method and electronic equipment
CN113436641A (en) * 2021-06-22 2021-09-24 腾讯音乐娱乐科技(深圳)有限公司 Music transition time point detection method, equipment and medium
CN115134643A (en) * 2021-03-24 2022-09-30 腾讯科技(深圳)有限公司 Bullet screen display method and device for vehicle-mounted terminal, terminal and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001060089A (en) * 1996-06-27 2001-03-06 Yamaha Corp Karaoke device
CN105810211A (en) * 2015-07-13 2016-07-27 维沃移动通信有限公司 Audio frequency data processing method and terminal
CN108665881A (en) * 2018-03-30 2018-10-16 北京小唱科技有限公司 Repair sound controlling method and device
CN108696632A (en) * 2018-04-03 2018-10-23 北京小唱科技有限公司 Modification method and device for audio data
CN108810241A (en) * 2018-04-03 2018-11-13 北京小唱科技有限公司 Sound methods of exhibiting and device are repaiied based on audio data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001060089A (en) * 1996-06-27 2001-03-06 Yamaha Corp Karaoke device
CN105810211A (en) * 2015-07-13 2016-07-27 维沃移动通信有限公司 Audio frequency data processing method and terminal
CN108665881A (en) * 2018-03-30 2018-10-16 北京小唱科技有限公司 Repair sound controlling method and device
CN108696632A (en) * 2018-04-03 2018-10-23 北京小唱科技有限公司 Modification method and device for audio data
CN108810241A (en) * 2018-04-03 2018-11-13 北京小唱科技有限公司 Sound methods of exhibiting and device are repaiied based on audio data

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110706679A (en) * 2019-09-30 2020-01-17 维沃移动通信有限公司 Audio processing method and electronic equipment
CN110706679B (en) * 2019-09-30 2022-03-29 维沃移动通信有限公司 Audio processing method and electronic equipment
CN115134643A (en) * 2021-03-24 2022-09-30 腾讯科技(深圳)有限公司 Bullet screen display method and device for vehicle-mounted terminal, terminal and medium
CN113436641A (en) * 2021-06-22 2021-09-24 腾讯音乐娱乐科技(深圳)有限公司 Music transition time point detection method, equipment and medium

Similar Documents

Publication Publication Date Title
CN110336960B (en) Video synthesis method, device, terminal and storage medium
CN110233976B (en) Video synthesis method and device
CN109756784B (en) Music playing method, device, terminal and storage medium
CN109379643A (en) Image synthesizing method, device, terminal and storage medium
CN109302538A (en) Method for playing music, device, terminal and storage medium
CN109033335A (en) Audio recording method, apparatus, terminal and storage medium
CN110244998A (en) Page layout background, the setting method of live page background, device and storage medium
CN109040297A (en) User's portrait generation method and device
CN108922506A (en) Song audio generation method, device and computer readable storage medium
CN107978323A (en) Audio identification methods, device and storage medium
CN111031386B (en) Video dubbing method and device based on voice synthesis, computer equipment and medium
CN109618212A (en) Information display method, device, terminal and storage medium
CN109151593A (en) Main broadcaster's recommended method, device storage medium
CN109587549B (en) Video recording method, device, terminal and storage medium
CN109300482A (en) Audio recording method, apparatus, storage medium and terminal
CN109346111A (en) Data processing method, device, terminal and storage medium
EP3618055B1 (en) Audio mixing method and terminal, and storage medium
CN111711838B (en) Video switching method, device, terminal, server and storage medium
CN109873905A (en) Audio frequency playing method, audio synthetic method, device and storage medium
CN108922562A (en) Sing evaluation result display methods and device
CN108965757A (en) video recording method, device, terminal and storage medium
CN109616090B (en) Multi-track sequence generation method, device, equipment and storage medium
CN109144346A (en) song sharing method, device and storage medium
CN109743461A (en) Audio data processing method, device, terminal and storage medium
CN110248219A (en) Video broadcasting method, device and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190611

RJ01 Rejection of invention patent application after publication