Can you give a sample code to quickly check many media files for speech or music ? You have such an example:
from pyAudioAnalysis import audioSegmentation as aS [flagsInd, classesAll, acc, CM] = aS.mid_term_file_classification("data/scottish.wav", "data/models/svm_rbf_sm", "svm", True, 'data/scottish.segments')
It works great, but it creates windows with diagrams. How to run this all to check many files, but no diagram output, just a timestamp where the music or speech is.
Found solution:
gt_file: path to the ground truth file, if exists,
for calculating classification performance
Can you give a sample code to quickly check many media files for speech or music ? You have such an example:
from pyAudioAnalysis import audioSegmentation as aS [flagsInd, classesAll, acc, CM] = aS.mid_term_file_classification("data/scottish.wav", "data/models/svm_rbf_sm", "svm", True, 'data/scottish.segments')
It works great, but it creates windows with diagrams. How to run this all to check many files, but no diagram output, just a timestamp where the music or speech is.Found solution:
gt_file=""