Comments (8)
Present now in 2.5.8 :)
from rhasspy.
An MQTT topic to set the volume for a specific site ID would be useful indeed.
from rhasspy.
Any idea about having this ?
from rhasspy.
I will add myself to this request.
Currently I have a cron job that turns volume up/down and certain times of the day from the host - but was hoping to automate it through Node-Red/HA. Example, when baby's door is shut, turn down the volume.
I have tried to do this through a slot program, but it was explained to me these run during training, not execution - so that didn't work. I also tried from Node-Red but that requires you to install packages, and change permissions/groups... and doing that on every container update is tedious. I know it would work because I can adjust from within the Rhasspy container - its just not exposed to be executed from outside.
Exposing the volume through API and MQTT would be fantastic. I am not certain how difficult this would be (need to use the audio play device specified in the command, but I expect the amazing people working on this already know way more than I do on how to do it).
Because I would love to help, I'm going to start looking at this to see if I can figure out even a first step (I imagine looking at how the other API's work would be a start). But I highly doubt I'll get past the first step!
Thanks!
DeadEnd
from rhasspy.
For reference: discussion about this on the forum.
from rhasspy.
Another idea here: #112
I can modify rhasspy-speakers-cli-hermes to look for WAVE metadata with a requested volume change, run the WAV data through sox, and play the post-processed audio.
To make this work, we'd need to modify anything that puts out a playBytes
message to optionally include a volume setting. The nice thing is you could have different volumes for different services.
from rhasspy.
Got a start on the WAV metadata manipulation: https://github.com/synesthesiam/wav-chunk
from rhasspy.
This will be part of 2.5.8
from rhasspy.
Related Issues (20)
- Add a noise reduction system to Rhasspy and eliminate extraneous sounds HOT 6
- Picovoice/porcupine - react demo not working
- Extension request for oobabooga web UI
- Issue with my localhost:12101
- Aplay error after upgrade to home assistant 2023.6.1 HOT 1
- curl (22) the requested url returned error 404 HOT 3
- libgfortran4 no longer available via apt for Raspberry Pi OS HOT 1
- AsrException: 'str' object has no attribute 'get' HOT 1
- wyoming-piper cuda
- MacOS Build HOT 1
- No Audio Response from HA in 2.5.11 HOT 6
- When TTS is set to remote http the AudioPlayFinished come to early
- Chromebook offline
- ./configure fails on MacBook: error: ATLAS is required for Kaldi
- How to change the sound effect files? HOT 1
- Snowboy link broken in docs
- Intent using open transcription as slot state
- Different event messages based on intent recognized or not?
- aplay rhasspy problem HOT 1
- HTTP API /api/text-to-speech ignores voice parameter
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rhasspy.