Quantcast
Channel: NAudio
Viewing all articles
Browse latest Browse all 5831

New Post: how to amplify grabbed recorded voice bytes from microphone?

$
0
0

you need to convert the incoming data into samples (use BitConverter.ToInt16 if it is 16 bit). Then you can multiply the sample value. But you need to beware of clipping when doing integer arithmetic, which is why most audio applications convert to floating point, before doing any DSP, and then hard limit the audio before going back down to 16 bit.


Viewing all articles
Browse latest Browse all 5831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>