SiggiGue / pyfilterbank

Implementing a fractional octave filterbank for python. Based on Numpy and CFFI.
107 stars 27 forks source link

import fails #7

Closed ghost closed 6 years ago

ghost commented 7 years ago

Looks like you programmed exactly what I need. However, when running import pyfilterbank I get this error message: cannot load library ./pyfilterbank/sosfilt.so: dlopen(./pyfilterbank/sosfilt.so, 2): no suitable image found. Did find: ./pyfilterbank/sosfilt.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00 Any idea what to change?

SiggiGue commented 7 years ago

You need to compile sosfilt.c for your system first.

I am on a refactor of the package, this will deprecate the c-code. But it takes a bit of time becaus i do not have much time for this...