Implemented a basic pitch control