LibXtract
LibXtract copied to clipboard
Python test file, test.py, no floatArray()
I have the following error when running the python test.py file:
Running libxtract Python bindings test...
Traceback (most recent call last): File "test.py", line 12, in
a = xtract.floatArray(len) AttributeError: 'module' object has no attribute 'floatArray'
I checked out xtract.py and there is no floatArray defined, so I'm wondering if the test file might be old. If so, can you push an update? Otherwise, indicate where I've gone wrong in the compilation process?
Thanks
Ok, this is an issue with version with libxtract-0.6.6. However, when I cloned the master, the issue went away. Now floatArray()'s are changed to doubleArray()'s.
Unfortunately, there is a new issue, a segfault:
Running libxtract Python bindings test...
The mean of 0.0, 2.0, 4.0, 6.0, 8.0, 10.0, 12.0, 14.0 is: 7.00 The variance is 24.00 Computing spectrum... 0.0 1.41421356237 1.08239220029 0.0 5512.5 11025.0 16537.5 22050.0 Computing windowed subframes... Segmentation fault
I think there may be another issue-thread about this. I test this on both Mac OSX installation and a Linux installation.