I want to be able to record from the microphone inputs toa file, and be able to control the quality of the sound being recorded! can it be done??? thanx megatron, or anyone that can help me...
Printable View
I want to be able to record from the microphone inputs toa file, and be able to control the quality of the sound being recorded! can it be done??? thanx megatron, or anyone that can help me...
Have you tried mciSendString api calls? I am not sure of the exact methods, but i know you can record through it.
of course i have! thats the only way to do it without using any custom controls! its the parameters u pass to it that i want! so can it be done and if so, what are the parameters? thx in advance, TheSarlacc
Try the set command, e.g:
set mysound samplespersec 24000 bitspersample 8
This will set it to 8-bit, 24 Hz. You can change the numbers to what you want the quality to be.
can u provide me with some sample code on how to use this? thx
and one more thing: is it possible to start a new mp3 and record to it using API?
I did give an example (above). I guess the full line would look something like:
MP3's are another story. It's best you just convert them after recording a WAV.Code:mciSendString "set mysound samplespersec 24000 bitspersample 8", 0, 0, 0
are there any DLL's or APIs that allow Mp3 encoding of WAV files in VB?
I'm not sure about any API's, but I know there are some DLLs. Try searching www.planet-source-code.com.
thanx megatron