jemitk / Pacer

1 stars 0 forks source link

Workouts don't follow the curve #9

Open BryceStevenWilley opened 8 years ago

BryceStevenWilley commented 8 years ago

Sometimes the workouts chosen don't follow the curves they should. In the case of increasing, it jumps from 96bpm, 110bpm, 94bpm, 127bpm. I think the issue is because the song list generator blindly looks for songs that are closest to the target bpm, but not already in the current list, so we've already stepped through everything nearby, then the 'closest' song is actually super far away.

There's not really a clearly solution for this. Do we repeat a song? Always find a song in the direction of the curve, even if it's clearly too far? Any chance we can slow down/speed up songs dynamically a smidge?