Skip to main content

Module for Speech Processing

Project description

PySpeechAnalysis

  • Now Support
    • autocorrelation, average_magnitude_difference, bandpass_filter, covariance, discrete_cosine_transfrom,
    • framming, hamming_window, mel_filter, moving_average, normalize_signal,
    • pre_emphasis, power_spectrum, standard_deviation

Example

How to use

from scipy.io import wavfile
from pyspeechanalysis import SpeechProcessing as SP

inputfile = r'./audio.wav'
[fs, X] = wavfile.read(inputfile)

# PRE-PROCESSING
x = SP.normalize_signal(X, is_figure = True)

y = SP.pre_emphasis(x, is_figure = False)

# FRAMING AND OVERLAPPING
PERCENT = 80
FRAME_MILLISEC = 0.032
frame = SP.set_frame(fs, FRAME_MILLISEC)
signal_vector = SP.framming(y, frame, PERCENT)

Check out: https://edocstudio.info

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

pyspeechanalysis-0.0.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

pyspeechanalysis-0.0.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file pyspeechanalysis-0.0.1.tar.gz.

File metadata

  • Download URL: pyspeechanalysis-0.0.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.6

File hashes

Hashes for pyspeechanalysis-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4cf59f97165d214b9c8f719f29362281a7679e2e8fa596a60bf3cead8f259397
MD5 3fccf6147c90e9190e9171d5f91a6dd6
BLAKE2b-256 95447cc1b59255c5ae8270a50801a116eaef5b97cbf05b9ef8dfc92847682e91

See more details on using hashes here.

File details

Details for the file pyspeechanalysis-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pyspeechanalysis-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e94a1ffb9deebe7cb9cd094802cb9e16a70d3221aaa9da4b7603a1ce33a2b1ea
MD5 00800f32b9414a88fba50540352a91c2
BLAKE2b-256 348baf80b7965f804a13971f048a1397be2cccfaee03574d19ee6e6db8c74592

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