ha7ilm / openwebrx

Open source, multi-user SDR receiver software with a web interface
https://sdr.hu/openwebrx
GNU Affero General Public License v3.0
989 stars 475 forks source link

Attach audio element to document tree, please #126

Closed JB-DX closed 5 years ago

JB-DX commented 5 years ago

I need to route the web browser audio to a specific device, not the default device. This can be done by using the chrome extension Audio-Pick https://rain-fighters.github.io/AudioPick/ Unfortunately this does not work with openwebrx. Probably because the audio element is not within the document tree as the AudioPick reademe suggest. Q: Could the audio element be attached to the document tree please?

dj1an commented 5 years ago

On Linux you could use pulseaudio or alsa loop for this. On Windows there are also some "Virtual audio cable" solutions available, to route the sound from one Device to another.

JB-DX commented 5 years ago

On Windows I intend to route it via VAC to another application (Spectrum Lab). For that you need to be able to select the input of VAC. But the browser (or openwebrx) does not provide that feature. Only Audio-Pick allows it, but not for openwebrx. Note: I just want to route Kiwi to VAC, not the entire browser or even default windows audio.

ha7ilm commented 5 years ago

Unfortunately there is no <audio> element at all. OpenWebRX uses the Web Audio API, so AudioPick wouldn't work with it.

Anyway, the KiwiSDR software is different from OpenWebRX (although it is based on that), so what I say does not apply for sure.

I think on Windows you could try to set the default audio device to VAC, at least while you start Chrome.

ha7ilm commented 5 years ago

As suggested above, you should try to install Virtual Audio Cable, set the default audio device to Virtual Audio Cable here:

...and then restart Google Chrome, and open a receiver.

Source of the image

I'm closing this now, because I think it's not an issue with OpenWebRX itself.