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

New Post: Buffer lenght in read wavestream

$
0
0
WaveChannel32 adjusts the volume of each individaul sample as it passes through. 1.0 means no change, 0.0 means silence, and 2.0 will double the amplitude of each sample, although you risk clipping.

WaveChannel32 is probably a bit cumbersome. I'd use the Wave16ToSampleProvider and then a VolumeSampleProvider before finally a SampleToWaveProvider16 at the end efore playback.

Viewing all articles
Browse latest Browse all 5831

Trending Articles



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