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.
 
In my discussions elsewhere, I've noticed a lot of disagreement regarding AI. A question that comes up is, "Is AI hype?" Unfortunately, when this question is asked, the one asking, as far as I can tell, may mean one of three things which can lead to lots of confusion. I'll list them out now for clarity. 1. Can AI do everything a human can do and how close are we to that? 2. Are corporations and governments using the promise of AI to gain more power for themselves? 3. Are AI and transhumans...
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...
Back
Top