From 8c61b8dae869f4931d17db21c986290a6108059b Mon Sep 17 00:00:00 2001 From: Mike Lynch Date: Mon, 10 Apr 2023 16:26:01 +1000 Subject: [PATCH] Granulator class now manages the pitch and trigger synths --- classes/Granulator.sc | 90 ++++++++++++++++++++++++++++++++++++++----- 1 file changed, 80 insertions(+), 10 deletions(-) diff --git a/classes/Granulator.sc b/classes/Granulator.sc index f47b0ea..e7005bd 100644 --- a/classes/Granulator.sc +++ b/classes/Granulator.sc @@ -1,13 +1,9 @@ Granulator { - var posb, modb, 0, { -1 }, { 1 })); } + chorus_ { | v | chorus = v; pitchsynth.set(\chorus, v); } + detune_ { | v | detune = v; pitchsynth.set(\detune, v); } + pitch_ { | v | pitch = v; pitchsynth.set(\pitch, v); } } \ No newline at end of file