Search found 5 matches

by sneftel
Mon May 19, 2014 8:56 am
Forum: Audio Processing
Topic: Reverse ducking
Replies: 8
Views: 1544

Re: Reverse ducking

Okay, so you're waaay ahead of me. Awesome. ;)

Yeah, that code works great. Memory usage is a bit of a nailbiter near the end, but nothing crashes. I threw in a MAX to keep the voiceover from cutting out entirely when the main mix is silent, and the result is perfect. Thanks!
by sneftel
Sat May 17, 2014 11:35 pm
Forum: Audio Processing
Topic: Reverse ducking
Replies: 8
Views: 1544

Re: Reverse ducking

Thanks, I'll give that a try. It occurs to me that I could duplicate the mix and drop its sample rate to something totally unreasonable, just to conserve memory in the scratch space.
by sneftel
Sat May 17, 2014 3:39 pm
Forum: Audio Processing
Topic: Reverse ducking
Replies: 8
Views: 1544

Re: Reverse ducking

(something like:) FALLOFF_SPEED = 0.2 SAMPLE_RATE = 44100 alpha = exp(-FALLOFF_SPEED*SAMPLE_RATE) cur_mean_squared = control_samples[0] for control, in, out in control_samples, in_samples, output_samples: cur_mean_squared = (1-alpha) * cur_mean_squared + alpha * control*control rms = sqrt(cur_mean_s...
by sneftel
Sat May 17, 2014 3:23 pm
Forum: Audio Processing
Topic: Reverse ducking
Replies: 8
Views: 1544

Re: Reverse ducking

I suppose I'd get a mono mix of the original mix, find its amplitude as a signal, apply a low-pass filter to that, and use the result to modulate the voiceover. Seems straightforward enough as a set of equations, but I don't know how to do it within Audacity. I see that there's support for arbitrary...
by sneftel
Sat May 17, 2014 1:08 pm
Forum: Audio Processing
Topic: Reverse ducking
Replies: 8
Views: 1544

Reverse ducking

I have an existing multichannel mix with pretty big dynamic range, and a voiceover track. I'd like to mix the voiceover with the original mix and have it be understandable. Ordinarily I'd use ducking, but I'm trying to change the original mix as little as possible, so instead I'd like a sort of reve...