Skip to main content

Music Audio Feature Extractor

Project description

Music Audio Feature Extractor

Installation

$ 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]...

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

Commands:
  cluster
  distance
  normalize
  pca
  scan

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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file mafe-0.3.1.tar.gz.

File metadata

  • Download URL: mafe-0.3.1.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.6 Linux/4.19.78-coreos

File hashes

Hashes for mafe-0.3.1.tar.gz
Algorithm Hash digest
SHA256 52a8d8190426ca0a07ef81fbe67cad1424acf440f0a4a178fcd28bdc168f8e65
MD5 a0408b26513dda87a77abcad32c62e17
BLAKE2b-256 3f7795756b92dd07e09359c93fe7bfc71f1a3dbeb3f5e70f3465bca6e968db49

See more details on using hashes here.

File details

Details for the file mafe-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: mafe-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.8.6 Linux/4.19.78-coreos

File hashes

Hashes for mafe-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 86a25b5238b8ad470a9bb43f939174f8899c630e4a55c1fc6553ea51a15167f4
MD5 78ab7455a78df398c4b82563ed89174e
BLAKE2b-256 4dbd4e6399dc86fc7d7a52002755e1dccff580d998a911e4e436a0593fe588ba

See more details on using hashes here.

Supported by

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