Open
Description
Hi,
I am using MusicExtractor to generate various audio features but the results are not reproducible. Each time I execute the code I get a different output. Can someone help me understand why this is happening and how can I fix it?
Sample Code:
`
fname = "10258704_084.mp4.wav"
samplerate = 44100
audio = es.MonoLoader(filename=fname, sampleRate = samplerate)()
len(audio)
duration = len(audio)/samplerate
framesize = int(len(audio)/(duration)*0.025) # 25ms
hopsize = int(len(audio)/(duration)*0.010) # 10ms
kwargs = {
'analysisSampleRate': samplerate,
'lowlevelFrameSize':framesize,
'lowlevelHopSize': hopsize,
'lowlevelZeroPadding': 2048 - framesize,
'loudnessFrameSize': framesize,
'loudnessHopSize': hopsize,
'tonalFrameSize': framesize,
'tonalHopSize': hopsize
}
profile = "audio_config.yaml"
features, features_frames = es.MusicExtractor(profile = profile)(fname)
Output:
Thanks a lot!