merged
This commit is contained in:
commit
57800a200d
1 changed files with 6 additions and 3 deletions
|
@ -17,8 +17,6 @@ import math
|
|||
from scipy.interpolate import interp1d
|
||||
import matplotlib.pyplot as plt
|
||||
|
||||
|
||||
|
||||
def plotting_stuffs():
|
||||
|
||||
plt.figure(figsize=(15, 17))
|
||||
|
@ -86,7 +84,12 @@ duration = int(math.ceil(librosa.get_duration(y=wave, sr=sr)))
|
|||
|
||||
frames = duration * fps
|
||||
|
||||
|
||||
print("RMS SIZE: " + str(len(rms[0])))
|
||||
print("Rms min/max: " + str(rms.min()) + "/" + str(rms.max()))
|
||||
print("CEN SIZE: " + str(len(cent[0])))
|
||||
print("Cent min/max: " + str(cent.min()) + "/" + str(cent.max()))
|
||||
print("TOTAL FRAMES: " + str(frames))
|
||||
print("Audio duration in secs: " + str(duration))
|
||||
#
|
||||
# sr.len /22050 = duration
|
||||
# rms.len * 30 = duration
|
||||
|
|
Loading…
Reference in a new issue