Page 1 of 1

Stream audio out of DAW to UPnP stream

PostPosted: Thu Nov 28, 2019 10:36 am
by OllieMarshall92
Hi All,

I was wondering if its possible to use the network client module to stream stereo audio data to an IP address that my music system could then pick up as a UPnP stream. So I can do comparisons from PC to HiFi system when mixing. I know there are probably other much easier ways (involving a cable) but its more of a 'could I' rather than 'should I'. :D

If this isn't possible with Flowstone, does anyone recommend the best way to stream audio out of a DAW to host UPnP stream?

All the best,

Ollie

Re: Stream audio out of DAW to UPnP stream

PostPosted: Sun Dec 22, 2019 4:46 pm
by wlangfor@uoguelph.ca
You could always make a exe in standalone or maybe you could just rig it so that you use ruby and playsound.

It calls a function in windows, playsound or something. It could be done in primitives too with the exec command or something. Being that it played to the main channel of your pc it should be a simple matter to send the main out to upnp? Not sure, but maybe it will get the right ideas going.

Re: Stream audio out of DAW to UPnP stream

PostPosted: Sun Dec 22, 2019 6:05 pm
by trogluddite
To use the network server primitives, the audio streams would require processing in Ruby (from audio Frames) and conversion to "green" hex strings. Ruby and "green" aren't designed to cope with the speed of real-time audio processing, and the timing of "green" events is unpredictable, so even if it's possible theoretically, I think it would be very hard to do reliably and the CPU load would be very high.

Googling for "windows network audio stream" finds several apps which either create a "virtual sound card" or tap into the WDM audio-driver system. I've never tried any them, but they look like they might be a more practical solution; though running network audio alongside ASIO drivers from the same application probably wouldn't be possible.