[QSTN] Streaming recorded audio with modifiers through Udp
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 30/100
- Tipo di issue
- Documentazione
- Chiarezza
- Da chiarire
- Stato di attività
- Tranquilla
- Stack tecnologico
- csharp
- Ambito
- audio-video-rtc
Direzione di ricerca
Inizia con la pipeline di acquisizione mostrata e con i punti di ingresso WebRtcApmModifier, MicrophoneDataProvider e SoundPlayer; determina come viene esposto l’audio elaborato prima di valutare il trasporto UDP e la riproduzione remota. Conferma le versioni di SoundFlow, .NET e del sistema operativo e definisci il percorso previsto per la riproduzione remota. Il lavoro è completato quando è disponibile una risposta documentata e riproducibile oppure una limitazione chiaramente dichiarata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Requirements
- I have searched the documentation and existing issues for an answer.
- My question is specific and clearly formulated.
- This is not a bug report or a feature request.
1. What are you trying to achieve?
I'm using the WebRtcApmModifier class to prevent acoustic echo from the microphone and I can receive the sound on my local computer. However, I want to send the clean sound from the microphone to a remote computer using the UDP protocol and play the sound on the remote computer. How can I do this?
2. What have you tried so far?
WebRtcApmModifier sınıfı ile mikrofondan gelen sesin akustik yankısını engelliyorum ve local bilgisayarımda sesi alabiliyorum.
3. What are you unsure about / What is your specific question?
mikrofondan gelen temiz sesi uzak bir bilgisayara udp protolkolu ile göndermek ve uzak bilgisayarda sesi çalmak isiyorum bunu nasıl yapabilirim
4. Relevant Code Snippet (if applicable)
if (!captureDeviceInfo.HasValue) return;
var playbackDeviceInfo = SelectDevice(DeviceType.Playback);
if (!playbackDeviceInfo.HasValue) return;
using var captureDevice = Engine.InitializeCaptureDevice(captureDeviceInfo.Value, Format);
using var playbackDevice = Engine.InitializePlaybackDevice(playbackDeviceInfo.Value, Format);
captureDevice.Start();
playbackDevice.Start();
using var engine = new MiniAudioEngine();
var audioFormat = new AudioFormat { Format = SampleFormat.F32, SampleRate = 48000, Channels = 2 };
using var microphoneProvider = new MicrophoneDataProvider(captureDevice);
// Add noise suppression modifier and keep a reference to it for interactive controls.
var apmModifier = new WebRtcApmModifier(captureDevice,
nsEnabled: true,
aecEnabled: true,
aecMobileMode: false,
nsLevel: NoiseSuppressionLevel.High);
// Create a SoundPlayer and load an audio file
using var soundPlayer = new SoundPlayer(Engine, Format, microphoneProvider);
var gainComponent = new CustomGainComponent(engine, audioFormat) { Gain = 0.5f };
gainComponent.ConnectInput(soundPlayer);
//soundPlayer.AddModifier(apmModifier);
playbackDevice.MasterMixer.AddComponent(gainComponent);
microphoneProvider.StartCapture();
soundPlayer.Play();
SoundFlow Version
No response
.NET Version
No response
Operating System
No response
6. Additional Context
No response
- Lingua principale
- C#
- Stelle
- 512
- Fork
- 56
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di LSXPrime/SoundFlow
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
[BUG] WebRtcApmModifier: AEC silently does nothing - far-end (reverse) stream is never fed to APM Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
Tutte le issue di LSXPrime/SoundFlow
Issue simili
-
effort:S P3 refactor
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
nightscout/nocturne#1532 ·
-
core dependencies
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 80/100
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
C#/.NET Roslyn LSP Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Suspicious code fragments Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
DotNetNext/SqlSugar#1458 ·