How to generate a system beep

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Anz

    How to generate a system beep

    Is there any JavaScript function to generate a Beep sound from
    system ?,
    is it possible to make system Beep using JavaScript function ?
  • Evertjan.

    #2
    Re: How to generate a system beep

    Anz wrote on 29 jul 2008 in comp.lang.javas cript:
    Is there any JavaScript function to generate a Beep sound from
    system ?,
    is it possible to make system Beep using JavaScript function ?
    If you mean using plain Javascript clientside in a browser without
    compromizing security:

    No, no.



    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress)

    Comment

    • Thomas 'PointedEars' Lahn

      #3
      Re: How to generate a system beep

      Anz wrote:
      Is there any JavaScript function to generate a Beep sound from
      system ?,
      No.
      is it possible to make system Beep using JavaScript function ?
      Maybe.


      PointedEars
      --
      Anyone who slaps a 'this page is best viewed with Browser X' label on
      a Web page appears to be yearning for the bad old days, before the Web,
      when you had very little chance of reading a document written on another
      computer, another word processor, or another network. -- Tim Berners-Lee

      Comment

      • Peter Michaux

        #4
        Re: How to generate a system beep

        On Jul 29, 9:36 am, Thomas 'PointedEars' Lahn <PointedE...@we b.de>
        wrote:
        Anz wrote:
        Is there any JavaScript function to generate a Beep sound from
        system ?,
        >
        No.
        >
        is it possible to make system Beep using JavaScript function ?
        >
        Maybe.
        What a unnecessarily cryptic response that is just cluttering news
        readers. Are you looking to increase you post count?

        ---

        I believe what Thomas is struggling to imply is that if the user agent
        (e.g. a browser) provides an API that could produce a beep or allow
        some other technique like including Flash movie, for example, than a
        beep could be initiated by a JavaScript function which calls that API.
        The JavaScript language itself does not have such a function.

        Peter

        Comment

        • Evertjan.

          #5
          Re: How to generate a system beep

          Peter Michaux wrote on 29 jul 2008 in comp.lang.javas cript:
          On Jul 29, 9:36 am, Thomas 'PointedEars' Lahn <PointedE...@we b.de>
          wrote:
          >Anz wrote:
          Is there any JavaScript function to generate a Beep sound from
          system ?,
          >>
          >No.
          >>
          is it possible to make system Beep using JavaScript function ?
          >>
          >Maybe.
          >
          What a unnecessarily cryptic response that is just cluttering news
          readers. Are you looking to increase you post count?
          >
          Thomas is not cryptic at all.

          The idea that the questions "Is there any?" and "Is it possible?"
          should(!) be answered bij anything else as
          'Yes', 'No', 'Maybe' or 'Dunno'
          is preposterous.

          This is usenet and not a helpdesk.

          Even so the second answer should also be a firm "no" if plain clientside
          javascript in one of the more common browsers with default security
          settings is ment.

          --
          Evertjan.
          The Netherlands.
          (Please change the x'es to dots in my emailaddress)

          Comment

          • Jorge

            #6
            Re: How to generate a system beep

            On Jul 30, 12:00 am, "Evertjan." <exjxw.hannivo. ..@interxnl.net >
            wrote:
            >
            Even so the second answer should also be a firm "no" if plain clientside
            javascript in one of the more common browsers with default security
            settings is ment.
            >
            javascript:docu ment.write("\x0 7"); //Grrr, damn it !

            :-)

            --Jorge.

            Comment

            • Evertjan.

              #7
              Re: How to generate a system beep

              Jorge wrote on 30 jul 2008 in comp.lang.javas cript:
              On Jul 30, 12:00 am, "Evertjan." <exjxw.hannivo. ..@interxnl.net >
              wrote:
              >>
              >Even so the second answer should also be a firm "no" if plain clientside
              >javascript in one of the more common browsers with default security
              >settings is ment.
              >>
              >
              javascript:docu ment.write("\x0 7"); //Grrr, damn it !
              >
              :-)
              Like in?:

              <a href='javascrip t:document.writ e("\x07");'>Grr r, damn it !</a>

              or

              <script type='text/javascript'>
              document.write( "\x07");
              </script>

              IE testing:

              Does not sound[,] right[.?]

              --
              Evertjan.
              The Netherlands.
              (Please change the x'es to dots in my emailaddress)

              Comment

              Working...