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

Re: [Bug 17793] New: AudioNode.disconnect() needs to be able to disconnect only one connection

From: Peter van der Noord <peterdunord@gmail.com>
Date: Sat, 21 Jul 2012 01:18:02 +0200
Message-Id: <2477CAC3-0CC6-4945-9801-FF67129E3E40@gmail.com>
Cc: "public-audio@w3.org" <public-audio@w3.org>
To: Chris Wilson <cwilso@google.com>

> 
> As per other response - because I need to remember to do
> 
> nodeA.connect(nodeB, 3);
> 
> to connect to the clock sync input, rather than
> 
> nodeA.connect( nodeB.clockSync );

Hmm, whether you get the right input/output by providing an id-string or an index is not the issue, i prefer the id as well. I just think there is a lack of some core graph-interaction.

But how do you see it, would that latest disconnect refinement be enough? (not looking at the params disconnecting issue...)

In my opinion it is strange that disconnecting functionality is delivered only one-way (through outputs). As if i want to remove an element from the DOM, and the only way to do that is to look in every other element to see whether it contains the element i want to remove, and then remove it from the parent.

> 
> I have modules in my setup that have literally dozens of inputs and outputs. None of them is specifically for control or for 'sound'. I can run audible sound into the clockinput of my stepsequencer so it runs at insane speeds and have it generate weird tones. I can set my envelopegenerator in loopmode and run it so fast that it's an oscillator. I can put gatesignals into a delaymodule, or strange filters on lfosignals... they're all signals.
> 
> I do well understand the analog modular synth model, and I understand that in such a model there is no real difference between a signal and a control.  That doesn't mean that CV control signals are the model I want to control note ons all the time, despite some interesting effects that MIDI loses. I think you can accomplish all these and more, although I think you're very focused on your synth modules being single nodes.  I also want to make sure we continue to have a digital programming model as well.
> 

Don't get me wrong, i'm not suggesting removing those methods, i am aware that they are fully necessary for other types of applications than mine. I was hoping for an addition that could offer those functionalities by other means as well.



Peter
Received on Friday, 20 July 2012 23:18:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 20 July 2012 23:18:34 GMT