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

Re: ScriptProcessorNode behavior without JavsScript references

From: Raymond Toy <rtoy@google.com>
Date: Tue, 17 Sep 2013 14:12:25 -0700
Message-ID: <CAE3TgXG0xtuWc1xwXY-UeNGraEz5sEdzE7DXX_=m26Ld_FUrsg@mail.gmail.com>
To: "Robert O'Callahan" <robert@ocallahan.org>
Cc: "public-audio@w3.org" <public-audio@w3.org>
On Tue, Sep 17, 2013 at 2:02 PM, Robert O'Callahan <robert@ocallahan.org>wrote:

> On Wed, Sep 18, 2013 at 8:48 AM, Raymond Toy <rtoy@google.com> wrote:
>> Let's say you create a ScriptProcessorNode and set the onaudioprocess to
>> generate, say, a sine wave.  Something like the script below.
>> In this case, all Javascript references to the ScriptProcessorNode and
>> the corresponding onaudioprocess function are dropped.
>> What should happen now?  Should you still hear the sine wave?
> Yes, otherwise the timing of GC would be observable.


And in this particular example, I can't stop the node so the only way of
stopping audio is to close the tab (because the script node is directly
connected to the destination)?


> Rob
> --
> Jtehsauts  tshaei dS,o n" Wohfy  Mdaon  yhoaus  eanuttehrotraiitny  eovni
> le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o  Whhei csha iids  teoa
> stiheer :p atroa lsyazye,d  'mYaonu,r  "sGients  uapr,e  tfaokreg iyvoeunr,
> 'm aotr  atnod  sgaoy ,h o'mGee.t"  uTph eann dt hwea lmka'n?  gBoutt  uIp
> waanndt  wyeonut  thoo mken.o w  *
> *
Received on Tuesday, 17 September 2013 21:12:52 UTC

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