Sound & Music

Moderators: Sephiroth
Number of threads: 597
Number of posts: 1201

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Sound Recorder Vs WaveInXXXX Posted by cbodapati on 17 Feb 2004 at 2:36 AM
hello
I have done some recording program through winAPI's.
but if the recording is done through OS-Sound recorder the quality of sound recorded through the sound recorder is far better than the one done through the winapi's.(with same conditions).

any reason and how to overcome the loss of quality will be of great help.

Best Regards
srikanth
Report
Re: Sound Recorder Vs WaveInXXXX Posted by Jonathan on 17 Feb 2004 at 3:49 PM
: I have done some recording program through winAPI's.
: but if the recording is done through OS-Sound recorder the quality of sound recorded through the sound recorder is far better than the one done through the winapi's.(with same conditions).
:
: any reason and how to overcome the loss of quality will be of great help.
:
I was under the impression that the Windows Sound Recorder app used the Win32 waveIn APIs. Maybe you need to use a higher sampling rate or bit-depth?

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.");

Report
Re: Sound Recorder Vs WaveInXXXX Posted by cbodapati on 17 Feb 2004 at 11:02 PM
hello jonathan
Iam recording only voice and sounds below 3000Hz (tested).Therefore the sampling rate can be >=6000Hz.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.

I expected only you to respond and thanks.
Best Regards
srikanth

Report
Re: Sound Recorder Vs WaveInXXXX Posted by jason on 18 Feb 2004 at 11:43 AM

:
: I expected only you to respond and thanks.
: Best Regards
: srikanth
:
:

Just wondered exactly what you meant by the above comment?

Jason

Report
Re: Sound Recorder Vs WaveInXXXX Posted by cbodapati on 18 Feb 2004 at 10:36 PM
hi jason


>> Just wondered exactly what you meant by the above comment?
>> Jason

Till now most of my posts were answered and sucessfully answered by Mr.Jonathan earlier thatn anybody else.
I find this not only in my case but in most of the other posts he one who comes up with a solution.





Best Regards
srikanth

Report
Re: Sound Recorder Vs WaveInXXXX Posted by jason on 19 Feb 2004 at 11:37 AM
Ok, fair point. Was just hoping you weren't having a go at the less active or contributing members here.

Regards, Jason
Report
Re: Sound Recorder Vs WaveInXXXX Posted by Jonathan on 18 Feb 2004 at 1:25 PM
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.");




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.