About 73,300 results
Open links in new tab
  1. audio - Play a Sound with Python - Stack Overflow

    Nov 21, 2008 · What's the easiest way to play a sound file (.wav) in Python? By easiest I mean both most platform independent and requiring the least dependencies. pygame is certainly an option, but …

  2. Play audio with Python - Stack Overflow

    How can I play audio (it would be like a 1 second sound) from a Python script? It would be best if it was platform independent, but firstly it needs to work on a Mac. I know I could just execute ...

  3. audio - Play WAV file in Python - Stack Overflow

    If you want to play a single wav file, you have to initialize the module and create a pygame.mixer.Sound() object from the file. Invoke play() to start playing the file.

  4. audio - Playing mp3 song on python - Stack Overflow

    I want to play my song (mp3) from python, can you give me a simplest command to do that? This is not correct:

  5. python - Sound alarm when code finishes - Stack Overflow

    How can I make the (Python) code sort of sound an "alarm" when it is done? I was contemplating making it play a .wav file when it reaches the end of the code... Is this even a feasible idea? If so, …

  6. python - How to play an audiofile with pyaudio? - Stack Overflow

    How to play an audiofile with pyaudio? Asked 14 years, 4 months ago Modified 3 years, 1 month ago Viewed 59k times

  7. audio - Python: Making a beep noise - Stack Overflow

    Not sure about Windows, but on Linux, there's the command-line program called play that will play MP3s if you want to just record a compressed audio beep. You can probably get an equivalent for Windows.

  8. Python library for playing fixed-frequency sound - Stack Overflow

    I would like to do this using my laptop. One method would be creating an MP3 with a a single, fixed-frequency tone (This can easily done by audacity), opening it with a python library and playing it …

  9. How can I play audio (playsound) in the background of a Python script ...

    I am just writing a small Python game for fun and I have a function that does the beginning narrative. I am trying to get the audio to play in the background, but unfortunately the MP3 file plays f...

  10. python - How can I play an mp3 with pygame? - Stack Overflow

    If you want to play a mp3 file, you need to initialize the module. Load the file with pygame.mixer.music.load. Invoke pygame.mixer.music.play() to start playback of the music stream. …