CN105161120B - Original vocal accompaniment changing method and device - Google Patents

Original vocal accompaniment changing method and device Download PDF

Info

Publication number
CN105161120B
CN105161120B CN201510542924.9A CN201510542924A CN105161120B CN 105161120 B CN105161120 B CN 105161120B CN 201510542924 A CN201510542924 A CN 201510542924A CN 105161120 B CN105161120 B CN 105161120B
Authority
CN
China
Prior art keywords
audio
accompaniment
audio file
file
original singer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510542924.9A
Other languages
Chinese (zh)
Other versions
CN105161120A (en
Inventor
朱凯翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201510542924.9A priority Critical patent/CN105161120B/en
Publication of CN105161120A publication Critical patent/CN105161120A/en
Application granted granted Critical
Publication of CN105161120B publication Critical patent/CN105161120B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)

Abstract

The invention discloses a kind of former vocal accompaniment changing method and device, belong to network technique field.Methods described includes:When the accompaniment playing request to specifying song is received, the twin track file bag based on the specified song plays accompaniment audio file by the first track, and the twin track file bag includes the accompaniment audio file and voice audio file;When the first assigned operation is detected, the voice audio file is played by the second track, it is original singer's pattern that first assigned operation is used for current vocal accompaniment pattern switching.Broadcasting by controlling voice audio file of the invention, realize former vocal accompaniment switching, by the twin track file bag that generates voice audio file and accompaniment audio file as played file so that loading velocity is accelerated, at the same also have take memory space it is small, beneficial to downloading the characteristics of.

Description

Original vocal accompaniment changing method and device
Technical field
The present invention relates to network technique field, more particularly to a kind of former vocal accompaniment changing method and device.
Background technology
With the popularization of network technology, service provider services more and more by the multimedia application that network is provided, in magnanimity In multimedia file, song again because its have the time it is short, it is convenient obtain and the features such as committed memory is small, used by all age group The favor at family.And with the development of network technology, user has been not content with and only song is listened to, therefore, many many matchmakers K song functions are increased in body application, also there are many K songs to arise at the historic moment, the former vocal accompaniment that user can be sung in application by K is cut Function is changed, original singer's audio file or accompaniment audio file are played in selection.
At present, former vocal accompaniment changing method can be:The original singer's audio file for specifying song is played by different sound track synchronizations And accompaniment audio file, when the operation for being switched to original singer is detected, the broadcasting of accompaniment track is played in control audio frequency apparatus regulation Volume is 0, while the broadcast sound volume for adjusting broadcasting original singer's track is maximum;When the operation for being switched to accompaniment is detected, control The broadcast sound volume that original singer's track is played in audio frequency apparatus regulation is 0, while the broadcast sound volume for adjusting broadcasting accompaniment track is maximum.
Realize it is of the invention during, inventor find prior art at least there is problems with:
When former vocal accompaniment switching service is provided, original singer's audio file and accompaniment audio file are provided simultaneously, and broadcasting To synchronize broadcasting when putting to original singer's audio file and accompaniment audio file, therefore have that committed memory is big, be unfavorable for downloading The problems such as.
The content of the invention
In order to solve problem of the prior art, a kind of former vocal accompaniment changing method and device, institute are the embodiment of the invention provides State technical scheme as follows:
On the one hand, there is provided a kind of former vocal accompaniment changing method, methods described includes:
When the accompaniment playing request to specifying song is received, the twin track file bag based on the specified song passes through First track plays accompaniment audio file, and the twin track file bag includes the accompaniment audio file and voice audio file;
When the first assigned operation is detected, the voice audio file is played by the second track, first assigned operation For being original singer's pattern by current vocal accompaniment pattern switching.
In the first possible implementation of the first aspect of the present invention, cross the second track and play the voice audio file Afterwards, the method also includes:
When the second assigned operation is detected, the broadcasting of the second track is closed, second assigned operation is used for will be current former Pattern switching is sung for vocal accompaniment pattern.
In second possible implementation of the first aspect of the present invention, the twin track file based on the specified song Bag, before playing accompaniment audio file by the first track, the method also includes:
Original singer's audio file and accompaniment audio file according to the specified song, obtain the voice audio file;
The accompaniment audio file and the voice audio file are packed, the twin track file bag is obtained.
In the third possible implementation of the first aspect of the present invention, the basis specifies original singer's audio file of song And accompaniment audio file, obtaining the voice audio file includes:
Original singer's audio-frequency fingerprint information of the specified song is extracted, original singer's audio-frequency fingerprint information is according to original singer's audio file Obtain;
According to original singer's audio-frequency fingerprint information, from song database, determine that audio-frequency fingerprint information refers to original singer's audio The audio file of line information matches, the accompaniment audio file is defined as by the audio file;
Calculate original singer's audio signal in original singer's audio file and the audio accompaniment signal in the accompaniment audio file Time shift deviator;
By the time shift deviator, original singer's audio signal of aliging and the audio accompaniment signal;
Obtain the difference section between original singer's audio signal and the audio accompaniment signal;
According to the difference section, the voice audio file is generated.
In the 4th kind of possible implementation of the first aspect of the present invention, this generates the voice according to the difference section Audio file includes:
The difference section is compressed to default code check, the voice audio file is obtained.
On the other hand, there is provided a kind of former vocal accompaniment switching device, described device includes:
First playing module, for when the accompaniment playing request to specifying song is received, based on the specified song Twin track file bag, by the first track play accompaniment audio file, the twin track file bag include the accompaniment audio file and Voice audio file;
Second playing module, for when the first assigned operation is detected, people's sound audio text being played by the second track Part, it is original singer's pattern that first assigned operation is used for current vocal accompaniment pattern switching.
In the first possible implementation of the second aspect of the present invention, the device also includes:
Processing module, for when the second assigned operation is detected, closing the broadcasting of the second track, second assigned operation For being vocal accompaniment pattern by current original singer's pattern switching.
In second possible implementation of the second aspect of the present invention, the device also includes:
Acquisition module, for original singer's audio file and accompaniment audio file according to the specified song, obtains people's sound Frequency file;
Packetization module, for being packed to the accompaniment audio file and the voice audio file, obtains twin track text Part bag.
In the third possible implementation of the second aspect of the present invention, the acquisition module is used for:
Original singer's audio-frequency fingerprint information of the specified song is extracted, original singer's audio-frequency fingerprint information is according to original singer's audio file Obtain;
According to original singer's audio-frequency fingerprint information, from song database, determine that audio-frequency fingerprint information refers to original singer's audio The audio file of line information matches, the accompaniment audio file is defined as by the audio file;
Calculate original singer's audio signal in original singer's audio file and the audio accompaniment signal in the accompaniment audio file Time shift deviator;
By the time shift deviator, original singer's audio signal of aliging and the audio accompaniment signal;
Obtain the difference section between original singer's audio signal and the audio accompaniment signal;
According to the difference section, the voice audio file is generated.
In the 4th kind of possible implementation of the second aspect of the present invention, the acquisition module is used for:
The difference section is compressed to default code check, the voice audio file is obtained.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
By controlling the broadcasting of voice audio file, former vocal accompaniment switching is realized, by by voice audio file and accompaniment tone The twin track file bag of frequency file generation is used as played file so that loading velocity is accelerated, while also have to take storing Space is small, beneficial to downloading the characteristics of.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to that will make needed for embodiment description Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of former vocal accompaniment changing method flow chart provided in an embodiment of the present invention;
Fig. 2 is a kind of former vocal accompaniment changing method flow chart provided in an embodiment of the present invention;
Fig. 3 is a kind of former vocal accompaniment switching device block diagram provided in an embodiment of the present invention;
Fig. 4 is a kind of former vocal accompaniment switching device structural representation provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in implementation method do not represent and the consistent all implementation methods of the present invention.Conversely, they be only with it is such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, of the invention.
Fig. 1 is a kind of former vocal accompaniment changing method flow chart provided in an embodiment of the present invention, as shown in figure 1, including following step Suddenly:
101st, when the accompaniment playing request to specifying song is received, the twin track file bag based on the specified song, Accompaniment audio file is played by the first track, the twin track file bag includes the accompaniment audio file and voice audio file.
102nd, when the first assigned operation is detected, the voice audio file is played by the second track, this first specify Operate for being original singer's pattern by current vocal accompaniment pattern switching.
Method provided in an embodiment of the present invention, by controlling the broadcasting of voice audio file, realizes former vocal accompaniment switching, passes through The twin track file bag that voice audio file and accompaniment audio file are generated is used as played file so that loading velocity is added Hurry up, at the same also have take memory space it is small, beneficial to download the characteristics of.
In the first possible implementation of the invention, after playing the voice audio file by the second track, should Method also includes:
When the second assigned operation is detected, the broadcasting of the second track is closed, second assigned operation is used for will be current former Pattern switching is sung for vocal accompaniment pattern.
In second of the invention possible implementation, the twin track file bag based on the specified song, by first Before track plays accompaniment audio file, the method also includes:
Original singer's audio file and accompaniment audio file according to the specified song, obtain the voice audio file;
The accompaniment audio file and the voice audio file are packed, the twin track file bag is obtained.
In the third possible implementation of the invention, the basis specifies original singer's audio file and audio accompaniment of song File, obtaining the voice audio file includes:
Original singer's audio-frequency fingerprint information of the specified song is extracted, original singer's audio-frequency fingerprint information is according to original singer's audio file Obtain;
According to original singer's audio-frequency fingerprint information, from song database, determine that audio-frequency fingerprint information refers to original singer's audio The audio file of line information matches, the accompaniment audio file is defined as by the audio file;
Calculate original singer's audio signal in original singer's audio file and the audio accompaniment signal in the accompaniment audio file Time shift deviator;
By the time shift deviator, original singer's audio signal of aliging and the audio accompaniment signal;
Obtain the difference section between original singer's audio signal and the audio accompaniment signal;
According to the difference section, the voice audio file is generated.
In the 4th kind of possible implementation of the invention, this generates the voice audio file bag according to the difference section Include:
The difference section is compressed to default code check, the voice audio file is obtained.
Above-mentioned all optional technical schemes, can form the alternative embodiment of the disclosure, herein no longer using any combination Repeat one by one.
Fig. 2 is a kind of former vocal accompaniment changing method flow chart provided in an embodiment of the present invention, and referring to Fig. 2, the method includes:
201st, according to the original singer's audio file and accompaniment audio file for specifying song, voice audio file is obtained.
Original singer's audio file is the audio file for including accompaniment and voice, in original singer's audio file of any song of acquisition The method of people's sound audio can include following steps:
Step one, the original singer's audio-frequency fingerprint information for obtaining the specified song, original singer's audio-frequency fingerprint information is according to the original singer Audio file is obtained.
Audio-frequency fingerprint algorithm is a kind of audio signal processing technique, and any song audio signal is extracted according to audio-frequency fingerprint algorithm Audio-frequency fingerprint information, the audio-frequency fingerprint information is the audio frequency characteristics with time attribute, and audio-frequency fingerprint information can be as The unique identification information of the audio file with identical melody, that is to say, the audio-frequency fingerprint letter of original singer's audio of same song Breath has uniformity with the audio-frequency fingerprint information of audio accompaniment in the range of certain error.
Obtaining the audio-frequency fingerprint algorithm of audio-frequency fingerprint information can be:By Fast Fourier Transform (FFT) by the sound of any song Frequency signal transforms from the time domain to frequency domain, and obtains spectrogram, and the spectrogram is a 3-D view, including time, frequency and energy Three parameters of amount, obtain a series of mark points from the spectrogram, and the mark point is the energy peak in spectrogram, by connection These mark points construct the audio-frequency fingerprint information of the audio signal of the song.
It should be noted that obtain the audio-frequency fingerprint information of the audio signal of the song audio-frequency fingerprint algorithm must and sound The audio-frequency fingerprint algorithm that audio-frequency fingerprint information is extracted in frequency fingerprint database is identical, and the parameter setting in audio-frequency fingerprint algorithm It is identical, on the premise of this condition is met, in addition to using above-mentioned audio-frequency fingerprint algorithm, it would however also be possible to employ other audio-frequency fingerprints Algorithm, the embodiment of the present invention is not construed as limiting to this.
It should be noted that the audio fingerprint database is used to store the corresponding original singer's audio-frequency fingerprint letter of each song identity Breath and audio accompaniment finger print information, wherein, song identity can be as index information, in order to be obtained from the database and song The corresponding finger print information of song mark.
Step 2, according to original singer's audio-frequency fingerprint information, from song database, determine audio-frequency fingerprint information and the original singer The audio file of audio-frequency fingerprint information matches, the accompaniment audio file is defined as by the audio file.
The content stored in the song database can include:The corresponding original singer's audio file of song identity, audio accompaniment The song information of file and the song, such as song title, singer's name and album name;Wherein, song identity can be as index Information, in order to obtain corresponding audio file from the song database.
If server does not safeguard audio fingerprint database, can be by audio-frequency fingerprint algorithm extraction song database The audio-frequency fingerprint information of audio accompaniment, obtain with the audio accompaniment finger print information of original singer's audio-frequency fingerprint information match, will be in The corresponding accompaniment audio file of audio accompaniment finger print information is defined as the accompaniment audio file of the song.
When server maintains audio fingerprint database, then can be when the play operation to song be received, from sound In frequency fingerprint database, the corresponding original singer's audio-frequency fingerprint information of song identity is obtained, according to original singer's audio-frequency fingerprint information and should Audio accompaniment finger print information, then carry out subsequent match process.
It should be noted that song database and audio fingerprint database can also be merged into an audio information data Storehouse, the audio information database includes the audio-frequency fingerprint information of the corresponding audio file of song identity and correspondence audio file, Such that it is able to pass through the audio fingerprint database obtain audio-frequency fingerprint information and audio file, with matching speed it is fast the characteristics of.
Further, in order to accelerate to determine the speed of accompaniment audio file, can also be by intercepting original singer's audio file in The audio fragment of certain time length, obtains corresponding clip audio finger print information, is matched with audio accompaniment finger print information, will deposit It is defined as the accompaniment audio file of original singer's audio file in the accompaniment audio file of the fragment finger print information.
Audio accompaniment in step 3, the original singer's audio signal and the accompaniment audio file for calculating in original singer's audio file The time shift deviator of signal, by the time shift deviator, original singer's audio signal of aliging and the audio accompaniment signal obtain original singer's sound Difference section between frequency signal and the audio accompaniment signal.
The time shift deviator refers between original singer's audio signal of any song and the audio initial time of audio accompaniment signal Time difference, by determining the initial time of original singer's audio signal and the initial time of the audio accompaniment signal, audio letter Number initial time can be defined as the spectral energy values of audio signal and start from scratch the time for changing, calculate original singer's sound The time shift deviator of frequency signal and the audio accompaniment signal.
According to the time shift deviator, by original singer's audio signal and audio accompaniment signal alignment after, obtain original singer's audio letter Number and the audio accompaniment signal difference section, the difference section can be determined by audio volume control, it is also possible to by frequency spectrum energy The mode for measuring difference determines the difference section, and to the determination method of the difference section, the embodiment of the present invention is not construed as limiting.
Step 4, according to the difference section, generate the voice audio file.
The difference section is compressed to default code check, the voice audio file is obtained.Code check is audio signal The sample rate of data signal is converted into by analog signal, sample rate more high tone quality is better, for original singer's audio signal and accompaniment tone The music signals such as frequency signal need code check higher just to can guarantee that its tonequality, and for this voice signal of people's sound audio signals, Code check is reduced within the specific limits, can be saved memory space and its tonequality will not be influenced too much, therefore, by by people Sound audio signals are compressed to low bit- rate, generate voice audio file, the memory space of voice audio file can be reduced, so that more Downloaded beneficial to user.
202nd, the accompaniment audio file and the voice audio file are packed, obtains twin track file bag.
It is treated that the process that this pair accompaniment audio file and the voice audio file are packed is related to file packing Journey, the embodiment of the present invention is not repeated this.
203rd, when the accompaniment playing request to the specified song is received, the twin track file based on the specified song Bag, the accompaniment audio file is played by the first track, and the twin track file bag includes the accompaniment audio file and people's sound Frequency file.
When any multimedia application with original vocal accompaniment handoff functionality is in opening, the multimedia application can be with root Played according to the selection of user and specify multimedia file, that is to say, when the multimedia application is received to any multimedia file During playing request, the multimedia file is played in the multimedia application;When the multimedia application is received to any song During accompaniment playing request, the accompaniment tone in the twin track file bag of the song is played by the first track in the multimedia application Frequency file.
Further, while the accompaniment audio file in playing twin track file bag by the first track, can be with The voice audio file in the twin track file bag is played with mute state by the second track.
204th, when the first assigned operation is detected, the voice audio file is played by the second track, this first specify Operate for being original singer's pattern by current vocal accompaniment pattern switching.
In the broadcast interface of any multimedia application with original vocal accompaniment handoff functionality, former accompaniment function switching figure is provided with Mark, user can realize the switching of original singer's pattern and vocal accompaniment pattern by clicking on the icon, and specific method can be:When detecting User by play mode from vocal accompaniment pattern switching to original singer's pattern when, judge whether the second track is playing this pair with mute state Voice audio file in audio track files bag.
When second track does not play the voice audio file in the twin track file bag with mute state, by the double-tone Voice audio file in rail file bag is loaded onto the broadcasting buffer of the second track, and with the currently playing of accompaniment audio file Time, as starting point is played, the voice audio file is played in second track.
When second track is in the voice audio file during the twin track file bag is played with mute state, can pass through Volume control module opens broadcast sound volume, that is to say, when original singer's playing request of user is detected, triggering volume control mould Block, by the broadcast sound volume of second track from zero adjustment to default volume, the default volume can be to work as to the volume control module Preceding second track plays the volume, or system default default value of accompaniment audio file, and the embodiment of the present invention is not made to this Limit.
205th, when the second assigned operation is detected, the broadcasting of the second track is closed, second assigned operation is used for ought Preceding original singer's pattern switching is vocal accompaniment pattern.
Volume can be closed and realized by the broadcasting of the track of closing second by volume control module, it is also possible to by removing The voice audio file that current second track is played in buffer is realized.
The present invention realizes former vocal accompaniment switching by controlling the broadcasting of voice audio file, by by voice audio file and The twin track file bag of accompaniment audio file generation is used as played file so that loading velocity is accelerated, while also have accounting for With memory space it is small, beneficial to download the characteristics of;Further, corresponding voice is obtained by the method for audio-frequency fingerprint information matches Audio signal, by the audio signal carry out low-bit-rate compact formed voice audio file, with accuracy rate it is high the characteristics of, and due to The characteristics of voice audio file has occupancy memory space small, therefore the speed to load document in track can also be improved.
Fig. 3 is a kind of former vocal accompaniment switching device block diagram provided in an embodiment of the present invention.Reference picture 3, the device includes first The playing module 302 of playing module 301 and second.
First playing module 301, for when the accompaniment playing request to specifying song is received, based on the specified song Twin track file bag, by the first track play accompaniment audio file, the twin track file bag include the accompaniment audio file With voice audio file;
Second playing module 302, for when the first assigned operation is detected, people's sound audio being played by the second track File, it is original singer's pattern that first assigned operation is used for current vocal accompaniment pattern switching.
In the first possible implementation that the present invention is provided, the device also includes:
Processing module, for when the second assigned operation is detected, closing the broadcasting of the second track, second assigned operation For being vocal accompaniment pattern by current original singer's pattern switching.
In second possible implementation that the present invention is provided, the device also includes:
Acquisition module, for original singer's audio file and accompaniment audio file according to the specified song, obtains people's sound Frequency file;
Packetization module, for being packed to the accompaniment audio file and the voice audio file, obtains twin track text Part bag.
In the third possible implementation that the present invention is provided, the acquisition module is used for:
Original singer's audio-frequency fingerprint information of the specified song is extracted, original singer's audio-frequency fingerprint information is according to original singer's audio file Obtain;
According to original singer's audio-frequency fingerprint information, from song database, determine that audio-frequency fingerprint information refers to original singer's audio The audio file of line information matches, the accompaniment audio file is defined as by the audio file;
Calculate original singer's audio signal in original singer's audio file and the audio accompaniment signal in the accompaniment audio file Time shift deviator;
By the time shift deviator, original singer's audio signal of aliging and the audio accompaniment signal;
Obtain the difference section between original singer's audio signal and the audio accompaniment signal;
According to the difference section, the voice audio file is generated.
In the 4th kind of possible implementation that the present invention is provided, the acquisition module is used for:
The difference section is compressed to default code check, the voice audio file is obtained.
It should be noted that:The original that above-described embodiment is provided accompanies switching device in the former vocal accompaniment handoff functionality of triggering, only Carried out with the division of above-mentioned each functional module for example, in practical application, can as needed and by above-mentioned functions distribution by Different functional module is completed, will the internal structure of device be divided into different functional modules, it is described above complete to complete Portion or partial function.In addition, the former vocal accompaniment switching device that above-described embodiment is provided belongs to original vocal accompaniment changing method embodiment Same design, it implements process and refers to embodiment of the method, repeats no more here.
Fig. 4 is a kind of former vocal accompaniment switching device structural representation provided in an embodiment of the present invention.For example, device 400 can be with It is provided as a server.Reference picture 4, device 400 includes processing assembly 422, and it further includes one or more processors, And the memory resource as representated by memory 432, can for example should by the instruction of the execution of processing component 422 for storing Use program.In memory 432 store application program can include it is one or more each correspond to one group of instruction Module.Additionally, processing assembly 422 is configured as execute instruction, to perform above-mentioned former vocal accompaniment changing method.
Device 400 can also include that a power supply module 426 is configured as the power management of performs device 400, and one has Line or radio network interface 450 are configured as device 400 being connected to network, and input and output (I/O) interface 458.Dress Putting 400 can operate based on the operating system stored in memory 432, such as Windows ServerTM, Mac OS XTM, UnixTM,LinuxTM, FreeBSDTMOr it is similar.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware To complete, it is also possible to instruct the hardware of correlation to complete by program, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all it is of the invention spirit and Within principle, any modification, equivalent substitution and improvements made etc. should be included within the scope of the present invention.

Claims (6)

1. a kind of former vocal accompaniment changing method, it is characterised in that methods described includes:
The original singer's audio-frequency fingerprint information for specifying song is extracted, original singer's audio-frequency fingerprint information is obtained according to original singer's audio file;
According to original singer's audio-frequency fingerprint information, from song database, determine that audio-frequency fingerprint information refers to original singer's audio The audio file of line information matches, accompaniment audio file is defined as by the audio file;
Calculate audio accompaniment signal in the original singer's audio signal and the accompaniment audio file in original singer's audio file Time shift deviator;
By the time shift deviator, align original singer's audio signal and the audio accompaniment signal;
Obtain the difference section between original singer's audio signal and the audio accompaniment signal;
According to the difference section, voice audio file is generated;
The accompaniment audio file and the voice audio file are packed, twin track file bag is obtained;
When the accompaniment playing request to specifying song is received, the twin track file bag based on the specified song, by the One track plays the accompaniment audio file, and the twin track file bag includes the accompaniment audio file and people's sound audio File;
When the first assigned operation is detected, the voice audio file, first assigned operation are played by the second track For being original singer's pattern by current vocal accompaniment pattern switching.
2. method according to claim 1, it is characterised in that by the second track play the voice audio file it Afterwards, methods described also includes:
When the second assigned operation is detected, the broadcasting of the second track is closed, second assigned operation is used for current original singer Pattern switching is vocal accompaniment pattern.
3. method according to claim 1, it is characterised in that described according to the difference section, generation people sound audio text Part includes:
The difference section is compressed to default code check, the voice audio file is obtained.
4. a kind of former vocal accompaniment switching device, it is characterised in that described device includes:
Acquisition module, the original singer's audio-frequency fingerprint information for extracting specified song, original singer's audio-frequency fingerprint information is according to original singer Audio file is obtained;According to original singer's audio-frequency fingerprint information, from song database, determine audio-frequency fingerprint information with the original The audio file of audio-frequency fingerprint information matches is sung, the audio file is defined as accompaniment audio file;Calculate original singer's sound The time shift deviator of the audio accompaniment signal in original singer's audio signal and the accompaniment audio file in frequency file;By it is described when Deviator is moved, align original singer's audio signal and the audio accompaniment signal;Obtain original singer's audio signal and the accompaniment Difference section between audio signal;According to the difference section, voice audio file is generated;
Packetization module, for being packed to the accompaniment audio file and the voice audio file, obtains twin track file Bag;
First playing module, for when the accompaniment playing request to the specified song is received, based on the specified song Twin track file bag, by the first track play accompaniment audio file, the twin track file bag include the audio accompaniment File and the voice audio file;
Second playing module, for when the first assigned operation is detected, the voice audio file being played by the second track, It is original singer's pattern that first assigned operation is used for current vocal accompaniment pattern switching.
5. device according to claim 4, it is characterised in that described device also includes:
Processing module, for when the second assigned operation is detected, closing the broadcasting of the second track, second assigned operation is used In by current original singer's pattern switching be vocal accompaniment pattern.
6. device according to claim 4, it is characterised in that the acquisition module is used for:
The difference section is compressed to default code check, the voice audio file is obtained.
CN201510542924.9A 2015-08-27 2015-08-27 Original vocal accompaniment changing method and device Active CN105161120B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510542924.9A CN105161120B (en) 2015-08-27 2015-08-27 Original vocal accompaniment changing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510542924.9A CN105161120B (en) 2015-08-27 2015-08-27 Original vocal accompaniment changing method and device

Publications (2)

Publication Number Publication Date
CN105161120A CN105161120A (en) 2015-12-16
CN105161120B true CN105161120B (en) 2017-05-31

Family

ID=54801951

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510542924.9A Active CN105161120B (en) 2015-08-27 2015-08-27 Original vocal accompaniment changing method and device

Country Status (1)

Country Link
CN (1) CN105161120B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106448637B (en) * 2016-10-21 2018-09-04 广州酷狗计算机科技有限公司 A kind of method and apparatus sending audio data
CN106558299A (en) * 2016-12-01 2017-04-05 广州酷狗计算机科技有限公司 The mode switching method and device of audio rendition
CN106898369A (en) * 2017-02-23 2017-06-27 上海与德信息技术有限公司 A kind of method for playing music and device
CN109903745B (en) * 2017-12-07 2021-04-09 北京雷石天地电子技术有限公司 Method and system for generating accompaniment
CN109905789A (en) * 2017-12-10 2019-06-18 张德明 A kind of K song microphone
CN110097868A (en) * 2018-01-29 2019-08-06 阿里巴巴集团控股有限公司 Play the methods, devices and systems of music
CN108550377B (en) * 2018-03-15 2020-06-19 北京雷石天地电子技术有限公司 Method and system for rapidly switching audio tracks
CN110267083B (en) * 2019-06-18 2021-12-10 广州虎牙科技有限公司 Audio and video synchronization detection method, device, equipment and storage medium
CN112015505A (en) * 2020-08-13 2020-12-01 北京字节跳动网络技术有限公司 Mode switching method and device and electronic equipment
CN112000308B (en) * 2020-09-10 2023-04-18 成都拟合未来科技有限公司 Double-track audio playing control method, system, terminal and medium
CN113282269B (en) * 2021-06-25 2023-05-05 杭州网易云音乐科技有限公司 Audio playing method, device, storage medium and computing equipment
CN113473170B (en) * 2021-07-16 2023-08-25 广州繁星互娱信息科技有限公司 Live audio processing method, device, computer equipment and medium
CN113986191B (en) * 2021-12-27 2022-06-07 广州酷狗计算机科技有限公司 Audio playing method and device, terminal equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617572A (en) * 2003-10-06 2005-05-18 Lg电子株式会社 Image display device with built-in karaoke and method for controlling the same
JP2010160510A (en) * 1993-09-17 2010-07-22 Lg Electronics Inc Apparatus and method for processing digital audio data, and recording medium
CN102314932A (en) * 2010-07-06 2012-01-11 鸿富锦精密工业(深圳)有限公司 Portable electronic device
CN103578514A (en) * 2012-08-01 2014-02-12 北大方正集团有限公司 Song playing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130065213A1 (en) * 2011-09-13 2013-03-14 Harman International Industries, Incorporated System and method for adapting audio content for karaoke presentations

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010160510A (en) * 1993-09-17 2010-07-22 Lg Electronics Inc Apparatus and method for processing digital audio data, and recording medium
CN1617572A (en) * 2003-10-06 2005-05-18 Lg电子株式会社 Image display device with built-in karaoke and method for controlling the same
CN102314932A (en) * 2010-07-06 2012-01-11 鸿富锦精密工业(深圳)有限公司 Portable electronic device
CN103578514A (en) * 2012-08-01 2014-02-12 北大方正集团有限公司 Song playing method and device

Also Published As

Publication number Publication date
CN105161120A (en) 2015-12-16

Similar Documents

Publication Publication Date Title
CN105161120B (en) Original vocal accompaniment changing method and device
EP1550297B1 (en) Fingerprint extraction
CN106469557B (en) Method and device for providing accompaniment music
KR102614021B1 (en) Audio content recognition method and device
CN102063904B (en) Melody extraction method and melody recognition system for audio files
US20100023328A1 (en) Audio Recognition System
US20080221895A1 (en) Method and Apparatus for Processing Audio for Playback
US20240202238A1 (en) Multiple Stage Indexing of Audio Content
CN103366784B (en) There is multi-medium play method and the device of Voice command and singing search function
KR20040086350A (en) Efficient storage of fingerprints
US8892565B2 (en) Method and apparatus for accessing an audio file from a collection of audio files using tonal matching
Zhou et al. Music onset detection based on resonator time frequency image
CN105931634A (en) Audio screening method and device
US20140012572A1 (en) System and method for content recognition in portable devices
CN109644283A (en) Audio-frequency fingerprint identification based on audio power characteristic
CN105575414B (en) The generation method and device of lyrics file
CN108804474A (en) Acoustic signal processing method, audio similarity matching process and the device of song
CN112037739B (en) Data processing method and device and electronic equipment
CN105868424A (en) Audio file naming method and device and electronic equipment
CN108962286A (en) Audio identification methods, device and storage medium
CN106095943A (en) Give song recitals and know well range detection method and device
CN103870589B (en) A kind of voice data switching method and electronic equipment
EP2541813A1 (en) Device and method for controlling audio reproduction
Zhang et al. A novel singer identification method using GMM-UBM
EP3575989A1 (en) Method and device for processing multimedia data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder

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

Patentee after: Guangzhou KuGou Networks Co., Ltd.

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

Patentee before: Guangzhou KuGou Networks Co., Ltd.

CP02 Change in the address of a patent holder