addPitchFade() bug?
-
@d-healey can you try with some delay set as well?
-
@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!