Skip to content

HostTime: barPhase output incorrect for Bars/4 and Bars/8 divisions #919

@caiomarinello

Description

@caiomarinello

Version

26.02

Plugin type

VST3

OS

Windows 11

DAW / Host (if applicable)

Ableton Live 12 Suite – Version 12.3.2

Description

When using the Bar Phase output from the Cardinal Host Time module with Bars/4 or Bars/8 selected, the voltage
does not sweep smoothly from 0 to 10V across the full bar division.

Instead, the phasor resets at different voltages each cycle. For example
with Bars/4 in 4/4 time:

  • Bar 1: 0 to ~2.5V
  • Bar 2: ~0.6 to ~3.1V
  • Bar 3: ~1.2 to ~3.7V
  • Bar 4: ~1.8 to ~4.3V
  • Bar 5: resets back to 0 to ~2.5V

The expected behavior shoul be a smooth 0 to 10V phasor across all 4 bars.

This is caused by the barPhase formula not normalizing beat position
into fractional bars before applying the modulo operation.

Fixed in PR #918

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions