File size: 2,377 Bytes
d149a39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# Sound Effects

This directory contains sound effects for the voice assistant.

## Sound Effects

### Required Sounds

1. **Wake Word Triggered** - Played when wake word is detected
   - Filename: `wake_word_triggered.flac` or `wake_word_triggered.mp3`
   - Duration: ~0.5 seconds
   - Description: A short beep or chime to indicate wake word detection

2. **Timer Finished** - Played when a timer completes
   - Filename: `timer_finished.flac` or `timer_finished.mp3`
   - Duration: ~1 second
   - Description: A notification sound for timer completion

### Optional Sounds

1. **Listening Started** - Played when the assistant starts listening
   - Filename: `listening_started.flac` or `listening_started.mp3`
   - Duration: ~0.3 seconds

2. **Processing** - Played while processing voice input
   - Filename: `processing.flac` or `processing.mp3`
   - Duration: ~0.5 seconds (loopable)

3. **Error** - Played when an error occurs
   - Filename: `error.flac` or `error.mp3`
   - Duration: ~0.5 seconds

## 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
1. Download and install Audacity: https://www.audacityteam.org/
2. Record or create your sound effect
3. Export as FLAC or MP3
4. Place in this directory

#### Using Python
```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