I have two audio (wav) files.
And i need to create one audio file (wav) with 5 minutes white noise between them.
How can i do it on code ?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 6 of 6
Thread
-
-
Sorry for my answers, but you need to ask your question much more precisely. What software do you want to use? What operating system? Do you only need to do this once, or do you need to automate it?
-
First, you need to check and make sure that your 3 parts (1st audio, noise, 2nd audio) are all on the same page for samplerate, bitdepth, # channels (and their layout/order). Without these all being the same, you MUST edit + re-encode instead.
Next, you should NOT just do a binary file concatenate, because each one has headers and timestamped packets/chunks, so you should use a joiner that applies new single header and makes the resulting timestamps contiguous/monotonically ascending.
Pretty sure ffmpeg can do that with a "concat" command (but beware because there are 2 different things in ffmpeg referred to as concat). Sox might able to do this as well in command line.
But, 99% of the time, it is easier to just load the 3 clips into an audio editor or DAW, lay them on timeline one after the other, and export.
In fact, it would take less time to do that than it took to write this reply.
Scott
Similar Threads
-
ffmpeg: Concatenating MP4 files adding chapters for each one
By Keyser in forum Video ConversionReplies: 6Last Post: 12th May 2022, 17:19 -
Short white noise bursts in AAC audio that were not there before
By Foebane72 in forum Video ConversionReplies: 18Last Post: 22nd Oct 2016, 16:06 -
Concatenating 2 files with diffrent encoder setting (x264)
By ben45 in forum Video ConversionReplies: 25Last Post: 11th Oct 2016, 09:45 -
Concatenating/Joining/Appending MKV Files?????
By thufz in forum Video ConversionReplies: 10Last Post: 22nd May 2016, 01:31 -
White Noise reduction
By Paxmilitaris in forum AudioReplies: 13Last Post: 18th Dec 2014, 10:49