Toxblh / youtube-speed-control

MIT License
23 stars 9 forks source link

Allow option to set HTML5 "preservePitch" code boolean to FALSE #27

Open slow-played-zunes opened 4 months ago

slow-played-zunes commented 4 months ago

HTML5 has set preserve pitch, otherwise known as time-stretch to keep the pitch of all notes nearly identical to original speed, but in doing so for slower speeds, causes horrible sound quality, not worth listening to.

I am providing a link to Mozilla developers page so you can see how to change this option, in HTML code, as well as Javascript

https://developer.mozilla.org/en-US/docs/web/api/htmlMediaElement/preservesPitch

This allows the pitch to go down with slower speeds, just like slowing down a 45 rpm record to 33, with ZERO additional sound processing and near identical audio quality.

Toxblh commented 2 months ago

Awesome finding!