korge
korge copied to clipboard
Korau: Pitch change doesn't work
korge-core library: 5.4.0
Pitch changes doesn't affect on a result sound. Tried to change pitch in PlaybackParameters and in SoundChannel.
sound = resourcesVfs["sound.mp3"].readMusic()
soundChannel = sound?.play(params = PlaybackParameters(pitch = params.value.pitch))
soundChannel?.pitch = newPitch