Skip to main content

# pyhon-inverse-spectrogram

Inverse spectogram for scipy.signal.spectrogram done for the human ears.

>>> from scipy.io import wavfile
>>> import scipy.signal as signal
>>> import numpy as np
>>> fs, data = wavfile.read('./test_sound.wav')
>>> left, right = list(zip(*data))
>>> left = np.array(left)
>>> f, t, Sxx = signal.spectrogram(left, fs, mode='magnitude')
>>> lInverse = inverse_spectrogram(f, t, Sxx, fs)

## inverse_spectrogram(f, t, Sxx, fs) inverse_spectrogram calculates the inverse spectrogram from frequencies f, intervals t, magnitude matrix Sxx using the sample rate fs. Returns signal as a np.array

Metadata

Release files for pyhon-inverse-spectrogram 0.0.2

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

Built distribution (wheel)

Table of built distributions (wheels) for pyhon-inverse-spectrogram 0.0.2
File Interpreter ABI Platform Actions
pyhon_inverse_spectrogram-0.0.2-py3-none-any.whl Python 3 none any Details for pyhon_inverse_spectrogram-0.0.2-py3-none-any.whl

Release files / pyhon_inverse_spectrogram-0.0.2-py3-none-any.whl

Download URL pyhon_inverse_spectrogram-0.0.2-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
59811d4463ae921060be102f8661a9f8b05471995944d6390b153e37b8d9bedf
BLAKE2b-256 checksum
How to use checksums
4f843a7f85c09f37bb8dfdfab9094bfb90f05d8dd5816444c2c5c13decb4367f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.12

Security for pyhon-inverse-spectrogram 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file No provenance

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