Many musical instruments sounds can be represented by harmonic and additive noise signals. We are interested in separating these two elements of the sound. We fit a local harmonic model that tracks changes in pitch and of the amplitude of the harmonics. Deterministic changes in the signal suggest that different window sizes should be considered. Various ways to choose appropriate window sizes are studied.