wslihgt / pyfasst Goto Github PK
View Code? Open in Web Editor NEWPython implementation of the Flexible Audio Source Separation Toolbox (FASST)
License: GNU General Public License v2.0
Python implementation of the Flexible Audio Source Separation Toolbox (FASST)
License: GNU General Public License v2.0
Hi!
Tried to install the library from the latest commit on github, and I got this error:
NB: I am using Ubuntu, and Python 2.7.5
building 'pyfasst.SeparateLeadStereo.tracking._tracking' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c pyfasst/SeparateLeadStereo/tracking/_tracking.cpp -o build/temp.linux-x86_64-2.7/pyfasst/SeparateLeadStereo/tracking/_tracking.o
x86_64-linux-gnu-gcc: error: pyfasst/SeparateLeadStereo/tracking/_tracking.cpp: No such file or directory
When running I got this warning
:
Audio IO routines (scikits.audio module) could not be imported
I'm running on MacOS X 10.10.5 Yosemite
, python 2.7.10
.
Reading and Writing WAV files with audiolab
('Computing the chosen signal representation:', 'stft')
Traceback (most recent call last):
File "try.py", line 5, in <module>
verbose=1, iter_num=50)
File "build/bdist.linux-x86_64/egg/pyfasst/audioModel.py", line 2484, in __init__
File "build/bdist.linux-x86_64/egg/pyfasst/audioModel.py", line 2339, in __init__
File "build/bdist.linux-x86_64/egg/pyfasst/audioModel.py", line 278, in comp_transf_Cx
File "build/bdist.linux-x86_64/egg/pyfasst/tftransforms/stft.py", line 382, in computeTransform
File "build/bdist.linux-x86_64/egg/pyfasst/tftransforms/stft.py", line 47, in stft
TypeError: 'float' object cannot be interpreted as an index
The error message above appears whenever I try to execute to following code:
import pyfasst.audioModel as am
filename = 'music.wav'
model = am.MultiChanNMFConv(audio=filename,
nbComps=2, nbNMFComps=32, spatial_rank=1,
verbose=1, iter_num=50)
model.estim_param_a_post_model()
model.separate_spat_comps(dir_results='data/')
I have been stuck on this for 2 days. I think it has to do with the "audio" parameter in the MultiChanNMFConv class. However, I even tried the audio from http://bass-db.gforge.inria.fr/fasst/ and the same thing happened. Do you know why this is occurring?
Any ideas how to resolve this ?
here is the complete trace:
http://pastebin.com/dshZeg4J
Does the package support Python 3? It doesn't seem like it does.
pip install pyfasst
Collecting pyfasst
Using cached pyFASST-0.9.3.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-l2rhg0cg/pyfasst/setup.py", line 56, in <module>
m.Extension.__dict__ = m._Extension.__dict__
AttributeError: attribute '__dict__' of 'type' objects is not writable
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-l2rhg0cg/pyfasst/
Seems like the issue was fixed in commit eccca72 but probably new version was not published to pypi. Therefore pip install pyfasst
yield the same error :
c:\pyFASST-0.9.2\pyfasst\SeparateLeadStereo>python setup.py build_ext --inplace
File "setup.py", line 7
license='',
^
SyntaxError: invalid syntax
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.