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

Fix error on rhythmic_patterns_analysis_GUI.py #11

Open
jimearruti opened this issue Jul 28, 2021 · 0 comments
Open

Fix error on rhythmic_patterns_analysis_GUI.py #11

jimearruti opened this issue Jul 28, 2021 · 0 comments
Assignees

Comments

@jimearruti
Copy link
Collaborator

jimearruti commented Jul 28, 2021

Ran python rhythmic_patterns_analysis_GUI.py data/candombe/csic.1995_ansina1_01.wav data/candombe/csic.1995_ansina1_01.csv

There are many deprecation warnings, but also an error when trying to play the file:
Traceback (most recent call last):
File "/home/jime/Workplace/eum/carat/myenv/lib/python3.8/site-packages/matplotlib/cbook/init.py", line 270, in process
func(*args, **kwargs)
File "/home/jime/Workplace/eum/carat/myenv/lib/python3.8/site-packages/matplotlib/widgets.py", line 225, in
return self._observers.connect('clicked', lambda event: func(event))
File "rhythmic_patterns_analysis_GUI.py", line 101, in playback
self.audio.play(self.lastind)
File "rhythmic_patterns_analysis_GUI.py", line 49, in play
bar_segment = carat.util.beat2signal(self.samples,
File "/home/jime/Workplace/eum/carat/carat/util.py", line 301, in beat2signal
raise ValueError('Index out of bounds.'
ValueError: Index out of bounds. ind_beat=-1, beats.size=139

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