mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-09 03:21:23 +00:00
Fix bug
This commit is contained in:
1 parent
a2850f63ee
commit
196744b976
1 file changed
+2
-2
+2
-2
@@ -433,8 +433,8 @@ impl Synthesizer {
|
||||
|
||||
let sample_preference = match i {
|
||||
0 => { SamplePreference::Begin },
|
||||
_ if i == polyphone.len() => { SamplePreference::Middle },
|
||||
_ => { SamplePreference::End },
|
||||
_ if i == polyphone.len() - 1 => { SamplePreference::End },
|
||||
_ => { SamplePreference::Middle },
|
||||
};
|
||||
|
||||
let phone = self.audiobank.get_n_phone(speaker,
|
||||
|
||||
Reference in new issue
Block a user