-void audio_toggle(void) {
- audio_config.enable ^= 1;
- eeconfig_update_audio(audio_config.raw);
-}
-
-void audio_on(void) {
- audio_config.enable = 1;
- eeconfig_update_audio(audio_config.raw);
-}
-
-void audio_off(void) {
- audio_config.enable = 0;
- eeconfig_update_audio(audio_config.raw);
-}
-
-#ifdef VIBRATO_ENABLE
-// Vibrato rate functions
-
-void set_vibrato_rate(float rate) {
- vibrato_rate = rate;
-}
-
-void increase_vibrato_rate(float change) {
- vibrato_rate *= change;
-}
-
-void decrease_vibrato_rate(float change) {
- vibrato_rate /= change;
-}
-
-#ifdef VIBRATO_STRENGTH_ENABLE
-
-void set_vibrato_strength(float strength) {
- vibrato_strength = strength;
-}
-
-void increase_vibrato_strength(float change) {
- vibrato_strength *= change;
-}
-
-void decrease_vibrato_strength(float change) {
- vibrato_strength /= change;
-}
-