aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2018-05-13 22:38:53 +0200
committerDavid Runge <dave@sleepmap.de>2018-05-13 22:38:53 +0200
commit8fc44117e9130d5f078a373f57ff0314fbc4596e (patch)
treed235c8d8fe38f1acd27ddf74024a64e0cc8a5454
parent141411c02ed17fced518dc0685f40f7acf1bfaff (diff)
downloadzzz-8fc44117e9130d5f078a373f57ff0314fbc4596e.tar.gz
zzz-8fc44117e9130d5f078a373f57ff0314fbc4596e.tar.bz2
zzz-8fc44117e9130d5f078a373f57ff0314fbc4596e.tar.xz
zzz-8fc44117e9130d5f078a373f57ff0314fbc4596e.zip
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.
-rw-r--r--classes/ZZZ.sc2
1 files changed, 1 insertions, 1 deletions
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|