<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Recording from monitor has glitches when playing other sounds."
href="https://bugs.freedesktop.org/show_bug.cgi?id=99689">99689</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Recording from monitor has glitches when playing other sounds.
</td>
</tr>
<tr>
<th>Product</th>
<td>PulseAudio
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>major
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>core
</td>
</tr>
<tr>
<th>Assignee</th>
<td>pulseaudio-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dirbaio@dirbaio.net
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>pulseaudio-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>CC</th>
<td>lennart@poettering.net
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=129350" name="attach_129350" title="tgz containing sine.wav, silence.wav, recorded.wav">attachment 129350</a> <a href="attachment.cgi?id=129350&action=edit" title="tgz containing sine.wav, silence.wav, recorded.wav">[details]</a></span>
tgz containing sine.wav, silence.wav, recorded.wav
Attached in the .tar.gz are 3 files:
- sine.wav: 30-second sine wave
- silence.wav: 0.1-second silence
- recorded.wav: the glitched recorded result.
How to reproduce:
- run:
paplay sine.wav
- While the sine wave is playing, in another terminal run:
parec -d $MONITOR --file-format=wav > recorded.wav
where $MONITOR is your monitor device, in my case it's
alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
- While recording, in another terminal run:
paplay silence.wav
- stop parec with Control+C
- stop the paplay sine.wav
- Listen to recorded.wav: you should hear glitches similar to my recorded.wav.
The sine wave plays, but really short periods of silence are inserted.
Some more interesting things:
- If you play silence.wav many times, you get more glitches in the recording.
Every play seems to trigger 1-2 glitches.
- Any sound playing triggers the glitches - system sounds for example.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>