From d78b6ac074f028e3660aa442b84b9293a78e1c00 Mon Sep 17 00:00:00 2001 From: Pete Shadbolt Date: Sun, 15 May 2022 19:49:57 -0700 Subject: [PATCH] Nice --- audio.scd | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/audio.scd b/audio.scd index e1470c6..d2320b3 100644 --- a/audio.scd +++ b/audio.scd @@ -15,10 +15,10 @@ s.waitForBoot { var oscillator, noise, filter, panner, mixer, frequency, qfactor, lagtime, output, amplitude; // Dynamic time of the module - lagtime = 10 / (2**(octave/8)); + lagtime = 100 / (2**(octave/8)); // Oscillator/filter frequency - frequency = (notefreq * (1.0 + (hue*0.02))) * (2**(octave-1)); + frequency = (notefreq * (1.0 + (hue*0.08))) * (2**(octave-1)); //frequency = (130 + (hue * 130)) * (2 ** octave); //frequency = 130 * Scale.major.ratios[(hue * 12).asInteger]; //frequency = (130 * frequency) * (2**octave); @@ -72,10 +72,14 @@ s.waitForBoot { f = { |msg, time, addr| if(msg[0] == '/radio') { if(msg[1]