Skip to main content

Audio Tensor Plotter

Simple tools for plotting spectrograms and audio data.

Prerequisites

  • Python 3.11 runtime
  • Pip for package installation

Installation

Install the dependencies into the environment with pip:

pip install -r requirements.txt

Then install this package:

pip install .

Usage

Best used with the AudioMlSpecTools, also from Certus Innovations:

CHANNELS = [
    FeatureChannel(SAMPLE_RATE, n_fft=N_FFT, hop_length=HOP_LEN, n_filters=N_MELS, is_logarithmic=True, is_mel=True),
]
FEATURE_SOURCE = FeatureSource(CHANNELS)
AUDIO = load_wav("fq_example_filename.wav", target_sr=SAMPLE_RATE).squeeze()

specs = FEATURE_SOURCE.forward(AUDIO)
plot_with_time_domain(specs, AUDIO, SAMPLE_RATE, "Plotting Example")

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Ryan Quinn - Initial work

License

MIT.

Download files

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

Source Distribution

audio_tensor_plotter-0.4.3.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

audio_tensor_plotter-0.4.3-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file audio_tensor_plotter-0.4.3.tar.gz.

File metadata

  • Download URL: audio_tensor_plotter-0.4.3.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for audio_tensor_plotter-0.4.3.tar.gz
Algorithm Hash digest
SHA256 1213944e454d54dfa3a609fc792c42894e9c7a88c39ee927a1393b63448d31e2
MD5 af711484bb0d5bb66fc63e15c2325fd4
BLAKE2b-256 14ff18da834e800b256ece53c688c81359806a3518a17d497de9cc0bf6a3bef2

See more details on using hashes here.

File details

Details for the file audio_tensor_plotter-0.4.3-py3-none-any.whl.

File metadata

File hashes

Hashes for audio_tensor_plotter-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f25672779b0f5c8f6f7fd6703fe9ed0f3b39039a68b2c69ae78458b6e93974bc
MD5 c5a00c7b044cb2261fbe8e08a4215a08
BLAKE2b-256 9d44644c909fe7c7f4bd96756498030d87cc2b89979008e1773281df6c561645

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.4.3 This release

2 files

0.4.1

2 files

0.4.0

2 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