You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, a per title --hist and --plot_track return errors with matplotlib.
When I run dr14_tmeter --plot_track Craft_Earth_A_Raging_Blaze.flac I get this error:
Start Plot Track: Track Title: Earth A Raging Blaze Traceback (most recent call last): File "/usr/bin/dr14_tmeter", line 26, in <module> dr14tmeter.dr14_tmeter.main() File "/usr/lib/python3.8/site-packages/dr14tmeter/dr14_tmeter.py", line 86, in main if run_analysis_opt( options , path_name ) : File "/usr/lib/python3.8/site-packages/dr14tmeter/dr14_utils.py", line 217, in run_analysis_opt spectr.compute_track( path_name ) File "/usr/lib/python3.8/site-packages/dr14tmeter/audio_analysis.py", line 64, in compute_track self.virt_compute() File "/usr/lib/python3.8/site-packages/dr14tmeter/audio_analysis.py", line 149, in virt_compute plot_str = plot_track_classic( at.Y , at.Fs ) File "/usr/lib/python3.8/site-packages/dr14tmeter/plot_track_classic.py", line 195, in plot_track_classic if Y == None and Fs == None and plot_str == None : ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
When I run dr14_tmeter --hist Craft_Earth_A_Raging_Blaze.flac I get this error:
Start histogram: Track Title: Earth A Raging Blaze qt5ct: using qt5ct plugin Traceback (most recent call last): File "/usr/bin/dr14_tmeter", line 26, in <module> dr14tmeter.dr14_tmeter.main() File "/usr/lib/python3.8/site-packages/dr14tmeter/dr14_tmeter.py", line 86, in main if run_analysis_opt( options , path_name ) : File "/usr/lib/python3.8/site-packages/dr14tmeter/dr14_utils.py", line 237, in run_analysis_opt hist.compute_track( path_name ) File "/usr/lib/python3.8/site-packages/dr14tmeter/audio_analysis.py", line 64, in compute_track self.virt_compute() File "/usr/lib/python3.8/site-packages/dr14tmeter/audio_analysis.py", line 108, in virt_compute compute_hist( at.Y , at.Fs , self.getDuration() , title=title ) File "/usr/lib/python3.8/site-packages/dr14tmeter/dr_histogram.py", line 70, in compute_hist ( hist , bin_edges , patches ) = pyplot.hist( rms , 100 , normed=True ) File "/usr/lib/python3.8/site-packages/matplotlib/pyplot.py", line 2605, in hist return gca().hist( File "/usr/lib/python3.8/site-packages/matplotlib/__init__.py", line 1565, in inner return func(ax, *map(sanitize_sequence, args), **kwargs) File "/usr/lib/python3.8/site-packages/matplotlib/axes/_axes.py", line 6808, in hist p.update(kwargs) File "/usr/lib/python3.8/site-packages/matplotlib/artist.py", line 1006, in update ret = [_update_property(self, k, v) for k, v in props.items()] File "/usr/lib/python3.8/site-packages/matplotlib/artist.py", line 1006, in <listcomp> ret = [_update_property(self, k, v) for k, v in props.items()] File "/usr/lib/python3.8/site-packages/matplotlib/artist.py", line 1001, in _update_property raise AttributeError('{!r} object has no property {!r}' AttributeError: 'Rectangle' object has no property 'normed'
Thanks for helping!
The text was updated successfully, but these errors were encountered:
Hi, a per title --hist and --plot_track return errors with matplotlib.
When I run
dr14_tmeter --plot_track Craft_Earth_A_Raging_Blaze.flac
I get this error:Start Plot Track: Track Title: Earth A Raging Blaze Traceback (most recent call last): File "/usr/bin/dr14_tmeter", line 26, in <module> dr14tmeter.dr14_tmeter.main() File "/usr/lib/python3.8/site-packages/dr14tmeter/dr14_tmeter.py", line 86, in main if run_analysis_opt( options , path_name ) : File "/usr/lib/python3.8/site-packages/dr14tmeter/dr14_utils.py", line 217, in run_analysis_opt spectr.compute_track( path_name ) File "/usr/lib/python3.8/site-packages/dr14tmeter/audio_analysis.py", line 64, in compute_track self.virt_compute() File "/usr/lib/python3.8/site-packages/dr14tmeter/audio_analysis.py", line 149, in virt_compute plot_str = plot_track_classic( at.Y , at.Fs ) File "/usr/lib/python3.8/site-packages/dr14tmeter/plot_track_classic.py", line 195, in plot_track_classic if Y == None and Fs == None and plot_str == None : ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
When I run
dr14_tmeter --hist Craft_Earth_A_Raging_Blaze.flac
I get this error:Start histogram: Track Title: Earth A Raging Blaze qt5ct: using qt5ct plugin Traceback (most recent call last): File "/usr/bin/dr14_tmeter", line 26, in <module> dr14tmeter.dr14_tmeter.main() File "/usr/lib/python3.8/site-packages/dr14tmeter/dr14_tmeter.py", line 86, in main if run_analysis_opt( options , path_name ) : File "/usr/lib/python3.8/site-packages/dr14tmeter/dr14_utils.py", line 237, in run_analysis_opt hist.compute_track( path_name ) File "/usr/lib/python3.8/site-packages/dr14tmeter/audio_analysis.py", line 64, in compute_track self.virt_compute() File "/usr/lib/python3.8/site-packages/dr14tmeter/audio_analysis.py", line 108, in virt_compute compute_hist( at.Y , at.Fs , self.getDuration() , title=title ) File "/usr/lib/python3.8/site-packages/dr14tmeter/dr_histogram.py", line 70, in compute_hist ( hist , bin_edges , patches ) = pyplot.hist( rms , 100 , normed=True ) File "/usr/lib/python3.8/site-packages/matplotlib/pyplot.py", line 2605, in hist return gca().hist( File "/usr/lib/python3.8/site-packages/matplotlib/__init__.py", line 1565, in inner return func(ax, *map(sanitize_sequence, args), **kwargs) File "/usr/lib/python3.8/site-packages/matplotlib/axes/_axes.py", line 6808, in hist p.update(kwargs) File "/usr/lib/python3.8/site-packages/matplotlib/artist.py", line 1006, in update ret = [_update_property(self, k, v) for k, v in props.items()] File "/usr/lib/python3.8/site-packages/matplotlib/artist.py", line 1006, in <listcomp> ret = [_update_property(self, k, v) for k, v in props.items()] File "/usr/lib/python3.8/site-packages/matplotlib/artist.py", line 1001, in _update_property raise AttributeError('{!r} object has no property {!r}' AttributeError: 'Rectangle' object has no property 'normed'
Thanks for helping!
The text was updated successfully, but these errors were encountered: