question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No fast pitch-shift ratios could be computed for the given sample rate and transpose range.

See original GitHub issue

I use PitchShift wih min=-0.9 and max = 1.1, then it raise No fast pitch-shift ratios could be computed for the given sample rate and transpose range.. I dont face with this error when use cpu version github. Do you have any plan to fix it?

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:13 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
iver56commented, Aug 23, 2022

That’s an interesting use case, AliKarimi95

Note: Although the pitch shift transform in torch-audiomentations can be comparatively fast on GPU, it is slow on CPU. When running pitch shift on CPU, the one in audiomentations is roughly 3x as fast.

1reaction
KentoNishicommented, Aug 23, 2022

Pitch shifts are generally pretty intensive operations so I’m not too surprised about the increase in execution time. Regarding speed issues with some pitch shift factors, unfortunately some factors aren’t ideal for speed, so the rate of data transfer to the GPU becomes the bottleneck. In your specific case, it may be better to apply cpu-based pitch shift instead.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · asteroid-team/torch-audiomentations - GitHub
Fast audio data augmentation in PyTorch. ... No fast pitch-shift ratios could be computed for the given sample rate and transpose range.
Read more >
Pitch-shifting algorithm design and applications in music
Pitch-shifting lowers or increases the pitch of an audio recording. This technique has been used in recording studios since the 1960s, many Beatles...
Read more >
pitch shifting - Katja
If a frequency is computed this way, it can be simply multiplied by the pitch shift factor to find the new frequency. This...
Read more >
Question regarding proper method of real time pitch shifting
My goal is to pitch shift the wave sample (sound) up or down according ... But even with ultra-hifi perfect simple samplerate transposition, ......
Read more >
Writing a Pitch Shift MetaSound Node - Epic Games Dev Portal
In this tutorial, I will write a new MetaSound node that performs a Doppler-Delay-based pitch shift on a real-time audio buffer.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found