Results 1 to 10 of 10

Thread: Help me megatron

  1. #1
    TheSarlacc
    Guest

    Help me megatron

    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...

  2. #2
    PowerPoster
    Join Date
    Aug 2000
    Location
    India
    Posts
    2,288
    Have you tried mciSendString api calls? I am not sure of the exact methods, but i know you can record through it.

  3. #3
    TheSarlacc
    Guest
    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

  4. #4
    Megatron
    Guest
    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.

  5. #5
    TheSarlacc
    Guest
    can u provide me with some sample code on how to use this? thx

  6. #6
    TheSarlacc
    Guest
    and one more thing: is it possible to start a new mp3 and record to it using API?

  7. #7
    Megatron
    Guest
    I did give an example (above). I guess the full line would look something like:
    Code:
    mciSendString "set mysound samplespersec 24000 bitspersample 8", 0, 0, 0
    MP3's are another story. It's best you just convert them after recording a WAV.

  8. #8
    TheSarlacc
    Guest
    are there any DLL's or APIs that allow Mp3 encoding of WAV files in VB?

  9. #9
    Megatron
    Guest
    I'm not sure about any API's, but I know there are some DLLs. Try searching www.planet-source-code.com.

  10. #10
    TheSarlacc
    Guest

    thanx

    thanx megatron

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width