static WaveformPreview CreateWaveformPreview(AudioClip audioClip, Rect quantizedRect)
        {
            WaveformPreview preview     = WaveformPreviewFactory.Create((int)quantizedRect.width, audioClip);
            Color           waveColour  = GammaCorrect(DirectorStyles.Instance.customSkin.colorAudioWaveform);
            Color           transparent = waveColour;

            transparent.a           = 0;
            preview.backgroundColor = transparent;
            preview.waveColor       = waveColour;
            preview.SetChannelMode(WaveformPreview.ChannelMode.MonoSum);
            preview.updated += () => TimelineEditor.Refresh(RefreshReason.WindowNeedsRedraw);
            return(preview);
        }