Added sound generation.