question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature-Request: Play sound via api

See original GitHub issue

Would be great to play custom wav files using the API. This is currently possible by using the following command

/opt/rockrobo/firmware/uart_test -e /mnt/data/rockrobo/sounds/error1.wav

(maybe you know another solution)

I would create a pull-request. But I have no idea where to search for. I’ve endet up in “sendMessage” with parameter “test_sound_volume” on a udp socket?! 😢

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:6
  • Comments:18 (8 by maintainers)

github_iconTop GitHub Comments

5reactions
klein0rcommented, Mar 8, 2019

A lot of people are searching for audio feedback in their smart homes. There are a lot of different solutions for that. e.g. SONOS.

For example: When you enter the room, you want to get a list of open tasks / whats happening today. Or someone rings on the front door, you could also play a sound over your vaccum without a seperate speaker in that room.

Obviously I want to play my own sound files. Maybe valetudo could offer an upload mechanism on the web UI to make that process easier. What I need for that task, is an API which can be used to trigger the playback.

At the moment I could use ssh to start the playback. But that’s not the nicest solution 😄

2reactions
duhowcommented, Oct 31, 2020

I was able to compile and run mpd 0.19.21 along with upmpdcli v1.1.4 - libupnpp v0.14.1, now I turned my vacuum Roborock S6 in a UPnP media renderer that can play music and radio while it cleans the house 😂

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using the Web Audio API - Web APIs - MDN Web Docs
Let's take a look at getting started with the Web Audio API. We'll briefly look at some concepts, then study a simple boombox...
Read more >
Getting started with Web Audio API
An AudioContext is for managing and playing all sounds. To produce a sound using the Web Audio API, create one or more sound...
Read more >
Playing Sounds with the Web Audio API - Apple Developer
Explains how to use the HTML 5 audio and video tags to add media to web content.
Read more >
Loading and Playing Sound Files
While playing a sound file with Web Audio API is a bit more cumbersome to set up, it ultimately gives you much more...
Read more >
Playing a simple sound with web audio api - Stack Overflow
minimalistic approach to modern ES6. new AudioContext();; context.createBufferSource();; source.buffer = audioBuffer; audioBuffer requests ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found