Prototype for check the algorithm of sound generator