Skip to main content

Music Audio Feature Extractor

Project description

Music Audio Feature Extractor


$ pip install mafe

Typical usages

# scan music tracks to extract raw set of features
$ mafe -t scanned.csv.bz2 scan -f [MUSIC_DIR]
# run normalization on extracted features
$ mafe -t scanned.csv.bz2 -o normalized.csv.bz2 normalize
# create table of distances between tracks
$ mafe -t normalized.csv.bz2 -o distances.csv.bz2 distance
# find clusters of similar tracks
$ mafe -t normalized.csv.bz2 -o clustered.csv.bz2 cluster -n 4
# run dimensionality reduction, keeping only the most distinctive features
$ mafe -t normalized.csv.bz2 -o reduced.csv.bz2 pca
# run clustering on distinct features, creating a visualization of the clusters
$ mafe -t reduced.csv.bz2 -o clustered_reduced.csv.bz2 cluster -n 4 -V -I cluster.png

Command line options

$ mafe --help
Usage: mafe [OPTIONS] COMMAND [ARGS]...

  -t, --tracks-csv TEXT  CSV file containing tracks  [required]
  -o, --output TEXT      CSV file containing distances between the tracks
  --help                 Show this message and exit.


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mafe-0.3.1.tar.gz (10.9 kB view hashes)

Uploaded source

Built Distribution

mafe-0.3.1-py3-none-any.whl (14.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page