I’m trying to make a piano. But i’m having trouble pitching notes correctly.
I am using pitch shift for every sound but it doesn’t work all that well. Does anyone know how to pitch each note correctly?
I’m trying to make a piano. But i’m having trouble pitching notes correctly.
I am using pitch shift for every sound but it doesn’t work all that well. Does anyone know how to pitch each note correctly?
Perhaps you can try using Sound PlaybackSpeed on the properties.
The formula for pitch shifting is
local pitch = 1 + math.pow(2, n/12)
swap n with how many semitones you want to pitch up the note