piezo
moved generate_tone