/// <summary> /// Updates database, adds not analysed yet songs from specified folders /// </summary> public void UpdateElements(string classicPath, string rockPath, string hiphopPath, string countryPath) { PythonHelper.runScriptSavingToDb(DATABASE, classicPath, rockPath, hiphopPath, countryPath); }
/// <summary> /// Adds test song to database, computes its MFCC coefficients, covariance matrix and mean vector /// </summary> /// <param name="songPath">Path to song on disc</param> public void AddTestSong(string songPath) { PythonHelper.saveSongToDb(DATABASE, songPath, testType); }