-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audio countdown feedback #1192
Audio countdown feedback #1192
Conversation
Add a countdown feedback trigger at 2x time until we're past halfway the original time. i.e a 10min countdown will have triggers at 4m 2m, 1m, 30s, 15s, 10s 5s, 4s, 3s, 2s 1s
@@ -521,7 +521,7 @@ private static void createAudioCountdown(Step step) { | |||
case TIME: | |||
// seconds | |||
Double[] tmp0 = { | |||
60d, 30d, 10d, 5d, 3d, 2d, 1d | |||
60d, 30d, 10d, 5d, 4d, 3d, 2d, 1d |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is intentional for me, I do not want to be disturbed too much.
This is basically a 1,2,5,10,20,50 sequence modified for 60s and added 3
The 3 could be dropped.
Someone else have an opinion?
I could live with this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would say dropping the 5 feels more natural than dropping the 3
@@ -536,6 +536,11 @@ private static void createAudioCountdown(Step step) { | |||
return; | |||
} | |||
|
|||
// Extent the feedback list with more values for longer countdowns | |||
while (step.getDurationValue() / 2 > list.get(0)) { | |||
list.add(0, list.get(0) * 2d); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or add every minute?
OK for me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I took doubling over every minute because it fits in the sequence and might be less disturbing, but I am fine with either
thanks |
Hi,
I'm loving this app, but I had 2 small annoyances:
Since they are very small changes I just implemented them directly in a PR