How is a hanning window created? Im following the granular synth tutorial here: http://pd-tutorial.com/english/ch03s07.html
but in my code: im not sure how to write the table for the hanning window , it kinda just appears?
many thanks
Hanning window
How is a hanning window created? Im following the granular synth tutorial here: http://pd-tutorial.com/english/ch03s07.html
but in my code: im not sure how to write the table for the hanning window , it kinda just appears?
many thanks
Its supposed ti get ri of click but its not the that effective is this anything off about this patch?
also... is there a feasible way this design work with the granular synth so you can adjust where you sample begins and ends?
You have to divide the sampling rate by the size of the array where you'll store the hanning window. Also, you need to set the phase of [osc~] to 0.5. [osc~] is a cosine oscillator, not a sine, which means that when its phase is 0 it outputs 1, and when the phase is 0.5, it outputs -1. Multiplying by 0.5 and adding 0.5 will yield 0 at the beginning, which is what you want.
I've made an abstraction for various window type which you can find here (it's [window]).
Great I think ive found a working solution
Also heres the sample playback design combined with the granular pitch adjustment
Just to document it here. If you want to create a hann window and store it in an array, you can do the following:
Oops! Looks like something went wrong!