Skip to content

uncommoncode/bats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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()

About

Beautiful audio tools for interactive data analysis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages