Updated a test that did not account for sister voices
This commit is contained in:
parent
498e1b95bb
commit
1e6cb8245e
1 changed files with 4 additions and 1 deletions
|
|
@ -129,11 +129,14 @@ TEST_CASE("[Polyphony] Hierarchy polyphony limits (limit in another master)")
|
||||||
<region> sample=*saw key=65
|
<region> sample=*saw key=65
|
||||||
<master>
|
<master>
|
||||||
<group> polyphony=5
|
<group> polyphony=5
|
||||||
<region> sample=*sine key=65
|
<region> sample=*sine key=66
|
||||||
)");
|
)");
|
||||||
synth.noteOn(0, 65, 64);
|
synth.noteOn(0, 65, 64);
|
||||||
synth.noteOn(0, 65, 64);
|
synth.noteOn(0, 65, 64);
|
||||||
synth.noteOn(0, 65, 64);
|
synth.noteOn(0, 65, 64);
|
||||||
|
synth.noteOn(0, 66, 64);
|
||||||
|
synth.noteOn(0, 66, 64);
|
||||||
|
synth.noteOn(0, 66, 64);
|
||||||
REQUIRE(synth.getNumActiveVoices() == 5);
|
REQUIRE(synth.getNumActiveVoices() == 5);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue