wpf - Clicking sound when playing a WAV file -


i'm writing application plays various wav files. i'm using mediaplayer class play sounds.

when raising volume there's distinct clicking sound @ beginning of each wav file, , click @ end. also happens when playing files in windows groove or vlc player. playing same files in audacity works - there's no clicking sound. click not found in wav (i know looking @ sound wave in audacity).

so there's another, more lowlevel way, of playing wav files. how can play them without these clicks?

turns out problem too-loud sample. volume in sample maximal. once reduced sample volume (multiplying each value 0.6 actually), clicking sound disappeared - when turned speaker volume. way up.


Comments

Popular posts from this blog

c# SetCompatibleTextRenderingDefault must be called before the first -

c++ - Fill runtime data at compile time with templates -

C#.NET Oracle.ManagedDataAccess ConfigSchema.xsd -