fftin~ sinus window

Olivier Pasquet's icon

Hello !

Is there the possibility to have a sinusoid window with fftin~ ? I
only see square, triangle, hanning, hamming and blackman. Sinus is
widely used.

A good thing with fftin~ would be the possibility to set a window
buffer~ name as argument too...

O.//////.P//

Emmanuel Jourdan's icon

On 21 nov. 07, at 12:41, olivier pasquet wrote:

> Hello !
>
> Is there the possibility to have a sinusoid window with fftin~ ? I
> only see square, triangle, hanning, hamming and blackman. Sinus is
> widely used.
>
> A good thing with fftin~ would be the possibility to set a window
> buffer~ name as argument too...

Actually this is already possible. Just set the name of a buffer~
instead of the predefined windows type.

ej

Emmanuel Jourdan's icon
Olivier Pasquet's icon

Yes, indeed. Thank you.
I remember it now you remind me. ;) You can change the help patch.

See you at Selecta machine !

Stefan Tiedje's icon

olivier pasquet schrieb:
> Hello !
>
> Is there the possibility to have a sinusoid window with fftin~ ? I only
> see square, triangle, hanning, hamming and blackman. Sinus is widely used.

The widely used sinus is called hanning window, sometimes called raised
cosine...

I don't know of other widely used sinusoid windows in fft...

Stefan

--
Stefan Tiedje------------x-------
--_____-----------|--------------
--(_|_ ----|-----|-----()-------
-- _|_)----|-----()--------------
----------()--------www.ccmix.com

Olivier Pasquet's icon

hello Stephan ! :)

> The widely used sinus is called hanning window, sometimes called
raised cosine...< yes, indeed, you are totally right. But I my special case, I wanna
a half sine wave window, easier for me with energy calculations; this
is what I fast called sinus. Window choice is like red wine.

O.//////////

Stefan Tiedje's icon

olivier pasquet schrieb:
>< yes, indeed, you are totally right. But I my special case, I wanna a
> half sine wave window, easier for me with energy calculations; this is
> what I fast called sinus. Window choice is like red wine.

But a sine window is like a Beaujolais nouveau... ;-)

Stefan

--
Stefan Tiedje------------x-------
--_____-----------|--------------
--(_|_ ----|-----|-----()-------
-- _|_)----|-----()--------------
----------()--------www.ccmix.com