Re: How to avoid sonic boom when changing pitch?
Re: How to avoid sonic boom when changing pitch?
- Subject: Re: How to avoid sonic boom when changing pitch?
- From: Paul Davis <email@hidden>
- Date: Sat, 02 Jul 2011 05:52:03 -0400
On Sat, Jul 2, 2011 at 1:23 AM, Einstin <email@hidden> wrote:
> Hello,
>
> I use openAL to play shot sound (.wav), but it sounds boom once I change
> the PITCH.
>
> e.g.
>
> alSourcef(sourceID, AL_PITCH,1.5)
> alSourcePlay(sourceID);
>
>
> But if setting the AL_PITCH value to 1.0 will be very OK. What should I do
> for solve it ?
its a bug in openAL (at least the open source version of openAL). a
very, very stupid bug. i know of at least one developer who uses
openAL whose uses something like 1.0000001 as his "normal" speed and
then all speed changes get properly interpolated. but the open source
version will definitely click if you change from 1.0 to any other
speed. i don't know if this bug affects the apple version - they did
make a few changes here and there.
personally, i wouldn't use openAL if you paid me, but that's another story.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden