public void CalculateSampleKey(Sample sample)
        {
            var track = GetTrackFromSample(sample);

            if (track == null)
            {
                return;
            }

            KeyHelper.CalculateKey(track.Filename);
            TrackLibrary.LoadTrack(track.Filename);

            var samples = GetTrackSamples(track);

            samples.ForEach(x => x.Key = track.Key);
        }