How can i change the pace at which the sound is played in sampleplayer?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By yeeshu06
:warning: Old Version Published before Godot 3 was released.

Want to slow down the pace of the sound being played in sample player. ANy ideas? Thanks

Play speed or play speed WITHOUT changing pitch? (I think the latter isn’t possible at the moment)

Zylann | 2017-05-31 09:43

I dont know…I imported an audio in sample player…tick tock…simple 1 second sound that is looped…then when i play it…it sounds like its pitch is crrazy and its playing really fast…i didn do anything to pitch,…? any suggestions?

yeeshu06 | 2017-05-31 09:58

:bust_in_silhouette: Reply From: Dr_TwiSteD

Try playing with the pitch. You can set pitch individualy for each sound library item in the corresponding field. Or globaly for the sample player in the editor or in code directly:

your_smple_player_reference.set("params/pitch_scale", -10)