code: function getFrequency(value) {
      if (context.isFake) {
          return 0;
      }
      // get frequency by passing number from 0 to 1
      // Clamp the frequency between the minimum value (40 Hz) and half of the
      // sampling rate.
      const minValue = 40;
      const maxValue = context.sampleRate / 2;
      // Logarithm (base 2) to compute how many octaves fall in the range.
      const numberOfOctaves = Math.log(maxValue / minValue) / Math.LN2;
      // Compute a multiplier from 0 to 1 based on an exponential scale.
      const multiplier = Math.pow(2, numberOfOctaves * (value - 1.0));
      // Get back to the frequency value between min and max.
      return maxValue * multiplier;
  }
docs: /*
  get frequency from min to max by passing 0 to 1