• 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: Hiss Effect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hiss Effect


  • Subject: Re: Hiss Effect
  • From: Gregory Wieber <email@hidden>
  • Date: Tue, 17 May 2011 13:34:46 -0700

I'd say you might also want to low-pass filter the white noise, so you have some 'pink noise' instead. 

On Tue, May 17, 2011 at 12:05 PM, Artemiy Pavlov <email@hidden> wrote:
I don't know how sophisticated you want this hiss/noise to be, but here is a quick one:

- to create white noise, simply generate a random float value from -1 to 1. This can be done like this:

NoiseValue = 2.0f * random()/RAND_MAX - 1.0f;

- to have pop/scratch noises, define a period in samples in which these will occur, then on each period you generate a random number in the range of 0 and 1, if it's less than 0.5 you do nothing, if it's more than 0.5 you generate a random value like above. I.e. each period has this occurring:

NoiseProbability = random()/RAND_MAX;
if(NoiseProbability>0.5){
       NoiseValue = 2.0f * random()/RAND_MAX - 1.0f;
} else {
       NoiseValue = 0.0;
}

You can go more advanced from here and generate bursts of noise etc.

On 16 May 2011, at 19:00, email@hidden wrote:

> Hello,
>
> I need some sort of plugin library to add hiss and scratch to any given audio signal, do you guys know anything I could use? I don't need anything fancy but it has to be generated as a plugin, I can't use some pre-recorded hiss/scratch sound and loop it since I won't know the length of the given signal. This is supposed to work in the iPad.
>
> I appreciate any suggestion.
> _______________________________________________
> 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

 _______________________________________________
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

 _______________________________________________
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: Hiss Effect
      • From: Aran Mulholland <email@hidden>
References: 
 >Hiss Effect (From: email@hidden)
 >Re: Hiss Effect (From: Artemiy Pavlov <email@hidden>)

  • Prev by Date: Re: Hiss Effect
  • Next by Date: Re: Hiss Effect
  • Previous by thread: Re: Hiss Effect
  • Next by thread: Re: Hiss Effect
  • Index(es):
    • Date
    • Thread