Synth.Timer in MidiFX Plugin is dead
-
is not working, I could really need a solid timer function for my MidiFX project.
The Synth.Timer Callback is dead when compiling a plugin as a MidiFX plugin.
At the moment I use
createTimerObject()
but it's not very accurate, is there another option?
-
@ulrik Lfo also stops working in MidiFX, did you find a solution to that ?
-
@lalalandsynth it's the same with the modulators.
As I understand, the only incoming messages is midi, so the "Gain" and "FX" chains are inactive, but it would be great if we could have a modulation signal generated somewhere, to trigger modulators.
And since it's not working to have "Containers" in a MididFX plugin, it would be great to be able to "read" the arp and midi players NoteOn and offs.
Or is there a way that I'm not aware of, please let me know how.
-
@ulrik take a look at this snippet, the most accurate way I found to calculate the "position" (the vertical playback line), was to reset the
posTimer.resetCounter();
timer every time the arp sliderpack change index, and then in the timer callback, read the "uptime" to calculate the position.
I could set the timer to as low as
posTimer.startTimer(11);
lower than 11 will not work.
Is there a better way to do it?
snippet
HiseSnippet 2104.3ocsXs0aaibElxwLsRodiSZ.JP6KC7SxqUj0EuJdqaZzUmpZYKVSEiDDDrflbjzTSwQkbXr0VDz2K5C8ez9WZ+GzdNyPJRoH6Uq2cEjM0blyku4bYlyPCetMMHf6qkI6fYSoZY9M5ly7DiaM1h4o0ssVleudC+oj1rgCo9TOA4LtfdgkaHMPq4roVAATGsLYdvqQ9yjcSM4mu+UMsbs7roIjzztfyro8XSXhDpF0Og45drkCc.aRJtOndWatWKtKODv1CzKoM0x9JqQzyrP11PWKyC63vDbeSgk.vRlMaxclYNlesmh+KXArKco3fxZlfhTjOl65fHFop0ZLy0wH1GDnAZwHwi7.kG4Y5mxbXyom3Y1VNAIQhz9iLabWvqbZ3UZkvqzpf2Fof2lJ38DcSae1TQxLH1djdWOA0enEDBRCKEuZa7cY0awAN7DEmXcE8XeXvbIxWtToREHunTocOJWNHNDHHezxm.IBul5Q8Y1jWRjoIEGQEK3cxuCvzNfXKHkoQZALcYNTeCHddahYhSBhHEcQQxuDld84caCbFuX.dawmLk6ACxuCN4hfwbPGCyake4rn.47oiHAB5TadHjy+R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Pvnirm+LYTGzIyH09+.GPmrV.
-
@ulrik @Christoph-Hart maybe extend the "Sliderpack setDisplayCallback" function to send from 0 to 1 between the step indexes as well, as the Table.setDisplayCallback do, is it a good idea?