Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio from external device is streamed to Hyperion for processing by audio grabber #1584

Open
Jordi24 opened this issue Mar 4, 2023 · 2 comments

Comments

@Jordi24
Copy link

Jordi24 commented Mar 4, 2023

Feature request

I think this feature requires changes in the Hyperion code. If it is already supported in some way or another, please let me know and I will close this request.

What problem does this feature solve?

Being able to use the audio grabber feature whilst Hyperion is running on a Raspberry pi that is not physically connected to the audio source.

What does the proposed API look like?

Unsure, maybe similar streams can be used to the one now available for images?

How should this be implemented in your opinion?

My ideal solution would be that when I play a song/audio in Windows 10, this audio is also streamed to my Raspberry pi for processing by the audio capture feature.

Are you willing to work on this yourself?

Unfortunately, I do not have the programming skills to work on this.

@EliteScientist
Copy link
Contributor

I like this idea, how do you imagine this being setup? I ask because I want to see how you'd see the audio being streamed. One issue I could see is latency also. With the audio being captured at the device itself, we are able to minimize latency. With streaming it may be very difficult to sync what you see with what you hear.

Some companies do this by adding a configurable delay where the user has to specify the delay, I see this in home theater systems. and these have minimal latency as its all connected via hdmi.

@Jordi24
Copy link
Author

Jordi24 commented Mar 11, 2023

I am glad you like the idea!

Unfortunately, I am no expert on streaming protocols but my vision was that it would behave similar to the Hyperion Screen Capture software but then for audio. Thus, the audio you hear is still produced by Windows but is 'duplicated' and sent to the Raspberry Pi for the Hyperion visualization. The screen capture also does not have any latency settings but as long as you have a sufficient (ethernet) connection, it works flawless without any noticeable delay.

In a sense, this feature request is similar to the Spotify integration in Philips Hue (example). Now I think of it, a setting to change the intensity/dynamic of the visualization might be great too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants