CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Threaded View

  1. #1
    Join Date
    Feb 2008
    Posts
    108

    Send tone to sound card...

    The following function causes the small computer speaker to emit a tone for the requested duration:
    Code:
    Console.Beep(freq, duration_ms);
    Is there a generic function to call to send the tone to the sound card, or would the call have to be hardware specific dependent on the particular sound card in the computer?
    Thanks,
    Jim
    Last edited by Jim_Auricman; February 12th, 2009 at 05:05 PM. Reason: Corrected code tag.

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

Featured