Skip to content

Change playback speed of a sound #812

Answered by mackron
Redhacker1 asked this question in Q&A
Discussion options

You must be logged in to vote

So changing the pitch does actually change the playback speed, but it's just a simple resampling operation under the hood. I suspect you are wanting to increase the speed, but not actually change the pitch so everyone sounds all squeaky - I guess something like YouTube playback speed settings. That is not available as stock in miniaudio. You would need to make use of the node graph and plug in your own effect node to handle this. I have no experience with this kind of thing so unfortunately I can't give you any targeted advice.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Redhacker1
Comment options

Comment options

You must be logged in to vote
1 reply
@Redhacker1
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Redhacker1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants