Skip to main content

Long-duration first-order ambisonic soundscape analysis (streaming companion to ambiviz)

Project description

ambiscape

PyPI version Documentation License: MIT

Analysis toolkit for long-duration first-order ambisonic soundscape recordings (Zoom H3-VR and other AmbiX/SN3D B-format sources) — hours to whole nights of audio, processed in a stream with constant memory.

Built as the streaming companion to ambiviz: ambiviz renders rich spatial visuals from files it can load whole; ambiscape summarizes recordings too long for that, and selects the short representative excerpts that ambiviz then visualizes in detail.

Install

pip install ambiscape            # core
pip install "ambiscape[iso]"     # + ISO 532-1 loudness/sharpness/roughness
pip install "ambiscape[ml]"      # + AudioSet tagging, speech privacy gate
pip install "ambiscape[viz]"     # + ambiviz (HRIR binaural, AEM visuals)

Quickstart

ambiscape probe      <session-folder>   # metadata
ambiscape analyze    <session-folder>   # features, descriptors, figures, README
ambiscape draft      <session-folder>   # pre-fill taxonomy annotations
ambiscape taxonomy   <session-folder>   # Schaeffer map + Schafer timeline
ambiscape rhythm     <session-folder>   # strike-level rhythm of periodic sources
ambiscape modspec    <session-folder>   # micro/meso/macro modulation profile
ambiscape tonality   <session-folder>   # tonal tracks, harmonicity, pitch classes
ambiscape spatial    <session-folder>   # direct/diffuse split, pass-bys, azimuth R(t)
ambiscape schedule   <session-folder>   # match events against civic time grids
ambiscape timbre     <session-folder>   # event timbre templates (no-ML clustering)
ambiscape music      <session-folder>   # librosa tempogram + chromagram [music]
ambiscape iso        <session-folder>   # ISO 12913-3 indicators
ambiscape speechgate <wav-or-folder>    # privacy check before publishing
ambiscape deposit    <session-folder>   # non-identifying 1 Hz TSV export

A session is a folder of WAVs on one absolute clock (BWF timestamps, parsed natively). analyze produces a per-session README.md with a descriptor table (Leq, LAeq, L10/L50/L90, events, diffuseness ψ, azimuthal concentration R, …) and overview figures (level + spectrogram + anglegram + ψ timeline, percentile spectra, directogram).

Documentation

  • User guide & API reference — the session model and conventions, feature/descriptor definitions, room acoustics and ISO indicators, the taxonomy workflow, machine listening, deposit export.
  • Wiki — research context, field-recording protocol, design decisions, recipes, roadmap.

License

MIT — see LICENSE. Developed in the AMBIENT project at fourMs / RITMO, University of Oslo.

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

ambiscape-0.2.0.tar.gz (57.5 kB view details)

Uploaded Source

Built Distribution

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

ambiscape-0.2.0-py3-none-any.whl (61.9 kB view details)

Uploaded Python 3

File details

Details for the file ambiscape-0.2.0.tar.gz.

File metadata

  • Download URL: ambiscape-0.2.0.tar.gz
  • Upload date:
  • Size: 57.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ambiscape-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d025256745cbeca3111e38a2446bcf49e6a19b34b6c969fffeda09b286cc7c5d
MD5 44a16dabe4d708fedadf0f482b5e639a
BLAKE2b-256 5c9aafe50c8ff089119881ccf188bfc118737074879b23938766f49749db72a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for ambiscape-0.2.0.tar.gz:

Publisher: python-publish.yml on fourMs/ambiscape

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ambiscape-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: ambiscape-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 61.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ambiscape-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a2bf934fbc88cade63c688ee00c93982626504f6f96ed0113f42fddda8459f08
MD5 ad1fa41ad208dcaad599778caa1dc406
BLAKE2b-256 dd825c4c256abeaa11b6da2460aec186df163d299bcef88f544d7e1e0068b459

See more details on using hashes here.

Provenance

The following attestation bundles were made for ambiscape-0.2.0-py3-none-any.whl:

Publisher: python-publish.yml on fourMs/ambiscape

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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