|
@@ -18,7 +18,7 @@ s.waitForBoot { |
|
|
lagtime = 100 / (2**octave); |
|
|
lagtime = 100 / (2**octave); |
|
|
|
|
|
|
|
|
// Oscillator/filter frequency |
|
|
// Oscillator/filter frequency |
|
|
frequency = (notefreq * (1 + (hue*0.1))) * (2**(octave)); |
|
|
|
|
|
|
|
|
frequency = (notefreq * (0.9 + (hue*0.2))) * (2**(octave-2)); |
|
|
//frequency = (130 + (hue * 130)) * (2 ** octave); |
|
|
//frequency = (130 + (hue * 130)) * (2 ** octave); |
|
|
//frequency = 130 * Scale.major.ratios[(hue * 12).asInteger]; |
|
|
//frequency = 130 * Scale.major.ratios[(hue * 12).asInteger]; |
|
|
//frequency = (130 * frequency) * (2**octave); |
|
|
//frequency = (130 * frequency) * (2**octave); |
|
|