I want to have an object that can be connected to, for example:
class MyThing{
whatILookFor(time, value){
// That would be called from the connected node
}
}
let myThing = new MyThing();
let lfo = new Tone.LFO(1, 10, 100);
lfo.connect(myThing);
How would this be done if possible, I could not find any documentation. Subclassing from Signal seems to not work, at least I can not see the way to override the signal setter???