pyAudioAnalysis
pyAudioAnalysis copied to clipboard
time.clock was removed in Python 3.8 in favor of time.process_time/time.perf_counter
Ref : https://github.com/python/cpython/pull/13270
pyAudioAnalysis/data/testComputational.py
16: t1 = time.clock()
18: t2 = time.clock()
24: t1 = time.clock()
26: t2 = time.clock()
32: t1 = time.clock()
34: t2 = time.clock()
40: t1 = time.clock()
42: t2 = time.clock()
48: t1 = time.clock()
51: t2 = time.clock()
57: t1 = time.clock()
59: t2 = time.clock()
65: t1 = time.clock()
67: t2 = time.clock()
73: t1 = time.clock()
75: t2 = time.clock()
pyAudioAnalysis/MidTermFeatures.py
173: t1 = time.clock()
208: t2 = time.clock()
I'm getting an `AttributeError: module 'time' has no attribute 'clock'`` when I attempt to run the visualization function... any ideas on how I might be able to fix that?