The pitch is variable. Do you know what variable means?
I am being exceedingly sarcastic because I am trying to point out the essential folly of your question. All the necessary descriptive elements are in the name itself. If you don't already understand these basics, further explanation is an exercise in futility for us.
Besides, HOW it is accomplished is a long topic meant for those wishing to perhaps design one, and given the demonstrated lack of critical thinking you have displayed, I have my doubts as to whether that would be a good idea.
Further evidence to whit: you have posted a mechanical engineering question in an electrical engineering forum...
__________________
** All I every really wanted to be, was... A LUMBERJACK!.**