|
From: Jan S. <ha...@st...> - 2015-07-15 13:11:18
|
On Jul 14 16:41:32, for...@gm... wrote: > I have a feeling this will involve multiple invocations of sox using a |, > but am not sure yet. > > I want to be able to mix synth output with a pre-existing wav file. I could > do this as follows: > > play orig.wav trim 0 3 synth 0 brownnoise mix > > Which appears to equally mix the noise with the original. However, I want > much less noise signal than that, only a hint of it. I can apply gain after > the synth, but that applies to the entire chain. How can I know the gain of > the noise down a lot but let the original come through much louder? You can also put it in a separate file: sox -n noise.wav synth 3 brownnoise gain -9 sox -m orig.wav noise.wav mix.wav |