Skip to main content

birdvoxpaint

False-color spectrograms for long-duration bioacoustic monitoring

Installation

BirdVoxPaint is hosted on PyPI. To install, run the following command in your Python environment:

$ pip install birdvoxpaint

To install the latest version from source clone the repository and, from the top-level birdvoxpaint folder, call:

$ python setup.py install

Usage

To analyze an audio file:

import librosa
import birdvoxpaint as bvp
import matplotlib.pyplot as plt

# get the path to the audio file you want to use
audio_path = librosa.example('nutcracker')

# calculate acoustic indices
X = bvp.transform(
    audio_path, segment_duration=3, indices=[
        bvp.acoustic_complexity_index,
        bvp.entropy_based_concentration,
        bvp.acoustic_event_count,
    ])

print(X.shape)

# show
bvp.rgbshow(X)
plt.show()

Download files

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

Source Distribution

birdvoxpaint-0.2.2.tar.gz (5.9 kB view details)

Uploaded Source

File details

Details for the file birdvoxpaint-0.2.2.tar.gz.

File metadata

  • Download URL: birdvoxpaint-0.2.2.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for birdvoxpaint-0.2.2.tar.gz
Algorithm Hash digest
SHA256 cf866b8d680974e4e149e1e524a61075983f8c009b850392f3320b0d7f82cf1f
MD5 73e5d0dc99d0191c09d9a13102c972a6
BLAKE2b-256 79ac14fd1b2c0cec5483941cc1a6bb07bc9dc059edfc935b97c1db3220afe114

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.2 This release

1 file

0.2.1

1 file

0.2.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page