addPitchFade() bug?
-
@d-healey which commit are you on?
I'm on latest develop commit -
@ulrik Yeah
-
-
@ulrik not working -in the same way yours isnt - here - so add the delay - set a pitch fade, hold down two notes, press play - only the first note is re-pitched...
-
@Lindon Thank you for confirming! Which commit are you on?
-
@ulrik oh its quite old - I await teh filter display fix before I can move to anything recent.
-
@ulrik ok so the culprit is this:
id = Synth.addNoteOn(1, n, 60, d*count);
the pitchfade apparently doesnt happen until the note is playing...and as you are delaying the onset of the note - its not playing so its not happening..
if you replace that line with this:
id = Synth.addNoteOn(1, n, 60,0);
it works as it should
-
@Lindon unfortunately yes, it would be great to assign the pitch fade to the event before it happens and it will remember that when fired
@Christoph-Hart would it be possible? -
@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?
-
@ulrik said in addPitchFade() bug?:
or is it possible to achieve this, if so, how?
Why not use a timer?
-
@d-healey yes that is possible but I think it would be more accurate to work with sample delays as in above examples
-
@d-healey I still don't understand how you could make my example work with the delayed NoteOns, can you explain?
-
@ulrik I didn't change anything, other than the pitch knob's value. I'll make a video and you can tell me if I'm doing something wrong or misunderstanding.
-
@d-healey and you had the DelayKnb set to a value as well?
-
@ulrik Exactly as your snippet
-
Ah I just tested again, you're right, it's only shifting the first note.
-
@d-healey thank you for checking again!
-
@d-healey as you said, I used a timer for the pitch fade part of the strumming
HiseSnippet 1495.3oc2X0saaTDEd13rUwtzJJpB0KWEwEaprRsKkBRUP2DGmJqV2XkMMPEBUlr6w1CY8Lalc1zXPUpWxU7xvcbKu.7nz2.3Lytd85TmhqEEQYUTTlYN+7c9cNS5IEAPRhPRrpdv3XfX8A19i4pgsFRYbRmcHVWwNDhnicfSAthr83XZRBDRrrp7.MIVUWkX9d082lFQ4AvzsHjCEr.3QrQL0zc648PVTzt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qUTvY3wWxt2i15oZuXAVpsH9wRH46KiDBYVjfmddjzwKIsee1YZ44jj03hLhNUh+7u6knfXe1OBkGhYDKLLB5IRX5L5oT+qdKF5OWTbp9d4Iu0VPY3RbeafK4FEluMZ9XQvqOQANKiHLMhplc.G8Tc4GnkX4oJzSNvQMMtLB9GapmEEhWKyCOeLtxbvHVw7t.i4yJdE6186iWeMEfqZu627tYvvxp+pYp+x193sola+LJ+iMqc9Z5ofyC.NH0Nulug41+iEct83Edt88BTn5O.mlHIVjLif8gQrCvhnjxa9jDbxT3j80Qyx62RPky8nWc+cQibt73SUoRSZwVizyKMSZPk2z6GZtjueX0+y89g2CJ1m4INUmfQeltOca9oPDdylAieDdaPeZZjZxtylK2UvEwCEbVP4.89fRxFL.jkw9bMnsTJblso6bcu8Abz+xIseh2ivjMpD8SvR5KZ9V+bu4FutgcFbczEfNu+1jtx+uaRuuHUw3CvWTIMW.iSY6i8FC.T6bNDom60ZEc+sr0MzqyZNxCMK9S7K+vl50V4G1bxg+qniQz.o3YAYStpySWyrCZ2by+Qlp1c0qcZ95yKiikvdVPvrh50X71KKie5xx3cVVF+rkkw6trL94KKieweOi5Kg1JUIFkUZRHc60171BKq1bJlkapHH+Ew5WhH.
-
@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...
-
@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 yetHere'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.TbNzw4Y24YGDbWm8exJezws3avZt0gGDt4JOnoy5rlNqzJ3t6rtCL2CcbN5VINNF3hVjhUASJaS6vbEIQ.sKsWRuUcA3p4A1i2iByK25j4uZrNgMLYk2E7TQBceqxkWxqtOoWedAgecCCsbfoT4.efYauHZeQwLnm5JlayDjn.WHbqmJn30Xh+VUy03.GLgSO2CIaFACxkvdo4meVK3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