filter convolve

Using Nyquist scripts in Audacity.
Post and download new plug-ins.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
DERF
Posts: 331
Joined: Sun Jun 13, 2010 12:37 pm
Operating System: Please select

filter convolve

Post by DERF » Mon Aug 10, 2015 3:24 pm

Hello.
My question concerns the filter convolve. It is thus necessary to write a code as this one for exemple:

Code: Select all

(abs-env (convolve (osc c4 4) (cue s)))
The sound "s" corresponds to the response. (convolve sound response) .
When I apply this code, I observe this: A sinusoidal wave ( c4 4) is preceded and followed by the response.
My question is the following one: does the filter convolve simply serve to copy at the beginning and at the end of a sound, an audio fragment (the response)?
Thank you for your answer.

steve
Site Admin
Posts: 81653
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: filter convolve

Post by steve » Sat Aug 15, 2015 2:35 pm

DERF wrote:My question is the following one: does the filter convolve simply serve to copy at the beginning and at the end of a sound, an audio fragment (the response)?
No. The function CONVOLVE convolves two signals.

(convolve sound response)
In your example, (osc c4 4) is a 4 second duration sine wave and is the "sound" of the convolve function (the first signal). "s" is the selected track audio - that is the "response" (the second signal) of the convolve function.

The purpose of the function is to perform convolution
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply