Пример #1
0
        public void VampProcessSong()
        {
            //string result = VampInterface.GetVampCSV("test", Program.FileFolder + @"\" + Program.SoundFileName);
            Info.chroma = VampInterface.GetChroma(Program.FileFolder + @"\" + Program.SoundFileName);
            Info.CalcGlobalChroma();
            Info.EstimateGlobalTonalty();
            ChromaVisualizer.PrepareChromaFrameImage();
            List <RawChord> rawChords = VampInterface.GetRawChord(Program.FileFolder + @"\" + Program.SoundFileName);

            if (rawChords == null)
            {
                Logger.Log("[Warning]No data received, operation canceled by user.");
                return;
            }
            Info.rawChords = rawChords;
            Info.CalcBeatChord();
            Logger.Log("Loaded Vamp Data.");
            Program.Form.RefreshInterface();
            //MessageBox.Show(result);
        }