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
[Not a Bug] How to time_stretch without changing the pitch? #27
Comments
In general, I wouldn't advise following code examples from medium posts. Your example calls both time-stretch and pitch-shift. If you only want time stretching, then only call time-stretch. |
@bmcfee |
I'm not sure how to answer that without more detail: "some noise" could mean a lot of things. Time stretching is not a perfect process, and there will always be artifacts, but what kind of artifacts you see will depend on the properties of your signal. The default parameters might not be optimal for your particular use case, but you might be able to improve things by playing around with them. See https://breakfastquay.com/rubberband/documentation.html pyrubberband is just a wrapper for the rubberband library, so you can pass through any parameters you like when calling time_stretch. |
This is how it looks like when you drag and drop the html file onto a Chrome browser
|
I followed this example that I found on Medium but it doesn't seem to work. When the playbackRate is increased, how can I correct the pitch so that it is the same as the original audio?
I have also tried the following by passing the output of time_stretch to the input of pitch_shift
The text was updated successfully, but these errors were encountered: