spAudio audio I/O library
This package is the Python version of spAudio library providing spaudio module which enables fullduplex audio device I/O and spplugin module which enables plugin-based file I/O supporting many sound formats including WAV, AIFF, MP3, Ogg Vorbis, FLAC, ALAC, raw, and more. The spplugin module also supports 24/32-bit sample size used in high-resolution audio files, so you can easily load data with 24/32-bit sample size into NumPy's ndarray.
You can use pip
command to install the binary package:
pip install spaudio
If you use Anaconda or
Miniconda , conda
command with "bannohideki" channel can be used:
conda install -c bannohideki spaudio
NumPy package is needed only if you want to use NumPy arrays. If you don't use NumPy arrays, no external package is required. Note that this package doesn't support Python 2.
The linux version also requires
spPlugin
installation (audio device I/O requires the pulsesimple plugin based on
PulseAudio ).
You can install it by using dpkg
(Ubuntu) or rpm
(RHEL) command with
one of the following packages. The files for RHEL were tested on CentOS
7 (RHEL 7) and AlmaLinux 8/9 (RHEL 8/9).
If you want to use apt
(Ubuntu) or yum
(RHEL), see this page (for
Ubuntu)
or this page (for
RHEL)
.
To build this package, the following are required.
The official web site is: https://www-ie.meijo-u.ac.jp/labs/rj001/spLibs/python/spAudio/en/index.html
Japanese web site is also available: https://www-ie.meijo-u.ac.jp/labs/rj001/spLibs/python/spAudio/ja/index.html