|
@@ -162,7 +162,6 @@ public class SoundServiceImpl implements SoundService {
|
|
|
|
|
|
//相似度
|
|
|
List<Double> pitchs_s = soundPressureLevelExtractor(null, filePath);
|
|
|
-// List<Double> pitchs_r = soundPressureLevelExtractor(record.getBytes(), null);
|
|
|
List<Double> pitchs_r = soundPressureLevelExtractor(null, filePath_r);
|
|
|
|
|
|
int maxLength = pitchs_s.size();
|
|
@@ -198,7 +197,6 @@ public class SoundServiceImpl implements SoundService {
|
|
|
|
|
|
//节奏
|
|
|
List<Double> times_s = beatExtractor(null, filePath);
|
|
|
-// List<Double> times_r = beatExtractor(record.getBytes(), null);
|
|
|
List<Double> times_r = beatExtractor(null, filePath_r);
|
|
|
|
|
|
float sameTimes = 0;
|