title: Convert wav to mp3
body: <p>I try to convert a .wav file to a .mp3 file using C# and Mono.</p>
  
  <p>I found <a href="http://www.codeproject.com/Articles/8544/Aumplib-C-Namespace-And-Classes-For-Audio-Conversi" rel="nofollow">this link</a> which might be helpful.</p>
  
  <p>When I use the following code to convert, I miss a <em>libsndfile.dll</em>. So I searched my harddrive and found it, but using it I get the message that it is not a valid .NET assembly.</p>
  
  <pre><code> AumpelWrapper wrapper = new AumpelWrapper ();
  _wrapper.Convert (filePath, (int)SoundFormat.WAV, targetPath, (int)SoundFormat.MP3);
  </code></pre>
  
  <p>Is there another way to convert wav to mp3 or do I need another library, that this will work?</p>
  
  <p>I want to use that in our company, so it needs to be OK with the license.</p>