Results 1 to 3 of 3

Thread: VB6 to Audio Interaction

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2006
    Posts
    403

    VB6 to Audio Interaction

    Could anyone please provide a pointer to some information about how to use VB6 in conjunction with the "standard" audio input/output board of a PC?

    In the application I wish to generate morse code (as an audio signal of, say, 500hz. audible in the headphone) and also to receive, detect and decode morse code at a set audio freuency.

    An additional future wish will be to generate frequency shift keying (FSK) audio signal for use with teleprinters.

    The essence of the question boils down to :

    1. How from VB6 to generate an audio ouput tone of a specified frequency for a duration which will be set by a timer-loop.

    2. How from VB6 to accept tone bursts within a specified audio frequency range and to detect them as either present or nor present (thus allowing subsequent analysis/decoding).

    This could be a large topic. I just seek right now pointers as to where I might start to find out more about VB6 / Audio interaction.

    camoore
    Wales, UK

  2. #2
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: VB6 to Audio Interaction

    Check this example out http://www.planet-source-code.com/vb...64552&lngWId=1 , might be what you are looking for.

    Or this http://en.allexperts.com/q/Visual-Ba...o-tone-VB6.htm

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2006
    Posts
    403

    Re: VB6 to Audio Interaction

    Thank you baja yu for such a swift response.

    The first site seems to be a morse decode routine (which is not what I seek) and the second does look better in that it deals with audio generation - but I can not get it to work at all despite a careful review of the code.

    To take this thing ahead one step at a time, can anyone please show me some VB6 code which, will for example, give rise to a 1Khz. audio tone for a period of 1 sec. when I click a command button? From that I will be able to develop my send audio.

    Later I wish to find out how to receive/detect/analyse audio with VB6.

    camoore
    Wales, UK

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