
Some parts of this message have been removed.
Learn more about Nabble's
security policy.
Alfred Hawk wrote:
Hi there,
I need to generate grey noise in openal but don't think there is any
predefined way of doing it. Only white noise can be generated in openal
but what about grey and pink noise. Is there any way to do it. If I
generate by using just 'C' then after loading it in openal buffer,
while playing I experience clicking. Thank you for help in advance.
Neither OpenAL nor ALUT can generate grey or pink noise.
With your own noise buffer, you're probably getting clicking because
the sample at the end of your buffer doesn't match up with the sample
at the beginning (even noise has to have continuous samples).
If you were generating sine waves, I'd tell you to make sure you size
your buffer as a function of the frequency (so the samples at the
beginning and end were both near zero), but I'm not sure what to
suggest with a noise waveform (I don't know what parameters go into a
particular noise function).
--"J"
_______________________________________________
Openal-devel mailing list
Openal-devel@...
http://opensource.creative.com/mailman/listinfo/openal-devel