Change playback speed exponentially #840
Merged
+90
−4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR closes #729
This PR addresses an issue identified in #81 and alluded to in #254: speeding up playback via the keyboard at an exponential rate. Unlike the original PR, #729, this PR does this by changing the existing playback rate functionality to use an exponential rate (∛2). Additionally, it adds a SHIFT modifier key to the existing J and L commands which increases the rate-of-change even more. When in use (by default) a series of L presses will go from stopped → playing at 100%, 126%, 158%, 200%, etc., and up to 1600%. J will go from stopped → playing at 100%, 79%, 62%, 50%, etc., and down to 10%. When the SHIFT key is pressed, it uses a factor of 2 (100%, 200%, 400%, ...).
At some point in the future, if the playback rates selected prove to be unpopular, a setting can be re-introduced (as was done in #729) that allows the user to specify their own rate.