Re: Hiss Effect
Re: Hiss Effect
- Subject: Re: Hiss Effect
- From: John Clements <email@hidden>
- Date: Wed, 18 May 2011 00:31:03 -0700
On May 17, 2011, at 11:54 PM, tahome izwah wrote:
> 2011/5/18 Artemiy Pavlov <email@hidden>:
>> 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?
>
> It sounds like the real thing. It can be surprisingly complex to model
> vinyl noise in a convincing manner.
>
> --th
Well, I decided to try to prove myself wrong, and wrote a program that generates white noise.
Here's the complete program (written in Racket):
#lang racket
(require (planet clements/rsound))
(define (hiss t)
(/ (random) 300.0))
(rsound-write
(fun->mono-rsound (* 5 44100) 44100 hiss)
"/tmp/hiss.wav")
... and here's the result
http://brinckerhoff.org/tmp/hiss.wav
When it's quiet, it actually doesn't sound that bad. To compare, here's a website with (what appears to be) sampled vinyl hiss.
http://www.freesound.org/samplesViewSingle.php?id=68400
It sounds to me like the pops are what's going to make or break this sound, and I didn't try to model that at all (instead, I'm going to try to get what's left of my 6 hours of sleep :). )
All the best,
John Clements
_______________________________________________
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