Skip to content

Correct time information is not being sent to the VST #8343

@Densyakun

Description

@Densyakun

System Information

Windows 11 Home - AMD Ryzen 7 3700U, 8GB RAM

LMMS Version(s)

1.2.2, 1.3.0-alpha.1

Most Recent Working Version

No response

Bug Summary

When using Element via VeSTige, the time information was not sent correctly.
Time information that progresses regardless of the playback status is displayed on the Element.
The code that controls this time progression is located here.

It is unclear whether this issue is specific to me, whether it is unique to Element, or whether LMMS has a feature to send correct time information to VSTs.

I forked the project and managed to send time information to the VST only during playback,
but it appears that the time information in syncData is only updated during playback.
I need to synchronize m_currentSamplePos with BAR and BEAT when playback is paused, but I couldn’t figure out how to do that.

Expected Behaviour

Just like in Cakewalk Sonar, the cursor on the DAW timeline syncs with the time information within the VST plugin. When you enable EXT in Element, the correct time is displayed, just like the BAR and BEAT indicators shown in the LMMS UI.

Steps To Reproduce

Launch Element via VeSTige

Logs

No response

Screenshots / Minimum Reproducible Project

No response

Please search the issue tracker for existing bug reports before submitting your own.

  • I have searched all existing issues and confirmed that this is not a duplicate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions