Plays relaxing ambient sounds (rain, ocean waves, cafe, white noise, etc.) for a user-selected duration. Users can stop playback anytime by saying “stop”.
- "noise machine"
- "sound machine"
- "sleep sounds"
- "play rain"
- "ocean waves"
- "white noise"
- "cafe sounds"
- "forest birds"
- Audio files: Upload the 15 MP3 files into the Ability workspace (same folder as
main.py), with these exact names:rain.mp3heavy_rain.mp3ocean_waves.mp3river_stream.mp3white_noise.mp3pink_noise.mp3brown_noise.mp3forest_birds.mp3crickets.mp3campfire.mp3wind.mp3thunder.mp3cafe.mp3fan.mp3waterfall.mp3
- Trigger words: Set your trigger phrases in the OpenHome editor (these should match what you want users to say out loud).
- No API keys required.
- The user launches the ability using a trigger phrase (e.g., “noise machine”).
- The ability asks what sound the user wants (or matches it if they already said one).
- The ability asks for a duration (e.g., “30 minutes”, “one hour”, “hour and a half”).
- It plays the selected sound in a loop until the timer ends or the user says “stop”.
- The ability exits cleanly back to normal OpenHome flow.
User: "noise machine"
AI: "Noise machine ready. Popular sounds are: Rain, Ocean waves, White noise, Campfire, Forest birds. What would you like to hear?"
User: "cafe"
AI: "How long should I play it? You can say 30 minutes or 1 hour."
User: "one hour"
AI: "Playing Cafe for 1 hour. Say stop anytime."
User: "stop"
AI: "Okay, stopped."