beep or sound playing under linux

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

    #1

    beep or sound playing under linux

    Hi,

    Is there a way to do that ?

    Regards,

    hg

  • hg

    #2
    Re: beep or sound playing under linux

    hg wrote:
    Hi,
    >
    Is there a way to do that ?
    >
    Regards,
    >
    hg
    PS: I'm actually under wpPython

    Comment

    • Chuck Rhode

      #3
      Re: beep or sound playing under linux

      hg wrote this on Mon, Jan 22, 2007 at 04:12:50PM +0100. My reply is below.
      Is there a way to do that? (Make noise.)
      In Gnome there is:

      gtk.gdk.beep()

      --
      ... Chuck Rhode, Sheboygan, WI, USA
      ... Weather: http://LacusVeris.com/WX
      ... 28° — Wind WSW 10 mph — Sky overcast.

      Comment

      • Marc 'BlackJack' Rintsch

        #4
        Re: beep or sound playing under linux

        In <pFath.50034$oA 1.40310@newsfe1 9.lga>, hg wrote:
        Is there a way to do that ?
        Maybe this helps:



        Ciao,
        Marc 'BlackJack' Rintsch

        Comment

        • Laurent Pointal

          #5
          Re: beep or sound playing under linux

          hg a écrit :
          Hi,
          >
          Is there a way to do that ?
          >
          Regards,
          >
          hg
          >
          Some links:

          Official doc:

          ==http://docs.python.org/lib/module-ossaudiodev.html

          PyAudio (binding to portaudio):
          ==http://people.csail.mit.edu/hubert/pyaudio/

          Maybe with pyGame (and SDL):
          ==http://www.pygame.org/


          Comment

          • Michele Petrazzo

            #6
            Re: beep or sound playing under linux

            hg wrote:
            Hi,
            >
            Is there a way to do that ?
            I can do it, into my debian, with a:

            michele:~$ echo -e "\007" >/dev/tty

            It's very simple to reproduce it with python and os.system or subprocess.

            Michele

            Comment

            • hg

              #7
              Re: beep or sound playing under linux

              hg wrote:
              Hi,
              >
              Is there a way to do that ?
              >
              Regards,
              >
              hg
              Thanks to all ... got some reading to do.

              hg

              Comment

              • hg

                #8
                Re: beep or sound playing under linux

                Chuck Rhode wrote:
                hg wrote this on Mon, Jan 22, 2007 at 04:12:50PM +0100. My reply is
                below.
                >
                >Is there a way to do that? (Make noise.)
                >
                In Gnome there is:
                >
                gtk.gdk.beep()
                >
                --
                .. Chuck Rhode, Sheboygan, WI, USA
                .. Weather: http://LacusVeris.com/WX
                .. 28° ? Wind WSW 10 mph ? Sky overcast.
                well wx.Bell() I assume does the same since wxPython use gtk+ ... still I'm
                under gnome with system bell enabled and I do not hear anything

                hg

                Comment

                Working...