vanlummelhuizen / ASL-ELAN

2 stars 0 forks source link

Play selection at 50% speed #14

Closed ocrasborn closed 7 years ago

ocrasborn commented 8 years ago

This is something a lot of people would benefit from very frequently. I see people in presentations constantly moving between 100% speed and 50% speed in showing examples. Proposal: create a shortcut (and possibly a second button next to the 'play selection' button that plays the selection at 50% of the speed, whatever the present setting for speed is. This would serve the most frequent scenario I think, but of course a complementary 'play at 100% speed overriding the present setting for speed' would be user-friendly. Shortcut for play selection is shift-space; perhaps control-5 and control-0 for the two new functions would be intuitive? (Using shift or alt would lead to specific characters if you happen to be entering an annotation value. The play selection command also works when you have an edit box open, so this new function should likewise be able to facilitate that.)

vanlummelhuizen commented 8 years ago

@ocrasborn I added two new shortcuts Ctrl-5 and Ctrl-0 for 50% or 100% play rate in playing the selection. Download the newest jar to test.

For the button, what should it look like? I need to make/find a gif image for that button.

ocrasborn commented 8 years ago

@vanlummelhuizen : can't get the 4.9.3 jar to work anymore, even with a fresh install of 4.9.3. Did you move to 4.9.4 with the test versions?

vanlummelhuizen commented 8 years ago

@ocrasborn I did not move to 4.9.4. I uploaded a new jar for you to try. If it still does not work, send me some log messages. Or I could come by of course.

ocrasborn commented 8 years ago

Works nicely. The ctrl-0 overlaps with shift-space though; do we want to keep it? Discuss with Han?

vanlummelhuizen commented 8 years ago

Not entirely: Ctrl-0 will always play at 100% while shift-space will play at selected speed.

ocrasborn commented 8 years ago

Good point!

vanlummelhuizen commented 8 years ago

@ocrasborn, close this issue?