Questions tagged [pyaudio]

PyAudio provides Python bindings for PortAudio, the cross-platform audio I/O library.

PyAudio provides Python bindings for PortAudio, the cross-platform audio I/O library. With PyAudio, you can easily use Python to play and record audio streams on a variety of platforms (e.g. GNU/Linux, Microsoft Windows and Mac OS X).

Sources:

  1. http://pypi.python.org/pypi/PyAudio/
  2. http://people.csail.mit.edu/hubert/pyaudio/
1375 questions
-3
votes
2 answers

Can't install PyAudio from PyPI wheel files

I want to make a speech recognition program using SpeechRecognition, which needs PyAudio to work. I tried installing it with pip, but it says that portaudio.h is missing. So I went on PyPI and downloaded a .whl file from there…
PrograMed IP
  • 19
  • 1
  • 8
-3
votes
1 answer

Python code returns "cannot import name 'keys' from 'selenium.webdriver.common.keys'"

I have this code and it's not working. How can I resolve it? from selenium import webdriver # to control browser operations from selenium.webdriver.common.keys import keys from io import Bytesio from io import…
-3
votes
2 answers

Can't install PyAudio in python

I get the following ERROR while installing pyaudio C:\Users\Admin\Downloads>pip install pyaudio Collecting pyaudio Using cached…
-3
votes
1 answer

I am not getting the installation of the pyaudio library into my system

This is the output: running build_py creating build creating build\lib.win-amd64-3.7 copying src\pyaudio.py -> build\lib.win-amd64-3.7 running build_ext building '_portaudio' extension error: Microsoft Visual C++ 14.0 is required. Get it with…
-3
votes
1 answer

How can I record a sound and play it back after a user-defined delay in Python?

I'm looking for a Python's code that would record a sound and play it back after a certain delay (for example 10 seconds). In other words, I would like to constantly hear (on my headphones) what's going on outside, but with a certain delay. I found…
sherlock85
  • 871
  • 2
  • 12
  • 16
-4
votes
1 answer

I am getting an error with pip installing Packages

Here is the error I am getting C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DMS_WIN64=1…
-5
votes
1 answer

Mac M1 Can't Install PyAudio / Tried All Answers Suggested in StackOverflow

Mac M1 Can't Install PyAudio | Need Microphone for Google Speech Recognition: Please note below I have outlined answers that have seemed to work for others that have not worked for me. Below is the error code: WARNING: Discarding…
OHP
  • 111
  • 8
1 2 3
91
92