Mon 11 January 2016

Filed under Howto

Tags Linux Development DSP

Fedora 23 (the current release at the time of writing) ships an outdated version of SciPy that doesn't include the spectrogram function. Installing the latest Scipy was kind-of a pain, so I thought I'd record some instructions for future-me and share it with you.

These instructions install dependencies, set up a python virtualenv container and then install the latest matplotlib, SciPy and Numpy on Fedora 23

Dependencies:

  • python-virtualenv

  • libpng-devel freetype-devel pygobject2-devel

  • redhat-rpm-config

  • gcc-gfortran gcc-c++

  • atlas-devel lapack-devel

Install these from Fedora repositories:

sudo dnf install python-virtualenv libpng-devel freetype-devel pygobject2-devel redhat-rpm-config gcc-gfortran gcc-c++ atlas-devel lapack-devel

And then the python packages:

virtualenv env
source env/bin/activate

pip install -U pip &&
pip install numpy &&
pip install matplotlib &&
pip install scipy

Installing numpy, matplotlib and scipy simultaneously fails. Thanks, pip.


Tue 01 December 2015

Filed under JitterTrap

Tags Linux Development DSP JitterTrap

This is the story of my first expensive lesson in Digital Signal Processing. It is about JitterTrap, the free software that powers BufferUpr.

The premise of BufferUpr is to combine commodity hardware with open source software to create a product that can measure data stream delays of 1-100 milliseconds. This …

Read More

rationali.st © Andrew Cooks