From ec7c859f36eb15bb8c67e117f9cadfe1d78c481e Mon Sep 17 00:00:00 2001 From: Mike Lynch Date: Sat, 7 Oct 2023 08:08:35 +1100 Subject: [PATCH] Exposed harmonics as a value on the Granulator --- classes/Granulator.sc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/classes/Granulator.sc b/classes/Granulator.sc index e0d590d..e40dd4f 100644 --- a/classes/Granulator.sc +++ b/classes/Granulator.sc @@ -1,7 +1,7 @@ Granulator { - var posb, posb, 0, { -1 }, { 1 })); } chorus_ { | v | chorus = v; pitchsynth.set(\chorus, v); } + harmonics_ { | v | harmonics = v; pitchsynth.set(\harmonics, v); } detune_ { | v | detune = v; pitchsynth.set(\detune, v); } pitch_ { | v | pitch = v; pitchsynth.set(\pitch, v); }