Spek is an acoustic spectrum analyser written in C++. It uses FFmpeg libraries for audio decoding and wxWidgets for the GUI.
I have added a frequency reference for different audio file types in the About section of the software.
I will be using WSL. Clone this repo to ~/
git clone https://github.com/Mustaali256/spek.gitNow install these prerequisites:
sudo apt update && sudo apt upgrade -y
sudo apt install libssl-dev make autoconf automake mingw-w64
Clone MXE to ~ too then cd into the directory:
git clone https://github.com/mxe/mxe.git
cd mxe/Then add MXE to PATH by going into ~/.bashrc (or ~/.zshrc) by adding this line into the file:
export PATH=~/mxe/usr/bin:$PATHThen you want to run this in ~/mxe:
make pthreads ffmpeg wxwidgets -j$(nproc) MXE_TARGETS='x86_64-w64-mingw32.static'Next, run this:
cd ~/spek/
chmod +x dist/win/bundle.sh autogen.sh
./dist/win/bundle.shAfter it has been compiled, you will find the spek.zip in the dist/win/ directory, this is your binary.
On Linux it is much simpler.
Clone the repository, configure and make:
git clone https://github.com/Mustaali256/spek.git
cd spek/
./configure
make -j$(nproc)Your spek binary will be in src/