<BUG>if (b) {
name = name.substring(0, name.lastIndexOf('.'));</BUG>
final Path wavfile = dpath.resolve(name + ".wav");
final Path oggfile = dpath.resolve(name + ".ogg");
final Path mp3file = dpath.resolve(name + ".mp3");
<BUG>PCM wav = null;
if (orgwavmap.get(note.getWav()) != null) {
wav = orgwavmap.get(note.getWav());
}</BUG>
if (wav == null && Files.exists(wavfile)) {

break;
}
}
if (b) {
PCM wav = null;
if (orgwavmap.get(note.getWav()) != null) {
wav = orgwavmap.get(note.getWav());
} else {
name = name.substring(0, name.lastIndexOf('.'));
final Path wavfile = dpath.resolve(name + ".wav");
final Path oggfile = dpath.resolve(name + ".ogg");
final Path mp3file = dpath.resolve(name + ".mp3");
if (wav == null && Files.exists(wavfile)) {
