For a driving simulation that is developed during a lecture at university our team has to synthesize the car's engine sound.
We recorded the car while driving, did a function approximation and right now we have a bunch of frequencies and their amplitudes that represents the engine.
Furthermore we started using those frequencies in OpenAL but when we replay them it sounds like a flute concert and not like a car :-/ Our guesses are, that's because of the sinus synthesis in OpenAL with frequency modulation synthesis.
Is there a possibility to enter a mathematical function (wave) to OpenAl for playing it back?
Thanks for your help!