|
From: | Peter Søndergaard |
Subject: | Re: Ltfat tria window |
Date: | Sat, 03 Jan 2015 09:53:09 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 |
Den 03-01-2015 01:25, Jerry skrev:
Don't get confused by the layout of the LTFAT windows, this is just a different storage convention, the end result when using the window should be the same. LTFAT has a function called "pfilt" to use the LTFAT windows, this will give you a zero-delay filter from the LTFAT window. The "filter" routines in Octave and Matlab always introduce a time-delay, which can be very confusing sometimes. About the use of windows:There are two different symmetries that you can go for when sampling a continuous window. This will give you sequences likes this: 1 2 1 0 or .5 1.5 1.5 .5 Both of the above sequences sum to 2 if you shift them 2 samples and add them to themselves, they are both valid candidates for a triangular window of length 4. For audio applications you would always choose the first one, because it is the symmetry of the DFT. It will give you a linear phase filter if you convolve with the sequence. For image applications, the second choice has an advantage, because you can deal better with the boundary of the image. I think going for the first symmetry makes the most sense, because I believe it has the most applications. The boundary handling of image analysis is a much more advanced application than simple audio processing. Cheers, Peter. |
[Prev in Thread] | Current Thread | [Next in Thread] |