Changes

Jump to: navigation, search

Media/WebRTC Audio Perf

12 bytes removed, 01:48, 10 December 2013
no edit summary
*A way a feeding audio from an input audio file audio input to the Peer Connection without having to use the GetUserMedia() API
</p>
<p > This sub-section explains various tools used to choose the right audio sink, record the audio played out and compute
PESQ scores </p>
<p>#PulseAudio's pactl tool is used to find the right sink to play-out the audio produced by the remote Peer Connection.</p><p>#PulseAudio's parec tool records mono channel audio played out at the sink in Signed Little Ending format at 16000 samples/sec. <br>#The output from the SOX tool is fed into SOX tool to generate .WAV version of the recorded audio and to trim silence at the beginning and end of the recorded audio file. <br> <br>
<code>
Command:
<br>
The recording is timed to match the length of the input audio file using SOX's trimming effects.
</p><p>#Finally PESQ is used to compute the quality scores between the input audio file (original) and the output audio file (recorded) <br> <br>
<code>
Command:
PESQ +16000 <input-audio-file> <output-audio-file>
</code>
</p>
Confirm
35
edits

Navigation menu