And now in order to decide the window size,

well it's good to basically go to terminal and

from a Python we can just quickly do calculations.

So for example we can just say, okay the blackman window has

a six advancing the main node, we multiply by 44,100.

And we said that the lowest frequency was around 400 something hertz,

so in order to be safe, let's say okay, 400 hertz.

So 400, and this is the window

size that is appropriate for a frequency of 400, the lowest which is

the meaningful one because it's the longest window that we will need.

Okay so we will put as window size let's say 661 our size.

FFT size let's make a big one so we have zero padding let's so 2048.

The threshold it really doesn't need to be that low, but let's leave it.

So we have a lot of harmonics there.

The minimum duration of sinusoidal tracks 41 that's fine.

The maximum number of harmonics.

The maximum number of harmonics that there will be will be 44,100 divided by 400,

okay that would be,

if it had all the harmonics it's 110 but of course this is the lowest frequency and

this is really if we would have harmonics all the way through.

So 100 would be fine, then we need to define the range of the fundamental

frequency so we can put the one we set.

It was around 400 and the other was around 600 and something,

so to be safe, let's say 650.

This is the nearest threshold to identify the fundamental frequency.

Maybe let's be a bit more flexible and put seven.

And this deviation, that's fine like this,

and the stochastic approximation for the residual, we