I think the calculation can be done using the float getSamples function and then passed to the mod dragger. I managed to do it up to the code below, but the rest is beyond me for now.
@manued12 You're asking developers who create plugins to sell you the rights to their plugin so that you can sell it.
It doesn't make any sense why anyone would do that when they can sell it themselves or sell it through a third-party store, retaining the rights and making money.
@dannytaurus really is a good tip! I don't really understand though why it happened all of a sudden now though. It's been baking up and syncing with OneDrive for ages without mishap. Anyway, local backups and external drives from now on. I never liked the cloud!