Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Audio Frequency Output

Audio Frequency Output

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestionworkspace
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    joy007
    wrote on last edited by
    #1

    Hi guys, I have to make a dialog based application in VC++,in which I need to output some audio frequencies through the speaker system as I did in C by simply calling "sound(frequency)" from dos.h. Here also I need the same thing in the environment of VC++,i.e., the audio frequency may be supplied at runtime or statically given at compile time. I need the analogous of the following in VC++, which I found in C within dos.h. C------------------------------ VC++ sound(unsigned)--------- ? delay(unsigned)--------- ? nosound()--------------- ? Can any one of you help me?:rolleyes:

    A 1 Reply Last reply
    0
    • J joy007

      Hi guys, I have to make a dialog based application in VC++,in which I need to output some audio frequencies through the speaker system as I did in C by simply calling "sound(frequency)" from dos.h. Here also I need the same thing in the environment of VC++,i.e., the audio frequency may be supplied at runtime or statically given at compile time. I need the analogous of the following in VC++, which I found in C within dos.h. C------------------------------ VC++ sound(unsigned)--------- ? delay(unsigned)--------- ? nosound()--------------- ? Can any one of you help me?:rolleyes:

      A Offline
      A Offline
      Alex_Y
      wrote on last edited by
      #2

      What about BOOL Beep( DWORD dwFreq, DWORD dwDuration ); :)

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups