Is there no way to change the pitch of a sound without changing its speed?

Hey, I recall in September last year Defold was updated and one of the improvements to the sound system was that you could set the playback speed of a sample, which also affects pitch.
But, is there no way to change the pitch without affecting the sample’s speed?

There currently is no way to change the pitch, only the speed.
For short samples, the change in length is not very noticable, though.

What’s your current use case?

Ambience, for example. Longer samples (like wind or a lightbulb humming) that would get repeated with a different pitch.
Another thing pitch would be useful for is on mixer tracks for speedup/slowdown effects by animating it.

The reason we went with the speed option for now, was that it’s not very complex to implement. Actual pitch changes are much more complex though, and it is currently not in our roadmap.

1 Like

I see. Thanks for your reply!