C++ sequencer library and Windows Store App using XAudio2 interface