kneasle / wheatley

An AI for Ringing Room that can ring any number of bells to increase the scope of practices.
https://pypi.org/project/wheatley/
MIT License
15 stars 13 forks source link

Allow peal speed to be adjusted in real-time #142

Closed kneasle closed 3 years ago

kneasle commented 3 years ago

Does what it says on the tin.

kneasle commented 3 years ago

I'm not setup to test this properly, but looks fine to snap to the new speed.

I've done some fiddling around with my RR dev setup, and it seems to work smoothly.

Does it make a difference if the speed is changed while waiting for a late bell (so immediately calculates a regression to a big gap) or not waiting?

I don't think so - I should probably test it, but WaitForUserRhythm adjusts the time before passing the change to inner_rhythm, so the regression doesn't see any difference.