create beep sound from sound card but not from computer speaker??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • strancho
    New Member
    • Oct 2006
    • 1

    create beep sound from sound card but not from computer speaker??

    hi guys:

    i am rather new to C++.

    By using beep(hz, duration), I figured out a way to drive computer speaker. However, my project requires me to create sound from the sound card. Do you happen to know how this works?

    or is there a command like that?

    I was going to generate it from wave file. However, it is just too cumbershome..
    thanks for the help

    strancho
  • manontheedge
    New Member
    • Oct 2006
    • 175

    #2
    Code:
    cout << '\a';
    that will create a beep

    Comment

    Working...