[beast: 3/8] TESTS: increase n-voices in audio tests to work around sequencer timings



commit 195665a8c0ae37417f057111849d0f08a68be31e
Author: Tim Janik <timj gnu org>
Date:   Wed Mar 15 01:25:19 2017 +0100

    TESTS: increase n-voices in audio tests to work around sequencer timings
    
    Currently, Bse::Sequencer calculates note-on events for 7 engine blocks
    ahead of time which are instantly passed on to BseMidiReceiver.
    BseMidiReceiver attempts to instantly allocate voices for all note-on
    events it sees and rejects note-on events if voice allocation falls short.
    The rejection occours too early, since more voices could be freed up at
    future engine block boundaries until a particular note-on event actually
    needs a voice.
    This problem is most likely to trigger with bsetool render2wav.
    
    Signed-off-by: Tim Janik <timj gnu org>

 tests/audio/minisong.bse |    4 ++--
 tests/audio/syndrum.bse  |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/audio/minisong.bse b/tests/audio/minisong.bse
index d91c2d3..4756c53 100644
--- a/tests/audio/minisong.bse
+++ b/tests/audio/minisong.bse
@@ -475,12 +475,12 @@
       (0x05100 0x060 37)
       (0x05340 0x060 37)))
   (container-child "BseTrack::Track-01"
-    (n-voices 16)
+    (n-voices 32)
     (snet (link 2 "SimpleTri"))
     (blurb "Melodie")
     (insert-part 0 (link 1 "QuickMelodie")))
   (container-child "BseTrack::Track-02"
-    (n-voices 16)
+    (n-voices 32)
     (wave (link 2 "Wave-Repository:Frowzy Drums"))
     (blurb "Drums")
     (insert-part 0 (link 1 "Drums")))
diff --git a/tests/audio/syndrum.bse b/tests/audio/syndrum.bse
index 95f84a1..7c4d8cd 100644
--- a/tests/audio/syndrum.bse
+++ b/tests/audio/syndrum.bse
@@ -69,7 +69,7 @@
       (0x00a80 pitch-bend 0.1935484)
       (0x00b40 pitch-bend -0.03225806)))
   (container-child "BseTrack::Track-01"
-    (n-voices 16)
+    (n-voices 32)
     (snet (link 2 "SynthDrum"))
     (insert-part 0 (link 1 "Beat"))
     (insert-part 3072 (link 1 "Beat"))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]