Added function for generating polynomial for sound - not yet impl