Skip to main content

ambiviz

uv CI PyPI version

Python visualization tools for ambisonic audio (and 360 video). Supports GPU acceleration with PyTorch.

Installation

pip install ambiviz

or if you use uv:

uv add ambiviz

Functions

ambiviz.anglegram()

import ambiviz

ambiviz.anglegram(
    "audio.wav",
    plot_mode="argmax" # or "full", optional
    )

The plot_mode="argmax" is the default option that only plots the DoA with maximum energy, while plot_mode="full" will show the energy at all directions and circles out the argmax DoA. Note that with low-order Ambisnoics, "full" won't have a very good spatial resolution.

ambiviz.directogram()

ambiviz.aem()

Blend a yellow–orange–red energy map over an equirectangular video. Stronger directions appear redder and more opaque; weak regions keep the original video. Maps interpolate between audio-window centers for smooth motion.

The W channel in audio will be used as a mono channel in the generated output.

ambiviz.aem(
    audio_path="audio.wav",
    video_paths=["video.mp4"],
    save_path="output.mp4",
    duration=10, # optional, cut the output by sec
)

Anglegram (plot_mode=argmax)

Anglegram (plot_mode=full)

Directogram

Audio Energy Map (AEM)

References

Metadata

Release files for ambiviz 0.0.3

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

Source distribution (sdist)

Source distribution for ambiviz 0.0.3
File Size Uploaded Provenance Actions
ambiviz-0.0.3.tar.gz 38.0 kB Without provenance Details for ambiviz-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ambiviz 0.0.3
File Interpreter ABI Platform Actions
ambiviz-0.0.3-py3-none-any.whl Python 3 none any Details for ambiviz-0.0.3-py3-none-any.whl

Total release size: 83.2 kB

Release files / ambiviz-0.0.3.tar.gz

Download URL ambiviz-0.0.3.tar.gz
Size 38.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e3f7c96ac6579c99ec09f9255214199871b7a64ea006670a7eadb7942c4963e3
BLAKE2b-256 checksum
How to use checksums
40cb503f55ec874ff643c74467ca90aff8080954fd76787492b90e65e2cc113c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / ambiviz-0.0.3-py3-none-any.whl

Download URL ambiviz-0.0.3-py3-none-any.whl
Size 45.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
97c56f1340ece805956a695bab0e191deb8c856b6f3195ade1006159bdcc3263
BLAKE2b-256 checksum
How to use checksums
83bdc084d600e20cd678b347595669b846c84c824b992fa12f0b50f22ef5e2e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for ambiviz 0.0.3

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.3 This release

2 release files 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