Sound Analysis
March 2, 2024 ยท View on GitHub
Application to analyze sound files in time or frequency domain.
It uses ffmpeg to turn any audio or video file into raw audio data.
Java 8+ is required to run this application.
Prerequisites
Please ensure that you have ffmpeg installed and configured in your $PATH before running this application.
To verify the setup, open your terminal and enter the command ffmpeg.
Run the project
To run the application do the following steps:
- Make sure to be in the root directory of the project
- Clean and build the project, run the command:
mvn install
This will also generate a jar file with all the dependencies which we will run once it has been created.
- Run the
mainmethod inMain.javaby running:
mvn exec:java
- Alternatively, you can run the
mainmethod inMain.javain your chosen IDE, e.g. IntelliJ
Functionality
Analysis in time domain:
- amplitude chart
- volume chart
- short time energy chart
- zero crossing rate chart
- silence/voiceless speech/voiced speech
Analysis in frequency domain:
- frequency chart
- frequency spectrum chart
- base tone chart
Clip parameters:
- volume
- volume dynamic range
- average short time energy
- low short time energy ratio
- high zero crossing rate ratio
- standard deviation of the zcr
- music/speech recognition
Gallery
Amplitude chart

Spectrum

Base tone

Clip_parameters
