// see Hv_alotofnoise_AudioLib.Parameter for definitions
    public float GetFloatParameter(Hv_alotofnoise_AudioLib.Parameter param)
    {
        switch (param)
        {
        case Parameter.F: return(f);

        case Parameter.H: return(h);

        case Parameter.X: return(x);

        case Parameter.Y: return(y);

        case Parameter.Z: return(z);

        default: return(0.0f);
        }
    }
    public void SetFloatParameter(Hv_alotofnoise_AudioLib.Parameter param, float x)
    {
        switch (param)
        {
        case Parameter.F: {
            x = Mathf.Clamp(x, 0.0f, 20000.0f);
            f = x;
            break;
        }

        case Parameter.H: {
            x = Mathf.Clamp(x, 0.0f, 20000.0f);
            h = x;
            break;
        }

        case Parameter.X: {
            x = Mathf.Clamp(x, 0.0f, 20000.0f);
            x = x;
            break;
        }

        case Parameter.Y: {
            x = Mathf.Clamp(x, 0.0f, 20000.0f);
            y = x;
            break;
        }

        case Parameter.Z: {
            x = Mathf.Clamp(x, 0.0f, 200000.0f);
            z = x;
            break;
        }

        default: return;
        }
        if (IsInstantiated())
        {
            _context.SendFloatToReceiver((uint)param, x);
        }
    }