pwm tone generator added, prosign handling