CN104778958A - Method and device for splicing noise-containing songs - Google Patents

Method and device for splicing noise-containing songs Download PDF

Info

Publication number
CN104778958A
CN104778958A CN201510125170.7A CN201510125170A CN104778958A CN 104778958 A CN104778958 A CN 104778958A CN 201510125170 A CN201510125170 A CN 201510125170A CN 104778958 A CN104778958 A CN 104778958A
Authority
CN
China
Prior art keywords
audio files
song
noise reduction
song audio
audio file
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.)
Granted
Application number
CN201510125170.7A
Other languages
Chinese (zh)
Other versions
CN104778958B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710996071.5A priority Critical patent/CN107622775B/en
Priority to CN201510125170.7A priority patent/CN104778958B/en
Publication of CN104778958A publication Critical patent/CN104778958A/en
Application granted granted Critical
Publication of CN104778958B publication Critical patent/CN104778958B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/78Detection of presence or absence of voice signals
    • G10L25/81Detection of presence or absence of voice signals for discriminating voice from music
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/78Detection of presence or absence of voice signals
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/78Detection of presence or absence of voice signals
    • G10L25/84Detection of presence or absence of voice signals for discriminating voice from noise
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
    • G11B27/031Electronic editing of digitised analogue information signals, e.g. audio or video signals
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC 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/00Aspects 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/101Music Composition or musical creation; Tools or processes therefor
    • G10H2210/125Medley, i.e. linking parts of different musical pieces in one single piece, e.g. sound collage, DJ mix
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC 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/00Data organisation or data communication aspects, specifically adapted for electrophonic musical tools or instruments
    • G10H2240/011Files or data streams containing coded musical information, e.g. for transmission
    • G10H2240/016File editing, i.e. modifying musical data files or streams as such
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC 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/00Aspects of algorithms or signal processing methods without intrinsic musical character, yet specifically adapted for or used in electrophonic musical processing
    • G10H2250/295Noise generation, its use, control or rejection for music processing
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/78Detection of presence or absence of voice signals
    • G10L2025/783Detection 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 method for splicing noise-containing songs. The method comprises the following steps: obtaining N song audio files; judging whether the N song audio files contain noise audio files or not; if the N song audio files contain the noise audio files, denoising the noise audio files in the N song audio files to obtain denoised audio files, the noise of which is less than a threshold; extracting M segments from the song audio files which are not subjected to denoising and the denoised audio files in the N song audio files, wherein M is an integer greater than 1; splicing the M segments according to a preset sequence to obtain the spliced song audio files. The embodiment of the invention further discloses a device for splicing the noise-containing noises. By adopting the method and the device, the noise-containing audio files can be cut and spliced, and the spliced audio files can be denoised, so that the tone quality of the spliced audio files is improved.

Description

A kind of method of Noise song splicing and device
Technical field
The embodiment of the present invention relates to audio signal processing technique field, particularly relates to method and the device of the splicing of a kind of Noise song.
Background technology
Along with the fast development of development of Mobile Internet technology, device (as mobile phone, panel computer, touch) and dedicated play machine etc. also more and more come the pursuit of music.At present, in prior art, the tonequality process improving self is only limitted to, as the process software by carrying in device or dedicated play machine suitably processes audio file inferior, to improve play quality to the function broadcasting of music; Or higher to the quality requirements of audio file itself, often legal audio file can broadcast good effect, and the Local treatment to audio file, as less in shearing technique, the technique of extracting.
In prior art, network software is depended on to the shearing of song, and these softwares often need artificial manual operations, accurately can not locate the accurate location of each lyrics.
Summary of the invention
Embodiments provide method and the device of the splicing of a kind of Noise song, can to carrying out shearing containing noisy song audio files and splicing.
Embodiment of the present invention first aspect provides the method for a kind of Noise song splicing, comprising:
Obtain N number of song audio files, wherein, N be greater than 1 integer;
Judge that described noised audio file is the noised audio file that noise is greater than noise threshold whether containing noised audio file in described N number of song audio files;
If containing noised audio file in described N number of song audio files, carry out noise reduction process to the described noised audio file in described N number of song audio files, to obtain the noise reduction audio file that noise is less than threshold value;
Do not carry out extracting M fragment in the song audio files of described noise reduction process and described noise reduction audio file from described N number of song audio files, wherein, M be greater than 1 integer;
A described M fragment is spliced according to preset order, to obtain splicing song audio files.
Embodiment of the present invention second aspect provides the device of a kind of Noise song splicing, comprising:
Acquiring unit, for obtaining N number of song audio files, wherein, N be greater than 1 integer;
First judging unit, for judging that described noised audio file is the noised audio file that noise is greater than noise threshold whether containing noised audio file in described N number of song audio files that described acquiring unit gets;
First processing unit, during for judging at described first judging unit to contain noised audio file in described N number of song audio files, noise reduction process is carried out to the described noised audio file in described N number of song audio files, to obtain the noise reduction audio file that noise is less than threshold value;
First extraction unit, extracts M fragment for not carrying out from described N number of song audio files in the song audio files of described noise reduction process and described noise reduction audio file, wherein, M be greater than 1 integer;
Concatenation unit, splices according to preset order for described first extraction unit is extracted described M the fragment obtained, to obtain splicing song audio files.
Implement the embodiment of the present invention, there is following beneficial effect:
In the embodiment of the present invention, obtain N number of song audio files, wherein, N be greater than 1 integer; Judge that described noised audio file is the noised audio file that noise is greater than noise threshold whether containing noised audio file in described N number of song audio files; If containing noised audio file in described N number of song audio files, carry out noise reduction process to the described noised audio file in described N number of song audio files, to obtain the noise reduction audio file that noise is less than threshold value; Do not carry out extracting M fragment in the song audio files of described noise reduction process and described noise reduction audio file from described N number of song audio files, wherein, M be greater than 1 integer; A described M fragment is spliced according to preset order, to obtain splicing song audio files.Adopt the present invention to carry out shearing to noisy audio file and to splice, noise reduction process can be carried out to spliced audio file, to improve the tonequality of spliced audio file.
Term " first ", " second ", " the 3rd " and " the 4th " etc. in instructions of the present invention and claims and described accompanying drawing are for distinguishing different object, instead of for describing particular order.In addition, term " comprises " and " having " and their any distortion, and intention is to cover not exclusive comprising.Such as contain the process of series of steps or unit, method, system, product or equipment and be not defined in the step or unit listed, but also comprise the step or unit do not listed alternatively, or also comprise alternatively for other intrinsic step of these processes, method, product or equipment or unit.
In realization, in the embodiment of the present invention, device can include but not limited to: notebook computer, mobile phone, panel computer, intelligent wearable device, player, MP3, MP4, intelligent television, Set Top Box, server etc.The operating system of the system finger device of device, can include but not limited to: android system, Saipan system, Windows system, IOS (Mobile operating system of Apple's exploitation) system etc.It should be noted that, Android device refers to the device of android system, and Saipan device refers to the device of Saipan 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 not limited to: song in Chinese songs, English song, Russian song, Spain's song, classic song, popular music song, rock music song, light music song, song of talking and singing, song of singing opera arias, video etc.Above-mentioned song is only citing, and non exhaustive, including but not limited to above-mentioned song.
In implementation procedure, the form of song can include but are not limited to: MP3, MP4, WMV, WAV, FLV etc.The form of above-mentioned song is only citing, and non exhaustive, including but not limited to the form of above-mentioned song.
Refer to Fig. 1, Fig. 1 is the embodiment schematic flow sheet of the method for a kind of Noise song splicing that the embodiment of the present invention provides.The method of the Noise song splicing described in the present embodiment, comprises step:
S101, obtain N number of song audio files.
Concrete, N number of song audio files can be obtained from Noise song splicing apparatus, also can from the N number of song audio files of acquisition for mobile terminal, or obtain N number of song audio files from other modes, wherein, N be greater than 1 integer, mobile terminal can be such as mobile phone, panel computer, notebook computer, palm PC, mobile internet device (MID, mobile internet device), wearable device (such as intelligent watch (as iwatch etc.), Intelligent bracelet, passometer etc.) or other can the terminal device of installation and deployment instant messaging applications client, store the N number of song audio files got, store described N number of song audio files position can be that Noise song splicing apparatus is local, or high in the clouds, or other storage spaces.
S102, to judge in described N number of song audio files that described noised audio file is the noised audio file that noise is greater than noise threshold whether containing noised audio file.
Concrete, judge that wherein, noise can be a kind of undesired signal, and it can affect the tonequality of audio file whether containing noise in described N number of song audio files.Whether under normal circumstances, noise is a kind of random signal, by carrying out simple analysis to audio file, thus judge in described N number of song audio files containing noise.
As a kind of possible embodiment, noise size is determined the annoyance level of audio file by it, and under normal circumstances, noise can cause interference in certain reproduction time section of audio file.
S103, noise reduction process is carried out to the described noised audio file in described N number of song audio files, to obtain the noise reduction audio file that noise is less than threshold value.
Concrete, if judge in described N number of song audio files containing noised audio file, then noise reduction process is carried out to the described noised audio file in described N number of song audio files, to obtain the noise reduction audio file that noise is less than threshold value, obtain N number of noise reduction audio file, and store described N number of noise reduction audio file, the position storing described N number of noise reduction audio file can be that Noise song splicing apparatus is local, or high in the clouds, or other storage spaces.
M fragment is extracted in S104, the song audio files of not carrying out described noise reduction process from described N number of song audio files and described noise reduction audio file.
Concrete, M fragment is altogether extracted from the storage space i storing described N number of song audio files and the storage space j storing described noise reduction audio file, and will extract in the storage space of M fragments store obtaining extremely fragment to be spliced, wherein, M be greater than 1 integer.
S105, a described M fragment to be spliced according to preset order, to obtain splicing song audio files.
Concrete, described M the fragment be stored in the storage space of fragment to be spliced is spliced according to preset order, to obtain splicing song audio files, wherein, described preset order can be the time sequencing of the storage space adding described fragment to be spliced, also can be the random sequence that Noise song splicing apparatus presets, or other orders.
In the embodiment of the present invention, obtain N number of song audio files, wherein, N be greater than 1 integer; Judge that described noised audio file is the noised audio file that noise is greater than noise threshold whether containing noised audio file in described N number of song audio files; If containing noised audio file in described N number of song audio files, carry out noise reduction process to the described noised audio file in described N number of song audio files, to obtain the noise reduction audio file that noise is less than threshold value; Do not carry out extracting M fragment in the song audio files of described noise reduction process and described noise reduction audio file from described N number of song audio files, wherein, M be greater than 1 integer; A described M fragment is spliced according to preset order, to obtain splicing song audio files.Adopt the present invention to carry out shearing to noisy audio file and to splice, noise reduction process can be carried out to spliced audio file, to improve the tonequality of spliced audio file.
Refer to Fig. 2, Fig. 2 is the second embodiment schematic flow sheet of the method for a kind of Noise song splicing that the embodiment of the present invention provides, and comprises step:
S201, analyze described N number of song audio files, to obtain described N number of song audio files spectral change rule.
Concrete, by N number of song audio files described in audio file frequency spectrum processing device analysis, to obtain described N number of song audio files spectral change rule.
S202, to judge in described N number of song audio files whether containing noised audio file according to described N number of song audio files spectral change rule.
Concrete, whether judge in N number of song audio files containing noised audio file according to N number of song audio files spectral change rule.Frequency spectrum under the frequency spectrum under normal circumstances of each song audio files and noise situations is analysed and compared, if the frequency spectrum in song audio files with comparatively significantly fluctuation is noise spectrum, the song audio files containing noise spectrum is noisy song audio files.
In the embodiment of the present invention, analyze described N number of song audio files, to obtain described N number of song audio files spectral change rule; Judge whether containing noised audio file in described N number of song audio files according to described N number of song audio files spectral change rule, thus can determine that whether described N number of song audio files is containing noised audio file.
Refer to Fig. 3, Fig. 3 is the 3rd embodiment schematic flow sheet of the method for a kind of Noise song splicing that the embodiment of the present invention provides, and comprises step:
S301, extract in described N number of song audio files and do not carry out the song audio files of described noise reduction process and original singer's part of described noise reduction audio file.
Concrete, extract in N number of song audio files and do not carry out the song audio files of noise reduction process and original singer's part of noise reduction audio file.Under normal circumstances, song audio files can comprise original singer's part and accompaniment part, can be separated song audio files, extracts original singer's part of song audio files.
S302, the initial time determining each sound bite do not carried out in described N number of song audio files in the song audio files of described noise reduction process and original singer's part of described noise reduction audio file and end time.
Concrete, determine initial time and the end time of each sound bite do not carried out in N number of song audio files in the song audio files of noise reduction process and original singer's part of noise reduction audio file.The speech Separation of original singer's part can be become statement fragment one by one, each statement fragment has corresponding initial time and end time.
S303, to shear according to the initial time of each sound bite do not carried out in described N number of song audio files in the song audio files of described noise reduction process and original singer's part of described noise reduction audio file and end time, to extract a described M fragment.
Particularly, shear according to the initial time of each sound bite do not carried out in N number of song audio files in the song audio files of noise reduction process and original singer's part of noise reduction audio file and end time, to extract a described M fragment.The statement fragment one by one that the speech Separation of original singer's part can be gone out has corresponding initial time and end time to shear, to extract M fragment according to each statement fragment.
The embodiment of the present invention is extracted in described N number of song audio files and is not carried out the song audio files of described noise reduction process and original singer's part of described noise reduction audio file; Determine initial time and the end time of each sound bite do not carried out in described N number of song audio files in the song audio files of described noise reduction process and original singer's part of described noise reduction audio file; Shear according to the initial time of each sound bite do not carried out in described N number of song audio files in the song audio files of described noise reduction process and original singer's part of described noise reduction audio file and end time, to extract a described M fragment.Adopt the embodiment of the present invention can shear song audio files, obtain the fragment that song audio files comprises.
Refer to Fig. 4, Fig. 4 is the 4th embodiment schematic flow sheet of the method for a kind of Noise song splicing that the embodiment of the present invention provides, and comprises step:
S401, extract in described N number of song audio files and do not carry out the song audio files of described noise reduction process and the accompaniment part of described noise reduction audio file.
Concrete, extract in N number of song audio files and do not carry out the song audio files of noise reduction process and the accompaniment part of noise reduction audio file.Under normal circumstances, song audio files can comprise original singer's part and accompaniment part, can be separated song audio files, extracts the accompaniment part of song audio files.
S402, the initial time determining each tune fragment of not carrying out in described N number of song audio files in the song audio files of described noise reduction process and the accompaniment part of described noise reduction audio file and end time.
Concrete, determine that initial time and the end time of each tune fragment in part are sung in the accompaniment of the song audio files and noise reduction audio file of not carrying out noise reduction process in N number of song audio files.The speech Separation of accompaniment part can be become statement fragment one by one, each statement fragment has corresponding initial time and end time.
S403, to shear according to the initial time of each tune fragment of not carrying out in described N number of song audio files in the song audio files of described noise reduction process and the accompaniment part of described noise reduction audio file and end time, to extract a described M fragment.
Particularly, shear according to the initial time of each sound bite do not carried out in N number of song audio files in the song audio files of noise reduction process and the accompaniment part of noise reduction audio file and end time, to extract a described M fragment.The statement fragment one by one that the speech Separation of accompaniment part can be gone out has corresponding initial time and end time to shear, to extract M fragment according to each statement fragment.
The embodiment of the present invention is extracted in described N number of song audio files and is not carried out the song audio files of described noise reduction process and the accompaniment part of described noise reduction audio file; Determine initial time and the end time of each tune fragment of not carrying out in described N number of song audio files in the song audio files of described noise reduction process and the accompaniment part of described noise reduction audio file; Shear according to the initial time of each tune fragment of not carrying out in described N number of song audio files in the song audio files of described noise reduction process and the accompaniment part of described noise reduction audio file and end time, to extract a described M fragment.Adopt the embodiment of the present invention can shear song audio files, obtain the fragment that song audio files comprises.
Refer to Fig. 5, Fig. 5 is the 5th embodiment schematic flow sheet of the method for a kind of Noise song splicing that the embodiment of the present invention provides, and comprises step:
S501, obtain N number of song audio files.
Concrete, N number of song audio files can be obtained from Noise song splicing apparatus, also can from the N number of song audio files of acquisition for mobile terminal, or obtain N number of song audio files from other modes, wherein, N be greater than 1 integer, mobile terminal can be such as mobile phone, panel computer, notebook computer, palm PC, mobile internet device (MID, mobile internet device), wearable device (such as intelligent watch (as iwatch etc.), Intelligent bracelet, passometer etc.) or other can the terminal device of installation and deployment instant messaging applications client, store the N number of song audio files got, store described N number of song audio files position can be that Noise song splicing apparatus is local, or high in the clouds, or other storage spaces.
S502, to judge in described N number of song audio files that described noised audio file is the noised audio file that noise is greater than noise threshold whether containing noised audio file.
Concrete, judge that wherein, noise can be a kind of undesired signal, and it can affect the tonequality of audio file whether containing noise in described N number of song audio files.Whether under normal circumstances, noise is a kind of random signal, by carrying out simple analysis to audio file, thus judge in described N number of song audio files containing noise.
As a kind of possible embodiment, noise size is determined the annoyance level of audio file by it, and under normal circumstances, noise can cause interference in certain reproduction time section of audio file.
S503, noise reduction process is carried out to the described noised audio file in described N number of song audio files, to obtain the noise reduction audio file that noise is less than threshold value.
Concrete, if judge in described N number of song audio files containing noised audio file, then noise reduction process is carried out to the described noised audio file in described N number of song audio files, to obtain the noise reduction audio file that noise is less than threshold value, obtain N number of noise reduction audio file, and store described N number of noise reduction audio file, the position storing described N number of noise reduction audio file can be that Noise song splicing apparatus is local, or high in the clouds, or other storage spaces.
M fragment is extracted in S504, the song audio files of not carrying out described noise reduction process from described N number of song audio files and described noise reduction audio file.
Concrete, M fragment is altogether extracted from the storage space i storing described N number of song audio files and the storage space j storing described noise reduction audio file, and will extract in the storage space of M fragments store obtaining extremely fragment to be spliced, wherein, M be greater than 1 integer.
S505, a described M fragment to be spliced according to preset order, to obtain splicing song audio files.
Concrete, described M the fragment be stored in the storage space of fragment to be spliced is spliced according to preset order, to obtain splicing song audio files, wherein, described preset order can be the time sequencing of the storage space adding described fragment to be spliced, also can be the random sequence that Noise song splicing apparatus presets, or other orders.
S506, lock the stitching position of described splicing song audio files.
Concrete, the splicing of locking high-quality splicing song is local.Seamless spliced in order to realize, therefore, the vestige of splicing can not be demonstrated, need locking splicing local, pre-service is carried out to it.
S507, the stitching position of described splicing song audio files to be processed, to obtain seamless spliced song audio files.
Concrete, the stitching position of described splicing song audio files is processed, to obtain seamless spliced song audio files.Wherein, pre-service can include but are not limited to: the tune whole to the local march key of the splicing of splicing song, insertion intensity of variation is similar, the splicing place smoothing process larger to amplitude of variation.
The embodiment of the present invention obtains N number of song audio files, wherein, N be greater than 1 integer; Judge that described noised audio file is the noised audio file that noise is greater than noise threshold whether containing noised audio file in described N number of song audio files; If containing noised audio file in described N number of song audio files, carry out noise reduction process to the described noised audio file in described N number of song audio files, to obtain the noise reduction audio file that noise is less than threshold value; Do not carry out extracting M fragment in the song audio files of described noise reduction process and described noise reduction audio file from described N number of song audio files, wherein, M be greater than 1 integer; A described M fragment spliced according to preset order, to obtain splicing song audio files, the splicing locking described high-quality splicing song is local; The splicing place of described splicing song is carried out preset process, to obtain seamless spliced song.Adopt the embodiment of the present invention can carry out presetting process to splicing song audio files, to obtain the seamless and good song of tonequality.
Refer to Fig. 6, Fig. 6 is the first example structure schematic diagram of a kind of Noise song splicing apparatus that the embodiment of the present invention provides, wherein, the Noise song splicing apparatus shown in Fig. 6 can comprise acquiring unit 601, first judging unit 602, first processing unit 603, first extraction unit 604, concatenation unit 605 is specific as follows:
Acquiring unit 601, for obtaining N number of song audio files, wherein, N be greater than 1 integer.
First judging unit 602, for judging that described noised audio file is the noised audio file that noise is greater than noise threshold whether containing noised audio file in described N number of song audio files that described acquiring unit gets.
Concrete, described first judging unit 602 comprises: analytic unit (not shown), for analyzing described N number of song audio files, to obtain described N number of song audio files spectral change rule; Second judging unit (not shown), whether the described N number of song audio files spectral change rule for obtaining according to described analytic unit analysis judges in described N number of song audio files containing noised audio file.
First processing unit 603, during for judging at described first judging unit to contain noised audio file in described N number of song audio files, noise reduction process is carried out to the described noised audio file in described N number of song audio files, to obtain the noise reduction audio file that noise is less than threshold value.
First extraction unit 604, extracts M fragment for not carrying out from described N number of song audio files in the song audio files of described noise reduction process and described noise reduction audio file, wherein, M be greater than 1 integer.
Concrete, described first extraction unit 604 comprises: the second extraction unit (not shown), does not carry out the song audio files of described noise reduction process and original singer's part of described noise reduction audio file for extracting in described N number of song audio files; First determining unit (not shown), for determining that described second extraction unit extracts the initial time and end time of not carrying out each sound bite in the song audio files of described noise reduction process and original singer's part of described noise reduction audio file in the described N number of song audio files obtained; First cut cells (not shown), initial time and end time for not carrying out each sound bite in the song audio files of described noise reduction process and original singer's part of described noise reduction audio file in described N number of song audio files of determining to obtain according to described first determining unit are sheared, to extract a described M fragment.
Concrete, described first extraction unit 604 comprises: the 3rd extraction unit (not shown), for extracting the accompaniment part of song audio files and the described noise reduction audio file not carrying out described noise reduction process in described N number of song audio files; Second determining unit (not shown), for determining initial time and the end time of each tune fragment of not carrying out in N number of song audio files described in described 3rd extraction unit in the song audio files of described noise reduction process and the accompaniment part of described noise reduction audio file; Second cut cells (not shown), initial time and end time for not carrying out each tune fragment in the song audio files of described noise reduction process and the accompaniment part of described noise reduction audio file in described N number of song audio files of determining to obtain according to described second determining unit are sheared, to extract a described M fragment.
Concatenation unit 605, splices according to preset order for described first extraction unit is extracted described M the fragment obtained, to obtain splicing song audio files.
Optionally, after a described M fragment is spliced according to preset order by described concatenation unit 605, described device also comprises: the stitching position locking described splicing song audio files; The stitching position of described splicing song audio files is processed, to obtain seamless spliced song audio files.
Be understandable that, the function of each functional module of the Noise song splicing apparatus of the present embodiment can according to the method specific implementation in described embodiment of the method, and its specific implementation process with reference to the associated description of described embodiment of the method, can repeat no more herein.
In the embodiment of the present invention, acquiring unit 601 obtains N number of song audio files, wherein, N be greater than 1 integer; First judging unit 602 judges that described noised audio file is the noised audio file that noise is greater than noise threshold whether containing noised audio file in described N number of song audio files that described acquiring unit gets; First processing unit 603 is when described first judging unit is judged to contain noised audio file in described N number of song audio files, noise reduction process is carried out to the described noised audio file in described N number of song audio files, to obtain the noise reduction audio file that noise is less than threshold value; First extraction unit 604 does not carry out extracting M fragment in the song audio files of described noise reduction process and described noise reduction audio file from described N number of song audio files, wherein, M be greater than 1 integer; Described first extraction unit is extracted described M the fragment obtained and splices according to preset order, to obtain splicing song audio files by concatenation unit 605; Lock cell, for locking the stitching position of described splicing song audio files; Second processing unit, the stitching position for the described splicing song audio files by described locking unit locks processes, to obtain seamless spliced song audio files.Adopt the present invention to carry out shearing to noisy audio file and to splice, noise reduction process can be carried out to spliced audio file, to improve the tonequality of spliced audio file.
Second example structure schematic diagram of the device of a kind of Noise song splicing provided for the embodiment of the present invention see Fig. 7, Fig. 7.Noise song splicing apparatus described in the present embodiment comprises: at least one input equipment 1000; At least one output device 2000; At least one processor 3000, such as CPU; With storer 4000, above-mentioned input equipment 1000, output device 2000, processor 3000 are connected by bus 5000 with storer 4000.
Wherein, above-mentioned input equipment 1000 can be contact panel, common PC, liquid crystal display, touch screen etc.
Above-mentioned storer 4000 can be high-speed RAM storer, also can be non-labile storer (non-volatile memory), such as magnetic disk memory.Above-mentioned storer 4000 is for storing batch processing code, and above-mentioned input equipment 1000, output device 2000 and processor 3000, for calling the program code stored in storer 4000, perform and operate as follows:
Above-mentioned processor 3000, for obtaining N number of song audio files, wherein, N be greater than 1 integer;
Above-mentioned processor 3000, also for judging that described noised audio file is the noised audio file that noise is greater than noise threshold whether containing noised audio file in described N number of song audio files;
Above-mentioned processor 3000, also for when judging to contain noised audio file in described N number of song audio files, carries out noise reduction process to the described noised audio file in described N number of song audio files, to obtain the noise reduction audio file that noise is less than threshold value;
Above-mentioned processor 3000, also extracts M fragment for not carrying out from described N number of song audio files in the song audio files of described noise reduction process and described noise reduction audio file, wherein, M be greater than 1 integer;
Above-mentioned processor 3000, also for a described M fragment being spliced according to preset order, to obtain splicing song audio files.
In the embodiment that some are feasible, above-mentioned processor 3000 also specifically for:
Analyze described N number of song audio files, to obtain described N number of song audio files spectral change rule;
Whether judge in described N number of song audio files containing noised audio file according to described N number of song audio files spectral change rule.
In the embodiment that some are feasible, above-mentioned processor 3000 also specifically for:
Extract in described N number of song audio files and do not carry out the song audio files of described noise reduction process and original singer's part of described noise reduction audio file;
Determine initial time and the end time of each sound bite do not carried out in described N number of song audio files in the song audio files of described noise reduction process and original singer's part of described noise reduction audio file;
Shear according to the initial time of each sound bite do not carried out in described N number of song audio files in the song audio files of described noise reduction process and original singer's part of described noise reduction audio file and end time, to extract a described M fragment.
In the embodiment that some are feasible, above-mentioned processor 3000 also specifically for:
Extract in described N number of song audio files and do not carry out the song audio files of described noise reduction process and the accompaniment part of described noise reduction audio file;
Determine initial time and the end time of each tune fragment of not carrying out in described N number of song audio files in the song audio files of described noise reduction process and the accompaniment part of described noise reduction audio file;
Shear according to the initial time of each tune fragment of not carrying out in described N number of song audio files in the song audio files of described noise reduction process and the accompaniment part of described noise reduction audio file and end time, to extract a described M fragment.
In the embodiment that some are feasible, at above-mentioned processor 3000, a described M fragment is spliced according to preset order, with obtain splicing song audio files after above-mentioned processor 3000 also specifically for:
Lock the stitching position of described splicing song audio files;
The stitching position of described splicing song audio files is processed, to obtain seamless spliced song audio files.
In specific implementation, input equipment 1000 described in the embodiment of the present invention, output device 2000 and processor 3000 can perform the implementation described in each embodiment of the method for the splicing of the Noise song described in Fig. 1 ~ Fig. 5 that the embodiment of the present invention provides, also can perform the implementation that the embodiment of the present invention provides the Noise song splicing apparatus described in the first embodiment of Noise song splicing apparatus, not repeat them here.
Module in all embodiments of the embodiment of the present invention or submodule, universal integrated circuit can be passed through, such as CPU (Central Processing Unit, central processing unit), or realized by ASIC (Application SpecificIntegrated Circuit, special IC).
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Unit in embodiment of the present invention device can carry out merging, divide and deleting according to actual needs.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random access memory (Random Access Memory is called for short RAM) etc.
Above disclosedly be only embodiment of the present invention preferred embodiment, certainly can not limit the interest field of the embodiment of the present invention with this, therefore according to the equivalent variations that embodiment of the present invention claim is done, still belong to the scope that the embodiment of the present invention contains.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment, description below, apparently, accompanying drawing in the following describes is only some embodiments of the embodiment of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
First embodiment schematic flow sheet of the method for a kind of Noise song splicing that Fig. 1 provides for the embodiment of the present invention;
Second embodiment schematic flow sheet of the method for a kind of Noise song splicing that Fig. 2 provides for the embodiment of the present invention;
3rd embodiment schematic flow sheet of the method for a kind of Noise song splicing that Fig. 3 provides for the embodiment of the present invention;
4th embodiment schematic flow sheet of the method for a kind of Noise song splicing that Fig. 4 provides for the embodiment of the present invention;
5th embodiment schematic flow sheet of the method for a kind of Noise song splicing that Fig. 5 provides for the embodiment of the present invention;
First example structure schematic diagram of the device of a kind of Noise song splicing that Fig. 6 provides for the embodiment of the present invention;
Second example structure schematic diagram of the device of a kind of Noise song splicing that Fig. 7 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only embodiment of the present invention part embodiment, instead of whole embodiments.Based on the embodiment in the embodiment of the present invention, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of embodiment of the present invention protection.

Claims (10)

1. a method for Noise song splicing, is characterized in that, comprising:
Obtain N number of song audio files, wherein, N be greater than 1 integer;
Judge that described noised audio file is the noised audio file that noise is greater than noise threshold whether containing noised audio file in described N number of song audio files;
If containing noised audio file in described N number of song audio files, carry out noise reduction process to the described noised audio file in described N number of song audio files, to obtain the noise reduction audio file that noise is less than threshold value;
Do not carry out extracting M fragment in the song audio files of described noise reduction process and described noise reduction audio file from described N number of song audio files, wherein, M be greater than 1 integer;
A described M fragment is spliced according to preset order, to obtain splicing song audio files.
2. whether the method for claim 1, is characterized in that, describedly to judge in N number of song audio files, containing noised audio file, to comprise:
Analyze described N number of song audio files, to obtain described N number of song audio files spectral change rule;
Whether judge in described N number of song audio files containing noised audio file according to described N number of song audio files spectral change rule.
3. the method as described in any one of claim 1 or 2, it is characterized in that, described from described N number of song audio files, do not carry out described noise reduction process song audio files and described noise reduction audio file in extract M fragment, wherein, M be greater than 1 integer, comprising:
Extract in described N number of song audio files and do not carry out the song audio files of described noise reduction process and original singer's part of described noise reduction audio file;
Determine initial time and the end time of each sound bite do not carried out in described N number of song audio files in the song audio files of described noise reduction process and original singer's part of described noise reduction audio file;
Shear according to the initial time of each sound bite do not carried out in described N number of song audio files in the song audio files of described noise reduction process and original singer's part of described noise reduction audio file and end time, to extract a described M fragment.
4. the method as described in any one of claim 1 or 2, it is characterized in that, described from described N number of song audio files, do not carry out described noise reduction process song audio files and described noise reduction audio file in extract M fragment, wherein, M be greater than 1 integer, comprising:
Extract in described N number of song audio files and do not carry out the song audio files of described noise reduction process and the accompaniment part of described noise reduction audio file;
Determine initial time and the end time of each tune fragment of not carrying out in described N number of song audio files in the song audio files of described noise reduction process and the accompaniment part of described noise reduction audio file;
Shear according to the initial time of each tune fragment of not carrying out in described N number of song audio files in the song audio files of described noise reduction process and the accompaniment part of described noise reduction audio file and end time, to extract a described M fragment.
5. the method as described in any one of claim 1 or 2, is characterized in that, describedly a described M fragment is spliced according to preset order, and after obtaining splicing song audio files, described method also comprises:
Lock the stitching position of described splicing song audio files;
The stitching position of described splicing song audio files is processed, to obtain seamless spliced song audio files.
6. a Noise song splicing apparatus, is characterized in that, comprising:
Acquiring unit, for obtaining N number of song audio files, wherein, N be greater than 1 integer;
First judging unit, for judging that described noised audio file is the noised audio file that noise is greater than noise threshold whether containing noised audio file in described N number of song audio files that described acquiring unit gets;
First processing unit, during for judging at described first judging unit to contain noised audio file in described N number of song audio files, noise reduction process is carried out to the described noised audio file in described N number of song audio files, to obtain the noise reduction audio file that noise is less than threshold value;
First extraction unit, extracts M fragment for not carrying out from described N number of song audio files in the song audio files of described noise reduction process and described noise reduction audio file, wherein, M be greater than 1 integer;
Concatenation unit, splices according to preset order for described first extraction unit is extracted described M the fragment obtained, to obtain splicing song audio files.
7. device as claimed in claim 6, it is characterized in that, described first judging unit comprises:
Analytic unit, for analyzing described N number of song audio files, to obtain described N number of song audio files spectral change rule;
Second judging unit, whether the described N number of song audio files spectral change rule for obtaining according to described analytic unit analysis judges in described N number of song audio files containing noised audio file.
8. the device according to any one of claim 6 or 7, is characterized in that, described first extraction unit comprises:
Second extraction unit, does not carry out the song audio files of described noise reduction process and original singer's part of described noise reduction audio file for extracting in described N number of song audio files;
First determining unit, for determining that described second extraction unit extracts the initial time and end time of not carrying out each sound bite in the song audio files of described noise reduction process and original singer's part of described noise reduction audio file in the described N number of song audio files obtained;
First cut cells, initial time and end time for not carrying out each sound bite in the song audio files of described noise reduction process and original singer's part of described noise reduction audio file in described N number of song audio files of determining to obtain according to described first determining unit are sheared, to extract a described M fragment.
9. the device according to any one of claim 6 or 7, is characterized in that, described first extraction unit comprises:
3rd extraction unit, for extracting the accompaniment part of song audio files and the described noise reduction audio file not carrying out described noise reduction process in described N number of song audio files;
Second determining unit, for determining initial time and the end time of each tune fragment of not carrying out in N number of song audio files described in described 3rd extraction unit in the song audio files of described noise reduction process and the accompaniment part of described noise reduction audio file;
Second cut cells, initial time and end time for not carrying out each tune fragment in the song audio files of described noise reduction process and the accompaniment part of described noise reduction audio file in described N number of song audio files of determining to obtain according to described second determining unit are sheared, to extract a described M fragment.
10. the device according to any one of claim 6 or 7, it is characterized in that, described device also comprises:
Lock cell, for locking the stitching position of described splicing song audio files;
Second processing unit, the stitching position for the described splicing song audio files by described locking unit locks processes, to obtain seamless spliced song audio files.
CN201510125170.7A 2015-03-20 2015-03-20 A kind of method and device of Noise song splicing Expired - Fee Related CN104778958B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710996071.5A CN107622775B (en) 2015-03-20 2015-03-20 Method for splicing songs containing noise and related products
CN201510125170.7A CN104778958B (en) 2015-03-20 2015-03-20 A kind of method and device of Noise song splicing

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 true CN104778958A (en) 2015-07-15
CN104778958B CN104778958B (en) 2017-11-24

Family

ID=53620385

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201510125170.7A Expired - Fee Related CN104778958B (en) 2015-03-20 2015-03-20 A kind of method and device of Noise song splicing
CN201710996071.5A Expired - Fee Related CN107622775B (en) 2015-03-20 2015-03-20 Method for splicing songs containing noise and related products

Family Applications After (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) CN104778958B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106970950A (en) * 2017-03-07 2017-07-21 腾讯音乐娱乐(深圳)有限公司 The lookup method and device of similar audio data
CN107591149A (en) * 2017-09-18 2018-01-16 腾讯音乐娱乐科技(深圳)有限公司 Audio synthetic method, device and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Citations (6)

* Cited by examiner, † Cited by third party
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
CN102467939A (en) * 2010-11-04 2012-05-23 北京彩云在线技术开发有限公司 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
CN104112444A (en) * 2014-07-28 2014-10-22 中国科学院自动化研究所 Text message based waveform concatenation speech synthesis method
CN104244086A (en) * 2014-09-03 2014-12-24 陈飞 Video real-time splicing device and method based on real-time conversation semantic analysis

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN103943113B (en) * 2014-04-15 2017-11-07 福建星网视易信息***有限公司 The method and apparatus that a kind of song goes accompaniment

Patent Citations (6)

* Cited by examiner, † Cited by third party
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
CN102467939A (en) * 2010-11-04 2012-05-23 北京彩云在线技术开发有限公司 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
CN104112444A (en) * 2014-07-28 2014-10-22 中国科学院自动化研究所 Text message based waveform concatenation speech synthesis method
CN104244086A (en) * 2014-09-03 2014-12-24 陈飞 Video real-time splicing device and method based on real-time conversation semantic analysis

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106970950A (en) * 2017-03-07 2017-07-21 腾讯音乐娱乐(深圳)有限公司 The lookup method and device of similar audio data
CN106970950B (en) * 2017-03-07 2021-08-24 腾讯音乐娱乐(深圳)有限公司 Similar audio data searching method and device
CN107591149A (en) * 2017-09-18 2018-01-16 腾讯音乐娱乐科技(深圳)有限公司 Audio synthetic method, device and storage medium
CN107591149B (en) * 2017-09-18 2021-09-28 腾讯音乐娱乐科技(深圳)有限公司 Audio synthesis method, device and storage medium

Also Published As

Publication number Publication date
CN107622775B (en) 2020-12-18
CN107622775A (en) 2018-01-23
CN104778958B (en) 2017-11-24

Similar Documents

Publication Publication Date Title
EP3142031B1 (en) Preset style song processing method and apparatus
US10210884B2 (en) Systems and methods facilitating selective removal of content from a mixed audio recording
CN103853836B (en) Music retrieval method and system based on music fingerprint characteristic
CN104778958A (en) Method and device for splicing noise-containing songs
CN104778221A (en) Music collaborate splicing method and device
US20220358956A1 (en) Audio onset detection method and apparatus
CN104575487A (en) Voice signal processing method and device
CN104778217B (en) A kind of song stitching algorithm and device
CN105159567A (en) Character processing method and terminal
CN110688518A (en) Rhythm point determining method, device, equipment and storage medium
CN104778957A (en) Song audio processing method and device
CN103903625A (en) Audio sound mixing method and device
CN110111811A (en) Audio signal detection method, device and storage medium
CN104778220A (en) Method and device for splitting a-cappella songs
CN104978961A (en) Audio processing method, device and terminal
CN104778219A (en) Method and device for splicing songs with preset effects
CN110085214B (en) Audio starting point detection method and device
CN104780438A (en) Method and device for splicing video and song audio
CN105895098A (en) Play control method and device
CN111104545A (en) Background music configuration method and equipment, client device and electronic equipment
JP2024521940A (en) Multimedia processing method, apparatus, device and medium
CN104778218A (en) Method and device for processing incomplete song
CN113778717A (en) Content sharing method, device, equipment and storage medium
CN103354091A (en) Audio feature extraction method based on frequency domain transformation and apparatus thereof
CN104598229A (en) Terminal

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