Skip to content

devbret/detailed-audio-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Detailed Audio Analyses And Visualizations

The evolution of twenty audio features over time.

Measure the evolution of onsets, timbre, loudness, chroma, tempo, spectral centroid, spectral bandwidth, zero crossing, spectral contrast, spectral rolloff, mel spectogram, tonnetz, harmonic energy, percussive energy, onset strength, pitch, harmonic ratio, novelty, spectral centroid velocity and spectral flux for any number of audio tracks. Then visualize and interact with your data over time.

Set Up Instructions

Below are the required software programs and instructions for installation and use of this software application.

Programs Needed

Steps

  1. Install the above programs

  2. Open a terminal

  3. Clone this repository using git by running the following command: git clone git@github.com:devbret/detailed-audio-analysis.git

  4. Navigate to the repo's directory by running: cd detailed-audio-analysis

  5. Install the needed dependencies for running the script: pip install -r requirements.txt

  6. Add the audio files you wish to analyze to the local audio folder

  7. Run the script: python3 app.py

  8. To view the audio analyses with the index.html file you will need to run: python3 -m http.server

Please Also Note

The JSON file this Python script outputs will be very, very large. And takes a prolonged period of time to generate. As an example, putting one Drum And Bass track through this program produces almost 600 MB of data and took sixty seconds to compute.

Also, your browser may have a difficult time loading and displaying excessively sized JSON files. I find Firefox to be the most compatible internet browser when viewing the frontend of this application.

About

Measure twenty audio features for any number of sound files. Then visualize the data over time.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors