Replies: 2 comments
-
If you really want to drive the surroundings crazy, you could implement a small bot detecting when one play ended, and fire off the next play. Or you could use the known playing time to issue the command at that interval. Having no MQTT messages does make it a bit tricky to detect "end of play", but using the |
Beta Was this translation helpful? Give feedback.
-
Unrelated to this topic I already had begun to implement something like that. I am still testing for stability and memory leaks (there was a big one in the opus decoder). The target application I have in mind is a background noise/ambient sounds player (this is what basically all "sleep machines" are). You can easily generate noise snippets with Audacity or download from open sources. If all goes to plan I can make a PR later today. |
Beta Was this translation helpful? Give feedback.
-
Title says it all: How to play a MP3 from the filesystem repeatedly until stopped?
It could either just loop, or start playing the mp3 every X seconds (with X being a parameter).
I would need commands to start and stop playing that can be used e.g., in rules.
E.g., for an alarm clock that repeatedly plays the alarm sound until snoozed or cancelled.
Like this:
Is this possible in Berry and if so, how?
Beta Was this translation helpful? Give feedback.
All reactions