FM modulation with C++