|
@@ -196,7 +196,7 @@ public class SoundServiceImpl implements SoundService {
|
|
|
double pitch1 = Math.abs(pitchs_s.get(i));
|
|
|
double pitch2 = Math.abs(pitchs_r.get(i));
|
|
|
double pitchGap = Math.abs(pitch1-pitch2);
|
|
|
- if(pitchGap>pitch1||pitchGap>20){
|
|
|
+ if(pitchGap>pitch1||pitchGap>15){
|
|
|
pitchGap = pitch1;
|
|
|
}else if(pitchGap<5){
|
|
|
pitchGap = 0;
|