Table of ContentsDownloadingGetting the sourcesYou can either download the source package (link below), or get the sources directly from GIT repository. SnapshotTo get the snapshot, download it from here:
GIT repositoryThe address of GIT repository is https://github.com/iimcz/iimavlib. If you use graphical GIT client, simply enter https://github.com/iimcz/iimavlib.git as remote repository and clone it. To clone the repository type from command line (or GIT shell in windows), type: git clone https://github.com/iimcz/iimavlib.git And if you want to update it later to current version, type (from the directory with sources): git pull
CompilingWindowsYou need to install following applications prior to compiling the code:
TestingOpen command window and navigate to the directory build inside the sources. The try following commands. (Replace Release with Debug, if you've compiled Debug version). bin\Release\enumerate_devices.exe Expected output is a list of all available audio devices. bin\Release\playback_sine.exe 440
Expected output is a tone at 440Hz being played out from you default audio output. bin\Release\record_wav.exe sound.wav And speak into a microfone. The expected output is a file sound.wav being created in the build directory. bin\Release\playback_wav.exe sound.wav The expected output is that the file sound.wav will be played out. bin\Release\sdl_window.exe The expected output is a window with the mandelbrot fractal and rotating objects. bin\Release\sdl_drums.exe And click using left, right and middle button into the window or press keys a, b and c. The expected output is a a black window changing color and playing sounds, based on the input. LinuxYou need to install following application before compiling sources:
Under Ubuntu, type: sudo apt-get install g++ cmake libsdl-dev Under Gentoo, type (as a root): emerge cmake libsdl Then:
./prepare_linux.sh cd build make TestingOpen the terminal and navigate to the directory build inside the sources. The try following commands: bin/enumerate_devices
Expected output is a list of all available audio devices. bin/playback_sine 440 Expected output is a tone at 440Hz being played out from you default audio output. bin/record_wav sound.wav
And speak into a microfone. The expected output is a file sound.wav being created in the build directory. bin/playback_wav sound.wav
The expected output is that the file sound.wav will be played out. bin/sdl_window
The expected output is a window with the mandelbrot fractal and rotating objects. bin/sdl_drums
And click using left, right and middle button into the window or press keys a, b and c. The expected output is a a black window changing color and playing sounds, based on the input. |