W3C home > Mailing lists > Public > public-audio@w3.org > July to September 2012

Re: Thoughts and questions on the API from a modular synth point of view

From: Robert O'Callahan <robert@ocallahan.org>
Date: Thu, 19 Jul 2012 00:54:45 -0400
Message-ID: <CAOp6jLZRRp01WHt69rekhRu5fiw2d2FVCeNErCO=T=qVpPBNtA@mail.gmail.com>
To: Peter van der Noord <peterdunord@gmail.com>
Cc: Marcus Geelnard <mage@opera.com>, public-audio@w3.org
On Wed, Jul 18, 2012 at 4:29 AM, Peter van der Noord
<peterdunord@gmail.com>wrote:

> >  AudioParam.name was removed:
> https://www.w3.org/Bugs/Public/show_bug.cgi?id=17397
> Why was it removed? I can't see any harm in it being there if someone
> doesn't use it.
>

For one thing, in a professional application you'd probably want to be able
to display the node names in languages other than English, so
node.namewon't be very useful to real applications.

In lieu of that, can do something hacky like node.toString() and use a
regexp to extract the name from the returned string (which will be
something like "[object AudioGainNode]").

Rob
-- 
“You have heard that it was said, ‘Love your neighbor and hate your enemy.’
But I tell you, love your enemies and pray for those who persecute you,
that you may be children of your Father in heaven. ... If you love those
who love you, what reward will you get? Are not even the tax collectors
doing that? And if you greet only your own people, what are you doing more
than others?" [Matthew 5:43-47]
Received on Thursday, 19 July 2012 04:55:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 19 July 2012 04:55:14 GMT