Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError: index 80 is out of bounds for size 80 #46

Open
kkyon opened this issue Nov 22, 2016 · 2 comments
Open

IndexError: index 80 is out of bounds for size 80 #46

kkyon opened this issue Nov 22, 2016 · 2 comments

Comments

@kkyon
Copy link

kkyon commented Nov 22, 2016

Got below erro when run audioSegmentation.py.

/home/gary/git/pyAudioAnalysis/audioFeatureExtraction.py:272: FutureWarning: assignment exception type will change in the future C[nChroma[0:I-1]] = spec Traceback (most recent call last): File "/home/gary/Ide/pycharm-community-5.0.4/helpers/pydev/pydevd.py", line 2411, in <module> globals = debugger.run(setup['file'], None, None, is_module) File "/home/gary/Ide/pycharm-community-5.0.4/helpers/pydev/pydevd.py", line 1802, in run launch(file, globals, locals) # execute the script File "/home/gary/git/pyAudioAnalysis/test.py", line 4, in <module> segments = aS.silenceRemoval(x, Fs, 0.020, 0.020, smoothWindow = 1.0, Weight = 0.3, plot = True) File "/home/gary/git/pyAudioAnalysis/audioSegmentation.py", line 613, in silenceRemoval ShortTermFeatures = aF.stFeatureExtraction(x, Fs, stWin * Fs, stStep * Fs) # extract short-term features File "/home/gary/git/pyAudioAnalysis/audioFeatureExtraction.py", line 579, in stFeatureExtraction chromaNames, chromaF = stChromaFeatures(X, Fs, nChroma, nFreqsPerChroma) File "/home/gary/git/pyAudioAnalysis/audioFeatureExtraction.py", line 272, in stChromaFeatures C[nChroma[0:I-1]] = spec IndexError: index 80 is out of bounds for size 80

@LusciousPear
Copy link

I got this as well. +1

@kkyon
Copy link
Author

kkyon commented Dec 6, 2016

fixed on this pull request. #47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants