From 783c6ceef0c962be96ef7be605b210ca4c84f07e Mon Sep 17 00:00:00 2001
From: Patrick Dupuis
Date: Sat, 1 Jul 2017 23:36:09 -0400
Subject: [PATCH] Server sync after new Bus creation
`WeightBus` needs a little more time. Moved Server sync to after new Bus creation. Fixes issue with current master 3.9dev.
---
interpolator/InterpolatorServer.sc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/interpolator/InterpolatorServer.sc b/interpolator/InterpolatorServer.sc
index afdcbeb..136d3f9 100644
--- a/interpolator/InterpolatorServer.sc
+++ b/interpolator/InterpolatorServer.sc
@@ -92,11 +92,11 @@ InterpolatorServer {
weightsBus.free;
pointsSynthGrp.freeAll;
- server.sync; // Wait for server to be done.
-
weightsBus = Bus.control(server, points.size); // with the new
// number of
// points.
+ server.sync; // Wait for server to be done.
+
points.do({|i,j| // Create all the point synths.
Synth.tail(
pointsSynthGrp,
@@ -368,4 +368,4 @@ InterpolatorConnection {
disconnect {
synth.free;
}
-}
\ No newline at end of file
+}