roc-toolkit icon indicating copy to clipboard operation
roc-toolkit copied to clipboard

Severe output signal distortion

Open baranovmv opened this issue 10 months ago • 1 comments

During a relatively long run I've faced a strange output of roc-recv:

Image

Input signal is pure sine-wave, stereo, 48k

bin/x86_64-pc-linux-gnu/roc-send  -vv -s rtp://127.0.0.1:10001  -i file:${HOME}/coding/sin440_at48k_2ch.wav --packet-encoding=101:pcm@s16/48000/stereo
bin/x86_64-pc-linux-gnu/roc-recv -vv -s rtp://0.0.0.0:10001  --output=pulse://loopback_sink --packet-encoding=101:pcm@s16/48000/stereo --io-encoding=pcm@s16/48000/stereo --real-time=99 --io-latency=1.45ms --io-frame-len=1.45ms --target-latency=13ms

roc_recv.log

roc_send.log

This is my feature-branch: feature/rtcp_rts. but I believe this behavior is not relevant to the changes made in this branch. commit: e211975e5b43ba8ac6c6a

baranovmv avatar Mar 24 '25 00:03 baranovmv

It doesn't reproduce on a audio device sink. I did the same test, but the output device were speakers. and I ran pw-record --target=52 /tmp/output.wav, where 52 is my laptopts speakers. I heard the sine wave clearly the entire test, but /tmp/output.wav contains the same artifacts in several places

Image

baranovmv avatar Mar 24 '25 12:03 baranovmv