Hello,
Writing NAudio.Wave.WaveInEventArgs buffer to new byte array, then (attempting to)convert those elements to PCM values via BitConverter.ToInt16. However, the signal is littered with peaks and noise. When I dumped into excel to view output from converted array(just recorded single tone) it had the semblence of correct sine wave/frequency buried amidst all sorts of errant samples. (I also tried reversing to account for endianess). When I choose WaveFileWriter and render as .wav, it sounds perfect. So something is getting lost in translation.
What object would convert the buffer to Linear PCM samples?
Thank You
Writing NAudio.Wave.WaveInEventArgs buffer to new byte array, then (attempting to)convert those elements to PCM values via BitConverter.ToInt16. However, the signal is littered with peaks and noise. When I dumped into excel to view output from converted array(just recorded single tone) it had the semblence of correct sine wave/frequency buried amidst all sorts of errant samples. (I also tried reversing to account for endianess). When I choose WaveFileWriter and render as .wav, it sounds perfect. So something is getting lost in translation.
What object would convert the buffer to Linear PCM samples?
Thank You







