tyiannak / pyAudioAnalysis

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

helper function for segment to classfolder , fix #378 and corrected doc-string comment #379

Closed JohnYeung-dojjy closed 1 year ago

JohnYeung-dojjy commented 1 year ago

In audacityAnnotation2WAV.py

I added 2 new functions

In audioTrainTest.py

applied the proposed changes in #378.

In audioSegmentation.py

Corrected the doc-string comment for def mid_term_file_classification() Also, for the classification functions, I found it very useful if the variables: segs and classes were returned, which can be used to store desired segmentation results into different folders easily. But due to the huge number of functions needing to be changed, I didn't include them in this pr.