Friday, 15 June 2012

python - merge background audio file -


I have 2 audio files for primary and background music that I want to merge (not included). The final audio file should be there until it is the primary file, and if background music is small, then it should be repeated.

If there is a Linux command or a Python library that can be used to do this? Supports merging, but the background audio is not allowed to be repeated.

As a possible solution, why not find out the length of the background file & lt; The length of the foreground file and then create a background file which is a loop, if necessary? Then you can pass it in socks.

You should be able to get the length (see frame count).

As far as python is the way to dissolve the streams, whatever you can do, however, if you are merging two full-volume sources, then you have one of them Try reducing the amount of 12 dB in the beginning), if you are mixing music and not

More audio libraries can be found.


No comments:

Post a Comment