Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 669 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 669 Bytes

Welcome to bats 🦇!

Beautiful Audio ToolS for interactive data exploration.

It's like pandas for audio.

Build Status

Example Usage

from bats import AudioView

av = AudioView.from_file('test_wav.wav')

# Describe the per-channel statistics.
av.describe()

# Plot the power of the waveform.
av.plot_power()

# Display an audio player for the span of 3.5 to 7 seconds.
av[3.5:7.0].display()

# Scale the signal and display the audio player.
(av * 0.5).display()

# Get a numpy array of the data with channels last.
array = av[3.5:3.6].data()