• 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
Can anyone help me in Fade In...?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can anyone help me in Fade In...?


  • Subject: Can anyone help me in Fade In...?
  • From: Ansh <email@hidden>
  • Date: Fri, 17 Jul 2009 18:49:24 +0530

Hi All,
I am trying to fade in in my project. I am able to achieve fade in but there is some noise that comes with it. Below is the algorithm i am using for fade in.

for (int i = 0; i < length; i ++) {
float factor = ((float)i/size); 
buffer[i] *=  factor;
}

where length is the length of data to be fade in(in bytes). and buffer contains the data needed to be fade in.
Can any one help me out. 

Thanks in Advance.

Regards
Anshul
 _______________________________________________
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

  • Prev by Date: Current buffer size not in list of driver's supported buffer sizes
  • Next by Date: Re: Can anyone help me in Fade In...?
  • Previous by thread: Re: Current buffer size not in list of driver's supported buffer sizes
  • Next by thread: Re: Can anyone help me in Fade In...?
  • Index(es):
    • Date
    • Thread