Skip to main content

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

Release files for audio-classification-features 2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for audio-classification-features 2.0
File Size Uploaded
audio_classification_features-2.0.tar.gz 4.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for audio-classification-features 2.0
File Interpreter ABI Platform
audio_classification_features-2.0-py3-none-any.whl Python 3 none any Details

Total release size: 21.2 kB

Release files / audio_classification_features-2.0.tar.gz

Download URL audio_classification_features-2.0.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
fccd728b6062cb36fb271aa0ed13f84d209b82a6edc89c1860c92820aa7ecc29
BLAKE2b-256 checksum
How to use checksums
c46d6793a51fcced3825d2b290c03625ba8052ec8744e8ab32f1cd1ed1c55026
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / audio_classification_features-2.0-py3-none-any.whl

Download URL audio_classification_features-2.0-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b8d3018cf4710a3e568722c8c2e6bfecf1aeed693499660d3aea931772d1c2df
BLAKE2b-256 checksum
How to use checksums
1be49efd529ca9d25fff9cfd86bacb71c5551218dfe73fa025f23e8e2d9e1972
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

2.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page