Rudimentary WAV audio file parser written from scratch for learning purposes - Converts from 16 bit 44.1 kHz to 8 bit 8000 Hz
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
MainWindow.cpp
MainWindow.h
Makefile
README.md
WavFile.cpp
WavFile.h
WaveExplorer.pro
WaveformWidget.cpp
WaveformWidget.h
guitar-44.1k-16bit-stereo.wav
main.cpp
moc_MainWindow.cpp
moc_WaveformWidget.cpp
screenshot.png

README.md

Screenshot

Building:

sudo apt-get install libqt4-dev
qmake
make
./WaveExplorer

maxSampleVal=5319

waveformWidgetHeight=400 so range should be -200 to 200

my "num samples" calculation is wrong because it went out of bounds here: numSamples=366592 x=183810

guitar track is 8.25 seconds long

8.25 * 44100 = 363825 samples per track 8.25 * 2 * 44100 = 727650 samples total 727650 * 2 = 145530 bytes or 1421 KB + 36 = filesize on disk 1433 KB