title: linux: virtual mic using gstreamer
body: <p>I want to dump audio data from an audio file to sound server so that I can emulate microphone. How to do this in ubuntu? Gstreamer solution is preferred.</p>
  
  <p><strong>Flow:Audio file -> Sound server src(where mic also dumps its data)</strong></p>
  
  <p>Already tried : </p>
  
  <p><a href="https://superuser.com/a/332434">https://superuser.com/a/332434</a> : No clue how to do this
  <a href="https://stackoverflow.com/a/43553706/5457916">https://stackoverflow.com/a/43553706/5457916</a> : file is played very fast, it gets distorted</p>