« Return to Thread: Re: [sc-users] Node.isPlaying question
_______________________________________________Hi Felix,Why not track of the whole node tree in Node (I guess in a dictionary indexed by Server) and use notifications for changes of state?Or is that what you are driving at?RJKOn Apr 27, 2008, at 3:59 PM, felix wrote:what do you all think about :adding a <>nodes variable to Groupadding to NodeWatcher so that it adds the node to the nodes var of its group (provided both the node and the group are being watched).this would mean that if you watched all nodes you could query to ask if a node executes after another node.On Sat, Apr 26, 2008 at 5:17 PM, Stefan Nussbaumer <stefanus@...> wrote:
hi eirik,
Eirik Blekesaune schrieb:
> When I do:set up a NodeWatcher:
>
> a = Synth(\synthname, [\dur, 10]);
>
> a.isPlaying //returns false
> a.isRunning // also returns false.. why?
>
s.makeBundle(nil, {
a = Synth(\synthname, [\dur, 10]);NodeWatcher.register(a);
});
then you should be able to query the state of your synth ...
a.isPlaying;
good luck, stefan
_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users
_______________________________________________Sc-devel mailing list
Sc-devel mailing list
Sc-devel@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-devel
******************************************
/* Joshua D. Parmenter
http://www.realizedsound.net/josh/
“Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono
*/« Return to Thread: Re: [sc-users] Node.isPlaying question
| Free Forum Powered by Nabble | Forum Help |