HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. Orvillain
    3. Controversial
    O
    • Profile
    • Following 1
    • Followers 0
    • Topics 46
    • Posts 342
    • Groups 0

    Posts

    Recent Best Controversial
    • Phase coherence broken when SendContainer comes before Sampler in the module tree

      I'm using send containers to duplicate sampler outputs, in order to turn the left half of a stereo audio file, into a dual-mono signal throughout my signal path.

      But there is something quite unexpected here.

      This module ordering:
      0db02da9-6052-4d8f-9669-a7e1a0861a3c-image.png

      Results in this kind of audio output:
      a8b6aa2b-d307-4c2b-9972-bbecb0e85d1b-image.png

      But this module order:
      7dad7a60-c03d-4958-b0ed-96d60333bb47-image.png

      Results in this kind of audio output:
      ce5f312d-b221-462c-be95-c8e57e7e6238-image.png

      So if the Send Container comes after the Sampler, then audio phase coherence is perfect. But if the Sampler comes after the Send Container, then there is a fairly significant sample latency introduced on the "duplicate" channel. I measured it as 256. My soundcard buffer size is 512. Which I don't think is a coincidence.

      To my mind, the ordering of modules shouldn't affect things like this. @Christoph-Hart could you confirm if this is a bug, or if you'd expect this behaviour???

      posted in Bug Reports
      O
      Orvillain