CN112331223A - Method for adding background music to dubbing - Google Patents

Method for adding background music to dubbing Download PDF

Info

Publication number
CN112331223A
CN112331223A CN202011239712.0A CN202011239712A CN112331223A CN 112331223 A CN112331223 A CN 112331223A CN 202011239712 A CN202011239712 A CN 202011239712A CN 112331223 A CN112331223 A CN 112331223A
Authority
CN
China
Prior art keywords
dubbing
background music
audio
volume
track
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011239712.0A
Other languages
Chinese (zh)
Inventor
陈阳
鲁永春
王周
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hefei Mingyang Information Technology Co ltd
Original Assignee
Hefei Mingyang Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hefei Mingyang Information Technology Co ltd filed Critical Hefei Mingyang Information Technology Co ltd
Priority to CN202011239712.0A priority Critical patent/CN112331223A/en
Publication of CN112331223A publication Critical patent/CN112331223A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Processing of the speech or voice signal to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/003Changing voice quality, e.g. pitch or formants
    • G10L21/007Changing voice quality, e.g. pitch or formants characterised by the process used
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Processing of the speech or voice signal to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • G10L21/0316Speech enhancement, e.g. noise reduction or echo cancellation by changing the amplitude
    • G10L21/0324Details of processing therefor
    • G10L21/034Automatic adjustment

Abstract

The utility model discloses a method for adding background music to dubbing, which belongs to the dubbing background field, comprising inputting text, generating corresponding dubbing audio file through TTS, selecting the required background music, mixing dubbing audio and background music, marking the target audio track of dubbing audio, recording and storing, the method comprises: the method comprises the steps of converting characters into voice, setting the speed of voice, setting the sound size of dubbing and background music, mixing sound, setting the end of playing the background music in a circulating mode, and setting the small sound of the dubbing playing background music. The invention solves the problems that the dubbing is too monotonous to play alone, and the addition of background music can play a good atmosphere effect. The background music added to the dubbing can make the dubbing more popular and richer and more diverse.

Description

Method for adding background music to dubbing
Technical Field
The disclosure belongs to the field of dubbing backgrounds, and particularly relates to a method for adding background music to dubbing.
Background
With the continuous development of the existing science and technology, along with more and more dubbing requirements and more extensive application scenes, the requirement of adding background music to dubbing is very urgent, in the existing dubbing, different background music is arranged in a dubbing content area, when the dubbing content changes, the background music also correspondingly changes, and diversified background music meets different requirements of people.
However, the background music is preset, and the user can only select to keep the existing background music or close the background music, but cannot switch and select the favorite background music at will, that is, the existing background music switching method is too single, and cannot effectively meet different requirements of the user. The invention discloses a method for adding background music to dubbing, which solves the problems that the dubbing is too monotonous to play independently and the addition of the background music can play a good atmosphere effect. The background music added to the dubbing can make the dubbing more popular and richer and more diverse.
BRIEF SUMMARY OF THE PRESENT DISCLOSURE
Aiming at the defects of the prior art, the invention aims to provide a method for adding background music to dubbing, and solves the problems that the background music is difficult to add and replace in dubbing in the prior art.
The purpose of the disclosure can be realized by the following technical scheme:
a method of adding background music to a dubbing, comprising the steps of:
inputting a text, and generating a corresponding dubbing audio file through TTS;
selecting required background music, mixing dubbing audio and the background music, marking a target audio track of the dubbing audio, and recording and storing;
and performing mixed flow packaging on the target background music data and original sound data of a preset audio track to form a mixed flow audio file.
Further, the method comprises the steps that the speech speed and the volume can be set by generating the dubbing audio through the text; the volume of dubbing and background music can be set during mixing.
Further, the method includes calculating a volume ratio of the volume value of the target background music data to the volume value of original sound data of a preset track, and when the volume ratio is greater than a first preset threshold, decreasing the volume of the background music data or increasing the volume of the original sound data of the preset track until the volume ratio is less than or equal to the first preset threshold;
and when the volume ratio is smaller than a second preset threshold, increasing the volume of the background music data or reducing the volume of original sound data of a preset music track until the volume ratio is larger than or equal to the second preset threshold, wherein the first preset threshold is larger than the second preset threshold.
Further, the method comprises: when mixing sound, the dubbing circulation can be set to the end of the background music, and when the dubbing playing is finished, the background music can be set to stop in a delayed way or immediately stop.
Furthermore, the method includes that the dubbing circulation can set circulation intervals, or can set that background music is played for a period of time and then dubbing files are played, and the playing volume of the background music is reduced when dubbing is played.
Further, the method comprises an audio content identification unit, which is used for identifying the current dubbing audio file content and obtaining the recommended music data which is matched with the video content in the target background music data according to the content.
Further, the method comprises a background music database, wherein the background music database is provided with track marks of different music, and background music recommending similar track marks can be automatically screened through the selected background music.
Furthermore, the method comprises a background music automatic replacing unit which automatically matches the adaptive background music according to a section of content with different dubbing and automatically switches in the playing process.
Further, there are multiple pause modes in the mixed-flow audio file, the first mode is: the playing of the whole mixed flow audio file is paused; a second type; removing the sound of the dubbing audio according to the target audio track mark of the dubbing audio, and only playing background music; and the third is that: and removing the sound of the background music according to the target track mark of the dubbing audio, and only playing the dubbing audio.
The beneficial effect of this disclosure:
1. background music can be matched with dubbing quickly;
2. the adaptive background music can be automatically matched with the dubbing content.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present disclosure, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
Fig. 1 is a method of setting background music to be controlled at the time of dubbing playback.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
As shown in fig. 1, a method of adding background music to a dubbing, the method comprising: the mobile phone end is provided with a text editing page; and after the text is synthesized into the voice, generating a corresponding audio file. And selecting online background music from the App (or importing the background music from a computer), setting dubbing and background music volume, dubbing cycle times, cycle playing intervals, dubbing delay playing time and setting of delayed playing of dubbed background music after the dubbing is finished).
A method for calculating the end of dubbing loop to background music is as follows.
count=(bgmTime-startTime-endTime+dTime)/(time+dTime)
Wherein bgmTime is the background music time, startTime is the dubbing delay playing time, endTime dubbing playing ends the background music delay playing time, dTime dubbing cycle playing interval time, time is the dubbing time, count is the dubbing cycle times, the method is only suitable for the situation that the background music is greater than the dubbing time.
In some disclosures, the method of background music minor: the dubbing is mainly to listen to dubbing content, and the background music is added to overcome dubbing effect, so that during general dubbing playing, the background music is set to be small, the dubbing start time and the playing time length are calculated, the corresponding background music is small, and the rest of the background music time lengths are original.
In some disclosures, the method includes that generating dubbing audio through text can set the speed of speech and the volume; the volume of dubbing and background music can be set during mixing.
In some disclosures, the calculating a volume ratio of the volume value of the target background music data to the volume value of original sound data of a preset track, and when the volume ratio is greater than a first preset threshold, decreasing the volume of the background music data or increasing the volume of the original sound data of the preset track until the volume ratio is less than or equal to the first preset threshold;
and when the volume ratio is smaller than a second preset threshold, increasing the volume of the background music data or reducing the volume of original sound data of a preset music track until the volume ratio is larger than or equal to the second preset threshold, wherein the first preset threshold is larger than the second preset threshold.
In some disclosures, the method comprises: when mixing sound, the dubbing circulation can be set to the end of the background music, and when the dubbing playing is finished, the background music can be set to stop in a delayed way or immediately stop.
In some disclosures, the method includes that the dubbing cycle can set a cycle interval, or can set that the background music is played for a period of time and then the dubbing file is played, and when the dubbing is played, the playing volume of the background music is reduced.
In some disclosures, the method includes an audio content identification unit configured to identify a current dubbing audio file content, and acquire recommended music data matching the dubbing content in the target background music data from the content.
In some disclosures, the method comprises a background music database, wherein track marks of different music are arranged in the background music database, and background music which recommends similar track marks can be automatically screened through selected background music.
In some disclosures, the method comprises a background music automatic replacing unit which automatically matches the adaptive background music playing process according to a piece of content with different dubbing.
In some disclosures, there are multiple ways of pausing within the mixed flow audio file, the first: the playing of the whole mixed flow audio file is paused; a second type; removing the sound of the dubbing audio according to the target audio track mark of the dubbing audio, and only playing background music; and the third is that: the method and the device have the advantages that the sound of the background music is removed according to the target track mark of the dubbing audio, only the dubbing audio is played, and through the design, the dubbing audio can be selected according to the actual situation degree under the condition of ensuring the sound mixing effect.
The working principle is as follows:
generating a corresponding dubbing audio file through TTS (text to speech) by inputting a text, selecting required background music, mixing the dubbing audio and the background music, marking a target audio track of the dubbing audio, and recording and storing; and performing mixed flow packaging on the target background music data and original sound data of a preset audio track to form a mixed flow audio file.
In the description herein, references to the description of "one embodiment," "an example," "a specific example," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the disclosure. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing illustrates and describes the general principles, principal features, and advantages of the present disclosure. It will be understood by those skilled in the art that the present disclosure is not limited to the embodiments described above, which are presented solely for purposes of illustrating the principles of the disclosure, and that various changes and modifications may be made to the disclosure without departing from the spirit and scope of the disclosure, which is intended to be covered by the claims.

Claims (9)

1. A method of adding background music to a dubbing, comprising the steps of:
inputting a text, and generating a corresponding dubbing audio file through TTS;
selecting required background music, mixing dubbing audio and the background music, marking a target audio track of the dubbing audio, and recording and storing;
and performing mixed flow packaging on the target background music data and original sound data of a preset audio track to form a mixed flow audio file.
2. The method for adding background music to dubbing according to claim 1, wherein the method comprises generating dubbing audio through text to set the speech rate and volume, and mixing the dubbing audio and the background music.
3. The method as claimed in claim 2, wherein the volume ratio of the volume value of the target background music data to the volume value of the original sound data of the preset track is calculated, and when the volume ratio is greater than a first preset threshold, the volume of the background music data is decreased or the volume of the original sound data of the preset track is increased until the volume ratio is less than or equal to the first preset threshold;
and when the volume ratio is smaller than a second preset threshold, increasing the volume of the background music data or reducing the volume of original sound data of a preset music track until the volume ratio is larger than or equal to the second preset threshold, wherein the first preset threshold is larger than the second preset threshold.
4. A method for adding background music to dubbing according to claim 3, wherein the dubbing cycle can be set to end when the dubbing is mixed, and the background music can be set to stop with time delay or stop immediately when the dubbing is finished.
5. The method as claimed in claim 4, wherein the dubbing cycle is configured to set a cycle interval, or to play the background music for a period of time and then play the dubbing file, and to decrease the playing volume of the background music when the dubbing is played.
6. The method for adding background music to dubbing according to claim 5, comprising an audio content identification unit for identifying the current dubbing audio file content, and acquiring the recommended music data matching the dubbing content in the target background music data according to the content.
7. The method for adding background music to dubbing according to claim 6, wherein the method comprises a background music database, the background music database is provided with track marks of different music, and background music recommending similar track marks can be automatically screened through the selected background music.
8. The method of claim 7, wherein the method comprises a background music automatic change unit for automatically matching the adaptive background music according to different dubbing contents, and automatically switching during the playing process.
9. The method for adding background music to dubbing according to claim 8, wherein the mixed stream audio file has a plurality of pause modes, the first mode is: the playing of the whole mixed flow audio file is paused; a second type; removing the sound of the dubbing audio according to the target audio track mark of the dubbing audio, and only playing background music; and the third is that: and removing the sound of the background music according to the target track mark of the dubbing audio, and only playing the dubbing audio.
CN202011239712.0A 2020-11-09 2020-11-09 Method for adding background music to dubbing Pending CN112331223A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011239712.0A CN112331223A (en) 2020-11-09 2020-11-09 Method for adding background music to dubbing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011239712.0A CN112331223A (en) 2020-11-09 2020-11-09 Method for adding background music to dubbing

Publications (1)

Publication Number Publication Date
CN112331223A true CN112331223A (en) 2021-02-05

Family

ID=74316493

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011239712.0A Pending CN112331223A (en) 2020-11-09 2020-11-09 Method for adding background music to dubbing

Country Status (1)

Country Link
CN (1) CN112331223A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114615612A (en) * 2022-01-26 2022-06-10 大连即时智能科技有限公司 Text and audio presentation processing method and device

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000148175A (en) * 1998-09-10 2000-05-26 Ricoh Co Ltd Text voice converting device
CN101567186A (en) * 2008-04-23 2009-10-28 索尼爱立信移动通信日本株式会社 Speech synthesis apparatus, method, program, system, and portable information terminal
US20140229831A1 (en) * 2012-12-12 2014-08-14 Smule, Inc. Audiovisual capture and sharing framework with coordinated user-selectable audio and video effects filters
CN104835520A (en) * 2015-03-27 2015-08-12 广州荔支网络技术有限公司 Mobile equipment recording method and device
CN105872253A (en) * 2016-05-31 2016-08-17 腾讯科技(深圳)有限公司 Live broadcast sound processing method and mobile terminal
CN106851394A (en) * 2017-01-18 2017-06-13 广东小天才科技有限公司 A kind of background music switching method and apparatus
CN107076631A (en) * 2014-08-22 2017-08-18 爵亚公司 System and method for text message to be automatically converted into musical works
CN108132995A (en) * 2017-12-20 2018-06-08 北京百度网讯科技有限公司 For handling the method and apparatus of audio-frequency information
CN109905807A (en) * 2017-12-07 2019-06-18 北京雷石天地电子技术有限公司 Intelligence adjusts the method and system of volume output
CN110769167A (en) * 2019-10-30 2020-02-07 合肥名阳信息技术有限公司 Method for video dubbing based on text-to-speech technology
CN110970045A (en) * 2019-11-15 2020-04-07 北京达佳互联信息技术有限公司 Mixing processing method, mixing processing device, electronic equipment and storage medium
CN111179961A (en) * 2020-01-02 2020-05-19 腾讯科技(深圳)有限公司 Audio signal processing method, audio signal processing device, electronic equipment and storage medium
CN111276122A (en) * 2020-01-14 2020-06-12 广州酷狗计算机科技有限公司 Audio generation method and device and storage medium
CN111859008A (en) * 2019-04-29 2020-10-30 深圳市冠旭电子股份有限公司 Music recommending method and terminal

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000148175A (en) * 1998-09-10 2000-05-26 Ricoh Co Ltd Text voice converting device
CN101567186A (en) * 2008-04-23 2009-10-28 索尼爱立信移动通信日本株式会社 Speech synthesis apparatus, method, program, system, and portable information terminal
US20140229831A1 (en) * 2012-12-12 2014-08-14 Smule, Inc. Audiovisual capture and sharing framework with coordinated user-selectable audio and video effects filters
CN107076631A (en) * 2014-08-22 2017-08-18 爵亚公司 System and method for text message to be automatically converted into musical works
CN104835520A (en) * 2015-03-27 2015-08-12 广州荔支网络技术有限公司 Mobile equipment recording method and device
CN105872253A (en) * 2016-05-31 2016-08-17 腾讯科技(深圳)有限公司 Live broadcast sound processing method and mobile terminal
CN106851394A (en) * 2017-01-18 2017-06-13 广东小天才科技有限公司 A kind of background music switching method and apparatus
CN109905807A (en) * 2017-12-07 2019-06-18 北京雷石天地电子技术有限公司 Intelligence adjusts the method and system of volume output
CN108132995A (en) * 2017-12-20 2018-06-08 北京百度网讯科技有限公司 For handling the method and apparatus of audio-frequency information
CN111859008A (en) * 2019-04-29 2020-10-30 深圳市冠旭电子股份有限公司 Music recommending method and terminal
CN110769167A (en) * 2019-10-30 2020-02-07 合肥名阳信息技术有限公司 Method for video dubbing based on text-to-speech technology
CN110970045A (en) * 2019-11-15 2020-04-07 北京达佳互联信息技术有限公司 Mixing processing method, mixing processing device, electronic equipment and storage medium
CN111179961A (en) * 2020-01-02 2020-05-19 腾讯科技(深圳)有限公司 Audio signal processing method, audio signal processing device, electronic equipment and storage medium
CN111276122A (en) * 2020-01-14 2020-06-12 广州酷狗计算机科技有限公司 Audio generation method and device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114615612A (en) * 2022-01-26 2022-06-10 大连即时智能科技有限公司 Text and audio presentation processing method and device

Similar Documents

Publication Publication Date Title
CN104883642B (en) A kind of effect adjusting method
CN104090766B (en) The audio switching method and system of a kind of mobile terminal
CN108259965B (en) Video editing method and system
CN102467939B (en) Song audio frequency cutting apparatus and method thereof
JP6446993B2 (en) Voice control device and program
CN105679348B (en) A kind of audio/video player and method
US7399917B2 (en) Music content playback apparatus, music content playback method and storage medium
CN105142017A (en) Picture switching method and picture switching device during picture video playing
WO2005017650A3 (en) Automated digital voice recorder to personal information manager synchronization
CN103686352A (en) Smart television media player and subtitle processing method thereof, and smart television
EP3929770B1 (en) Methods, systems, and media for modifying the presentation of video content on a user device based on a consumption of the user device
CN103456329B (en) A kind of multimedia method of broadcasting, device and mobile terminal
JP2002125199A (en) Frame information description method, frame information generating device and method, video reproducing device and method, and recording medium
CN106372246A (en) Audio playing method and device
CN107948838A (en) The control method and sound-box device of a kind of speaker
US20090192637A1 (en) Dynamically serving altered sound content
CN109618229A (en) Association playback method, device, server and the storage medium of audio-video
CN110399315A (en) A kind of processing method of voice broadcast, device, terminal device and storage medium
CN112331223A (en) Method for adding background music to dubbing
CN102014195A (en) Mobile phone capable of generating music and realizing method thereof
CN112565910A (en) Video dynamic speed-regulating playing method
CN104376859B (en) The method and online music player of a kind of playlist adjust automatically
CN105702240B (en) The method and apparatus of intelligent terminal adjustment accompanying song music
CN106446152A (en) Audio file recommendation method and device
CN107741840A (en) Music processing method, equipment and computer-readable recording medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination