[Openal] Sound artifacts/popping when repeatedly playing source
dpeacock at creativelabs.com
Fri Sep 26 02:51:42 PDT 2008
Stopping a source prematurely can cause clicks. You could try setting the
gain to 0 before making the stop call (which might allow the implementation
to ramp the volume to silence over a short period of time), or you can try
ramping the volume yourself to silence before calling stop.
Creative Labs (UK) Ltd.
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this
message by anyone else is unauthorized. If you are not the intended
recipient, any disclosure, copying or distribution of the message, or
any action taken by you in reliance on it, is prohibited and may be
unlawful. If you have received this message in error, please delete it
and contact the sender immediately. Thank you.
<shanev at gmail.com
Sent by: openal at opensource.creative.com
openal-bounces at op cc
[Openal] Sound artifacts/popping
when repeatedly playing source
I experience a clicking sound when repeatedly playing a source after
it has been played once. It only seems to happen if it is played
before the previous play finishes. However, I am making sure that the
source is stopped before playing it again. I have multiple sources in
my app and this only happens for a certain low frequency source. The
clicking sound is milder if I apply a compression filter to the audio,
although it doesn't entirely go away.
I have tried sampling at 44 kHz, 22 kHz, with 16-bit mono and stereo
channels, using linear PCM encoding.
Anyone experience anything like this? Are there any guidelines on how
sounds are best encoded for OpenAL playback?
iPhone Apps: http://crimsonjet.com
Openal mailing list
Openal at opensource.creative.com
More information about the Openal