• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to avoid sonic boom when changing pitch?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: How to avoid sonic boom when changing pitch?
      • From: Zack Morris <email@hidden>
References: 
 >How to avoid sonic boom when changing pitch? (From: Einstin <email@hidden>)

  • Prev by Date: How to avoid sonic boom when changing pitch?
  • Next by Date: Re: Smallest buffer duration in AudioQueue
  • Previous by thread: How to avoid sonic boom when changing pitch?
  • Next by thread: Re: How to avoid sonic boom when changing pitch?
  • Index(es):
    • Date
    • Thread