void encoderRotateSound()
Generate encoder rotate sound.
void turnOnMelody()
Generate turn on sound.
void buttonClickSound()
Generate button click sound.
void openCloseMelody()
Generate open-close melody.
void clapMelody()
Generate clap melody.
#define ENCODER_ROTATE_FREQUENCY
Tone frequency for encoder rotate event.
#define BUTTON_CLICK_FREQUENCY
Tone frequency for button click event.
#define SPEAKER_PIN
The speaker is connected to pin 9 on the Arduino.
#define TURN_ON_SOUND_DURATION
Tone duration for turn on event.
#define TURN_ON_SOUND_FREQUENCY
Tone frequency for turn on event.
#define BUTTON_CLICK_DURATION
Tone duration for button click event.
#define ENCODER_ROTATE_DURATION
Tone duration for encoder rotate event.