#32 VST to host synchronization

closed-accepted
None
5
2014-05-30
2013-01-21
Mike Choi
No

This patch should bring VST to host synchronization for LMMS.
(e.g. for plugins like dBlue Glitch).

Song position computation is done via timer created from remote
plugins actual sample position, while it is also being
synchronized when needed, from LMMS host, e.g. when
there is start, stop action, loops mode or other song playback
positional change.

Discussion

  • Mike Choi

    Mike Choi - 2013-01-21

    Following properties of VstTimeInfo should be now implemented:

    ppqPos
    barStartPos
    cycleStartPos
    cycleEndPos
    timeSigNumerator
    timeSigDenominator

     
  • Mike Choi

    Mike Choi - 2013-01-21
    • assigned_to: nobody --> tobydox
     
  • Mike Choi

    Mike Choi - 2013-01-24

    New version, using shared memory instead of messages updated.
    It should be faster with more accurate sync as well.

     
  • Mike Choi

    Mike Choi - 2013-01-24

    Note:
    It seems adding VST plugins on master channel now works as well, anyway may still hung or crush when are added while song is playing..

     
  • Mike Choi

    Mike Choi - 2013-01-24

    Based on 0010-VST-effect-control-window-re-design.patch

     
  • Mike Choi

    Mike Choi - 2013-01-25

    New patch version added support for windows (QSharedMemory).
    Also this is now based on actual git stable branch.

     
  • Mike Choi

    Mike Choi - 2013-01-25

    New patch added, now it takes ftok parameter from include/VST_sync_shm.h, Qt version was running quite well for me on windows XP, but linux version had problems on virtualbox, I think frequent access into shared memory might be bottle neck, but don't know for sure. I have moved parameter for VST sync frequency into that header file as well. Todo: possibly some configuration file or to remove ftok functions.

     
  • Mike Choi

    Mike Choi - 2013-01-26

    Added new patch, LMMS should not crash or freez when loading shared memory will fail and it should fall back to normal mode. ( I was not able to reproduce previous problem on Linux and virtualbox, it seems I possibly run out of free video resources.)

     
  • Mike Choi

    Mike Choi - 2013-01-27

    Added new patch, new option in global settings to turn VST sync on/off, with no localisations yet.

     
  • Mike Choi

    Mike Choi - 2013-01-28

    New patch added, a supposed fox for proper samplerate initialization, if samplerate is passed via shared memory, it seems few plugins require to set that information during editor init part (like Zebra2, Zebralette etc.).

     
  • Mike Choi

    Mike Choi - 2013-02-02
     
  • Mike Choi

    Mike Choi - 2013-02-02

    New patch added, removing sync timer from host should bring lower sync latency and sound crackling. Sync values are now added into shared memory as they are changed.

     
  • Tobias Doerffel

    Tobias Doerffel - 2013-02-10
    • status: open --> closed-accepted
     
  • Dee

    Dee - 2014-05-30

    Hi Mike,

    I am having issues with VST such as dbglitch and zebra arp out of sync. Will this patch resolve this? How do I execute it?

    Thanks

    -=D

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks