Skip to main content

Complete Package for Audio Classification

Project description

Audio Classification Features

It is made to extract the features from any audio dataset. User's have to provide location of the dataset folder and this library will produce x and y npy files. We also provide custom built Keras model for training.

Installation

$ pip install audio_classification_features

Usage

Making Training Dataset

from audio_classification_features import audio_features as af
af().extractor('dataset')

These npy files are loaded with numpy using following commands:

import numpy
x=np.load('x.npy')
y=np.load('y.npy')

Training Custom Built Model

#input_shape generated by this package is of shape (9,13,1)
input_shape=(9,13,1)

Making Predictions

from audio_classification_features import audio_features as af

#filename example: audio_test.wav
#num_classes same as above 
#model

af().make_prediction(filename,num_classes,model)

Dataset Structure

folder name of audio will be used as label.

  • dataset
    • audio class 1
      • audiofile.wav
    • audio class 2
      • audiofile.wav

LICENSE

GNU General Public License v3.0

Project details


Release history Release notifications | RSS feed

This version

2.0

Download files

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

Source Distribution

audio_classification_features-2.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file audio_classification_features-2.0.tar.gz.

File metadata

  • Download URL: audio_classification_features-2.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for audio_classification_features-2.0.tar.gz
Algorithm Hash digest
SHA256 fccd728b6062cb36fb271aa0ed13f84d209b82a6edc89c1860c92820aa7ecc29
MD5 7ff2ad4b41ce61deb02b19f41185746c
BLAKE2b-256 c46d6793a51fcced3825d2b290c03625ba8052ec8744e8ab32f1cd1ed1c55026

See more details on using hashes here.

File details

Details for the file audio_classification_features-2.0-py3-none-any.whl.

File metadata

  • Download URL: audio_classification_features-2.0-py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for audio_classification_features-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b8d3018cf4710a3e568722c8c2e6bfecf1aeed693499660d3aea931772d1c2df
MD5 9b10e088da616dafc3796c71e6cd6254
BLAKE2b-256 1be49efd529ca9d25fff9cfd86bacb71c5551218dfe73fa025f23e8e2d9e1972

See more details on using hashes here.

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