Ask Your Question
0

Access Tidal's Clock in SC

asked 2016-11-07 05:21:54 -0600

kasjmier gravatar image

updated 2016-12-16 02:18:38 -0600

lennart gravatar image

Is there a way I can do this,

but instead of using the default TempoClock, use a handle to Tidal's clock?

(

SynthDef(\sou, {

arg dur=1, gate=1;

var sig = SinOsc.ar(440) * EnvGen.kr(Env.perc(dur/2, dur/2), gate, doneAction:2);

Out.ar(0, sig!2);

}).add

)

(

c = TempoClock.default; //c = ~tidalClock

c.schedAbs(0, {

Synth(\sou, [\dur, 0.1]);

1.0

})

)
edit retag flag offensive close merge delete

Comments

So you'd like to sync a SuperCollider clock to the current tidal clock?

Your example doesn't really show why you need it, but I'm sure you have a good reason :) !

telephon gravatar imagetelephon ( 2016-11-07 10:39:57 -0600 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2016-11-07 12:44:33 -0600

kasjmier gravatar image

Thanks. I think your question answered my question. :) And I now think there's not much point to it.

Basically, I was having so much fun with all the pattern making strengths of Tidal, and because in SC I am used to doing things in the server-side scheduling method/way. I was wondering if I could have sounds triggered in Tidal and have SC perform operations on those sounds, with arguments of various UGens used being modulated at rates that are in sync with whatever rate Tidal is using.

But this clock syncing wouldn't help in doing this, as clocks are only a client-side thing. Also triggering SynthDefs already on the server is handled brilliantly by Tidal anyway.

ps. I am just beginning to get my hands dirty with all this, as you can probably tell.

edit flag offensive delete link more

Comments

yes, sounds like it! keep hacking it …

telephon gravatar imagetelephon ( 2016-11-07 14:19:00 -0600 )edit

Question Tools

Stats

Asked: 2016-11-07 05:21:54 -0600

Seen: 71 times

Last updated: Nov 07 '16