PyAudio Helper
Project description
PyAudio Helper
Dependencies for pyaudio
Across the three popular platforms, Windows, macOS, and Linux, pyaudio
, is
the underlying framework that pyaudio_helper
relies upon. Getting PyAudio
configured is different for all three OS's. Conda and CondaForge have support for installing pyaudio
on both Linux and Windows. Under Python 3.6 and below PyAudio will install when pip
installing the scikit-dsp-comm package, as described below. For Python 3.7+ PyAudio
first needs to be installed using conda install pyaudio
to obtain binary (whl
) files.
The real-time audio DSP capabilities of pyaudio_helper
allow for two channel algorithm development with real-time user control enabled by the ipywidgets
when running in the Jupyter notebook.
Finally, we now can utilize the real-time DSP capabilities of pyaudio_helper
to work in combination with streaming of I/Q samples using new functions rtlsdr_helper
. This allows in particular demodulation of radio signals and downsampling to baseband analog signals for streaming playback of say an FM broadcast station. This new capability is featured as a short article at the end of this readme file.
All the capability of the package is available less PyAudio
and the RTL-SDR radio, without doing any special installations. See the wiki pages for more information. Just keep in mind that now a Python 3.7+ install on windows must include the installation PyAudio
as described above.
Installation Notes
Part of the processing architecture makes use of ipwidgets
. These can be installed for you by specifying the extras
option:
pip install pyaudio-helper[extras]
Installation is described in greater detail below.
pyaudio_helper.py
wraps a class around the code required inPyAudio
(wraps the C++ libraryPortAudio
) to set up a non-blocking audio input/output stream. The user only has to write the callback function to implement real-time DSP processing using any of the input/output devices available on the platform. This resulting object also contains a capture buffer for use in post processing and a timing markers for assessing the processing time utilized by the callback function. When developing apps in the Jupyter Notebook there is support for theIPywidgets
along with threading.
Authors
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pyaudio-helper-1.1.2.tar.gz
.
File metadata
- Download URL: pyaudio-helper-1.1.2.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2392ee2018c3b46096c4881498e727a2b3fe047c06a9446fb3b9dbf8d5c5e93e |
|
MD5 | a2f9c0b2c008dde4db3cab77b218d68d |
|
BLAKE2b-256 | d8eb77e6ef4db12bb72760499f456b45ca29339ed4d6cede57525efe8b5a4fa1 |
File details
Details for the file pyaudio_helper-1.1.2-py3-none-any.whl
.
File metadata
- Download URL: pyaudio_helper-1.1.2-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5564e9f563e50da802e043fcc49bdba750efc4aba8a71064faf61b75a8810e10 |
|
MD5 | 59a17cdd6abaac7dd409c760833f5369 |
|
BLAKE2b-256 | bfeb66565894d862b9615fe5a320a6ee2809aadec89807cf865dc6cfdae79cbb |