Damn, I’m so silly and just recently found out the meaning of the “Window Size” parameter.
It’s connected with the sample frequency and the sample rate. Giving an example.
I have a Mellotron Choir Sample.
It has been sampled with 44.1 Khz.
And it has been sampled playing the note A2.
What the heck. Now you can do some computations… I show you with the example.
First look up the frequency for A2 … or you might know it from A4 of 440Hz. It is 110 Hz
So just compute - 44100 Samples/Second : 110 oscillations/second
It gives you: 400,9 samples / oscillation
And guess what - That is exactly the “Windows Size” you have to chose to play your sample back pitched correctly!
And what you see in the screenshot is a Window Size of “400.3”… just a typo of mine.
Any other Window Size will detune it! Check out the Template Patch below.
I haven’t actually check samples where the meta data root note has been set correctly. On any of the samples I have tried Vital did nothing to the Windows-Size and left it to 2048.0. I tried for instance C3 which following my computations would be something like 337 windows size.
Mellotron Choir - Imported Sample.vital (473.3 KB)
Check out the website here to get frequencies of notes: https://www.inspiredacoustics.com/en/MIDI_note_numbers_and_center_frequencies