const harmonics = 5;
const range = 3; 

var cache = {
  overtone: Math.floor(Math.random() * 5) + harmonics,
  mod: Math.floor((Math.random() - 0.5) * 2 * range),
  context: null,
  osc: null,
  gain: null
};

function get(name) {
  if (!cache[name]) {
    return false;
  }
  return cache[name];
}

function set(name, value) {
  cache[name] = value;
  return true;
}

module.exports = {
  get: get,
  set: set
};

@@ -11,17 +11,17 @@
 onics = 
-5
+7
 ;%0Aconst 
@@ -89,13 +89,8 @@
 () *
- 5) +
  har
@@ -95,16 +95,21 @@
 armonics
+) + 1
 ,%0A  mod:

Fix cache