A C++ API designed for Music software
This project is a work in progress, many features are not implemented and API likely to change.
git clone https://github.com/qoolander/MTK.git
cd MTK
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=debug -DBUILD_TESTS=OFF -DBUILD_DOCS=OFF ..
cmake --build . --target all -- -j 4
If using windows replace
cmake -DCMAKE_BUILD_TYPE=debug -DBUILD_TESTS=OFF -DBUILD_DOCS=OFF ..
with cmake -DCMAKE_BUILD_TYPE=debug -DBUILD_TESTS=OFF -DBUILD_DOCS=OFF -G "MinGW Makefiles" ..
First make sure you have successfully built MTK.
To play an example file, first confirm audio output is working by navigating to the {build_directory}/bin, and from the command line running ./testBeep(.exe)
.
If you hear a tone that lasts a few second before stopping then everything appears to be working!
To play a .MuDa file run ./MuDaCLI(.exe) -p <filename.MuDa>
. To begin with we can have the program generate an example file for us by running the command ./MuDaCLI(.exe) -e example.MuDa
. Finally run ./MuDaCLI(.exe) -p example.MuDa
to hear the result.
Developed under GNU General Public License Version 3. See full LICENSE