Considerations in the design of a ShortTimeFFT window?

Edward Richards <[email protected]> Fri, 1 Mar 2024 14:20:12 -0800
Newsgroups gmane.comp.python.scientific.devel
Message-ID <CAADEu5ZMKFVV+iaqPjc+wmxFvK2076qsnAn2tWygGzdEpPYxkw@mail.gmail.com>
--===============7023711366405442742==
Content-Type: multipart/alternative; boundary="0000000000002de6f80612a0c860"

--0000000000002de6f80612a0c860
Content-Type: text/plain; charset="UTF-8"

I was very excited by the new ShorftTimeFFT class, and am beginning to
introduce it into my workflow. My team is interested in audio simulation
and source waveform reconstruction from microphone arrays, and the inverse
STFT functionality is a big draw to the new class.

Our first use case is an integrator and differentiator. We implement this
with a forward/inverse stft pair, and the frequency domain calculus
definitions. We were surprised that the choice of window changes the
derivative result in particular, at a -50 dB level. Unexpectedly, it seems
that lower order windows work much better than higher order. For example,
the hann window computes a better inverse stft than the nuttall window.

We would like to get a better sense of why and get better insight into this
new class. The ShortTImeFFT example uses a Gaussian window, which is an
unusual window choice in my experience. Is there a good reference that can
guide the selection of a window with the application of an inverse stft in
mind?

Thank you,
Ned Richards

--0000000000002de6f80612a0c860
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I was very excited by the new ShorftTimeFFT class, an=
d am beginning to introduce it into my workflow. My team is interested in a=
udio simulation and source waveform reconstruction from microphone arrays, =
and the inverse STFT functionality is a big draw to the new class.</div><di=
v><br></div><div>Our first use case is an integrator and differentiator. We=
 implement this with a forward/inverse stft pair, and the frequency domain =
calculus definitions. We were surprised that the choice of window changes t=
he derivative result in particular, at a -50 dB level. Unexpectedly, it see=
ms that lower order windows work much better than higher order. For example=
, the hann window computes a better inverse stft than the nuttall window.</=
div><div><br></div><div>We would like to get a better sense of why and get =
better insight into this new class. The ShortTImeFFT example uses a Gaussia=
n window, which is an unusual window choice in my experience. Is there a go=
od reference that can guide the selection of a window with the application =
of an inverse stft in mind?</div><div><br></div><div>Thank you,</div><div>N=
ed Richards<br></div></div>

--0000000000002de6f80612a0c860--

--===============7023711366405442742==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
SciPy-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/scipy-dev.python.org/
Member address: [email protected]

--===============7023711366405442742==--