Skip to content

Commit

Permalink
feat: smaller speed increments, close #1466
Browse files Browse the repository at this point in the history
Credit: @Malopieds
  • Loading branch information
z-huang committed Aug 27, 2024
1 parent 19243be commit 72f3936
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ fun TempoPitchDialog(
ValueAdjuster(
icon = R.drawable.speed,
currentValue = tempo,
values = listOf(0.25f, 0.5f, 0.75f, 1f, 1.25f, 1.5f, 1.75f, 2f),
values = (0..35).map { round((0.25f + it * 0.05f) * 100) / 100 },
onValueUpdate = {
tempo = it
updatePlaybackParameters()
Expand Down

0 comments on commit 72f3936

Please sign in to comment.