CN104778958B - A kind of method and device of Noise song splicing - Google Patents
A kind of method and device of Noise song splicing Download PDFInfo
- Publication number
- CN104778958B CN104778958B CN201510125170.7A CN201510125170A CN104778958B CN 104778958 B CN104778958 B CN 104778958B CN 201510125170 A CN201510125170 A CN 201510125170A CN 104778958 B CN104778958 B CN 104778958B
- Authority
- CN
- China
- Prior art keywords
- audio files
- song
- song audio
- noise reduction
- noise
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 239000012634 fragment Substances 0.000 claims abstract description 89
- 238000011946 reduction process Methods 0.000 claims abstract description 69
- 230000009467 reduction Effects 0.000 claims abstract description 67
- 239000000284 extract Substances 0.000 claims abstract description 13
- 238000000605 extraction Methods 0.000 claims description 27
- 230000008859 change Effects 0.000 claims description 14
- 230000003595 spectral effect Effects 0.000 claims description 13
- 238000000926 separation method Methods 0.000 claims description 6
- 238000012163 sequencing technique Methods 0.000 claims description 4
- 238000003780 insertion Methods 0.000 claims description 3
- 230000037431 insertion Effects 0.000 claims description 3
- 238000001228 spectrum Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 238000010008 shearing Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 239000011435 rock Substances 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L25/00—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
- G10L25/78—Detection of presence or absence of voice signals
- G10L25/81—Detection of presence or absence of voice signals for discriminating voice from music
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L25/00—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
- G10L25/78—Detection of presence or absence of voice signals
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L25/00—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
- G10L25/78—Detection of presence or absence of voice signals
- G10L25/84—Detection of presence or absence of voice signals for discriminating voice from noise
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/02—Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
- G11B27/031—Electronic editing of digitised analogue information signals, e.g. audio or video signals
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
- G10H2210/00—Aspects or methods of musical processing having intrinsic musical character, i.e. involving musical theory or musical parameters or relying on musical knowledge, as applied in electrophonic musical tools or instruments
- G10H2210/101—Music Composition or musical creation; Tools or processes therefor
- G10H2210/125—Medley, i.e. linking parts of different musical pieces in one single piece, e.g. sound collage, DJ mix
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
- G10H2240/00—Data organisation or data communication aspects, specifically adapted for electrophonic musical tools or instruments
- G10H2240/011—Files or data streams containing coded musical information, e.g. for transmission
- G10H2240/016—File editing, i.e. modifying musical data files or streams as such
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
- G10H2250/00—Aspects of algorithms or signal processing methods without intrinsic musical character, yet specifically adapted for or used in electrophonic musical processing
- G10H2250/295—Noise generation, its use, control or rejection for music processing
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L25/00—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
- G10L25/78—Detection of presence or absence of voice signals
- G10L2025/783—Detection of presence or absence of voice signals based on threshold decision
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computational Linguistics (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Management Or Editing Of Information On Record Carriers (AREA)
Abstract
The embodiment of the invention discloses a kind of method of Noise song splicing, method includes:Obtain N number of song audio files;Judge whether contain noised audio file in N number of song audio files;If containing noised audio file in N number of song audio files, noise reduction process is carried out to the noised audio file in N number of song audio files, to obtain the noise reduction audio file that noise is less than threshold value;Do not carried out from N number of song audio files the noise reduction process song audio files and the noise reduction audio file in extract M fragment, wherein, M is integer more than 1;The M fragment is spliced according to preset order, to obtain splicing song audio files.The embodiment of the invention also discloses a kind of device of Noise song splicing.Noisy audio file can be sheared and spliced using the present invention, noise reduction process can be carried out to spliced audio file, to improve the tonequality of spliced audio file.
Description
Technical field
The present embodiments relate to audio signal processing technique field, more particularly to the method and dress of a kind of splicing of Noise song
Put.
Background technology
With the fast development of development of Mobile Internet technology, device (such as mobile phone, tablet personal computer, touch) and dedicated play machine
Also increasingly come Deng the pursuit to music.At present, the function broadcasting in the prior art to music is only limitted to improve itself
Tonequality processing, proper treatment is such as carried out to audio file inferior by the processing software carried in device or dedicated play machine,
To improve play quality;Or the quality requirement to audio file in itself is higher, often legal audio file can broadcast preferably
Effect, and to the Local treatment of audio file, as shearing technique, the technique of extracting are less.
In the prior art, the shearing to song depends on network software, and these softwares generally require artificial craft
Operation, it is impossible to be accurately positioned the accurate location of each lyrics.
The content of the invention
, can be to containing noisy song sound the embodiments of the invention provide a kind of method and device of Noise song splicing
Frequency file is sheared and spliced.
First aspect of the embodiment of the present invention provides a kind of method of Noise song splicing, including:
N number of song audio files are obtained, wherein, N is the integer more than 1;
Judge whether contain noised audio file in N number of song audio files, the noised audio file is noise
More than the noised audio file of noise threshold;
If containing noised audio file in N number of song audio files, described in N number of song audio files
Noised audio file carries out noise reduction process, to obtain the noise reduction audio file that noise is less than threshold value;
The song audio files of the noise reduction process and the noise reduction audio are not carried out from N number of song audio files
M fragment is extracted in file, wherein, M is the integer more than 1;
The M fragment is spliced according to preset order, to obtain splicing song audio files.
Second aspect of the embodiment of the present invention provides a kind of device of Noise song splicing, including:
Acquiring unit, for obtaining N number of song audio files, wherein, N is the integer more than 1;
First judging unit, for judging whether contain in N number of song audio files that the acquiring unit is got
There is noised audio file, the noised audio file is the noised audio file that noise is more than noise threshold;
First processing units, made an uproar for containing in judging N number of song audio files in first judging unit
During sound frequency file, noise reduction process is carried out to the noised audio file in N number of song audio files, to obtain noise
Less than the noise reduction audio file of threshold value;
First extraction unit, for not carrying out the song audio of the noise reduction process from N number of song audio files
M fragment is extracted in file and the noise reduction audio file, wherein, M is the integer more than 1;
Concatenation unit, the M fragment for extracting to obtain first extraction unit are carried out according to preset order
Splicing, to obtain splicing song audio files.
Implement the embodiment of the present invention, have the advantages that:
In the embodiment of the present invention, N number of song audio files are obtained, wherein, N is the integer more than 1;Judge N number of song
Whether noised audio file is contained in bent audio file, and the noised audio file is the noised audio that noise is more than noise threshold
File;If containing noised audio file in N number of song audio files, to making an uproar described in N number of song audio files
Sound frequency file carries out noise reduction process, to obtain the noise reduction audio file that noise is less than threshold value;From N number of song audio files
In do not carry out the noise reduction process song audio files and the noise reduction audio file in extract M fragment, wherein, M is big
In 1 integer;The M fragment is spliced according to preset order, to obtain splicing song audio files.Using the present invention
Noisy audio file can be sheared and spliced, noise reduction process can be carried out to spliced audio file, to improve splicing
The tonequality of audio file afterwards.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to required in embodiment, description
The accompanying drawing used is briefly described, it should be apparent that, drawings in the following description are only some realities of the embodiment of the present invention
Example is applied, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is a kind of first embodiment flow signal of the method for Noise song splicing provided in an embodiment of the present invention
Figure;
Fig. 2 is a kind of second embodiment flow signal of the method for Noise song splicing provided in an embodiment of the present invention
Figure;
Fig. 3 is a kind of 3rd embodiment flow signal of the method for Noise song splicing provided in an embodiment of the present invention
Figure;
Fig. 4 is a kind of fourth embodiment flow signal of the method for Noise song splicing provided in an embodiment of the present invention
Figure;
Fig. 5 is a kind of the 5th embodiment flow signal of the method for Noise song splicing provided in an embodiment of the present invention
Figure;
Fig. 6 is a kind of first embodiment structural representation of the device of Noise song splicing provided in an embodiment of the present invention
Figure;
Fig. 7 is a kind of second embodiment structural representation of the device of Noise song splicing provided in an embodiment of the present invention
Figure.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the embodiment of the present invention, rather than whole implementation
Example.Based on the embodiment in the embodiment of the present invention, those of ordinary skill in the art institute under the premise of creative work is not made
The every other embodiment obtained, belong to the scope of protection of the embodiment of the present invention.
Term " first ", " second ", " the 3rd " in description and claims of this specification and the accompanying drawing and "
Four " etc. be to be used to distinguish different objects, rather than for describing particular order.In addition, term " comprising " and " having " and it
Any deformation, it is intended that cover non-exclusive include.Such as contain the process of series of steps or unit, method, be
The step of system, product or equipment are not limited to list or unit, but alternatively also including the step of not listing or list
Member, or alternatively also include for the intrinsic other steps of these processes, method, product or equipment or unit.
In realization, in the embodiment of the present invention, device can include but is not limited to:Notebook computer, mobile phone, tablet personal computer,
Intelligent wearable device, player, MP3, MP4, intelligent television, set top box, server etc..The system of device refers to the behaviour of device
Make system, can include but is not limited to:Android system, Saipan system, Windows systems, the IOS (shiftings of Apple Inc.'s exploitation
Dynamic operating system) system etc..It should be noted that Android devices refer to the device of android system, Saipan device refers to plug
Device of class's system, etc..Said apparatus is only citing, and non exhaustive, including but not limited to said apparatus.
In realization, in the embodiment of the present invention, song can include but is not limited to:Chinese songs, English song, Russian song
Song, Spain's song, classic song, popular music song, rock music song, light music song, Chinese musical telling song, song of singing opera arias
Song in bent, video etc..Above-mentioned song is only citing, and non exhaustive, including but not limited to above-mentioned song.
In implementation process, the form of song may include but be not limited only to:MP3, MP4, WMV, WAV, FLV etc..Above-mentioned song
Bent form is only citing, and non exhaustive, including but not limited to the form of above-mentioned song.
Referring to Fig. 1, Fig. 1 is a kind of embodiment flow of the method for Noise song splicing provided in an embodiment of the present invention
Schematic diagram.The method of Noise song splicing described in the present embodiment, including step:
S101, obtain N number of song audio files.
Specifically, N number of song audio files can be obtained from Noise song splicing apparatus, also can be from acquisition for mobile terminal
N number of song audio files, or N number of song audio files are obtained from other modes, wherein, N is the integer more than 1, mobile whole
End for example can be mobile phone, tablet personal computer, notebook computer, palm PC, mobile internet device (MID, mobile
Internet device), wearable device (such as intelligent watch (such as iwatch), Intelligent bracelet, pedometer etc.) or other
Can installation and deployment instant messaging applications client terminal device, store the N number of song audio files got, store the N
The position of individual song audio files can be that Noise song splicing apparatus is local, or high in the clouds, or other memory spaces.
S102, judge whether contain noised audio file in N number of song audio files, the noised audio file is
Noise is more than the noised audio file of noise threshold.
Specifically, judge whether contain noise in N number of song audio files, wherein, noise can be that a kind of interference is believed
Number, it can influence the tonequality of audio file.Under normal circumstances, noise is a kind of random signal, can be by being carried out to audio file
Simple analysis, so as to judge whether contain noise in N number of song audio files.
As a kind of possible embodiment, noise size is determined by it to the annoyance level of audio file, normal conditions
Under, noise can interfere in some reproduction time section of audio file.
S103, noise reduction process is carried out to the noised audio file in N number of song audio files, to obtain noise
Less than the noise reduction audio file of threshold value.
If specifically, judge to contain noised audio file in N number of song audio files, to N number of song
The noised audio file in audio file carries out noise reduction process, to obtain the noise reduction audio file that noise is less than threshold value, obtains
To N number of noise reduction audio file, and N number of noise reduction audio file is stored, the position for storing N number of noise reduction audio file can be with
It is that Noise song splicing apparatus is local, or high in the clouds, or other memory spaces.
S104, the song audio files of the noise reduction process and the drop are not carried out from N number of song audio files
M fragment is extracted in noise frequency file.
Specifically, from the memory space i's and the storage noise reduction audio file for storing N number of song audio files
M fragment is extracted in memory space j altogether, and the M fragment that extraction is obtained is stored into the memory space of fragment to be spliced,
Wherein, M is the integer more than 1.
S105, the M fragment spliced according to preset order, to obtain splicing song audio files.
Specifically, the M fragment being stored in the memory space of fragment to be spliced is spelled according to preset order
Connect, to obtain splicing song audio files, wherein, the preset order can add the memory space of the fragment to be spliced
Time sequencing or Noise song splicing apparatus random sequence set in advance, or other order.
In the embodiment of the present invention, N number of song audio files are obtained, wherein, N is the integer more than 1;Judge N number of song
Whether noised audio file is contained in bent audio file, and the noised audio file is the noised audio that noise is more than noise threshold
File;If containing noised audio file in N number of song audio files, to making an uproar described in N number of song audio files
Sound frequency file carries out noise reduction process, to obtain the noise reduction audio file that noise is less than threshold value;From N number of song audio files
In do not carry out the noise reduction process song audio files and the noise reduction audio file in extract M fragment, wherein, M is big
In 1 integer;The M fragment is spliced according to preset order, to obtain splicing song audio files.Using the present invention
Noisy audio file can be sheared and spliced, noise reduction process can be carried out to spliced audio file, to improve splicing
The tonequality of audio file afterwards.
Referring to Fig. 2, Fig. 2 is a kind of second embodiment of the method for Noise song splicing provided in an embodiment of the present invention
Schematic flow sheet, including step:
S201, analysis N number of song audio files, to obtain N number of song audio files spectral change rule.
Specifically, can be by N number of song audio files described in audio file frequency spectrum processing device analysis, to obtain the N
Individual song audio files spectral change rule.
S202, according to N number of song audio files spectral change rule judge in N number of song audio files whether
Contain noised audio file.
Made an uproar specifically, judging whether to contain in N number of song audio files according to N number of song audio files spectral change rule
Sound frequency file.Frequency spectrum under the frequency spectrum and noise situations under normal circumstances of each song audio files is subjected to analysis ratio
It is right, if it is noise spectrum to have the frequency spectrum that more significantly fluctuates in song audio files, the song audio containing noise spectrum
File is noisy song audio files.
In the embodiment of the present invention, N number of song audio files are analyzed, to obtain N number of song audio files frequency spectrum
Changing rule;Judge whether contain in N number of song audio files according to N number of song audio files spectral change rule
Noised audio file, so as to can determine that whether N number of song audio files contain noised audio file.
Referring to Fig. 3, Fig. 3 is a kind of 3rd embodiment of the method for Noise song splicing provided in an embodiment of the present invention
Schematic flow sheet, including step:
The song audio files of the noise reduction process and described are not carried out in S301, extraction N number of song audio files
The original singer part of noise reduction audio file.
Specifically, extract the song audio files for not carrying out noise reduction process in N number of song audio files and noise reduction audio text
The original singer part of part.Under normal circumstances, song audio files can include original singer part and full band section, can be to song audio files
Separated, extract the original singer part of song audio files.
S302, determine not carry out song audio files of the noise reduction process and described in N number of song audio files
The initial time of each sound bite in the original singer part of noise reduction audio file and end time.
Specifically, determine not carry out the song audio files of noise reduction process and noise reduction audio text in N number of song audio files
The initial time of each sound bite in the original singer part of part and end time.Can be by the speech Separation of original singer part into one
The sentence fragment of one, each sentence fragment have corresponding initial time and end time.
S303, according to the song audio files that do not carry out the noise reduction process in N number of song audio files and described
The initial time of each sound bite in the original singer part of noise reduction audio file and end time are sheared, with described in extraction
M fragment.
Specifically, according to song audio files and the noise reduction audio text for not carrying out noise reduction process in N number of song audio files
The initial time of each sound bite in the original singer part of part and end time are sheared, to extract the M fragment.Can
The sentence fragment one by one that the speech Separation of original singer part is gone out has corresponding initial time according to each sentence fragment
Sheared with the end time, to extract M fragment.
The embodiment of the present invention extracts the song audio files for not carrying out the noise reduction process in N number of song audio files
And the original singer part of the noise reduction audio file;Determine not carry out the song of the noise reduction process in N number of song audio files
The initial time of each sound bite in the original singer part of bent audio file and the noise reduction audio file and end time;Press
According to the song audio files and the original of the noise reduction audio file for not carrying out the noise reduction process in N number of song audio files
The initial time and end time for singing each sound bite in part are sheared, to extract the M fragment.Using this hair
Bright embodiment can be sheared to song audio files, obtain the fragment that song audio files include.
Referring to Fig. 4, Fig. 4 is a kind of fourth embodiment of the method for Noise song splicing provided in an embodiment of the present invention
Schematic flow sheet, including step:
The song audio files of the noise reduction process and described are not carried out in S401, extraction N number of song audio files
The full band section of noise reduction audio file.
Specifically, extract the song audio files for not carrying out noise reduction process in N number of song audio files and noise reduction audio text
The full band section of part.Under normal circumstances, song audio files can include original singer part and full band section, can be to song audio files
Separated, extract the full band section of song audio files.
S402, determine not carry out song audio files of the noise reduction process and described in N number of song audio files
The initial time of each tune fragment in the full band section of noise reduction audio file and end time.
Specifically, determine not carry out the song audio files of noise reduction process and noise reduction audio text in N number of song audio files
Initial time and the end time of each tune fragment in part are sung in the accompaniment of part.Can be by the speech Separation of full band section into one
The sentence fragment of individual one, each sentence fragment have corresponding initial time and end time.
S403, according to the song audio files that do not carry out the noise reduction process in N number of song audio files and described
The initial time of each tune fragment in the full band section of noise reduction audio file and end time are sheared, with described in extraction
M fragment.
Specifically, according to song audio files and the noise reduction audio text for not carrying out noise reduction process in N number of song audio files
The initial time of each sound bite in the full band section of part and end time are sheared, to extract the M fragment.Can
The sentence fragment one by one that the speech Separation of full band section is gone out has corresponding initial time according to each sentence fragment
Sheared with the end time, to extract M fragment.
The embodiment of the present invention extracts the song audio files for not carrying out the noise reduction process in N number of song audio files
And the full band section of the noise reduction audio file;Determine not carry out the song of the noise reduction process in N number of song audio files
The initial time of each tune fragment in the full band section of bent audio file and the noise reduction audio file and end time;Press
According to the song audio files for not carrying out the noise reduction process in N number of song audio files and the companion of the noise reduction audio file
The initial time and end time for playing each tune fragment in part are sheared, to extract the M fragment.Using this hair
Bright embodiment can be sheared to song audio files, obtain the fragment that song audio files include.
Referring to Fig. 5, Fig. 5 is a kind of the 5th embodiment of the method for Noise song splicing provided in an embodiment of the present invention
Schematic flow sheet, including step:
S501, obtain N number of song audio files.
Specifically, N number of song audio files can be obtained from Noise song splicing apparatus, also can be from acquisition for mobile terminal
N number of song audio files, or N number of song audio files are obtained from other modes, wherein, N is the integer more than 1, mobile whole
End for example can be mobile phone, tablet personal computer, notebook computer, palm PC, mobile internet device (MID, mobile
Internet device), wearable device (such as intelligent watch (such as iwatch), Intelligent bracelet, pedometer etc.) or other
Can installation and deployment instant messaging applications client terminal device, store the N number of song audio files got, store the N
The position of individual song audio files can be that Noise song splicing apparatus is local, or high in the clouds, or other memory spaces.
S502, judge whether contain noised audio file in N number of song audio files, the noised audio file is
Noise is more than the noised audio file of noise threshold.
Specifically, judge whether contain noise in N number of song audio files, wherein, noise can be that a kind of interference is believed
Number, it can influence the tonequality of audio file.Under normal circumstances, noise is a kind of random signal, can be by being carried out to audio file
Simple analysis, so as to judge whether contain noise in N number of song audio files.
As a kind of possible embodiment, noise size is determined by it to the annoyance level of audio file, normal conditions
Under, noise can interfere in some reproduction time section of audio file.
S503, noise reduction process is carried out to the noised audio file in N number of song audio files, to obtain noise
Less than the noise reduction audio file of threshold value.
If specifically, judge to contain noised audio file in N number of song audio files, to N number of song
The noised audio file in audio file carries out noise reduction process, to obtain the noise reduction audio file that noise is less than threshold value, obtains
To N number of noise reduction audio file, and N number of noise reduction audio file is stored, the position for storing N number of noise reduction audio file can be with
It is that Noise song splicing apparatus is local, or high in the clouds, or other memory spaces.
S504, the song audio files of the noise reduction process and the drop are not carried out from N number of song audio files
M fragment is extracted in noise frequency file.
Specifically, from the memory space i's and the storage noise reduction audio file for storing N number of song audio files
M fragment is extracted in memory space j altogether, and the M fragment that extraction is obtained is stored into the memory space of fragment to be spliced,
Wherein, M is the integer more than 1.
S505, the M fragment spliced according to preset order, to obtain splicing song audio files.
Specifically, the M fragment being stored in the memory space of fragment to be spliced is spelled according to preset order
Connect, to obtain splicing song audio files, wherein, the preset order can add the memory space of the fragment to be spliced
Time sequencing or Noise song splicing apparatus random sequence set in advance, or other order.
S506, the locking splicing song audio files stitching position.
Specifically, the splicing place of the high-quality splicing song of locking.It is seamless spliced in order to realize, it is thus impossible to show spelling
The vestige connect splices place, it is necessary to lock, and it is pre-processed.
S507, by it is described splicing song audio files stitching position handled, to obtain seamless spliced song audio
File.
Specifically, the stitching position of the splicing song audio files is handled, to obtain seamless spliced song sound
Frequency file.Wherein, pretreatment may include but be not limited only to:To splice song splicing place march key it is whole, insertion change
The similar tune of degree, the splicing place larger to amplitude of variation are smoothed.
The embodiment of the present invention obtains N number of song audio files, wherein, N is the integer more than 1;Judge N number of song sound
Whether noised audio file is contained in frequency file, and the noised audio file is the noised audio text that noise is more than noise threshold
Part;If contain noised audio file in N number of song audio files, to the noise in N number of song audio files
Audio file carries out noise reduction process, to obtain the noise reduction audio file that noise is less than threshold value;From N number of song audio files
Do not carry out the noise reduction process song audio files and the noise reduction audio file in extract M fragment, wherein, M is more than 1
Integer;The M fragment is spliced according to preset order, to obtain splicing song audio files, locking is described high-quality
Splice the splicing place of song;The splicing place of the splicing song is subjected to default processing, to obtain seamless spliced song.Adopt
Splicing song audio files can be carried out with default processing with the embodiment of the present invention, to obtain the preferable song of seamless and tonequality.
Referring to Fig. 6, Fig. 6 is a kind of first embodiment knot of Noise song splicing apparatus provided in an embodiment of the present invention
Structure schematic diagram, wherein, Noise song splicing apparatus shown in Fig. 6 can include acquiring unit 601, the first judging unit 602,
First processing units 603, the first extraction unit 604, concatenation unit 605 are specific as follows:
Acquiring unit 601, for obtaining N number of song audio files, wherein, N is the integer more than 1.
First judging unit 602, for judge in N number of song audio files that the acquiring unit is got whether
Containing noised audio file, the noised audio file is the noised audio file that noise is more than noise threshold.
Specifically, first judging unit 602 includes:Analytic unit (not shown), for analyzing N number of song sound
Frequency file, to obtain N number of song audio files spectral change rule;Second judging unit (not shown), for according to institute
N number of song audio files spectral change rule that analytic unit is analyzed to obtain is stated to judge in N number of song audio files
Whether noised audio file is contained.
First processing units 603, for judging to contain in N number of song audio files in first judging unit
During noised audio file, noise reduction process is carried out to the noised audio file in N number of song audio files, made an uproar with obtaining
Sound is less than the noise reduction audio file of threshold value.
First extraction unit 604, for not carrying out the song sound of the noise reduction process from N number of song audio files
M fragment is extracted in frequency file and the noise reduction audio file, wherein, M is the integer more than 1.
Specifically, first extraction unit 604 includes:Second extraction unit (not shown), for extracting N number of song
The song audio files of the noise reduction process and the original singer part of the noise reduction audio file are not carried out in bent audio file;First
Determining unit (not shown), for not entering in N number of song audio files for determining second extraction unit to extract to obtain
Of the song audio files of the row noise reduction process and each sound bite in the original singer part of the noise reduction audio file
Begin time and end time;First cut cells (not shown), for the N for determining to obtain according to first determining unit
The song audio files of the noise reduction process and the original singer part of the noise reduction audio file are not carried out in individual song audio files
In each sound bite initial time and the end time sheared, to extract the M fragment.
Specifically, first extraction unit 604 includes:3rd extraction unit (not shown), for extracting N number of song
The song audio files of the noise reduction process and the full band section of the noise reduction audio file are not carried out in bent audio file;Second
Determining unit (not shown), for determining not carry out the noise reduction in N number of song audio files described in the 3rd extraction unit
The initial time and knot of each tune fragment in the full band section of the song audio files of processing and the noise reduction audio file
The beam time;Second cut cells (not shown), for the N number of song audio for determining to obtain according to second determining unit
Each song in the song audio files of the noise reduction process and the full band section of the noise reduction audio file is not carried out in file
The initial time and end time for adjusting fragment are sheared, to extract the M fragment.
Concatenation unit 605, the M fragment for extracting to obtain first extraction unit are entered according to preset order
Row splicing, to obtain splicing song audio files.
Optionally, after the concatenation unit 605 is spliced the M fragment according to preset order, described device
Also include:Lock the stitching position of the splicing song audio files;The stitching position of the splicing song audio files is entered
Row processing, to obtain seamless spliced song audio files.
It is understood that the function of each functional module of the Noise song splicing apparatus of the present embodiment can be according to described
Method specific implementation in embodiment of the method, its specific implementation process are referred to the associated description of methods described embodiment, this
Place repeats no more.
In the embodiment of the present invention, acquiring unit 601 obtains N number of song audio files, wherein, N is the integer more than 1;The
Whether one judging unit 602 is judged in N number of song audio files that the acquiring unit is got containing noised audio text
Part, the noised audio file are the noised audio file that noise is more than noise threshold;First processing units 603 are described first
When judging unit judges to contain in N number of song audio files noised audio file, in N number of song audio files
The noised audio file carry out noise reduction process, with obtain noise be less than threshold value noise reduction audio file;First extraction unit
604 do not carry out the song audio files of the noise reduction process and the noise reduction audio file from N number of song audio files
M fragment of middle extraction, wherein, M is the integer more than 1;Described in first extraction unit is extracted to obtain by concatenation unit 605
M fragment is spliced according to preset order, to obtain splicing song audio files;Lock cell, for locking the splicing
The stitching position of song audio files;Second processing unit, for by the splicing song audio of the locking unit locks
The stitching position of file is handled, to obtain seamless spliced song audio files.Can be to noisy audio text using the present invention
Part is sheared and spliced, and noise reduction process can be carried out to spliced audio file, to improve the sound of spliced audio file
Matter.
Referring to Fig. 7, Fig. 7 is a kind of second embodiment knot of the device of Noise song splicing provided in an embodiment of the present invention
Structure schematic diagram.Noise song splicing apparatus described in the present embodiment includes:At least one input equipment 1000;At least one
Individual output equipment 2000;At least one processor 3000, such as CPU;With memory 4000, above-mentioned input equipment 1000, output
Equipment 2000, processor 3000 and memory 4000 are connected by bus 5000.
Wherein, above-mentioned input equipment 1000 can be contact panel, common PC, liquid crystal display, touch screen etc..
Above-mentioned memory 4000 can be high-speed RAM memory, or non-labile memory (non-volatile
), such as magnetic disk storage memory.Above-mentioned memory 4000 is used to store batch processing code, above-mentioned input equipment 1000, defeated
Go out equipment 2000 and processor 3000 is used to call the program code stored in memory 4000, perform following operation:
Above-mentioned processor 3000, for obtaining N number of song audio files, wherein, N is the integer more than 1;
Above-mentioned processor 3000, it is additionally operable to judge in N number of song audio files whether contain noised audio file, institute
State the noised audio file that noised audio file is more than noise threshold for noise;
Above-mentioned processor 3000, it is additionally operable to when containing noised audio file in judging N number of song audio files,
Noise reduction process is carried out to the noised audio file in N number of song audio files, to obtain the drop that noise is less than threshold value
Noise frequency file;
Above-mentioned processor 3000, it is additionally operable to not carry out the song of the noise reduction process from N number of song audio files
M fragment is extracted in audio file and the noise reduction audio file, wherein, M is the integer more than 1;
Above-mentioned processor 3000, it is additionally operable to be spliced the M fragment according to preset order, to obtain splicing song
Audio file.
In some feasible embodiments, above-mentioned processor 3000 also particularly useful for:
N number of song audio files are analyzed, to obtain N number of song audio files spectral change rule;
Judge whether contain in N number of song audio files according to N number of song audio files spectral change rule
Noised audio file.
In some feasible embodiments, above-mentioned processor 3000 also particularly useful for:
Extract and do not carry out the song audio files of the noise reduction process and the noise-reducing in N number of song audio files
The original singer part of frequency file;
Determine not carrying out the song audio files of the noise reduction process and the noise-reducing in N number of song audio files
The initial time of each sound bite in the original singer part of frequency file and end time;
According to not carrying out the song audio files of the noise reduction process and the noise-reducing in N number of song audio files
The initial time of each sound bite in the original singer part of frequency file and end time are sheared, to extract the M piece
Section.
In some feasible embodiments, above-mentioned processor 3000 also particularly useful for:
Extract and do not carry out the song audio files of the noise reduction process and the noise-reducing in N number of song audio files
The full band section of frequency file;
Determine not carrying out the song audio files of the noise reduction process and the noise-reducing in N number of song audio files
The initial time of each tune fragment in the full band section of frequency file and end time;
According to not carrying out the song audio files of the noise reduction process and the noise-reducing in N number of song audio files
The initial time of each tune fragment in the full band section of frequency file and end time are sheared, to extract the M piece
Section.
In some feasible embodiments, the M fragment is spelled according to preset order in above-mentioned processor 3000
Connect, with obtain splice song audio files after above-mentioned processor 3000 also particularly useful for:
Lock the stitching position of the splicing song audio files;
The stitching position of the splicing song audio files is handled, to obtain seamless spliced song audio files.
In the specific implementation, input equipment 1000, output equipment 2000 and processor described in the embodiment of the present invention
3000 can perform each embodiment of the method for the Noise song splicing described in Fig. 1~Fig. 5 provided in an embodiment of the present invention
Described in implementation, also can perform the embodiment of the present invention provide Noise song splicing apparatus first embodiment in institute
The implementation of the Noise song splicing apparatus of description, will not be repeated here.
Module or submodule in all embodiments of the embodiment of the present invention, can pass through universal integrated circuit, such as CPU
(Central Processing Unit, central processing unit), or pass through ASIC (Application Specific
Integrated Circuit, application specific integrated circuit) realize.
Step in present invention method can be sequentially adjusted, merged and deleted according to actual needs.
Unit in device of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with
The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium
In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, abbreviation RAM) etc..
Above disclosed is only preferred embodiment of the embodiment of the present invention, certainly can not be of the invention real to limit with this
The interest field of example, therefore the equivalent variations made according to claim of the embodiment of the present invention are applied, still belongs to the embodiment of the present invention and is contained
The scope of lid.
Claims (4)
- A kind of 1. method of Noise song splicing, it is characterised in that including:N number of song audio files are obtained, wherein, N is the integer more than 1;Judge whether contain noised audio file in N number of song audio files, the noised audio file is more than for noise The noised audio file of noise threshold;If contain noised audio file in N number of song audio files, to the noise in N number of song audio files Audio file carries out noise reduction process, to obtain the noise reduction audio file that noise is less than threshold value;The song audio files of the noise reduction process and the noise reduction audio file are not carried out from N number of song audio files M fragment of middle extraction, wherein, M is the integer more than 1;The M fragment is spliced according to preset order, to obtain splicing song audio files, the M fragment storage In the memory space for storing fragment to be spliced, the preset order is that the M fragment adds the fragment to be spliced The time sequencing of memory space;Lock the stitching position of the splicing song audio files;The stitching position of the splicing song audio files is handled, to obtain seamless spliced song audio files, wherein, The processing includes:Or insertion intensity of variation whole to the splicing place march key for splicing song audio files is similar Tune;Wherein, the song audio files for not carrying out the noise reduction process from N number of song audio files and the drop M fragment is extracted in noise frequency file, including:Extract the song audio files for not carrying out the noise reduction process in N number of song audio files and noise reduction audio text The full band section of part;Determine not carry out the song audio files and noise reduction audio text of the noise reduction process in N number of song audio files It is the initial time of each tune fragment in the full band section of part and end time, described to determine N number of song audio files In do not carry out each tune piece in the song audio files of the noise reduction process and the full band section of the noise reduction audio file The initial time and end time of section include:By the speech Separation of the full band section into sentence fragment one by one, each Sentence fragment has corresponding initial time and end time;According to the song audio files for not carrying out the noise reduction process in N number of song audio files and noise reduction audio text The initial time of each tune fragment in the full band section of part and end time are sheared, to extract the M fragment.
- 2. the method as described in claim 1, it is characterised in that described to judge whether contain noise in N number of song audio files Audio file, including:N number of song audio files are analyzed, to obtain N number of song audio files spectral change rule;Judge whether contain noise in N number of song audio files according to N number of song audio files spectral change rule Audio file.
- A kind of 3. Noise song splicing apparatus, it is characterised in that including:Acquiring unit, for obtaining N number of song audio files, wherein, N is the integer more than 1;First judging unit, for whether judging in N number of song audio files that the acquiring unit is got containing making an uproar Sound frequency file, the noised audio file are the noised audio file that noise is more than noise threshold;First processing units, for containing noise sound in judging N number of song audio files in first judging unit During frequency file, noise reduction process is carried out to the noised audio file in N number of song audio files, is less than with obtaining noise The noise reduction audio file of threshold value;First extraction unit, for not carrying out the song audio files of the noise reduction process from N number of song audio files And M fragment is extracted in the noise reduction audio file, wherein, M is the integer more than 1;Concatenation unit, the M fragment for extracting to obtain first extraction unit are spliced according to preset order, Splice song audio files to obtain, the M fragment is stored in the memory space for storing fragment to be spliced, described default Order adds the time sequencing of the memory space of the fragment to be spliced for the M fragment;Lock cell, for locking the stitching position of the splicing song audio files;Second processing unit, for by the stitching position of the splicing song audio files of the locking unit locks Reason, to obtain seamless spliced song audio files, wherein, the processing includes:Splicing to the splicing song audio files The tune that local march key is whole or insertion intensity of variation is similar;Wherein, first extraction unit includes:3rd extraction unit, the song audio text of the noise reduction process is not carried out in N number of song audio files for extracting The full band section of part and the noise reduction audio file;Second determining unit, for determining not carry out the noise reduction in N number of song audio files described in the 3rd extraction unit The initial time and knot of each tune fragment in the full band section of the song audio files of processing and the noise reduction audio file Beam time, the song for determining not carrying out the noise reduction process in N number of song audio files described in the 3rd extraction unit The initial time of each tune fragment in the full band section of audio file and the noise reduction audio file and end time include: By the speech Separation of the full band section into sentence fragment one by one, each sentence fragment have corresponding initial time with End time;Second cut cells, for not entering in N number of song audio files for determining to obtain according to second determining unit Of the song audio files of the row noise reduction process and each tune fragment in the full band section of the noise reduction audio file Time beginning and end time are sheared, to extract the M fragment.
- 4. device as claimed in claim 3, it is characterised in that first judging unit includes:Analytic unit, for analyzing N number of song audio files, advised with obtaining N number of song audio files spectral change Rule;Second judging unit, N number of song audio files spectral change for analyzing to obtain according to the analytic unit are advised Rule judges whether contain noised audio file in N number of song audio files.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510125170.7A CN104778958B (en) | 2015-03-20 | 2015-03-20 | A kind of method and device of Noise song splicing |
CN201710996071.5A CN107622775B (en) | 2015-03-20 | 2015-03-20 | Method for splicing songs containing noise and related products |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510125170.7A CN104778958B (en) | 2015-03-20 | 2015-03-20 | A kind of method and device of Noise song splicing |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710996071.5A Division CN107622775B (en) | 2015-03-20 | 2015-03-20 | Method for splicing songs containing noise and related products |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104778958A CN104778958A (en) | 2015-07-15 |
CN104778958B true CN104778958B (en) | 2017-11-24 |
Family
ID=53620385
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710996071.5A Expired - Fee Related CN107622775B (en) | 2015-03-20 | 2015-03-20 | Method for splicing songs containing noise and related products |
CN201510125170.7A Expired - Fee Related CN104778958B (en) | 2015-03-20 | 2015-03-20 | A kind of method and device of Noise song splicing |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710996071.5A Expired - Fee Related CN107622775B (en) | 2015-03-20 | 2015-03-20 | Method for splicing songs containing noise and related products |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN107622775B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106970950B (en) * | 2017-03-07 | 2021-08-24 | 腾讯音乐娱乐(深圳)有限公司 | Similar audio data searching method and device |
CN107591149B (en) * | 2017-09-18 | 2021-09-28 | 腾讯音乐娱乐科技(深圳)有限公司 | Audio synthesis method, device and storage medium |
CN109949792B (en) * | 2019-03-28 | 2021-08-13 | 优信拍(北京)信息科技有限公司 | Multi-audio synthesis method and device |
CN112037739B (en) * | 2020-09-01 | 2024-02-27 | 腾讯音乐娱乐科技(深圳)有限公司 | Data processing method and device and electronic equipment |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7948981B1 (en) * | 2006-10-23 | 2011-05-24 | Adobe Systems Incorpoated | Methods and apparatus for representing audio data |
US8660845B1 (en) * | 2007-10-16 | 2014-02-25 | Adobe Systems Incorporated | Automatic separation of audio data |
JP2012027186A (en) * | 2010-07-22 | 2012-02-09 | Sony Corp | Sound signal processing apparatus, sound signal processing method and program |
CN102467939B (en) * | 2010-11-04 | 2014-08-13 | 北京彩云在线技术开发有限公司 | Song audio frequency cutting apparatus and method thereof |
CN102568527A (en) * | 2011-12-20 | 2012-07-11 | 广东步步高电子工业有限公司 | Method and system for easily cutting audio files and applied mobile handheld device |
CN203070769U (en) * | 2013-02-26 | 2013-07-17 | 珠海市杰理科技有限公司 | Automatic denoising device for audio playing and audio player |
CN103943113B (en) * | 2014-04-15 | 2017-11-07 | 福建星网视易信息系统有限公司 | The method and apparatus that a kind of song goes accompaniment |
CN104112444B (en) * | 2014-07-28 | 2018-11-06 | 中国科学院自动化研究所 | A kind of waveform concatenation phoneme synthesizing method based on text message |
CN104244086A (en) * | 2014-09-03 | 2014-12-24 | 陈飞 | Video real-time splicing device and method based on real-time conversation semantic analysis |
-
2015
- 2015-03-20 CN CN201710996071.5A patent/CN107622775B/en not_active Expired - Fee Related
- 2015-03-20 CN CN201510125170.7A patent/CN104778958B/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN104778958A (en) | 2015-07-15 |
CN107622775B (en) | 2020-12-18 |
CN107622775A (en) | 2018-01-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104778216B (en) | Method and device for processing songs with preset styles | |
CN104778958B (en) | A kind of method and device of Noise song splicing | |
CN107943405A (en) | Sound broadcasting device, method, browser and user terminal | |
EP3896596A1 (en) | Information processing device, information processing method and program | |
US20220047954A1 (en) | Game playing method and system based on a multimedia file | |
US12119023B2 (en) | Audio onset detection method and apparatus | |
CN104778957B (en) | A kind of method and device of song audio processing | |
CN104778217B (en) | A kind of song stitching algorithm and device | |
CN104778221A (en) | Music collaborate splicing method and device | |
CN104756181A (en) | Playback apparatus, setting apparatus, playback method, and program | |
CN104778220B (en) | A kind of method and device for song splicing of singing opera arias | |
EP3518530B1 (en) | Information processing apparatus, information processing method, program for scheduling the recording of a broadcast program | |
CN108664392A (en) | A kind of application testing method, device, terminal and storage medium | |
CN104778219B (en) | A kind of method and device of default effect song splicing | |
CN104575545B (en) | A kind of generation method of list to be played | |
KR100849848B1 (en) | Apparatus and method for outputting voice | |
CN104598229B (en) | A kind of terminal | |
CN113778717A (en) | Content sharing method, device, equipment and storage medium | |
CN115484503B (en) | Bullet screen generation method and device, electronic equipment and storage medium | |
US20240184516A1 (en) | Navigating and completing web forms using audio | |
CN112216275B (en) | Voice information processing method and device and electronic equipment | |
Culleton | Production and perception of English vowels by second language learners | |
JP2010501927A (en) | Information terminal equipped with content search system | |
KR100337843B1 (en) | Method for displaying caption of real audio data | |
CN117440206A (en) | Special effect processing method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20171124 |