Tagged “sound”

Mar 3, 2015

Installing PySoundFile on Ubuntu 14.04

In this post I will go over installing PySoundFile using pip and virtualenvwrapper. PySoundFile is a utility for reading and writing sound files of various types, like wav, flac, and ogg using the abilities of the libsndfile library. Noticeably absent is mp3 due to the license issue-- use a tool like (the wonderful) sox to convert mp3's to a supported file type.


Jun 16, 2015

PySoundFile and Python 3.4 on Ubuntu 14.04

In a previous post I went over installing PySoundFile on Ubuntu 14.04 using the default version of Python-- that's version 2.7.6. In this post I'll cover the use of Python 3.4 in a virtual environment-- the goal here, at least in the long run, is to write audio processing (dsp) code in Python that is version 2- and 3-compatible.