I'm curious -- how would I go about generating sine waves without resorting to the OpenAL API? I'd like to generate sine waves (or audio synthesis via oscillators in general) with Alure/OpenAL but have no idea how to do that. I could use a custom decoder, but I have no idea how I'd specify the frequency of the wave, the length, etc., and allow it to be flexible, so I could create a wave with a given length and frequency whenever I needed. Is such a thing possible?
I'm curious -- how would I go about generating sine waves without resorting to the OpenAL API? I'd like to generate sine waves (or audio synthesis via oscillators in general) with Alure/OpenAL but have no idea how to do that. I could use a custom decoder, but I have no idea how I'd specify the frequency of the wave, the length, etc., and allow it to be flexible, so I could create a wave with a given length and frequency whenever I needed. Is such a thing possible?