W3C home > Mailing lists > Public > public-audio@w3.org > January to March 2012

Re: setValueFunctionAtTime for AudioParam

From: Alistair MacDonald <al@signedon.com>
Date: Mon, 26 Mar 2012 12:27:15 -0400
Message-ID: <CAJX8r2mSE=5uxUDkkvUQBY-L-34dNyZFCW5nOfTsWJB7mJLoRg@mail.gmail.com>
To: Patrick Borgeat <patrick@borgeat.de>
Cc: public-audio@w3.org
Hi Patrick,

I am trying to determine if your suggestion for "setValueFunctionAtTime"
would be different from the existing "setValueAtTime", as seen here:


Just guessing here... perhaps you are suggesting there should be an
interface to add callback "functions" which would execute at certain times,
or within a certain time-ranges?


On Wed, Mar 21, 2012 at 4:39 PM, Patrick Borgeat <patrick@borgeat.de> wrote:

> Hello list,
> are there considerations to add a method like setValueFunctionAtTime to
> AudioParam? I imagine it could be very handy as many value automations can
> be expressed easily as functions over time and each change of parameter
> would require the creation of a whole Float32Array.
> A good example is controlling a Filter parameter with a slow sine function
> (acting as a low frequency oscillator) but off course there are many more
> possibilities.
> Yours sincerely,
> Patrick Borgeat

Alistair MacDonald
SignedOn, Inc - W3C Audio WG
Boston, MA, (707) 701-3730
al@signedon.com - http://signedon.com
Received on Monday, 26 March 2012 16:27:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:49:58 UTC