addPitchFade() bug?
-
@ulrik I have the delay set to 7092
-
@d-healey said in addPitchFade() bug?:
@ulrik I have the delay set to 7092
and all pressed notes were affected? Wow, why does it not work for me, strange
-
@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+7c9cNS5IEAPRhPRrpdv3X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