Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: PlaybackRate while having the pitch not modify voice. #73

Open
yygrechka opened this issue Jan 15, 2024 · 1 comment
Open

Comments

@yygrechka
Copy link

yygrechka commented Jan 15, 2024

I don't know if kira has this capability, but when I call set_playback_rate on my sound, I can speed up the sound, but the pitch change makes it sound strange. I want to be able to play the sound at 2x speed without changing the way the voice sounds (like speeding up youtube videos).

I'm an audio noob, so I can't express what I want in precise terminology, but I hope its clear what I'm after.

@yygrechka yygrechka changed the title Feature Request: Play Feature Request: PlaybackRate while having the pitch not modify voice. Jan 15, 2024
@SolarLiner
Copy link
Contributor

SolarLiner commented May 8, 2024

A solution for this is #90, though phase vocoders are the most basic time stretching algorithm and do not sound particularly great. It would be nice to not have to reinvent the wheel, and use some established library to do this, however none of them are written in Rust and so we'd need to add FFI, which I don't think is right for Kira.

It is however perfectly reasonable to provide a third-party crate that integrates one into Kira, as the architecture allows it pretty easily. Never mind this can't be an effect since we're talking about changing the playback rate of a sound here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants