Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add headers to CSV output with feature names? #386

Open
gregsadetsky opened this issue Feb 21, 2023 · 0 comments
Open

Add headers to CSV output with feature names? #386

gregsadetsky opened this issue Feb 21, 2023 · 0 comments

Comments

@gregsadetsky
Copy link

Hi! Congrats on the great package

I've been using python ./audioAnalysis.py featureExtractionDir to get the feature analysis of multiple audio files. It works great, but the output CSV files don't have a "header" i.e. a first line that lists the name of the features.

By exploring the code, I saw that the feature names get dropped on this line (the feature names are in the temporary variable _ which gets discarded)

By printing those feature names, I was able to see that the list of 136 features was zcr_mean, energy_mean, energy_entropy_mean, spectral_centroid_mean, ...

would there be interest in adding a header to the CSV output files? I'd be glad to open a PR.

also see these related issues which seem to stem from the CSV not having a header i.e. these issues would be addressed as well: #211 #159

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant