4 ms·
This is awesome. How would something like this she made? I had a similar idea (but mixing entirely different types of streams) and did a whole bunch of searchi
by sen 4y ago
This is awesome.
How would something like this she made? I had a similar idea (but mixing entirely different types of streams) and did a whole bunch of searching and couldn’t find a way to mix two external streams.
Do you record/buffer the streams and write local chunks to stream from? Or is it more like “bounce this stream but mix some local audio files over it”?
- TaylorAlexander 4y agoI guess you could always play two streams at once and let the users audio device sort it out.
- paxys 4y agoThat's exactly what is happening here. There are two audio streams played by your browser, one being an mp3 file on the server (the lofi track) and the other coming from liveatc.net.
- colechristensen 4y agoYou have to decode both streams into straight samples and add them together, this can be done with a small memory buffer. You could also make a custom audio widget that played two streams at once and the local audio mixer will handle it.