Re: Hiss Effect
Re: Hiss Effect
- Subject: Re: Hiss Effect
- From: Artemiy Pavlov <email@hidden>
- Date: Wed, 18 May 2011 09:37:01 +0300
What I proposed takes 10-15 lines of code and a few minutes to insert it into your app, has zero init time, and you can introduce parameter control or drift easily to make it variable. How is an audio file better in this respect?
A.
On 18 May 2011, at 02:03, Aran Mulholland wrote:
> I would like to know why you cant use a pre-recorded loop and only
> play it for the length of time you need. this would be the easiest way
> to do it. can you state your reasons for not wanting to do this.
>
> On Wed, May 18, 2011 at 6:34 AM, Gregory Wieber <email@hidden> wrote:
>> 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
>>
>>
_______________________________________________
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