Adding Sound Files (CRITICAL STEP):
- Inside your Anki add-ons folder, open the
ambient_soundscapes folder.
- Create a new subfolder named
sounds.
- Place your desired sound files (e.g.,
.mp3, .wav) into this sounds folder.
** (ONLY EXAMPLE) Example Sounds Mentioned in Default Configuration:**
The default SOUND_DEFINITIONS in the add-on code points to:
sounds/rain_light.mp3 (Displayed as "Light Rain"):
- Suggested type: A continuous recording of gentle rain.
- Example: Imagine a soundscape similar to a 3-hour rain recording.
- For inspiration on the type of audio (you still need to provide the actual
.mp3 or .wav file): Think of long-form rain videos, for instance, conceptually similar to content that might be found via a general search for long rain sounds (an illustrative placeholder for where one might find such video inspiration could be imagined as https://www.youtube.com/watch?v=q76bMs-NwRk&t=64s).
Remember: You must download or create these audio files (e.g., .mp3, .wav) yourself and place them in the ambient_soundscapes/sounds/ folder. The add-on plays local audio files, not online videos. The provided example URLs are purely conceptual placeholders for the type of lengthy ambient videos that might inspire the audio you choose to find or create.
To use these specific examples, you would:
- Obtain a suitable "light rain" audio file (e.g., MP3, WAV), ideally one that loops well or is very long. Rename it to
rain_light.mp3 and place it in the sounds folder.
- Obtain a suitable "summer insects" audio file. Rename it to
insects_summer.mp3 and place it in the sounds folder.
If your filenames are different, you must edit the SOUND_DEFINITIONS dictionary at the top of the __init__.py file to match your filenames and desired display names.
# Example SOUND_DEFINITIONS in __init__.py:
SOUND_DEFINITIONS = {
"rain": { # This is the 'key'
"name": "Light Rain", # Display name in the menu
"file": "sounds/rain_light.mp3" # Path relative to __init__.py
},
"insects": {
"name": "Summer Insects",
"file": "sounds/insects_summer.mp3"
},
# To add a new sound called "Forest":
# "forest": {
# "name": "Deep Forest",
# "file": "sounds/my_forest_sound.wav" # Make sure this file exists
# }
}