Recommendations for software for network audio streaming

AI Thread Summary
Recommendations for audio streaming software over a network highlight the need for open-source tools that are actively maintained and offer enterprise support, particularly for security reasons. The user is currently utilizing FFmpeg but finds it limiting for controlling audio streams. The goal is to implement concurrent streaming of microphone input and audio files using RTP to transmit raw mono audio. The desired functionality includes ducking the audio file volume when the microphone is active or pausing the audio stream to prioritize the microphone input. A solution was found using FFmpeg with a specific command to achieve the desired audio mixing and streaming. Additionally, PULSAR is mentioned as a potential tool, though its open-source status is uncertain. Other resources like rtptools and PulseAudio capture methods are also referenced.
nicholasjackson
Messages
2
Reaction score
0
TL;DR Summary
Looking for open-source, actively maintained audio streaming tools that support RTP. Need to mix/duck mic input over ongoing file streams for a real-time voice-over feature. Currently using FFmpeg but need more control.
Hi everyone,
I'm looking for recommendations for audio streaming software over a network. I'm currently working on a WPF Application that requires open-source tools that are actively maintained and preferably offer enterprise support due to security concerns.

At the moment, I'm using FFmpeg, but I find it limiting in terms of controlling the audio streaming process. I'm trying to implement a feature that allows concurrent streaming of both microphone input and audio files. Both streams use RTP to transmit raw mono audio.

The specific use case looks like this:

The user begins streaming an audio file (which may be looped or played once).

While the file is streaming, the user speaks into the microphone.

Ideally, the system should lower (duck) the audio file's volume to make the mic audio more prominent. If that's not feasible, the fallback would be pausing the audio file stream to let the mic stream play uninterrupted, then resuming the file afterward.

If anyone has worked on something similar or knows of technologies that could help achieve this, I'd really appreciate your insights. Thanks in advance!
 
Computer science news on Phys.org
Well I am closing this thread as I have managed to find a solution with ffmpeg. Posting the command here:```
ffmpeg -f dshow -i audio="yourMicrophone" -stream_loop -1 -i yourAudio.mp3 ^
-filter_complex "
[1:a]volume=0.25[mp3quiet];
[mp3quiet][0:a]sidechaincompress=threshold=0.03:ratio=20:attack=3:release=400:mix=1[ducked];
[ducked][0:a]amix=inputs=2:duration=first:dropout_transition=2[aout]
" ^
-map "[aout]" -ac 1 -ar 44100 -acodec pcm_s16be -f rtp rtp://127.0.0.1:5004```
 
My immediate reflex, without thinking or digging too much, was PULSAR. I have problems determining if it's genuinely open source, but since it's the go-to on Linux installations I would (like to) think so without being able to make any guarantees.

https://pulsar.apache.org/

Stumbled over this searching just a thin layer deeper:

https://github.com/irtlab/rtptools

https://trac.ffmpeg.org/wiki/Capture/PulseAudio

Sorry, if I'm just making a lot of noise but getting Ardour6 up and running I seem to remember there was no way without Pulsar.

EDIT: Oh, just ignore me then. Don't know why I couldn't see those post only after I made my own post.
 
This week, I saw a documentary done by the French called Les sacrifiés de l'IA, which was presented by a Canadian show Enquête. If you understand French I recommend it. Very eye-opening. I found a similar documentary in English called The Human Cost of AI: Data workers in the Global South. There is also an interview with Milagros Miceli (appearing in both documentaries) on Youtube: I also found a powerpoint presentation by the economist Uma Rani (appearing in the French documentary), AI...
I have been idly browsing what Apple have to offer with their new iPhone17. There is mention of 'Vapour cooling' to deal with the heat generated. Would that be the same sort of idea that was used in 'Heat Pipes' where water evaporated at the processor end and liquid water was returned from the cool end and back along a wick. At the extreme high power end, Vapour Phase Cooling has been used in multi-kW RF transmitters where (pure) water was pumped to the Anode / or alternative Collector and...
Back
Top