W3C home > Mailing lists > Public > public-audio@w3.org > April to June 2012

Re: how to produce the sound of a car ?

From: Alistair MacDonald <al@signedon.com>
Date: Tue, 8 May 2012 12:00:35 -0400
Message-ID: <CAJX8r2=qoLhuq6XHFRNYxJXfr4+zwDk4beKw+UnyjZUmO9xTbQ@mail.gmail.com>
To: Jerome Etienne <jerome.etienne@gmail.com>
Cc: public-audio@w3.org
re: simple car engine, i would try something like...

Sample/generate some white noise.
Load and loop the sample in the browser.

Add a low pass filter with the biquad filter node:

Add some distortion with the waveshaper node:

Adjust the playback rate/pitch of the sound/grains to match revs.

On Tue, May 8, 2012 at 10:14 AM, Jerome Etienne
<jerome.etienne@gmail.com> wrote:
> Hi,
> I am playing with cars, and would like to produce the sound of the
> car. such as engine, break. I mostly understand the Web Audio API
> itself. But i lack the experience in designing the sound. Any hint on
> producing car sounds ?
> Jerome

Alistair MacDonald
SignedOn, Inc - W3C Audio WG
Boston, MA, (707) 701-3730
al@signedon.com - http://signedon.com
Received on Tuesday, 8 May 2012 16:01:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:03:04 UTC