tyiannak / pyAudioAnalysis

Python Audio Analysis Library: Feature Extraction, Classification, Segmentation and Applications
Apache License 2.0
5.75k stars 1.18k forks source link

Is it possible to set shortTermWindow to be shorter? #394

Open guijuzhejiang opened 6 months ago

guijuzhejiang commented 6 months ago

Thank you very much for your work, noticed that the default shortTermWindow and shortTermStep in the audioTrainTest.py code are both 50 milliseconds, my task here is to classify a segmented audio that is roughly 10 milliseconds. Is it possible to set shortTermWindow to 2ms during training?

Caparrini commented 3 months ago

I think that the answer in #396 could work for you.

Take a look and let me know.