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

player.audioTimePitchAlgorithm = .varispeed doesn't work #91

Open
nbashaw opened this issue Nov 14, 2019 · 0 comments
Open

player.audioTimePitchAlgorithm = .varispeed doesn't work #91

nbashaw opened this issue Nov 14, 2019 · 0 comments

Comments

@nbashaw
Copy link

nbashaw commented Nov 14, 2019

Describe the bug
After I initialize my player, I set player.audioTimePitchAlgorithm = .varispeed, but it doesn't work. (Really, I want Spectral, but varispeed should be really obvious and produce a chipmunk-like sound at 2x, so I'm just using that to try to reproduce the bug. It sounds like it's actually using lowQualityZeroLatency.)

I also tried subclassing AudioItem but that doesn't work either.

To Reproduce
Clone and run this repo. (The main file to look at is here.)

Expected behavior
When you tap "play" and increase the speed to 2x, it should sound like a chipmunk.

Desktop (please complete the following information):

  • OS: macOS
  • Version: 10.15 (Catalina)

Smartphone (please complete the following information):

  • Device: iPhone 8, all iPhones in simulator
  • OS: iOS
  • Version 13.1.3
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

1 participant