Hi,
: I am recording only voice and sounds below 3000Hz (tested).Therefore
: the sampling rate can be >=6000Hz.
Uh...yay and nay. Exact multiples can be a nightmare, and the "double it" theory is a bit naive. Imagine you are sampling a 3000Hz sine wave. That means at 6000Hz you take samples twice during a full cycle. In a cycle the sinewave passes the 0 mark two times, which are half a cycle apart. It is possible, while unlikely, to have a 3000Hz sine wave, a 6000Hz sampling rate, and record silence. Even if you don't hit that special case, you're only allowing two samples per cycle, which isn't going to be great.
: There is also a lot of hissing sound and the message seems to be
: suppressed. may be because of the bit depth ,i'll try and come back.
:
Have a play. Post the values you're using. As a reference, I think by default sound recorder uses CD quality, which is 44100 sampling rate, 16-bit samples (e.g. bit depth of 16) and stereo. For voice recordings you can probably do away with the stereo.
: I expected only you to respond and thanks.
I ain't an expert in this stuff, but I help where I can.
Jonathan
###
for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
(tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
/(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");