About 301,000 results
Open links in new tab
  1. 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 ...

  2. 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 …

  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. 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

  5. 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:

  6. python - Using IPython.display.audio to play audio in jupyter notebook ...

    The problem is that the function call doesn't really play the sound, it's actually played by the resulting HTML that is returned to Jupyter output. So to overcome this, you can force the function to render …

  7. Automatically play sound in IPython notebook - Stack Overflow

    May 4, 2016 · HTML(play_beep) How it works: It reads a file from the filesystem using iPython's built in open and read methods. Then it encodes this into base64. It then creates an audio tag with the ID …

  8. 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...

  9. audio - Playing mp3 file through microphone with python - Stack …

    May 5, 2016 · Is there a way using python (and not any external software) to play a mp3 file like a microphone input? For example, I have a mp3 file and with a python script it would play it through my …

  10. audio - Playing a sound in a ipython notebook - Stack Overflow

    Apr 26, 2013 · I would like to be able to play a sound file in a ipython notebook. My aim is to be able to listen to the results of different treatments applied to a sound directly from within the notebook.