cdrani / chorus

Enhance Spotify with controls to save favourite snips, auto-skip tracks, set global & custom speed/pitch, and equalizer! More to come!
https://chrome.google.com/webstore/detail/chorus-spotify-enhancer/jfnjmnapkhdbaidedlbdcmhiphfjljcd
MIT License
11 stars 6 forks source link

[FEAT]: Custom Pitch Controls #194

Open cdrani opened 11 months ago

cdrani commented 11 months ago

I want to give the option to set the pitch itself. I would love this. Every so often I'll attempt to play along to an older piece of music, and find that I can't because the recording is tuned significantly differently than my guitar (either due to the musicians not using a stable reference pitch, or drop tunings being used on guitar). Being able to adjust the pitch independently of speed without being locked to semitones would be really useful for me.

Possible Implementation

This should be possible with the Web Audio API. Add an input element to set specific pitch with option to set semitones to up and down shift. This would add more granularity for experts (or the more inclined), while leaving the more intuitive slider and the manual input for everyone else.

Will use https://pages.mtu.edu/~suits/notefreqs.html as reference.

Originally posted by @JoelHobson in https://github.com/cdrani/chorus/discussions/188#discussioncomment-7777041