|
@@ -138,7 +138,7 @@ public class SoundServiceImpl implements SoundService {
|
|
|
File f_r = null;
|
|
|
try {
|
|
|
URL url = new URL(sysMusicScore.getUrl());
|
|
|
- String filePath = FileUtils.getTempDirectoryPath()+ idGeneratorService.generatorId("sound") + ".mp3";
|
|
|
+ String filePath = FileUtils.getTempDirectoryPath() +"/"+ idGeneratorService.generatorId("sound") + ".mp3";
|
|
|
f = new File(filePath);
|
|
|
FileUtils.copyURLToFile(url, f);
|
|
|
|
|
@@ -149,7 +149,7 @@ public class SoundServiceImpl implements SoundService {
|
|
|
BigDecimal l_s = new BigDecimal(0);
|
|
|
BigDecimal l_r = new BigDecimal(0);
|
|
|
|
|
|
- String filePath_r = FileUtils.getTempDirectoryPath()+ idGeneratorService.generatorId("sound") + "_r.wav";
|
|
|
+ String filePath_r = FileUtils.getTempDirectoryPath() +"/"+ idGeneratorService.generatorId("sound") + "_r.wav";
|
|
|
f_r = new File(filePath_r);
|
|
|
FileUtils.copyToFile(record.getInputStream(), f_r);
|
|
|
|