I must be missing something basic, because I swear I had something very similar to this working a few days ago before my graphics card burned out and I was unable to save my work. I am trying to create a continuously running timer that writes to a control bus, so that I can get a currently updated time value from within another block of code. Why isn't the following working? (the getSynchronous just keeps returning 0 instead of the updated time.) I can't figure out what I'm doing differently from before I lost my work:
// Output running time to a control bus
var timer = Sweep.kr(1);
// Test the timer
c = Bus.control(s,1);
c.getSynchronous; // Why is this giving 0 and not the time since the TimeControl synth was created?