Since i am looking into exactly the same thing: The code for generating the wave can be read up here: https://github.com/raysan5/rfxgen/blob/2977d856a66524ba7bd626f610f4c474ef7d532c/...
Since i am looking into exactly the same thing: The code for generating the wave can be read up here: https://github.com/raysan5/rfxgen/blob/2977d856a66524ba7bd626f610f4c474ef7d532c/...