protected override void SetValueInHeavy(float value)
 {
     m_wrapper.SetFloatParameter(Hv_MovingPlatform_AudioLib.Parameter.Tempo, value);
 }
    public override void OnInspectorGUI()
    {
        bool isEnabled = _dsp.IsInstantiated();

        if (!isEnabled)
        {
            EditorGUILayout.LabelField("Press Play!", EditorStyles.centeredGreyMiniLabel);
        }
        GUILayout.EndVertical();

        // parameters
        GUI.enabled = true;
        GUILayout.BeginVertical();
        EditorGUILayout.Space();
        EditorGUI.indentLevel++;

        // metro
        GUILayout.BeginHorizontal();
        float metro    = _dsp.GetFloatParameter(Hv_MovingPlatform_AudioLib.Parameter.Metro);
        float newMetro = EditorGUILayout.Slider("metro", metro, 0.0f, 1.0f);

        if (metro != newMetro)
        {
            _dsp.SetFloatParameter(Hv_MovingPlatform_AudioLib.Parameter.Metro, newMetro);
        }
        GUILayout.EndHorizontal();

        // pitch1
        GUILayout.BeginHorizontal();
        float pitch1    = _dsp.GetFloatParameter(Hv_MovingPlatform_AudioLib.Parameter.Pitch1);
        float newPitch1 = EditorGUILayout.Slider("pitch1", pitch1, 0.0f, 127.0f);

        if (pitch1 != newPitch1)
        {
            _dsp.SetFloatParameter(Hv_MovingPlatform_AudioLib.Parameter.Pitch1, newPitch1);
        }
        GUILayout.EndHorizontal();

        // pitch2
        GUILayout.BeginHorizontal();
        float pitch2    = _dsp.GetFloatParameter(Hv_MovingPlatform_AudioLib.Parameter.Pitch2);
        float newPitch2 = EditorGUILayout.Slider("pitch2", pitch2, 0.0f, 127.0f);

        if (pitch2 != newPitch2)
        {
            _dsp.SetFloatParameter(Hv_MovingPlatform_AudioLib.Parameter.Pitch2, newPitch2);
        }
        GUILayout.EndHorizontal();

        // pitch3
        GUILayout.BeginHorizontal();
        float pitch3    = _dsp.GetFloatParameter(Hv_MovingPlatform_AudioLib.Parameter.Pitch3);
        float newPitch3 = EditorGUILayout.Slider("pitch3", pitch3, 0.0f, 127.0f);

        if (pitch3 != newPitch3)
        {
            _dsp.SetFloatParameter(Hv_MovingPlatform_AudioLib.Parameter.Pitch3, newPitch3);
        }
        GUILayout.EndHorizontal();

        // tempo
        GUILayout.BeginHorizontal();
        float tempo    = _dsp.GetFloatParameter(Hv_MovingPlatform_AudioLib.Parameter.Tempo);
        float newTempo = EditorGUILayout.Slider("tempo", tempo, 0.0f, 10000.0f);

        if (tempo != newTempo)
        {
            _dsp.SetFloatParameter(Hv_MovingPlatform_AudioLib.Parameter.Tempo, newTempo);
        }
        GUILayout.EndHorizontal();
        EditorGUI.indentLevel--;
    }