[SciPy-User] Playing numpy array over speakers

Fabrice Silva silva at lma.cnrs-mrs.fr
Wed Mar 25 05:15:06 EDT 2015


Le mardi 24 mars 2015 à 21:39 +0100, Todd a écrit :
> Is anyone aware of a well-maintained, simple, cross-platform python package
> that can play a numpy array as sound over speakers?
> 
> I am aware of https://wiki.python.org/moin/Audio/.  However, in all the
> cases there, as far as I can find they either do not support numpy arrays,
> are not cross-platform, cannot playback sound at all, or are unmaintained.
> There is also PySoundCard, which would do what I need but also appears to
> be unmaintained (no release in over a year, and no commits in 5 months, no
> release with serious bugfixes mentioned in commits).

Scikits.audiolab has playback capabilities (at least on linux and mac):
http://cournape.github.io/audiolab/overview.html 
and it does handle numpy arrays

-- 
Fabrice




More information about the SciPy-User mailing list