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

Docs: phase vocoder example #3791

Merged
merged 2 commits into from
Jul 21, 2024
Merged

Docs: phase vocoder example #3791

merged 2 commits into from
Jul 21, 2024

Conversation

katspaugh
Copy link
Owner

@katspaugh katspaugh commented Jul 20, 2024

Short description

A phase vocoder demo based on https://github.com/olvb/phaze

Live demo: https://vocoder.wavesurfer-js.pages.dev/#phase-vocoder/index.js

How it works

Wavesurfer's Web Audio player is connected to a phase vocoder real-time audio worklet. When the audio speed is changed, the pitch is adjusted inversely proportionally.

E.g. if the speed is set to 2x, the pitch is adjusted to 0.5x, resulting in a 1x effective pitch (i.e. the same as the original), but at a double speed.

Screenshot 2024-07-20 at 12 51 06

Copy link

cloudflare-workers-and-pages bot commented Jul 20, 2024

Deploying wavesurfer-js with  Cloudflare Pages  Cloudflare Pages

Latest commit: 16863cf
Status: ✅  Deploy successful!
Preview URL: https://127d23cc.wavesurfer-js.pages.dev
Branch Preview URL: https://vocoder.wavesurfer-js.pages.dev

View logs

@katspaugh katspaugh merged commit 145c604 into main Jul 21, 2024
4 checks passed
@katspaugh katspaugh deleted the vocoder branch July 21, 2024 08:27
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

Successfully merging this pull request may close these issues.

1 participant