/// <summary>
        /// Triggers a note off event for the Helm instance(s) this points to.
        /// Instead of a midi note, uses a frequency measured in hertz.
        /// </summary>
        /// <param name="frequency">The frequency measured in hertz to turn off.</param>
        public void FrequencyOff(float frequency)
        {
            int number = 0;

            pressedFrequencies.TryGetValue(frequency, out number);
            if (number <= 1)
            {
                pressedFrequencies.Remove(frequency);
                Native.HelmFrequencyOff(channel, frequency);
            }
            else
            {
                pressedFrequencies[frequency] = number - 1;
            }
        }