g++ -std=c++11 main.cpp -o sample_player -D__LINUX_ALSA__ -lrtmidi -lasound -lpthread -ldl

