@Lindon said in addPitchFade() bug?:
@ulrik said in addPitchFade() bug?:
@ulrik in other words
we have the opportunity to set NoteOn and NoteOff delayed
local id = Synth.addNoteOn(1, n, 60, amount of delay in samples);
Synth.noteOffDelayedByEventId(id, amount of delay in samples);
Could we have
Synth.addDelayedPitchFade(id, fade time, pitch, fine pitch, amount of delay in samples)
or is it possible to achieve this, if so, how?
To be honest I'd like this too... in my case Im already running a timer - its a custom arp - so it would be MUCH more convenient to not have to fiddle with the timer to get this effect - or add a second timer... ugly...
Yes, I'm building a custom arp as well, and having problems with the combination of strumming and pitch fade together.
I have tried using timers and it works but not very good in my case, (might be bad coding...)
Anyway I tried using a midi player with some good results (haven't tried it in real situations yet
Here's a test, implementing in it my arp will make it more reliable when the seq is already is set, here I just test it with pressed keys but I think it's promising.
HiseSnippet 2495.3oc6Z0saabbEdojV6PZ2Fm.azd4Vg1hU1BqDkUjkQfgo92BQRj1TVI0AoIq2cVxwZ4Lr6NqrUJLZtL20Wg9JzmfFfdWupn8EH8MvuAsmyL6OyRRIQqZ231JAAANm4bNy24m4blYnZEw8Hww7HiJU2+39DiJW0r8wLQ2055RYFautQkOzbkn9VO2ZWpOsen6wjHiUOtuabLw2nRkI2B4qR0oLj+7p6upanKyiTPxv3.N0irCsGUTPsUiOgFFtoqOYeZOMtWrw1db1Z7PdBfoIMm2nuq2gtcH64hrMgoQkKsgOUviZKbEjXiJSsJ2+31c4Omo3+.ZL8ogDbPci1fhTj2jG5iHF+rwZcog9sxr8XCiJlsJ7DSp7DW2DM4b5EdjqImvpPBc+QkIJCuIKAu55vadM3MBHMgFjtbVvQBIUT.gRUycaMbLYsjnHBSzl7aRHkhEu59oSseD3U0ouCm2eClKfLe8PGp7mBr1tOQehWc+JSN1lY8S0LMPKZSZHAM4JYC.tQyCB2q6JbMp7UlKsrCa+k9jkW6E68q1xwY2GtwSd1JNNNeliyJNsb5QeT682dgm.TbNzw4Y24YGDbWm8exJezws3avZt0gGDt4JOnoy5rlNqzJ3t6rtC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