From 8fc44117e9130d5f078a373f57ff0314fbc4596e Mon Sep 17 00:00:00 2001 From: David Runge Date: Sun, 13 May 2018 22:38:53 +0200 Subject: classes/ZZZ.sc: Substract 0.5 from \ZZZClock LFPulse, to achieve zero-crossing. This change enables most devices to pick up the clock from this signal. --- classes/ZZZ.sc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes') diff --git a/classes/ZZZ.sc b/classes/ZZZ.sc index 7ee2ebf..50cbe8b 100644 --- a/classes/ZZZ.sc +++ b/classes/ZZZ.sc @@ -21,7 +21,7 @@ ZZZ{ StartUp.add{ // adding SynthDef for clock SynthDef(\ZZZClock, { |out = 0, freq = 2, iphase = 0, width = 0.5, mul= 1.0| - Out.ar(out, LFPulse.ar(freq, iphase, width, mul)); + Out.ar(out, LFPulse.ar(freq, iphase, width, mul)-0.5); }).add; // adding SynthDef for constant notes SynthDef(\ZZZConstant, { |out = 0, mul= 0.0| -- cgit v1.2.3-70-g09d2