Sound Effects
This directory contains sound effects for the voice assistant.
Sound Effects
Required Sounds
Wake Word Triggered - Played when wake word is detected
- Filename:
wake_word_triggered.flacorwake_word_triggered.mp3 - Duration: ~0.5 seconds
- Description: A short beep or chime to indicate wake word detection
- Filename:
Timer Finished - Played when a timer completes
- Filename:
timer_finished.flacortimer_finished.mp3 - Duration: ~1 second
- Description: A notification sound for timer completion
- Filename:
Optional Sounds
Listening Started - Played when the assistant starts listening
- Filename:
listening_started.flacorlistening_started.mp3 - Duration: ~0.3 seconds
- Filename:
Processing - Played while processing voice input
- Filename:
processing.flacorprocessing.mp3 - Duration: ~0.5 seconds (loopable)
- Filename:
Error - Played when an error occurs
- Filename:
error.flacorerror.mp3 - Duration: ~0.5 seconds
- Filename:
How to Add Sounds
Option 1: Use Pre-made Sounds
Download free sound effects from:
- Freesound: https://freesound.org/
- Zapsplat: https://www.zapsplat.com/
- Pixabay: https://pixabay.com/sound-effects/
Option 2: Create Your Own Sounds
Using Audacity
- Download and install Audacity: https://www.audacityteam.org/
- Record or create your sound effect
- Export as FLAC or MP3
- Place in this directory
Using Python
import numpy as np
from scipy.io import wavfile
# Create a simple beep
sample_rate = 16000
duration = 0.5
frequency = 440 # A4 note
t = np.linspace(0, duration, int(sample_rate * duration), False)
audio = np.sin(2 * np.pi * frequency * t) * 0.5 # 50% volume
# Save as WAV
wavfile.write('wake_word_triggered.wav', sample_rate, audio.astype(np.float32))
Sound Format Requirements
- Format: FLAC, MP3, or WAV
- Sample Rate: 16kHz (recommended)
- Channels: Mono
- Bit Depth: 16-bit or higher
- Duration: < 2 seconds (for UI sounds)
Default Sounds
If you don't have custom sounds, the application will use:
- System beep (if available)
- No sound (silent mode)
Notes
- Sound files are binary files and cannot be included in the repository
- Users must provide their own sound effects
- Sounds should be short and non-intrusive
- Use royalty-free sounds to avoid copyright issues