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#
  4. Beep Duration

Beep Duration

Scheduled Pinned Locked Moved C#
4 Posts 3 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.
  • G Offline
    G Offline
    gwithey
    wrote on last edited by
    #1

    I am having trouble working out how i can make a beep occur for a given duration of time. I have the following event handler that will recieve the beep duration and execute it for that amount of time. Lots of articles talk of beeping for intervals but have not found a way to make a continuous beep.

    void VMCU_Beep(int BeepDurationInSeconds)
    {

     }
    

    Does anyone know how this can be done Thanx George

    N L 2 Replies Last reply
    0
    • G gwithey

      I am having trouble working out how i can make a beep occur for a given duration of time. I have the following event handler that will recieve the beep duration and execute it for that amount of time. Lots of articles talk of beeping for intervals but have not found a way to make a continuous beep.

      void VMCU_Beep(int BeepDurationInSeconds)
      {

       }
      

      Does anyone know how this can be done Thanx George

      N Offline
      N Offline
      Nagy Vilmos
      wrote on last edited by
      #2

      Use System.Console.Beep(frequency, duration)


      Panic, Chaos, Destruction. My work here is done.

      G 1 Reply Last reply
      0
      • N Nagy Vilmos

        Use System.Console.Beep(frequency, duration)


        Panic, Chaos, Destruction. My work here is done.

        G Offline
        G Offline
        gwithey
        wrote on last edited by
        #3

        Thanx thats what i was looking for

        1 Reply Last reply
        0
        • G gwithey

          I am having trouble working out how i can make a beep occur for a given duration of time. I have the following event handler that will recieve the beep duration and execute it for that amount of time. Lots of articles talk of beeping for intervals but have not found a way to make a continuous beep.

          void VMCU_Beep(int BeepDurationInSeconds)
          {

           }
          

          Does anyone know how this can be done Thanx George

          L Offline
          L Offline
          Luc Pattyn
          wrote on last edited by
          #4

          gwithey wrote:

          a continuous beep

          trying to keep the mosquitoes away? :laugh:

          Luc Pattyn [Forum Guidelines] [My Articles]


          The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.


          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