LMMS / LMMS/lmms

Correct time information is not being sent to the VST

Open
#8,343 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
10.4k
Forks
1.3k
Avg merge
2d 13h
Merged PRs (30d)
7

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in plugins/VstBase/RemoteVstPlugin.cpp around line 1123 and reproduce the issue by launching Element through VeSTige. Compare the linked commit with how syncData and m_currentSamplePos are updated during paused playback. Done means the VST receives time information that matches LMMS's BAR and BEAT position while playback is paused.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.